Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: cc-switch 3.16.5 -> 4.0.30 https://github.com/farion1231/cc-switch/releases attrpath: cc-switch Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] skipping because derivation has updateScript [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/scq6n6z2wihh3bfingy3v4sym1x2jbq1-packages.json.drv building '/nix/store/scq6n6z2wihh3bfingy3v4sym1x2jbq1-packages.json.drv'... Going to be running update for following packages: - cc-switch-3.16.5 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - cc-switch-3.16.5: UPDATING ... - cc-switch-3.16.5: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/cc/cc-switch/package.nix b/pkgs/by-name/cc/cc-switch/package.nix index ae9c7f9f9455..6905752f8492 100644 --- a/pkgs/by-name/cc/cc-switch/package.nix +++ b/pkgs/by-name/cc/cc-switch/package.nix @@ -26,7 +26,7 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "cc-switch"; - version = "3.16.5"; + version = "4.0.31"; __structuredAttrs = true; @@ -34,7 +34,7 @@ rustPlatform.buildRustPackage (finalAttrs: { owner = "farion1231"; repo = "cc-switch"; tag = "v${finalAttrs.version}"; - hash = "sha256-CrUoTfGAy+gi3gdcSlNyjwM2Rm4nahqDWdM6I9OQgPc="; + hash = "sha256-up9/Q8qa4TirhxHT9fU0GoJ9x8BZX9TP9rgH7qNrvlM="; }; pnpmDeps = fetchPnpmDeps { @@ -45,7 +45,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ; pnpm = pnpm_10; fetcherVersion = 3; - hash = "sha256-Vs+/KLICqciF7dnC3iRH9TFzNCtXDgOkWFPLxdwA0rE="; + hash = "sha256-1VFkWR1fxeu2J1gKApl0j5AP0fo6lNdiXCe+ry9yPGI="; }; postPatch = '' @@ -67,7 +67,7 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoRoot = "src-tauri"; buildAndTestSubdir = finalAttrs.cargoRoot; - cargoHash = "sha256-gX32xCiVKHQ0BIIB9GyWHessIW30zbTcMZLtPJycxn8="; + cargoHash = "sha256-fwkQBcIHzgpa5V4GzyRo9m7D156H3hWGhZSM3pV2LxI="; nativeBuildInputs = [ cargo-tauri.hook No auto update branch exists Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A cc-switch nix build failed. | help: replace the use of the deprecated method | 34 -  AUTO_SYNC_SUPPRESS_DEPTH.fetch_update(Ordering::SeqCst, Ordering::SeqCst, |value| { 34 +  AUTO_SYNC_SUPPRESS_DEPTH.try_update(Ordering::SeqCst, Ordering::SeqCst, |value| { | warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency --> src/services/webdav_auto_sync.rs:34:38 | 34 | AUTO_SYNC_SUPPRESS_DEPTH.fetch_update(Ordering::SeqCst, Ordering::SeqCst, |value| { | ^^^^^^^^^^^^ | help: replace the use of the deprecated method | 34 -  AUTO_SYNC_SUPPRESS_DEPTH.fetch_update(Ordering::SeqCst, Ordering::SeqCst, |value| { 34 +  AUTO_SYNC_SUPPRESS_DEPTH.try_update(Ordering::SeqCst, Ordering::SeqCst, |value| { | warning: `cc-switch` (lib) generated 4 warnings (run `cargo fix --lib -p cc-switch` to apply 4 suggestions) error: linking with `/nix/store/ii6p6kc1brz3vycqg88q4zb4xd2dmqwp-gcc-wrapper-16.2.0/bin/cc` failed: exit status: 1 | = note: "/nix/store/ii6p6kc1brz3vycqg88q4zb4xd2dmqwp-gcc-wrapper-16.2.0/bin/cc" "-m64" "<3222 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/build/source/target/x86_64-unknown-linux-gnu/release/deps/rustckGPNV5/{librquickjs_sys-c702439ddc3f72a4,libaws_lc_sys-9dc3b2773868709d,libring-1de8216660f3a7fa}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-*.rlib" "-Wl,-Bdynamic" "-llzma" "-lzstd" "-lbz2" "-lssl" "-lcrypto" "-lsqlite3" "-lgdk-3" "-lpangocairo-1.0" "-lpango-1.0" "-lharfbuzz" "-lgdk_pixbuf-2.0" "-lz" "-lcairo-gobject" "-lcairo" "-lgobject-2.0" "-lglib-2.0" "-ldl" "-ldl" "-lgobject-2.0" "-lwebkit2gtk-4.1" "-lgtk-3" "-lgdk-3" "-lpangocairo-1.0" "-lpango-1.0" "-lharfbuzz" "-lz" "-latk-1.0" "-lcairo-gobject" "-lcairo" "-lgdk_pixbuf-2.0" "-lsoup-3.0" "-lgmodule-2.0" "-lgio-2.0" "-ljavascriptcoregtk-4.1" "-lgobject-2.0" "-lglib-2.0" "-lsoup-3.0" "-lgmodule-2.0" "-lgio-2.0" "-lgobject-2.0" "-lglib-2.0" "-ljavascriptcoregtk-4.1" "-lgobject-2.0" "-lglib-2.0" "-lgtk-3" "-lgdk-3" "-lpangocairo-1.0" "-lpango-1.0" "-lharfbuzz" "-lz" "-latk-1.0" "-lcairo-gobject" "-lcairo" "-lgdk_pixbuf-2.0" "-lgio-2.0" "-lgobject-2.0" "-lglib-2.0" "-latk-1.0" "-lgobject-2.0" "-lglib-2.0" "-lgdk-3" "-lpangocairo-1.0" "-lpango-1.0" "-lharfbuzz" "-lgdk_pixbuf-2.0" "-lz" "-lcairo-gobject" "-lcairo" "-lgobject-2.0" "-lglib-2.0" "-lpango-1.0" "-lgobject-2.0" "-lglib-2.0" "-lharfbuzz" "-lgdk_pixbuf-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgio-2.0" "-lgobject-2.0" "-lglib-2.0" "-lcairo-gobject" "-lcairo" "-lgobject-2.0" "-lglib-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/build/source/target/x86_64-unknown-linux-gnu/release/deps/rustckGPNV5/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/build/source/target/x86_64-unknown-linux-gnu/release/build/aws-lc-sys-11935a2e6f6b5e77/out" "-L" "/build/source/target/x86_64-unknown-linux-gnu/release/build/ring-89681e0c8d67ef51/out" "-L" "/build/source/target/x86_64-unknown-linux-gnu/release/build/rquickjs-sys-54ab2e66d7dbc3d4/out" "-L" "/nix/store/rj0sh9bqfc62j2jvh6zahd0a9rpnwgw9-glib-2.90.0/lib" "-L" "/nix/store/wjwvwflfn09jks2gq6w470cf4qn6cbx1-at-spi2-core-2.62.0/lib" "-L" "/nix/store/r020s04y8608q03ayybg2kssia1jc9z2-cairo-1.18.6/lib" "-L" "/nix/store/bgrrk1crwbmc7phgzkipmrzc9x257i88-gdk-pixbuf-2.44.8/lib" "-L" "/nix/store/kp68n1q6r8lzpf5mxjmfasn3zq2pql4x-zlib-1.3.2/lib" "-L" "/nix/store/lymi4f7x5f54mwc8hhj5cpg0n8z82jaz-gtk+3-3.24.52/lib" "-L" "/nix/store/qz6h0r7f1jwa8dv10jz6n7wjwk9s4v9k-pango-1.58.2/lib" "-L" "/nix/store/l4cxxsx2zpmwm275wck1pmcl4g98dsy2-harfbuzz-14.5.1/lib" "-L" "/nix/store/3h4ifcg10i9j0kj5c0cmas23v15pc7cl-openssl-3.5.9/lib" "-L" "/nix/store/9qai6if0m1z0hvmr18prkmswq9hys5wy-webkitgtk-2.54.2+abi=4.1/lib" "-L" "/nix/store/srd6l83hc8dr35kbnll2cpwhpr44sbcn-libsoup-3.8.0/lib" "-L" "/nix/store/930sd5x7lp8xnwvzk2fpzg5ffwbjgbcz-bzip2-1.0.8/lib" "-L" "/nix/store/5n1qsd423q10dlscj3k4np04imfv4nm2-xz-5.8.4/lib" "-L" "/nix/store/2a69456iqj6rzzc2ys7l2yypsv1w6l5m-zstd-1.5.7/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/build/source/target/x86_64-unknown-linux-gnu/release/deps/cc_switch-e7e4a89d2d405522" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /nix/store/45qppvrgigcmyjina7a6p82f2pf5kzmr-binutils-2.46/bin/ld.bfd: cannot find -lsqlite3: No such file or directory collect2: error: ld returned 1 exit status error: could not compile `cc-switch` (bin "cc-switch") due to 1 previous error  Error failed to build app: failed to build app