Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using esp-idf-sys without downloading anything #132

Closed
TheNeikos opened this issue Sep 12, 2022 · 5 comments
Closed

Using esp-idf-sys without downloading anything #132

TheNeikos opened this issue Sep 12, 2022 · 5 comments

Comments

@TheNeikos
Copy link

TheNeikos commented Sep 12, 2022

I am a nixos user and would like to use esp-idf-sys. However, it insists on downloading things while building (imo a bad idea, it is very unexpected), which I cannot do.

I am using the ESP32-C3 and do not want to use the xtensa toolchain, and instead just use the normal cargo compiler targeting riscv. Currently, this is not possible, as it requires either 'native' or 'pio'. Neither of which I want to use.

Is there any way I can still use your project?

Things that would be required for my usecase:

  • No downloads during builds
  • List of required build tools (like Clang/cmake) that need to be in $PATH.

Thanks!

Edit

Looking more into it, it seems that the project is expecting a git repository. This seems unecessary when 'fromenv' is supplied? I expect the crate to assume that all the necessary tools/files are accessible in the PATH or in the env variables as if an $ESP_IDF/export.* was called.

In my case for example, I can install ESP_IDF into my environment, but that does not come with any git information. (After all, why is that important? I am using fromenv after all.)

@MabezDev
Copy link
Member

Yes, this is possible, and its what I use daily :). esp-idf is a hard dependency on esp-idf-sys so the options are have it downloaded already or download it, the latter being the default for ease of use.

If you download esp-idf manually, run the tool install script once, then all you have to do is source the idf environment (steps 3-5 from here). Once the environment is sourced, esp-idf-sys will use those sources to build esp-idf, instead of downloading it.

fromenv shouldn't really be needed, as the build script will detect the environment and switch anyway, but it may be needed to find the environment tools.

@TheNeikos
Copy link
Author

Sadly this still errors, albeit with a different error:

❯ cargo check
   Compiling esp-idf-sys v0.31.5
error: failed to run custom build command for `esp-idf-sys v0.31.5`

Caused by:
  process didn't exit successfully: `/home/neikos/projects/embedded/simple_rgb/espressif-trainings/intro/hardware-check/target/debug/build/esp-idf-sys-cf2a3985b2fa3f8f/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=IDF_PATH
  cargo:rerun-if-env-changed=ESP_IDF_TOOLS_INSTALL_DIR
  cargo:rerun-if-env-changed=ESP_IDF_VERSION
  cargo:rerun-if-env-changed=ESP_IDF_REPOSITORY
  cargo:rerun-if-env-changed=ESP_IDF_SDKCONFIG_DEFAULTS
  cargo:rerun-if-env-changed=ESP_IDF_SDKCONFIG
  cargo:rerun-if-env-changed=MCU
  cargo:rerun-if-changed=/home/neikos/projects/embedded/simple_rgb/espressif-trainings/intro/hardware-check/sdkconfig.defaults
  CMAKE_PREFIX_PATH_riscv32imc-esp-espidf = None
  CMAKE_PREFIX_PATH_riscv32imc_esp_espidf = None
  TARGET_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = Some("/nix/store/4g5fidyk19akng9n91cql60ylrjq93s6-gcc-wrapper-10.3.0:/nix/store/95b5bf92ck38jp5lyih5kw9f2glx4gkm-binutils-wrapper-2.35.1:/nix/store/w9c6m0qy0c2hc77nggbcy4hq9dys8fw7-rust-default-1.65.0-nightly-2022-09-04:/nix/store/gsl84cnlwz1nkn5bgkm88m3lz884fgib-espflash-1.6.0:/nix/store/zv9i80xc9j2csz6jcv3appp8vxhjvaa6-ldproxy-0.3.2:/nix/store/mf3vixxfdvs9vn9fzz24hbjq3fq5pgpl-python3.9-pip-21.1.3:/nix/store/8dxxjbiyxwkvh53q5kh6nydla2anacgi-python3-3.9.6:/nix/store/jsx4mm56igrd6pmh7hs3asfrgg4kd1q2-python3.9-virtualenv-20.8.1:/nix/store/s17aj48g92cyz17fmbwn7yqnwk1ybbz2-python3.9-backports-entry-points-selectable-1.1.0:/nix/store/8smrlirz30mg91xpxsdvjirvnzzrahid-python3.9-distlib-0.3.3:/nix/store/y8f3i57ndxlsr2kmy396q0vn0dhz8wvr-python3.9-filelock-3.3.0:/nix/store/arkwlnr8pjbzpf60125yyzfgxywa3f7i-python3.9-platformdirs-2.4.0:/nix/store/7ixnxb28f4sg2c08a1pnp3yxdb0h48cs-python3.9-six-1.16.0:/nix/store/k39dr5rzpz6ifwif7zdnf7kf3w309gp1-cargo-edit-0.8.0:/nix/store/9xz9aga97wc35y5dmlkya8nyiky9014r-esp32c3-toolchain-2021r2-patch3:/nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1:/nix/store/njg99sqcyglfsg2lf1p755r2wivrrsww-esptool-3.2:/nix/store/dgp3mvkfnf6v0bz0qbh94cxqhi1hld4i-python3.9-pyserial-3.5:/nix/store/ryhpb1y18qf4gcy2m5r2d2jbf05w415p-python3.9-pyaes-1.6.1:/nix/store/h14y9gs3m48n74m58bi5p4lkswy7yy2a-python3.9-ecdsa-0.17.0:/nix/store/llgs201w4ma372xb574inmzji1phzr01-python3.9-reedsolo-1.5.4:/nix/store/khf8kwnc2bwhb5vxjmxkx7jpvyc7c6iw-python3.9-bitstring-3.1.9:/nix/store/7imvz43yrh3a22ajqkabz667hq2zrrz4-python3.9-cryptography-3.4.8-dev:/nix/store/7n6fj45g1q6ilckx332j6rwv0q1mbcnj-python3.9-packaging-20.9:/nix/store/40r94pxfjm049w38zs1dn5mw937mgdwf-python3.9-pyparsing-2.4.7:/nix/store/4a198098n5wm7wnn4ni6z46y8bnpfjn7-python3.9-cffi-1.14.6-dev:/nix/store/4flpmcvw0p795bx1s9lnam7kyl7qhviv-python3.9-pycparser-2.20:/nix/store/wf8vlq8gibp76vp816yw0fxjlc5ldphs-python3.9-cffi-1.14.6:/nix/store/09gdhd7z0cjrdd4m9czpjjbnx815hdlb-python3.9-cryptography-3.4.8:/nix/store/zhf7xxp7k1605wirn29kylg1x2bl4pq3-git-2.33.1:/nix/store/8k89kjnnns1j72mfm1i2xsz2dvpy9kpl-wget-1.21.2:/nix/store/4xzvmpwx8lhjgiypdkffl4nzg6pb4lcb-gnumake-4.3:/nix/store/k64ipsghczdyf0pirbvqmjk4idkh6860-flex-2.6.4:/nix/store/2ysk871hamhwb8npzrycpbpdp77dkdws-gnum4-1.4.19:/nix/store/5nhdzkfiv2cin7hlhq88i8zjhgbi82hn-bison-3.7.6:/nix/store/sind0shkjaywcffa5zkypf5411z8w6c5-gperf-3.1:/nix/store/a4fd1rmx1fjx8ashzwaqwvmwpfbm450l-pkg-config-wrapper-0.29.2:/nix/store/sg4gfdp6ahmz8341zh8r3f2s1hylmy47-cmake-3.21.2:/nix/store/vvdy4xg9gd2fgh4rb4i8sy09s08gnr8s-ninja-1.10.2:/nix/store/mscxycfi44z0jwvyz71yv11c3fwbv3nn-ncurses-6.2-abi5-compat-dev:/nix/store/5qjm3h2nynq925ksqw3z31ci3jpf0z75-ncurses-6.2-abi5-compat:/nix/store/p4axvsdpc70w7d9g4kkl3d25swh71fgd-patchelf-0.13")
  CMAKE_riscv32imc-esp-espidf = None
  CMAKE_riscv32imc_esp_espidf = None
  TARGET_CMAKE = None
  CMAKE = None
  running: "cmake" "/home/neikos/projects/embedded/simple_rgb/espressif-trainings/intro/hardware-check/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-32e02a0960456f2b/out" "-G" "Ninja" "-DCMAKE_TOOLCHAIN_FILE=/nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/tools/cmake/toolchain-esp32c3.cmake" "-DCMAKE_BUILD_TYPE=" "-DCMAKE_INSTALL_PREFIX=/home/neikos/projects/embedded/simple_rgb/espressif-trainings/intro/hardware-check/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-32e02a0960456f2b/out" "-DCMAKE_C_FLAGS= -march=rv32imc -ffunction-sections -fdata-sections -march=rv32imc -mabi=ilp32 -mcmodel=medany" "-DCMAKE_CXX_FLAGS= -march=rv32imc -ffunction-sections -fdata-sections -march=rv32imc -mabi=ilp32 -mcmodel=medany" "-DCMAKE_ASM_FLAGS=  -ffunction-sections -fdata-sections -march=rv32imc -mabi=ilp32 -mcmodel=medany"
  -- Checking Python dependencies...
  Python requirements from /nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/requirements.txt are satisfied.
  -- Project sdkconfig file /home/neikos/projects/embedded/simple_rgb/espressif-trainings/intro/hardware-check/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-32e02a0960456f2b/out/sdkconfig
  Loading defaults file /home/neikos/projects/embedded/simple_rgb/espressif-trainings/intro/hardware-check/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-32e02a0960456f2b/out/gen-sdkconfig.defaults...
  Loading defaults file /home/neikos/projects/embedded/simple_rgb/espressif-trainings/intro/hardware-check/sdkconfig.defaults...
  -- App "libespidf" version: 1
  -- Adding linker script /home/neikos/projects/embedded/simple_rgb/espressif-trainings/intro/hardware-check/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-32e02a0960456f2b/out/build/esp-idf/esp_system/ld/memory.ld
  -- Adding linker script /nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/components/esp_system/ld/esp32c3/sections.ld.in
  -- Adding linker script /nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/components/esp_rom/esp32c3/ld/esp32c3.rom.ld
  -- Adding linker script /nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/components/esp_rom/esp32c3/ld/esp32c3.rom.api.ld
  -- Adding linker script /nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/components/esp_rom/esp32c3/ld/esp32c3.rom.libgcc.ld
  -- Adding linker script /nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/components/esp_rom/esp32c3/ld/esp32c3.rom.newlib.ld
  -- Adding linker script /nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/components/esp_rom/esp32c3/ld/esp32c3.rom.version.ld
  -- Adding linker script /nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/components/esp_rom/esp32c3/ld/esp32c3.rom.newlib-time.ld
  -- Adding linker script /nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/components/esp_rom/esp32c3/ld/esp32c3.rom.eco3.ld
  -- Adding linker script /nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/components/soc/esp32c3/ld/esp32c3.peripherals.ld
  -- Configuring incomplete, errors occurred!
  See also "/home/neikos/projects/embedded/simple_rgb/espressif-trainings/intro/hardware-check/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-32e02a0960456f2b/out/build/CMakeFiles/CMakeOutput.log".
  See also "/home/neikos/projects/embedded/simple_rgb/espressif-trainings/intro/hardware-check/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-32e02a0960456f2b/out/build/CMakeFiles/CMakeError.log".

  --- stderr
  Using activated esp-idf v4.4.1 environment at '/nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1'
  CMake Error at build/CMakeFiles/git-data/grabRef.cmake:48 (file):
    file failed to open for reading (No such file or directory):

      /home/neikos/projects/embedded/simple_rgb/espressif-trainings/intro/hardware-check/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-32e02a0960456f2b/out/build/CMakeFiles/git-data/head-ref
  Call Stack (most recent call first):
    /nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/tools/cmake/third_party/GetGitRevisionDescription.cmake:80 (include)
    /nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/tools/cmake/third_party/GetGitRevisionDescription.cmake:90 (get_git_head_revision)
    /nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/tools/cmake/build.cmake:67 (git_describe)
    /nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/tools/cmake/build.cmake:174 (__build_get_idf_git_revision)
    /nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/tools/cmake/idf.cmake:50 (__build_init)
    CMakeLists.txt:3 (include)


  thread 'main' panicked at '
  command did not execute successfully, got: exit status: 1

  build script failed, must exit now', /home/neikos/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.48/src/lib.rs:975:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

and the content of that file

#
# Internal file for GetGitRevisionDescription.cmake
#
# Requires CMake 2.6 or newer (uses the 'function' command)
#
# Original Author:
# 2009-2010 Ryan Pavlik <[email protected]> <[email protected]>
# http://academic.cleardefinition.com
# Iowa State University HCI Graduate Program/VRAC
#
# Copyright Iowa State University 2009-2010.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)

set(HEAD_HASH)

file(READ "/home/neikos/projects/embedded/simple_rgb/espressif-trainings/intro/hardware-check/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-32e02a0960456f2b/out/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024)

string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS)
set(GIT_DIR "/nix/store/cp482m3fyv64rcbl5p7fzzpmigmly0fz-esp-idf-v4.4.1/.git")
# handle git-worktree
if(EXISTS "${GIT_DIR}/commondir")
	file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)
	string(STRIP "${GIT_DIR_NEW}" GIT_DIR_NEW)
	if(NOT IS_ABSOLUTE "${GIT_DIR_NEW}")
		get_filename_component(GIT_DIR_NEW ${GIT_DIR}/${GIT_DIR_NEW} ABSOLUTE)
	endif()
	if(EXISTS "${GIT_DIR_NEW}")
		set(GIT_DIR "${GIT_DIR_NEW}")
	endif()
endif()
if(HEAD_CONTENTS MATCHES "ref")
	# named branch
	string(REPLACE "ref: " "" HEAD_REF "${HEAD_CONTENTS}")
	if(EXISTS "${GIT_DIR}/${HEAD_REF}")
		configure_file("${GIT_DIR}/${HEAD_REF}" "/home/neikos/projects/embedded/simple_rgb/espressif-trainings/intro/hardware-check/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-32e02a0960456f2b/out/build/CMakeFiles/git-data/head-ref" COPYONLY)
	elseif(EXISTS "${GIT_DIR}/logs/${HEAD_REF}")
		configure_file("${GIT_DIR}/logs/${HEAD_REF}" "/home/neikos/projects/embedded/simple_rgb/espressif-trainings/intro/hardware-check/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-32e02a0960456f2b/out/build/CMakeFiles/git-data/head-ref" COPYONLY)
		set(HEAD_HASH "${HEAD_REF}")
	endif()
else()
	# detached HEAD
	configure_file("${GIT_DIR}/HEAD" "/home/neikos/projects/embedded/simple_rgb/espressif-trainings/intro/hardware-check/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-32e02a0960456f2b/out/build/CMakeFiles/git-data/head-ref" COPYONLY)
endif()

if(NOT HEAD_HASH)
	file(READ "/home/neikos/projects/embedded/simple_rgb/espressif-trainings/intro/hardware-check/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-32e02a0960456f2b/out/build/CMakeFiles/git-data/head-ref" HEAD_HASH LIMIT 1024)
	string(STRIP "${HEAD_HASH}" HEAD_HASH)
endif()

This doesn't seem to come from esp-idf-sys though 🤔

@thiskappaisgrey
Copy link

I made a nix shell for this: https://github.com/thiskappaisgrey/nixpkgs-esp-dev-rust/blob/rust/shells/esp32s2-idf-rust.nix . esp-idf-sys still expects esp-sys to be a git repo, so I just let it do what it wants and clone the repo. Using nix, I had to provide the necessary libraries that esp-idf-sys needs. I'm just posting this in case anyone (who is using nix) comes across this in the future. Thanks.

@svelterust
Copy link

svelterust commented Mar 20, 2023

I made a nix shell for this: https://github.com/thiskappaisgrey/nixpkgs-esp-dev-rust/blob/rust/shells/esp32s2-idf-rust.nix . esp-idf-sys still expects esp-sys to be a git repo, so I just let it do what it wants and clone the repo. Using nix, I had to provide the necessary libraries that esp-idf-sys needs. I'm just posting this in case anyone (who is using nix) comes across this in the future. Thanks.

Did you anything like this? When I try it with my repository I get following:

    Updating crates.io index
   Compiling compiler_builtins v0.1.84
   Compiling proc-macro2 v1.0.52
   Compiling quote v1.0.26
   Compiling libc v0.2.140
   Compiling memchr v2.5.0
   Compiling serde_derive v1.0.157
   Compiling serde v1.0.157
   Compiling log v0.4.17
   Compiling syn v1.0.109
   Compiling libc v0.2.138
   Compiling clang-sys v1.6.0
   Compiling rustversion v1.0.12
error: linking with `clang` failed: exit status: 1
  |
  = note: "clang" "-m64" "/tmp/nix-shell.ickrxM/rustc0sxIWy/symbols.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.build_script_build.e8e42ab9-cgu.0.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.build_script_build.e8e42ab9-cgu.1.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.build_script_build.e8e42ab9-cgu.10.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.build_script_build.e8e42ab9-cgu.11.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.build_script_build.e8e42ab9-cgu.12.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.build_script_build.e8e42ab9-cgu.13.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.build_script_build.e8e42ab9-cgu.14.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.build_script_build.e8e42ab9-cgu.15.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.build_script_build.e8e42ab9-cgu.2.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.build_script_build.e8e42ab9-cgu.3.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.build_script_build.e8e42ab9-cgu.4.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.build_script_build.e8e42ab9-cgu.5.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.build_script_build.e8e42ab9-cgu.6.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.build_script_build.e8e42ab9-cgu.7.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.build_script_build.e8e42ab9-cgu.8.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.build_script_build.e8e42ab9-cgu.9.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22.4focamokwqw4zbv9.rcgu.o" "-Wl,--as-needed" "-L" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/deps" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9bf22f71a5b69462.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-2973da644a9aa9a4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-28811e4da7b8e05d.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-2fcb221e9a6784d2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-438169fb9a4c1933.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-c82c22e1c759d420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-51090e4c4262203c.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e09e07f8305f9ee2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-21d2b358dfc61dfb.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-4e7ce016f3ea8f9b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-1eb3d2f297872420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-bc33c662805c7983.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-912c70855ca337f4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2e996af63159cf23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8ed0eb2c40b5716f.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6c157c05845e2b8b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b58cf40cf1cfec23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-532c69f86a24c399.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9f0f4b9b2513cdc5.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/log-c5879a61b5f04c22/build_script_build-c5879a61b5f04c22" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
  = note: /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find crtbeginS.o: No such file or directory
          /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find -lgcc: No such file or directory
          clang-15-unwrapped: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `log` due to previous error
warning: build failed, waiting for other jobs to finish...
error: linking with `clang` failed: exit status: 1
  |
  = note: "clang" "-m64" "/tmp/nix-shell.ickrxM/rustcZYgl87/symbols.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.build_script_build.eae51261-cgu.0.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.build_script_build.eae51261-cgu.1.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.build_script_build.eae51261-cgu.10.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.build_script_build.eae51261-cgu.11.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.build_script_build.eae51261-cgu.12.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.build_script_build.eae51261-cgu.13.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.build_script_build.eae51261-cgu.14.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.build_script_build.eae51261-cgu.15.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.build_script_build.eae51261-cgu.2.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.build_script_build.eae51261-cgu.3.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.build_script_build.eae51261-cgu.4.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.build_script_build.eae51261-cgu.5.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.build_script_build.eae51261-cgu.6.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.build_script_build.eae51261-cgu.7.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.build_script_build.eae51261-cgu.8.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.build_script_build.eae51261-cgu.9.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf.5gfjuc3utqdc8n8s.rcgu.o" "-Wl,--as-needed" "-L" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/deps" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9bf22f71a5b69462.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-2973da644a9aa9a4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-28811e4da7b8e05d.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-2fcb221e9a6784d2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-438169fb9a4c1933.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-c82c22e1c759d420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-51090e4c4262203c.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e09e07f8305f9ee2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-21d2b358dfc61dfb.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-4e7ce016f3ea8f9b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-1eb3d2f297872420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-bc33c662805c7983.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-912c70855ca337f4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2e996af63159cf23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8ed0eb2c40b5716f.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6c157c05845e2b8b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b58cf40cf1cfec23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-532c69f86a24c399.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9f0f4b9b2513cdc5.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde_derive-f14ef499a0dc0cdf/build_script_build-f14ef499a0dc0cdf" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
  = note: /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find crtbeginS.o: No such file or directory
          /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find -lgcc: No such file or directory
          clang-15-unwrapped: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `serde_derive` due to previous error
error: linking with `clang` failed: exit status: 1
  |
  = note: "clang" "-m64" "/tmp/nix-shell.ickrxM/rustci71Ey4/symbols.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.build_script_build.480405ad-cgu.0.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.build_script_build.480405ad-cgu.1.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.build_script_build.480405ad-cgu.10.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.build_script_build.480405ad-cgu.11.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.build_script_build.480405ad-cgu.12.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.build_script_build.480405ad-cgu.13.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.build_script_build.480405ad-cgu.14.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.build_script_build.480405ad-cgu.15.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.build_script_build.480405ad-cgu.2.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.build_script_build.480405ad-cgu.3.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.build_script_build.480405ad-cgu.4.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.build_script_build.480405ad-cgu.5.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.build_script_build.480405ad-cgu.6.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.build_script_build.480405ad-cgu.7.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.build_script_build.480405ad-cgu.8.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.build_script_build.480405ad-cgu.9.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909.4y4udd86mxk2rctc.rcgu.o" "-Wl,--as-needed" "-L" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/deps" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9bf22f71a5b69462.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-2973da644a9aa9a4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-28811e4da7b8e05d.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-2fcb221e9a6784d2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-438169fb9a4c1933.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-c82c22e1c759d420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-51090e4c4262203c.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e09e07f8305f9ee2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-21d2b358dfc61dfb.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-4e7ce016f3ea8f9b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-1eb3d2f297872420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-bc33c662805c7983.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-912c70855ca337f4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2e996af63159cf23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8ed0eb2c40b5716f.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6c157c05845e2b8b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b58cf40cf1cfec23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-532c69f86a24c399.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9f0f4b9b2513cdc5.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/quote-8a23d3b3126fb909/build_script_build-8a23d3b3126fb909" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
  = note: /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find crtbeginS.o: No such file or directory
          /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find -lgcc: No such file or directory
          clang-15-unwrapped: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: linking with `clang` failed: exit status: 1
  |
  = note: "clang" "-m64" "/tmp/nix-shell.ickrxM/rustc4SggTk/symbols.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.build_script_build.3ae50d9c-cgu.0.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.build_script_build.3ae50d9c-cgu.1.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.build_script_build.3ae50d9c-cgu.10.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.build_script_build.3ae50d9c-cgu.11.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.build_script_build.3ae50d9c-cgu.12.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.build_script_build.3ae50d9c-cgu.13.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.build_script_build.3ae50d9c-cgu.14.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.build_script_build.3ae50d9c-cgu.15.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.build_script_build.3ae50d9c-cgu.2.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.build_script_build.3ae50d9c-cgu.3.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.build_script_build.3ae50d9c-cgu.4.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.build_script_build.3ae50d9c-cgu.5.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.build_script_build.3ae50d9c-cgu.6.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.build_script_build.3ae50d9c-cgu.7.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.build_script_build.3ae50d9c-cgu.8.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.build_script_build.3ae50d9c-cgu.9.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4.2ziww42gs36lpnpk.rcgu.o" "-Wl,--as-needed" "-L" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/deps" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9bf22f71a5b69462.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-2973da644a9aa9a4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-28811e4da7b8e05d.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-2fcb221e9a6784d2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-438169fb9a4c1933.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-c82c22e1c759d420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-51090e4c4262203c.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e09e07f8305f9ee2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-21d2b358dfc61dfb.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-4e7ce016f3ea8f9b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-1eb3d2f297872420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-bc33c662805c7983.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-912c70855ca337f4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2e996af63159cf23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8ed0eb2c40b5716f.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6c157c05845e2b8b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b58cf40cf1cfec23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-532c69f86a24c399.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9f0f4b9b2513cdc5.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/memchr-359aa0212e42dbd4/build_script_build-359aa0212e42dbd4" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
  = note: /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find crtbeginS.o: No such file or directory
          /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find -lgcc: No such file or directory
          clang-15-unwrapped: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `memchr` due to previous error
error: could not compile `quote` due to previous error
error: linking with `clang` failed: exit status: 1
  |
  = note: "clang" "-m64" "/tmp/nix-shell.ickrxM/rustcvVVlbF/symbols.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.build_script_build.b30e20fc-cgu.0.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.build_script_build.b30e20fc-cgu.1.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.build_script_build.b30e20fc-cgu.10.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.build_script_build.b30e20fc-cgu.11.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.build_script_build.b30e20fc-cgu.12.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.build_script_build.b30e20fc-cgu.13.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.build_script_build.b30e20fc-cgu.14.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.build_script_build.b30e20fc-cgu.15.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.build_script_build.b30e20fc-cgu.2.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.build_script_build.b30e20fc-cgu.3.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.build_script_build.b30e20fc-cgu.4.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.build_script_build.b30e20fc-cgu.5.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.build_script_build.b30e20fc-cgu.6.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.build_script_build.b30e20fc-cgu.7.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.build_script_build.b30e20fc-cgu.8.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.build_script_build.b30e20fc-cgu.9.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320.12gsynmkw76mmem8.rcgu.o" "-Wl,--as-needed" "-L" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/deps" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9bf22f71a5b69462.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-2973da644a9aa9a4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-28811e4da7b8e05d.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-2fcb221e9a6784d2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-438169fb9a4c1933.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-c82c22e1c759d420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-51090e4c4262203c.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e09e07f8305f9ee2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-21d2b358dfc61dfb.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-4e7ce016f3ea8f9b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-1eb3d2f297872420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-bc33c662805c7983.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-912c70855ca337f4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2e996af63159cf23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8ed0eb2c40b5716f.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6c157c05845e2b8b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b58cf40cf1cfec23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-532c69f86a24c399.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9f0f4b9b2513cdc5.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/compiler_builtins-ab35b27aaaafe320/build_script_build-ab35b27aaaafe320" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
  = note: /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find crtbeginS.o: No such file or directory
          /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find -lgcc: No such file or directory
          clang-15-unwrapped: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `compiler_builtins` due to previous error
error: linking with `clang` failed: exit status: 1
  |
  = note: "clang" "-m64" "/tmp/nix-shell.ickrxM/rustcHTesac/symbols.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.build_script_build.a4ffa925-cgu.0.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.build_script_build.a4ffa925-cgu.1.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.build_script_build.a4ffa925-cgu.10.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.build_script_build.a4ffa925-cgu.11.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.build_script_build.a4ffa925-cgu.12.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.build_script_build.a4ffa925-cgu.13.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.build_script_build.a4ffa925-cgu.14.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.build_script_build.a4ffa925-cgu.15.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.build_script_build.a4ffa925-cgu.2.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.build_script_build.a4ffa925-cgu.3.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.build_script_build.a4ffa925-cgu.4.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.build_script_build.a4ffa925-cgu.5.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.build_script_build.a4ffa925-cgu.6.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.build_script_build.a4ffa925-cgu.7.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.build_script_build.a4ffa925-cgu.8.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.build_script_build.a4ffa925-cgu.9.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db.4i5i13vn73ly66uj.rcgu.o" "-Wl,--as-needed" "-L" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/deps" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9bf22f71a5b69462.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-2973da644a9aa9a4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-28811e4da7b8e05d.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-2fcb221e9a6784d2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-438169fb9a4c1933.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-c82c22e1c759d420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-51090e4c4262203c.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e09e07f8305f9ee2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-21d2b358dfc61dfb.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-4e7ce016f3ea8f9b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-1eb3d2f297872420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-bc33c662805c7983.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-912c70855ca337f4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2e996af63159cf23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8ed0eb2c40b5716f.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6c157c05845e2b8b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b58cf40cf1cfec23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-532c69f86a24c399.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9f0f4b9b2513cdc5.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/serde-815de23eb83050db/build_script_build-815de23eb83050db" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
  = note: /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find crtbeginS.o: No such file or directory
          /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find -lgcc: No such file or directory
          clang-15-unwrapped: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `serde` due to previous error
error: linking with `clang` failed: exit status: 1
  |
  = note: "clang" "-m64" "/tmp/nix-shell.ickrxM/rustcABHirl/symbols.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.build_script_build.f1e9058a-cgu.0.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.build_script_build.f1e9058a-cgu.1.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.build_script_build.f1e9058a-cgu.10.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.build_script_build.f1e9058a-cgu.11.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.build_script_build.f1e9058a-cgu.12.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.build_script_build.f1e9058a-cgu.13.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.build_script_build.f1e9058a-cgu.14.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.build_script_build.f1e9058a-cgu.15.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.build_script_build.f1e9058a-cgu.2.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.build_script_build.f1e9058a-cgu.3.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.build_script_build.f1e9058a-cgu.4.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.build_script_build.f1e9058a-cgu.5.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.build_script_build.f1e9058a-cgu.6.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.build_script_build.f1e9058a-cgu.7.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.build_script_build.f1e9058a-cgu.8.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.build_script_build.f1e9058a-cgu.9.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df.10x1yvajzprt2ll5.rcgu.o" "-Wl,--as-needed" "-L" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/deps" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9bf22f71a5b69462.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-2973da644a9aa9a4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-28811e4da7b8e05d.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-2fcb221e9a6784d2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-438169fb9a4c1933.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-c82c22e1c759d420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-51090e4c4262203c.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e09e07f8305f9ee2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-21d2b358dfc61dfb.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-4e7ce016f3ea8f9b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-1eb3d2f297872420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-bc33c662805c7983.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-912c70855ca337f4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2e996af63159cf23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8ed0eb2c40b5716f.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6c157c05845e2b8b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b58cf40cf1cfec23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-532c69f86a24c399.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9f0f4b9b2513cdc5.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-aff36da4b9ea64df/build_script_build-aff36da4b9ea64df" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
  = note: /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find crtbeginS.o: No such file or directory
          /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find -lgcc: No such file or directory
          clang-15-unwrapped: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `libc` due to previous error
error: linking with `clang` failed: exit status: 1
  |
  = note: "clang" "-m64" "/tmp/nix-shell.ickrxM/rustcGnfMZb/symbols.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.build_script_build.75148a2f-cgu.0.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.build_script_build.75148a2f-cgu.1.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.build_script_build.75148a2f-cgu.10.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.build_script_build.75148a2f-cgu.11.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.build_script_build.75148a2f-cgu.12.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.build_script_build.75148a2f-cgu.13.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.build_script_build.75148a2f-cgu.14.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.build_script_build.75148a2f-cgu.15.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.build_script_build.75148a2f-cgu.2.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.build_script_build.75148a2f-cgu.3.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.build_script_build.75148a2f-cgu.4.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.build_script_build.75148a2f-cgu.5.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.build_script_build.75148a2f-cgu.6.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.build_script_build.75148a2f-cgu.7.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.build_script_build.75148a2f-cgu.8.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.build_script_build.75148a2f-cgu.9.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b.7vpv7keekf6jqon.rcgu.o" "-Wl,--as-needed" "-L" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/deps" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9bf22f71a5b69462.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-2973da644a9aa9a4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-28811e4da7b8e05d.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-2fcb221e9a6784d2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-438169fb9a4c1933.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-c82c22e1c759d420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-51090e4c4262203c.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e09e07f8305f9ee2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-21d2b358dfc61dfb.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-4e7ce016f3ea8f9b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-1eb3d2f297872420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-bc33c662805c7983.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-912c70855ca337f4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2e996af63159cf23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8ed0eb2c40b5716f.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6c157c05845e2b8b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b58cf40cf1cfec23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-532c69f86a24c399.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9f0f4b9b2513cdc5.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/syn-26b54f674c3ca03b/build_script_build-26b54f674c3ca03b" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
  = note: /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find crtbeginS.o: No such file or directory
          /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find -lgcc: No such file or directory
          clang-15-unwrapped: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: linking with `clang` failed: exit status: 1
  |
  = note: "clang" "-m64" "/tmp/nix-shell.ickrxM/rustcxXJ2zq/symbols.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.build_script_build.86d9ac21-cgu.0.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.build_script_build.86d9ac21-cgu.1.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.build_script_build.86d9ac21-cgu.10.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.build_script_build.86d9ac21-cgu.11.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.build_script_build.86d9ac21-cgu.12.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.build_script_build.86d9ac21-cgu.13.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.build_script_build.86d9ac21-cgu.14.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.build_script_build.86d9ac21-cgu.15.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.build_script_build.86d9ac21-cgu.2.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.build_script_build.86d9ac21-cgu.3.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.build_script_build.86d9ac21-cgu.4.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.build_script_build.86d9ac21-cgu.5.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.build_script_build.86d9ac21-cgu.6.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.build_script_build.86d9ac21-cgu.7.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.build_script_build.86d9ac21-cgu.8.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.build_script_build.86d9ac21-cgu.9.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231.3cayq0qp0na9x6ux.rcgu.o" "-Wl,--as-needed" "-L" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/deps" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/deps/libglob-8119009d933d4842.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9bf22f71a5b69462.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-2973da644a9aa9a4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-28811e4da7b8e05d.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-2fcb221e9a6784d2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-438169fb9a4c1933.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-c82c22e1c759d420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-51090e4c4262203c.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e09e07f8305f9ee2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-21d2b358dfc61dfb.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-4e7ce016f3ea8f9b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-1eb3d2f297872420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-bc33c662805c7983.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-912c70855ca337f4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2e996af63159cf23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8ed0eb2c40b5716f.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6c157c05845e2b8b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b58cf40cf1cfec23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-532c69f86a24c399.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9f0f4b9b2513cdc5.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/clang-sys-e891e498da673231/build_script_build-e891e498da673231" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
  = note: /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find crtbeginS.o: No such file or directory
          /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find -lgcc: No such file or directory
          clang-15-unwrapped: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `syn` due to previous error
error: could not compile `clang-sys` due to previous error
error: linking with `clang` failed: exit status: 1
  |
  = note: "clang" "-m64" "/tmp/nix-shell.ickrxM/rustch3wJWU/symbols.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.build_script_build.6f85b16b-cgu.0.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.build_script_build.6f85b16b-cgu.1.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.build_script_build.6f85b16b-cgu.10.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.build_script_build.6f85b16b-cgu.11.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.build_script_build.6f85b16b-cgu.12.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.build_script_build.6f85b16b-cgu.13.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.build_script_build.6f85b16b-cgu.14.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.build_script_build.6f85b16b-cgu.15.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.build_script_build.6f85b16b-cgu.2.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.build_script_build.6f85b16b-cgu.3.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.build_script_build.6f85b16b-cgu.4.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.build_script_build.6f85b16b-cgu.5.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.build_script_build.6f85b16b-cgu.6.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.build_script_build.6f85b16b-cgu.7.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.build_script_build.6f85b16b-cgu.8.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.build_script_build.6f85b16b-cgu.9.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c.3b9648jp80m827k2.rcgu.o" "-Wl,--as-needed" "-L" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/deps" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9bf22f71a5b69462.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-2973da644a9aa9a4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-28811e4da7b8e05d.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-2fcb221e9a6784d2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-438169fb9a4c1933.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-c82c22e1c759d420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-51090e4c4262203c.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e09e07f8305f9ee2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-21d2b358dfc61dfb.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-4e7ce016f3ea8f9b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-1eb3d2f297872420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-bc33c662805c7983.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-912c70855ca337f4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2e996af63159cf23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8ed0eb2c40b5716f.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6c157c05845e2b8b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b58cf40cf1cfec23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-532c69f86a24c399.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9f0f4b9b2513cdc5.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/proc-macro2-1ac28aef98cadd1c/build_script_build-1ac28aef98cadd1c" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
  = note: /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find crtbeginS.o: No such file or directory
          /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find -lgcc: No such file or directory
          clang-15-unwrapped: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: linking with `clang` failed: exit status: 1
  |
  = note: "clang" "-m64" "/tmp/nix-shell.ickrxM/rustctwJuqK/symbols.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.build_script_build.c2af1a7e-cgu.0.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.build_script_build.c2af1a7e-cgu.1.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.build_script_build.c2af1a7e-cgu.10.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.build_script_build.c2af1a7e-cgu.11.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.build_script_build.c2af1a7e-cgu.12.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.build_script_build.c2af1a7e-cgu.13.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.build_script_build.c2af1a7e-cgu.14.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.build_script_build.c2af1a7e-cgu.15.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.build_script_build.c2af1a7e-cgu.2.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.build_script_build.c2af1a7e-cgu.3.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.build_script_build.c2af1a7e-cgu.4.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.build_script_build.c2af1a7e-cgu.5.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.build_script_build.c2af1a7e-cgu.6.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.build_script_build.c2af1a7e-cgu.7.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.build_script_build.c2af1a7e-cgu.8.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.build_script_build.c2af1a7e-cgu.9.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12.21ae528d2gjv2meb.rcgu.o" "-Wl,--as-needed" "-L" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/deps" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9bf22f71a5b69462.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-2973da644a9aa9a4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-28811e4da7b8e05d.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-2fcb221e9a6784d2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-438169fb9a4c1933.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-c82c22e1c759d420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-51090e4c4262203c.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e09e07f8305f9ee2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-21d2b358dfc61dfb.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-4e7ce016f3ea8f9b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-1eb3d2f297872420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-bc33c662805c7983.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-912c70855ca337f4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2e996af63159cf23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8ed0eb2c40b5716f.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6c157c05845e2b8b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b58cf40cf1cfec23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-532c69f86a24c399.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9f0f4b9b2513cdc5.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/rustversion-168a8c605bfa5c12/build_script_build-168a8c605bfa5c12" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
  = note: /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find crtbeginS.o: No such file or directory
          /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find -lgcc: No such file or directory
          clang-15-unwrapped: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `proc-macro2` due to previous error
error: could not compile `rustversion` due to previous error
error: linking with `clang` failed: exit status: 1
  |
  = note: "clang" "-m64" "/tmp/nix-shell.ickrxM/rustcQFrHgd/symbols.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.build_script_build.ba5223a2-cgu.0.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.build_script_build.ba5223a2-cgu.1.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.build_script_build.ba5223a2-cgu.10.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.build_script_build.ba5223a2-cgu.11.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.build_script_build.ba5223a2-cgu.12.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.build_script_build.ba5223a2-cgu.13.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.build_script_build.ba5223a2-cgu.14.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.build_script_build.ba5223a2-cgu.15.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.build_script_build.ba5223a2-cgu.2.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.build_script_build.ba5223a2-cgu.3.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.build_script_build.ba5223a2-cgu.4.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.build_script_build.ba5223a2-cgu.5.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.build_script_build.ba5223a2-cgu.6.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.build_script_build.ba5223a2-cgu.7.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.build_script_build.ba5223a2-cgu.8.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.build_script_build.ba5223a2-cgu.9.rcgu.o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586.2q89p62yzamcsy2n.rcgu.o" "-Wl,--as-needed" "-L" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/deps" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9bf22f71a5b69462.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-2973da644a9aa9a4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-28811e4da7b8e05d.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-2fcb221e9a6784d2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-438169fb9a4c1933.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-c82c22e1c759d420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-51090e4c4262203c.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e09e07f8305f9ee2.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-21d2b358dfc61dfb.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-4e7ce016f3ea8f9b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-1eb3d2f297872420.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-bc33c662805c7983.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-912c70855ca337f4.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2e996af63159cf23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8ed0eb2c40b5716f.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6c157c05845e2b8b.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b58cf40cf1cfec23.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-532c69f86a24c399.rlib" "/nix/store/xc0cvvbrx8ykwlaaarv5ji607n1gkdf6-rustc-1.67.0.0-x86_64-linux/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9f0f4b9b2513cdc5.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/nix/store/a04qn9lgfsm3k6hsap5cncbjmn53zaqr-rust-xtensa-1.67.0.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/odd/source/nix/temp/esp32-hello-world/target/debug/build/libc-c00d0ee8986ba586/build_script_build-c00d0ee8986ba586" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
  = note: /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find crtbeginS.o: No such file or directory
          /nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: cannot find -lgcc: No such file or directory
          clang-15-unwrapped: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `libc` due to previous error

@Vollbrecht
Copy link
Collaborator

closing in favor of #184

@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

5 participants