-
First of all, thank you for this amazing project, really liking it! 🙂 Describe the bug I wanted to build the standard library using the You can find the steps to reproduce and the full output, including errors, below. Reproduction Steps to reproduce: mkdir crane-build-std
cd crane-build-std/
nix flake init -t github:ipetkov/crane#build-std
nix build -L Build output and errors: [david@nixos:~]$ mkdir crane-build-std
[david@nixos:~]$ cd crane-build-std/
[david@nixos:~/crane-build-std]$ nix flake init -t github:ipetkov/crane#build-std
do you want to allow configuration setting 'extra-substituters' to be set to 'https://crane.cachix.org' (y/N)?
do you want to permanently mark this value as untrusted (y/N)?
warning: ignoring untrusted flake configuration setting 'extra-substituters'.
Pass '--accept-flake-config' to trust it
do you want to allow configuration setting 'extra-trusted-public-keys' to be set to 'crane.cachix.org-1:8Scfpmn9w+hGdXH/Q9tTLiYAE/2dnJYRJP7kl80GuRk=' (y/N)?
do you want to permanently mark this value as untrusted (y/N)?
warning: ignoring untrusted flake configuration setting 'extra-trusted-public-keys'.
Pass '--accept-flake-config' to trust it
wrote: /home/david/crane-build-std/flake.nix
wrote: /home/david/crane-build-std/Cargo.lock
wrote: /home/david/crane-build-std/.gitignore
wrote: /home/david/crane-build-std/Cargo.toml
wrote: /home/david/crane-build-std/src/main.rs
wrote: /home/david/crane-build-std/src
[david@nixos:~/crane-build-std]$ nix build -L
warning: creating lock file '/home/david/crane-build-std/flake.lock':
• Added input 'crane':
'github:ipetkov/crane/ef80ead953c1b28316cc3f8613904edc2eb90c28?narHash=sha256-HQkYvKvaLQqNa10KEFGgWHfMAbWBfFp%2B4cAgkut%2BNNE%3D' (2024-11-08)
• Added input 'flake-utils':
'github:numtide/flake-utils/11707dc2f618dd54ca8739b309ec4fc024de578b?narHash=sha256-l0KFg5HjrsfsO/JpG%2Br7fRrqm12kzFHyUHqHCVpMMbI%3D' (2024-11-13)
• Added input 'flake-utils/systems':
'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e?narHash=sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768%3D' (2023-04-09)
• Added input 'nixpkgs':
'github:NixOS/nixpkgs/34a626458d686f1b58139620a8b2793e9e123bba?narHash=sha256-nAlsuFVl77/sioOE3ce7ukm8iC%2BDmhakoYsDQfcbpLY%3D' (2024-11-16)
• Added input 'rust-overlay':
'github:oxalica/rust-overlay/f6c4c2a7b8969c2b172847b3ef474e0d3bd8bdce?narHash=sha256-3R48B%2BBVeZ8IWsXF7TdRm441RsdJt21yQ5ZgxuNTXYc%3D' (2024-11-16)
• Added input 'rust-overlay/nixpkgs':
follows 'nixpkgs'
project-with-build-std-deps> cargoArtifacts not set, will not reuse any cargo artifacts
project-with-build-std-deps> Running phase: unpackPhase
project-with-build-std-deps> unpacking source archive /nix/store/k06pwdfjmwnz34vawr7yld0crsw19ncp-source
project-with-build-std-deps> source root is source
project-with-build-std-deps> Running phase: patchPhase
project-with-build-std-deps> Executing configureCargoCommonVars
project-with-build-std-deps> Running phase: updateAutotoolsGnuConfigScriptsPhase
project-with-build-std-deps> Running phase: configurePhase
project-with-build-std-deps> will append /build/source/.cargo-home/config.toml with contents of /nix/store/9v9vzgf2ipxfh41m4wcxdss14f4nqrjb-vendor-cargo-deps/config.toml
project-with-build-std-deps> default configurePhase, nothing to do
project-with-build-std-deps> Running phase: buildPhase
project-with-build-std-deps> ++ command cargo --version
project-with-build-std-deps> cargo 1.84.0-nightly (4a2d8dc63 2024-11-09)
project-with-build-std-deps> ++ command cargo check --release -Z build-std --target x86_64-unknown-linux-gnu --all-targets
project-with-build-std-deps> Compiling compiler_builtins v0.1.138
project-with-build-std-deps> Compiling core v0.0.0 (/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/src/rust/library/core)
project-with-build-std-deps> Compiling libc v0.2.161
project-with-build-std-deps> Compiling std v0.0.0 (/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/src/rust/library/std)
project-with-build-std-deps> Compiling project-with-build-std v0.1.0 (/build/source)
project-with-build-std-deps> error: linking with `cc` failed: exit status: 1
project-with-build-std-deps> |
project-with-build-std-deps> = note: LC_ALL="C" PATH="/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin:/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/nix/store/3ix5h74n7ar9950vwzp4dxmil70pmx0k-gcc-wrapper-13.3.0/bin:/nix/store/xzfmarrq8x8s4ivpya24rrndqsq2ndiz-gcc-13.3.0/bin:/nix/store/26dy2y29fhissya64ygahwpidpvs3bm3-glibc-2.40-36-bin/bin:/nix/store/k48bha2fjqzarg52picsdfwlqx75aqbb-coreutils-9.5/bin:/nix/store/9bacph866qhmr2zfib1h49jixq5hhd01-binutils-wrapper-2.43.1/bin:/nix/store/va7kw1i822h95im4jacci19v0cqajfyf-binutils-2.43.1/bin:/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/bin:/nix/store/x850848v3xl4wxjqzc3q9jp7j6fbkh27-rsync-3.3.0/bin:/nix/store/3n2m8g45sqa8zyl0w63315kgfv3absnp-zstd-1.5.6-bin/bin:/nix/store/6avf0gmd2sl573bv6qhsqybgvf86wdq5-zstd-1.5.6/bin:/nix/store/xjlvb8x7z3f5rxxswa3c6ghay74a58jm-patchelf-0.15.0/bin:/nix/store/k48bha2fjqzarg52picsdfwlqx75aqbb-coreutils-9.5/bin:/nix/store/lfhmpajzgfmgl8xrdvp2r9hdi2rf17wy-findutils-4.10.0/bin:/nix/store/xrpvl6c1pyq7zazqnb41kgshmkr85da1-diffutils-3.10/bin:/nix/store/gvivnz7rb2gz1vy7d9mdxgzj9didz7w2-gnused-4.9/bin:/nix/store/14aswfz6pm8zvyyy927xzmi8x4rnvlc8-gnugrep-3.11/bin:/nix/store/45jb5s18799g8day8zjixrvknj4chp6r-gawk-5.3.1/bin:/nix/store/sdljgkhcmlflr785i4jffg1rvm294i1k-gnutar-1.35/bin:/nix/store/pg1n8f8zlwh4q4bsbnm9gwhx7cbix1m6-gzip-1.13/bin:/nix/store/y59bxw99pbld247dznzv352cqdhlybqi-bzip2-1.0.8-bin/bin:/nix/store/a08385589ajv3ahmp81nml9bh5dsi55n-gnumake-4.4.1/bin:/nix/store/0irlcqx2n3qm6b1pc9rsd2i8qpvcccaj-bash-5.2p37/bin:/nix/store/0knrdpnzi5s4igcvzw8yhkj8daq84a2v-patch-2.7.6/bin:/nix/store/g6rf9zyrz8hrgz4r7sd2hab3j1afxdkr-xz-5.6.3-bin/bin:/nix/store/83jpg0nha0gp1pggdvsk7zh6wn5lgm00-file-5.45/bin" VSLANG="1033" "cc" "-m64" "/build/rustc9pQK52/symbols.o" "/build/source/target/release/build/project-with-build-std-b0bb296a68727168/build_script_871z5n4qdimld31d0j7fsc67x7z5hvlr_dummy-b0bb296a68727168.build_script_871z5n4qdimld31d0j7fsc67x7z5hvlr_dummy.44857299d3e0977f-cgu.0.rcgu.o" "/build/source/target/release/build/project-with-build-std-b0bb296a68727168/build_script_871z5n4qdimld31d0j7fsc67x7z5hvlr_dummy-b0bb296a68727168.0sz47mvbuuvdk9b8voyyp6jrs.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bd6705db1e77d5f2.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-058eab858818de0a.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-d25a941a4df9caf8.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-ade6936d448d6794.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-0a175cebd11e144e.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-127f0ef4dcbf7436.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d034686f0f0f9113.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e4c8cdf1e728a894.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-00d71dca83e6b3e6.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f9f91ef79bc3c342.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-226b4b3bb3c90aef.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a1e4d788e09d8a83.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-35780161441799f5.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a214d3ea58225c02.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-799d520624f8b2e0.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9621b8f524eebb06.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-395a38b8e0851c9b.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d453bab70303062c.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-619eefe14aaf54f4.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/build/source/target/release/build/project-with-build-std-b0bb296a68727168/build_script_871z5n4qdimld31d0j7fsc67x7z5hvlr_dummy-b0bb296a68727168" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,--strip-debug" "-nodefaultlibs"
project-with-build-std-deps> = note: /nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld/ld.lld: line 19: /nix/store/5yyadg72l9p0d0ddfhahmhfm6p2hmlb7-rustc-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/nix-support/darwin-sdk-setup.bash: No such file or directory
project-with-build-std-deps> collect2: error: ld returned 1 exit status
project-with-build-std-deps>
project-with-build-std-deps> error: could not compile `project-with-build-std` (build script) due to 1 previous error
project-with-build-std-deps> warning: build failed, waiting for other jobs to finish...
project-with-build-std-deps> error: linking with `cc` failed: exit status: 1
project-with-build-std-deps> |
project-with-build-std-deps> = note: LC_ALL="C" PATH="/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin:/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/nix/store/3ix5h74n7ar9950vwzp4dxmil70pmx0k-gcc-wrapper-13.3.0/bin:/nix/store/xzfmarrq8x8s4ivpya24rrndqsq2ndiz-gcc-13.3.0/bin:/nix/store/26dy2y29fhissya64ygahwpidpvs3bm3-glibc-2.40-36-bin/bin:/nix/store/k48bha2fjqzarg52picsdfwlqx75aqbb-coreutils-9.5/bin:/nix/store/9bacph866qhmr2zfib1h49jixq5hhd01-binutils-wrapper-2.43.1/bin:/nix/store/va7kw1i822h95im4jacci19v0cqajfyf-binutils-2.43.1/bin:/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/bin:/nix/store/x850848v3xl4wxjqzc3q9jp7j6fbkh27-rsync-3.3.0/bin:/nix/store/3n2m8g45sqa8zyl0w63315kgfv3absnp-zstd-1.5.6-bin/bin:/nix/store/6avf0gmd2sl573bv6qhsqybgvf86wdq5-zstd-1.5.6/bin:/nix/store/xjlvb8x7z3f5rxxswa3c6ghay74a58jm-patchelf-0.15.0/bin:/nix/store/k48bha2fjqzarg52picsdfwlqx75aqbb-coreutils-9.5/bin:/nix/store/lfhmpajzgfmgl8xrdvp2r9hdi2rf17wy-findutils-4.10.0/bin:/nix/store/xrpvl6c1pyq7zazqnb41kgshmkr85da1-diffutils-3.10/bin:/nix/store/gvivnz7rb2gz1vy7d9mdxgzj9didz7w2-gnused-4.9/bin:/nix/store/14aswfz6pm8zvyyy927xzmi8x4rnvlc8-gnugrep-3.11/bin:/nix/store/45jb5s18799g8day8zjixrvknj4chp6r-gawk-5.3.1/bin:/nix/store/sdljgkhcmlflr785i4jffg1rvm294i1k-gnutar-1.35/bin:/nix/store/pg1n8f8zlwh4q4bsbnm9gwhx7cbix1m6-gzip-1.13/bin:/nix/store/y59bxw99pbld247dznzv352cqdhlybqi-bzip2-1.0.8-bin/bin:/nix/store/a08385589ajv3ahmp81nml9bh5dsi55n-gnumake-4.4.1/bin:/nix/store/0irlcqx2n3qm6b1pc9rsd2i8qpvcccaj-bash-5.2p37/bin:/nix/store/0knrdpnzi5s4igcvzw8yhkj8daq84a2v-patch-2.7.6/bin:/nix/store/g6rf9zyrz8hrgz4r7sd2hab3j1afxdkr-xz-5.6.3-bin/bin:/nix/store/83jpg0nha0gp1pggdvsk7zh6wn5lgm00-file-5.45/bin" VSLANG="1033" "cc" "-m64" "/build/rustcL2bBwa/symbols.o" "/build/source/target/release/build/std-daf51a41d20a1494/build_script_build-daf51a41d20a1494.build_script_build.87fbd21cf1f38fc6-cgu.0.rcgu.o" "/build/source/target/release/build/std-daf51a41d20a1494/build_script_build-daf51a41d20a1494.4o5oty78ogg5n0tbxbwwqk71p.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bd6705db1e77d5f2.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-058eab858818de0a.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-d25a941a4df9caf8.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-ade6936d448d6794.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-0a175cebd11e144e.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-127f0ef4dcbf7436.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d034686f0f0f9113.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e4c8cdf1e728a894.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-00d71dca83e6b3e6.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f9f91ef79bc3c342.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-226b4b3bb3c90aef.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a1e4d788e09d8a83.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-35780161441799f5.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a214d3ea58225c02.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-799d520624f8b2e0.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9621b8f524eebb06.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-395a38b8e0851c9b.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d453bab70303062c.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-619eefe14aaf54f4.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/build/source/target/release/build/std-daf51a41d20a1494/build_script_build-daf51a41d20a1494" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,--strip-debug" "-nodefaultlibs"
project-with-build-std-deps> = note: /nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld/ld.lld: line 19: /nix/store/5yyadg72l9p0d0ddfhahmhfm6p2hmlb7-rustc-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/nix-support/darwin-sdk-setup.bash: No such file or directory
project-with-build-std-deps> collect2: error: ld returned 1 exit status
project-with-build-std-deps>
project-with-build-std-deps> error: could not compile `std` (build script) due to 1 previous error
project-with-build-std-deps> error: linking with `cc` failed: exit status: 1
project-with-build-std-deps> |
project-with-build-std-deps> = note: LC_ALL="C" PATH="/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin:/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/nix/store/3ix5h74n7ar9950vwzp4dxmil70pmx0k-gcc-wrapper-13.3.0/bin:/nix/store/xzfmarrq8x8s4ivpya24rrndqsq2ndiz-gcc-13.3.0/bin:/nix/store/26dy2y29fhissya64ygahwpidpvs3bm3-glibc-2.40-36-bin/bin:/nix/store/k48bha2fjqzarg52picsdfwlqx75aqbb-coreutils-9.5/bin:/nix/store/9bacph866qhmr2zfib1h49jixq5hhd01-binutils-wrapper-2.43.1/bin:/nix/store/va7kw1i822h95im4jacci19v0cqajfyf-binutils-2.43.1/bin:/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/bin:/nix/store/x850848v3xl4wxjqzc3q9jp7j6fbkh27-rsync-3.3.0/bin:/nix/store/3n2m8g45sqa8zyl0w63315kgfv3absnp-zstd-1.5.6-bin/bin:/nix/store/6avf0gmd2sl573bv6qhsqybgvf86wdq5-zstd-1.5.6/bin:/nix/store/xjlvb8x7z3f5rxxswa3c6ghay74a58jm-patchelf-0.15.0/bin:/nix/store/k48bha2fjqzarg52picsdfwlqx75aqbb-coreutils-9.5/bin:/nix/store/lfhmpajzgfmgl8xrdvp2r9hdi2rf17wy-findutils-4.10.0/bin:/nix/store/xrpvl6c1pyq7zazqnb41kgshmkr85da1-diffutils-3.10/bin:/nix/store/gvivnz7rb2gz1vy7d9mdxgzj9didz7w2-gnused-4.9/bin:/nix/store/14aswfz6pm8zvyyy927xzmi8x4rnvlc8-gnugrep-3.11/bin:/nix/store/45jb5s18799g8day8zjixrvknj4chp6r-gawk-5.3.1/bin:/nix/store/sdljgkhcmlflr785i4jffg1rvm294i1k-gnutar-1.35/bin:/nix/store/pg1n8f8zlwh4q4bsbnm9gwhx7cbix1m6-gzip-1.13/bin:/nix/store/y59bxw99pbld247dznzv352cqdhlybqi-bzip2-1.0.8-bin/bin:/nix/store/a08385589ajv3ahmp81nml9bh5dsi55n-gnumake-4.4.1/bin:/nix/store/0irlcqx2n3qm6b1pc9rsd2i8qpvcccaj-bash-5.2p37/bin:/nix/store/0knrdpnzi5s4igcvzw8yhkj8daq84a2v-patch-2.7.6/bin:/nix/store/g6rf9zyrz8hrgz4r7sd2hab3j1afxdkr-xz-5.6.3-bin/bin:/nix/store/83jpg0nha0gp1pggdvsk7zh6wn5lgm00-file-5.45/bin" VSLANG="1033" "cc" "-m64" "/build/rustc7c9UrH/symbols.o" "/build/source/target/release/build/libc-d00e12093b6186fe/build_script_build-d00e12093b6186fe.build_script_build.7f0ba0d167ac8c10-cgu.0.rcgu.o" "/build/source/target/release/build/libc-d00e12093b6186fe/build_script_build-d00e12093b6186fe.build_script_build.7f0ba0d167ac8c10-cgu.1.rcgu.o" "/build/source/target/release/build/libc-d00e12093b6186fe/build_script_build-d00e12093b6186fe.build_script_build.7f0ba0d167ac8c10-cgu.2.rcgu.o" "/build/source/target/release/build/libc-d00e12093b6186fe/build_script_build-d00e12093b6186fe.ebl2y208o02k4uud6a8pzkuxw.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bd6705db1e77d5f2.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-058eab858818de0a.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-d25a941a4df9caf8.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-ade6936d448d6794.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-0a175cebd11e144e.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-127f0ef4dcbf7436.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d034686f0f0f9113.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e4c8cdf1e728a894.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-00d71dca83e6b3e6.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f9f91ef79bc3c342.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-226b4b3bb3c90aef.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a1e4d788e09d8a83.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-35780161441799f5.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a214d3ea58225c02.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-799d520624f8b2e0.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9621b8f524eebb06.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-395a38b8e0851c9b.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d453bab70303062c.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-619eefe14aaf54f4.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/build/source/target/release/build/libc-d00e12093b6186fe/build_script_build-d00e12093b6186fe" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,--strip-debug" "-nodefaultlibs"
project-with-build-std-deps> = note: /nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld/ld.lld: line 19: /nix/store/5yyadg72l9p0d0ddfhahmhfm6p2hmlb7-rustc-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/nix-support/darwin-sdk-setup.bash: No such file or directory
project-with-build-std-deps> collect2: error: ld returned 1 exit status
project-with-build-std-deps>
project-with-build-std-deps> error: could not compile `libc` (build script) due to 1 previous error
project-with-build-std-deps> error: linking with `cc` failed: exit status: 1
project-with-build-std-deps> |
project-with-build-std-deps> = note: LC_ALL="C" PATH="/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin:/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/nix/store/3ix5h74n7ar9950vwzp4dxmil70pmx0k-gcc-wrapper-13.3.0/bin:/nix/store/xzfmarrq8x8s4ivpya24rrndqsq2ndiz-gcc-13.3.0/bin:/nix/store/26dy2y29fhissya64ygahwpidpvs3bm3-glibc-2.40-36-bin/bin:/nix/store/k48bha2fjqzarg52picsdfwlqx75aqbb-coreutils-9.5/bin:/nix/store/9bacph866qhmr2zfib1h49jixq5hhd01-binutils-wrapper-2.43.1/bin:/nix/store/va7kw1i822h95im4jacci19v0cqajfyf-binutils-2.43.1/bin:/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/bin:/nix/store/x850848v3xl4wxjqzc3q9jp7j6fbkh27-rsync-3.3.0/bin:/nix/store/3n2m8g45sqa8zyl0w63315kgfv3absnp-zstd-1.5.6-bin/bin:/nix/store/6avf0gmd2sl573bv6qhsqybgvf86wdq5-zstd-1.5.6/bin:/nix/store/xjlvb8x7z3f5rxxswa3c6ghay74a58jm-patchelf-0.15.0/bin:/nix/store/k48bha2fjqzarg52picsdfwlqx75aqbb-coreutils-9.5/bin:/nix/store/lfhmpajzgfmgl8xrdvp2r9hdi2rf17wy-findutils-4.10.0/bin:/nix/store/xrpvl6c1pyq7zazqnb41kgshmkr85da1-diffutils-3.10/bin:/nix/store/gvivnz7rb2gz1vy7d9mdxgzj9didz7w2-gnused-4.9/bin:/nix/store/14aswfz6pm8zvyyy927xzmi8x4rnvlc8-gnugrep-3.11/bin:/nix/store/45jb5s18799g8day8zjixrvknj4chp6r-gawk-5.3.1/bin:/nix/store/sdljgkhcmlflr785i4jffg1rvm294i1k-gnutar-1.35/bin:/nix/store/pg1n8f8zlwh4q4bsbnm9gwhx7cbix1m6-gzip-1.13/bin:/nix/store/y59bxw99pbld247dznzv352cqdhlybqi-bzip2-1.0.8-bin/bin:/nix/store/a08385589ajv3ahmp81nml9bh5dsi55n-gnumake-4.4.1/bin:/nix/store/0irlcqx2n3qm6b1pc9rsd2i8qpvcccaj-bash-5.2p37/bin:/nix/store/0knrdpnzi5s4igcvzw8yhkj8daq84a2v-patch-2.7.6/bin:/nix/store/g6rf9zyrz8hrgz4r7sd2hab3j1afxdkr-xz-5.6.3-bin/bin:/nix/store/83jpg0nha0gp1pggdvsk7zh6wn5lgm00-file-5.45/bin" VSLANG="1033" "cc" "-m64" "/build/rustcxQNfR9/symbols.o" "/build/source/target/release/build/compiler_builtins-cf7e36da4676d7c0/build_script_build-cf7e36da4676d7c0.build_script_build.7c51fc12a9a50db1-cgu.0.rcgu.o" "/build/source/target/release/build/compiler_builtins-cf7e36da4676d7c0/build_script_build-cf7e36da4676d7c0.build_script_build.7c51fc12a9a50db1-cgu.1.rcgu.o" "/build/source/target/release/build/compiler_builtins-cf7e36da4676d7c0/build_script_build-cf7e36da4676d7c0.build_script_build.7c51fc12a9a50db1-cgu.2.rcgu.o" "/build/source/target/release/build/compiler_builtins-cf7e36da4676d7c0/build_script_build-cf7e36da4676d7c0.build_script_build.7c51fc12a9a50db1-cgu.3.rcgu.o" "/build/source/target/release/build/compiler_builtins-cf7e36da4676d7c0/build_script_build-cf7e36da4676d7c0.build_script_build.7c51fc12a9a50db1-cgu.4.rcgu.o" "/build/source/target/release/build/compiler_builtins-cf7e36da4676d7c0/build_script_build-cf7e36da4676d7c0.070t6vuqrk5wqi4f6oky08c8n.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bd6705db1e77d5f2.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-058eab858818de0a.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-d25a941a4df9caf8.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-ade6936d448d6794.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-0a175cebd11e144e.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-127f0ef4dcbf7436.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d034686f0f0f9113.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e4c8cdf1e728a894.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-00d71dca83e6b3e6.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f9f91ef79bc3c342.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-226b4b3bb3c90aef.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a1e4d788e09d8a83.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-35780161441799f5.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a214d3ea58225c02.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-799d520624f8b2e0.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9621b8f524eebb06.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-395a38b8e0851c9b.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d453bab70303062c.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-619eefe14aaf54f4.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/build/source/target/release/build/compiler_builtins-cf7e36da4676d7c0/build_script_build-cf7e36da4676d7c0" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,--strip-debug" "-nodefaultlibs"
project-with-build-std-deps> = note: /nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld/ld.lld: line 19: /nix/store/5yyadg72l9p0d0ddfhahmhfm6p2hmlb7-rustc-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/nix-support/darwin-sdk-setup.bash: No such file or directory
project-with-build-std-deps> collect2: error: ld returned 1 exit status
project-with-build-std-deps>
project-with-build-std-deps> error: could not compile `compiler_builtins` (build script) due to 1 previous error
error: builder for '/nix/store/rw3m0pvl4w2qngdikbjqx0aa60ahw50f-project-with-build-std-deps-0.1.0.drv' failed with exit code 101;
last 25 log lines:
> warning: build failed, waiting for other jobs to finish...
> error: linking with `cc` failed: exit status: 1
> |
> = note: LC_ALL="C" PATH="/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin:/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/nix/store/3ix5h74n7ar9950vwzp4dxmil70pmx0k-gcc-wrapper-13.3.0/bin:/nix/store/xzfmarrq8x8s4ivpya24rrndqsq2ndiz-gcc-13.3.0/bin:/nix/store/26dy2y29fhissya64ygahwpidpvs3bm3-glibc-2.40-36-bin/bin:/nix/store/k48bha2fjqzarg52picsdfwlqx75aqbb-coreutils-9.5/bin:/nix/store/9bacph866qhmr2zfib1h49jixq5hhd01-binutils-wrapper-2.43.1/bin:/nix/store/va7kw1i822h95im4jacci19v0cqajfyf-binutils-2.43.1/bin:/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/bin:/nix/store/x850848v3xl4wxjqzc3q9jp7j6fbkh27-rsync-3.3.0/bin:/nix/store/3n2m8g45sqa8zyl0w63315kgfv3absnp-zstd-1.5.6-bin/bin:/nix/store/6avf0gmd2sl573bv6qhsqybgvf86wdq5-zstd-1.5.6/bin:/nix/store/xjlvb8x7z3f5rxxswa3c6ghay74a58jm-patchelf-0.15.0/bin:/nix/store/k48bha2fjqzarg52picsdfwlqx75aqbb-coreutils-9.5/bin:/nix/store/lfhmpajzgfmgl8xrdvp2r9hdi2rf17wy-findutils-4.10.0/bin:/nix/store/xrpvl6c1pyq7zazqnb41kgshmkr85da1-diffutils-3.10/bin:/nix/store/gvivnz7rb2gz1vy7d9mdxgzj9didz7w2-gnused-4.9/bin:/nix/store/14aswfz6pm8zvyyy927xzmi8x4rnvlc8-gnugrep-3.11/bin:/nix/store/45jb5s18799g8day8zjixrvknj4chp6r-gawk-5.3.1/bin:/nix/store/sdljgkhcmlflr785i4jffg1rvm294i1k-gnutar-1.35/bin:/nix/store/pg1n8f8zlwh4q4bsbnm9gwhx7cbix1m6-gzip-1.13/bin:/nix/store/y59bxw99pbld247dznzv352cqdhlybqi-bzip2-1.0.8-bin/bin:/nix/store/a08385589ajv3ahmp81nml9bh5dsi55n-gnumake-4.4.1/bin:/nix/store/0irlcqx2n3qm6b1pc9rsd2i8qpvcccaj-bash-5.2p37/bin:/nix/store/0knrdpnzi5s4igcvzw8yhkj8daq84a2v-patch-2.7.6/bin:/nix/store/g6rf9zyrz8hrgz4r7sd2hab3j1afxdkr-xz-5.6.3-bin/bin:/nix/store/83jpg0nha0gp1pggdvsk7zh6wn5lgm00-file-5.45/bin" VSLANG="1033" "cc" "-m64" "/build/rustcL2bBwa/symbols.o" "/build/source/target/release/build/std-daf51a41d20a1494/build_script_build-daf51a41d20a1494.build_script_build.87fbd21cf1f38fc6-cgu.0.rcgu.o" "/build/source/target/release/build/std-daf51a41d20a1494/build_script_build-daf51a41d20a1494.4o5oty78ogg5n0tbxbwwqk71p.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bd6705db1e77d5f2.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-058eab858818de0a.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-d25a941a4df9caf8.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-ade6936d448d6794.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-0a175cebd11e144e.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-127f0ef4dcbf7436.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d034686f0f0f9113.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e4c8cdf1e728a894.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-00d71dca83e6b3e6.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f9f91ef79bc3c342.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-226b4b3bb3c90aef.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a1e4d788e09d8a83.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-35780161441799f5.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a214d3ea58225c02.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-799d520624f8b2e0.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9621b8f524eebb06.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-395a38b8e0851c9b.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d453bab70303062c.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-619eefe14aaf54f4.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/build/source/target/release/build/std-daf51a41d20a1494/build_script_build-daf51a41d20a1494" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,--strip-debug" "-nodefaultlibs"
> = note: /nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld/ld.lld: line 19: /nix/store/5yyadg72l9p0d0ddfhahmhfm6p2hmlb7-rustc-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/nix-support/darwin-sdk-setup.bash: No such file or directory
> collect2: error: ld returned 1 exit status
>
>
> error: could not compile `std` (build script) due to 1 previous error
> error: linking with `cc` failed: exit status: 1
> |
> = note: LC_ALL="C" PATH="/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin:/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/nix/store/3ix5h74n7ar9950vwzp4dxmil70pmx0k-gcc-wrapper-13.3.0/bin:/nix/store/xzfmarrq8x8s4ivpya24rrndqsq2ndiz-gcc-13.3.0/bin:/nix/store/26dy2y29fhissya64ygahwpidpvs3bm3-glibc-2.40-36-bin/bin:/nix/store/k48bha2fjqzarg52picsdfwlqx75aqbb-coreutils-9.5/bin:/nix/store/9bacph866qhmr2zfib1h49jixq5hhd01-binutils-wrapper-2.43.1/bin:/nix/store/va7kw1i822h95im4jacci19v0cqajfyf-binutils-2.43.1/bin:/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/bin:/nix/store/x850848v3xl4wxjqzc3q9jp7j6fbkh27-rsync-3.3.0/bin:/nix/store/3n2m8g45sqa8zyl0w63315kgfv3absnp-zstd-1.5.6-bin/bin:/nix/store/6avf0gmd2sl573bv6qhsqybgvf86wdq5-zstd-1.5.6/bin:/nix/store/xjlvb8x7z3f5rxxswa3c6ghay74a58jm-patchelf-0.15.0/bin:/nix/store/k48bha2fjqzarg52picsdfwlqx75aqbb-coreutils-9.5/bin:/nix/store/lfhmpajzgfmgl8xrdvp2r9hdi2rf17wy-findutils-4.10.0/bin:/nix/store/xrpvl6c1pyq7zazqnb41kgshmkr85da1-diffutils-3.10/bin:/nix/store/gvivnz7rb2gz1vy7d9mdxgzj9didz7w2-gnused-4.9/bin:/nix/store/14aswfz6pm8zvyyy927xzmi8x4rnvlc8-gnugrep-3.11/bin:/nix/store/45jb5s18799g8day8zjixrvknj4chp6r-gawk-5.3.1/bin:/nix/store/sdljgkhcmlflr785i4jffg1rvm294i1k-gnutar-1.35/bin:/nix/store/pg1n8f8zlwh4q4bsbnm9gwhx7cbix1m6-gzip-1.13/bin:/nix/store/y59bxw99pbld247dznzv352cqdhlybqi-bzip2-1.0.8-bin/bin:/nix/store/a08385589ajv3ahmp81nml9bh5dsi55n-gnumake-4.4.1/bin:/nix/store/0irlcqx2n3qm6b1pc9rsd2i8qpvcccaj-bash-5.2p37/bin:/nix/store/0knrdpnzi5s4igcvzw8yhkj8daq84a2v-patch-2.7.6/bin:/nix/store/g6rf9zyrz8hrgz4r7sd2hab3j1afxdkr-xz-5.6.3-bin/bin:/nix/store/83jpg0nha0gp1pggdvsk7zh6wn5lgm00-file-5.45/bin" VSLANG="1033" "cc" "-m64" "/build/rustc7c9UrH/symbols.o" "/build/source/target/release/build/libc-d00e12093b6186fe/build_script_build-d00e12093b6186fe.build_script_build.7f0ba0d167ac8c10-cgu.0.rcgu.o" "/build/source/target/release/build/libc-d00e12093b6186fe/build_script_build-d00e12093b6186fe.build_script_build.7f0ba0d167ac8c10-cgu.1.rcgu.o" "/build/source/target/release/build/libc-d00e12093b6186fe/build_script_build-d00e12093b6186fe.build_script_build.7f0ba0d167ac8c10-cgu.2.rcgu.o" "/build/source/target/release/build/libc-d00e12093b6186fe/build_script_build-d00e12093b6186fe.ebl2y208o02k4uud6a8pzkuxw.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bd6705db1e77d5f2.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-058eab858818de0a.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-d25a941a4df9caf8.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-ade6936d448d6794.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-0a175cebd11e144e.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-127f0ef4dcbf7436.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d034686f0f0f9113.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e4c8cdf1e728a894.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-00d71dca83e6b3e6.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f9f91ef79bc3c342.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-226b4b3bb3c90aef.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a1e4d788e09d8a83.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-35780161441799f5.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a214d3ea58225c02.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-799d520624f8b2e0.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9621b8f524eebb06.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-395a38b8e0851c9b.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d453bab70303062c.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-619eefe14aaf54f4.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/build/source/target/release/build/libc-d00e12093b6186fe/build_script_build-d00e12093b6186fe" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,--strip-debug" "-nodefaultlibs"
> = note: /nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld/ld.lld: line 19: /nix/store/5yyadg72l9p0d0ddfhahmhfm6p2hmlb7-rustc-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/nix-support/darwin-sdk-setup.bash: No such file or directory
> collect2: error: ld returned 1 exit status
>
>
> error: could not compile `libc` (build script) due to 1 previous error
> error: linking with `cc` failed: exit status: 1
> |
> = note: LC_ALL="C" PATH="/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin:/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/nix/store/3ix5h74n7ar9950vwzp4dxmil70pmx0k-gcc-wrapper-13.3.0/bin:/nix/store/xzfmarrq8x8s4ivpya24rrndqsq2ndiz-gcc-13.3.0/bin:/nix/store/26dy2y29fhissya64ygahwpidpvs3bm3-glibc-2.40-36-bin/bin:/nix/store/k48bha2fjqzarg52picsdfwlqx75aqbb-coreutils-9.5/bin:/nix/store/9bacph866qhmr2zfib1h49jixq5hhd01-binutils-wrapper-2.43.1/bin:/nix/store/va7kw1i822h95im4jacci19v0cqajfyf-binutils-2.43.1/bin:/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/bin:/nix/store/x850848v3xl4wxjqzc3q9jp7j6fbkh27-rsync-3.3.0/bin:/nix/store/3n2m8g45sqa8zyl0w63315kgfv3absnp-zstd-1.5.6-bin/bin:/nix/store/6avf0gmd2sl573bv6qhsqybgvf86wdq5-zstd-1.5.6/bin:/nix/store/xjlvb8x7z3f5rxxswa3c6ghay74a58jm-patchelf-0.15.0/bin:/nix/store/k48bha2fjqzarg52picsdfwlqx75aqbb-coreutils-9.5/bin:/nix/store/lfhmpajzgfmgl8xrdvp2r9hdi2rf17wy-findutils-4.10.0/bin:/nix/store/xrpvl6c1pyq7zazqnb41kgshmkr85da1-diffutils-3.10/bin:/nix/store/gvivnz7rb2gz1vy7d9mdxgzj9didz7w2-gnused-4.9/bin:/nix/store/14aswfz6pm8zvyyy927xzmi8x4rnvlc8-gnugrep-3.11/bin:/nix/store/45jb5s18799g8day8zjixrvknj4chp6r-gawk-5.3.1/bin:/nix/store/sdljgkhcmlflr785i4jffg1rvm294i1k-gnutar-1.35/bin:/nix/store/pg1n8f8zlwh4q4bsbnm9gwhx7cbix1m6-gzip-1.13/bin:/nix/store/y59bxw99pbld247dznzv352cqdhlybqi-bzip2-1.0.8-bin/bin:/nix/store/a08385589ajv3ahmp81nml9bh5dsi55n-gnumake-4.4.1/bin:/nix/store/0irlcqx2n3qm6b1pc9rsd2i8qpvcccaj-bash-5.2p37/bin:/nix/store/0knrdpnzi5s4igcvzw8yhkj8daq84a2v-patch-2.7.6/bin:/nix/store/g6rf9zyrz8hrgz4r7sd2hab3j1afxdkr-xz-5.6.3-bin/bin:/nix/store/83jpg0nha0gp1pggdvsk7zh6wn5lgm00-file-5.45/bin" VSLANG="1033" "cc" "-m64" "/build/rustcxQNfR9/symbols.o" "/build/source/target/release/build/compiler_builtins-cf7e36da4676d7c0/build_script_build-cf7e36da4676d7c0.build_script_build.7c51fc12a9a50db1-cgu.0.rcgu.o" "/build/source/target/release/build/compiler_builtins-cf7e36da4676d7c0/build_script_build-cf7e36da4676d7c0.build_script_build.7c51fc12a9a50db1-cgu.1.rcgu.o" "/build/source/target/release/build/compiler_builtins-cf7e36da4676d7c0/build_script_build-cf7e36da4676d7c0.build_script_build.7c51fc12a9a50db1-cgu.2.rcgu.o" "/build/source/target/release/build/compiler_builtins-cf7e36da4676d7c0/build_script_build-cf7e36da4676d7c0.build_script_build.7c51fc12a9a50db1-cgu.3.rcgu.o" "/build/source/target/release/build/compiler_builtins-cf7e36da4676d7c0/build_script_build-cf7e36da4676d7c0.build_script_build.7c51fc12a9a50db1-cgu.4.rcgu.o" "/build/source/target/release/build/compiler_builtins-cf7e36da4676d7c0/build_script_build-cf7e36da4676d7c0.070t6vuqrk5wqi4f6oky08c8n.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bd6705db1e77d5f2.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-058eab858818de0a.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-d25a941a4df9caf8.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-ade6936d448d6794.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-0a175cebd11e144e.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-127f0ef4dcbf7436.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d034686f0f0f9113.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e4c8cdf1e728a894.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-00d71dca83e6b3e6.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f9f91ef79bc3c342.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-226b4b3bb3c90aef.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a1e4d788e09d8a83.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-35780161441799f5.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a214d3ea58225c02.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-799d520624f8b2e0.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9621b8f524eebb06.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-395a38b8e0851c9b.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d453bab70303062c.rlib" "/nix/store/qhwv86xipsgb00v46978vz97133mrbfv-rust-std-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-619eefe14aaf54f4.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/build/source/target/release/build/compiler_builtins-cf7e36da4676d7c0/build_script_build-cf7e36da4676d7c0" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,--strip-debug" "-nodefaultlibs"
> = note: /nix/store/fvc0x3mmg9wbkjxc0f8gaywvf4bq5q0s-rust-default-1.84.0-nightly-2024-11-16/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld/ld.lld: line 19: /nix/store/5yyadg72l9p0d0ddfhahmhfm6p2hmlb7-rustc-1.84.0-nightly-2024-11-16-x86_64-unknown-linux-gnu/nix-support/darwin-sdk-setup.bash: No such file or directory
> collect2: error: ld returned 1 exit status
>
>
> error: could not compile `compiler_builtins` (build script) due to 1 previous error
For full logs, run 'nix log /nix/store/rw3m0pvl4w2qngdikbjqx0aa60ahw50f-project-with-build-std-deps-0.1.0.drv'.
error: 1 dependencies of derivation '/nix/store/h0y9ca2dahqcmavx34fn9r85x74skg0y-project-with-build-std-0.1.0.drv' failed to build Any help is much appreciated, I hope I'm not making some stupid mistake 🙂 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @purpole thanks for the report and the reproduction steps! When running Running |
Beta Was this translation helpful? Give feedback.
Hi @purpole thanks for the report and the reproduction steps!
When running
nix flake init
it will result in a brand newflake.lock
file which has all the dependencies at their latest version. In this case you gotgithub:oxalica/rust-overlay/f6c4c2a7b8969c2b172847b3ef474e0d3bd8bdce
whose latest nightly compiler seems to have had issues (and I was able to reproduce the issue with that exact commit).Running
nix flake update
gave megithub:oxalica/rust-overlay/bbab2ab9e1932133b1996baa1dc00fefe924ca81
(which likely has a newer nightly) with which building works again, so try that out!