rust-osdev / bootimage

Tool to create bootable disk images from a Rust OS kernel.
Apache License 2.0
767 stars 67 forks source link

Can't install bootimage using "cargo install bootimage" #64

Open Asoftyn opened 4 years ago

Asoftyn commented 4 years ago

Hello, I get an error when trying to install bootimage, this is the output after running the install command:

Updating crates.io index Installing bootimage v0.9.0 error: failed to compile bootimage v0.9.0, intermediate artifacts can be found at C:\Users\(username)\AppData\Local\Temp\cargo-install2oyY9G

Caused by: -Zbuild-std requires --target

I tried passing in different targets but I don't get it to work, any help on this?

phil-opp commented 4 years ago

The problem might be that the build-std setting in your .cargo/config.toml also applies to cargo install command when run from the same directory. Try running the command from e.g. the parent directory or your home directory.

I'm on mobile right now, but I'll open an issue about this in the cargo repository later. As far as I know, cargo install already ignores most .cargo/config.toml keys, so I think it would make sense to ignore the unstable table too.

Asoftyn commented 4 years ago

Yeah that fixed the problem. Thanks.

ahmedwadod commented 4 years ago

I had the same issue on GNU/Linux Ubuntu, but running the install command cargo install bootimage from home directory ~/ fixed it.

phil-opp commented 4 years ago

I opened a cargo issue about this: https://github.com/rust-lang/cargo/issues/8512

shepherdjerred commented 4 years ago

Ran into the same issue: https://travis-ci.com/github/shepherdjerred/rust-os/jobs/369217075#L150

Fixed it by running the install command in another directory (i.e. (cd .. && cargo install bootimage) instead of cargo install bootimage): https://travis-ci.com/github/shepherdjerred/rust-os/jobs/369217762

vandadnp commented 3 years ago

I'm running this command on Ubuntu Linux Subsystem on Windows and getting this error when I run it from my home directory:

vandad@DESKTOP-5HF1NGE:~$ cargo install bootimage
    Updating crates.io index
  Installing bootimage v0.10.3
   Compiling proc-macro2 v1.0.29
   Compiling unicode-xid v0.2.2
   Compiling syn v1.0.76
   Compiling serde v1.0.130
   Compiling ryu v1.0.5
   Compiling serde_derive v1.0.130
   Compiling serde_json v1.0.68
   Compiling libc v0.2.102
   Compiling itoa v0.4.8
   Compiling anyhow v1.0.44
   Compiling semver-parser v0.7.0
   Compiling json v0.12.4
   Compiling llvm-tools v0.1.1
error: could not exec the linker `cc`
  |
  = note: Permission denied (os error 13)
  = note: "cc" "-m64" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.build_script_build.7cca8c3c-cgu.0.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.build_script_build.7cca8c3c-cgu.1.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.build_script_build.7cca8c3c-cgu.10.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.build_script_build.7cca8c3c-cgu.11.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.build_script_build.7cca8c3c-cgu.12.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.build_script_build.7cca8c3c-cgu.13.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.build_script_build.7cca8c3c-cgu.14.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.build_script_build.7cca8c3c-cgu.15.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.build_script_build.7cca8c3c-cgu.2.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.build_script_build.7cca8c3c-cgu.3.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.build_script_build.7cca8c3c-cgu.4.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.build_script_build.7cca8c3c-cgu.5.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.build_script_build.7cca8c3c-cgu.6.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.build_script_build.7cca8c3c-cgu.7.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.build_script_build.7cca8c3c-cgu.8.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.build_script_build.7cca8c3c-cgu.9.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1.u04ek2q317rk5pk.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-install6qJC8S/release/deps" "-L" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-install6qJC8S/release/build/serde_json-579947aaab2f71d1/build_script_build-579947aaab2f71d1" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"

error: could not compile `serde_json` due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not exec the linker `cc`
  |
  = note: Permission denied (os error 13)
  = note: "cc" "-m64" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.build_script_build.ce57162f-cgu.0.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.build_script_build.ce57162f-cgu.1.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.build_script_build.ce57162f-cgu.10.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.build_script_build.ce57162f-cgu.11.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.build_script_build.ce57162f-cgu.12.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.build_script_build.ce57162f-cgu.13.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.build_script_build.ce57162f-cgu.14.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.build_script_build.ce57162f-cgu.15.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.build_script_build.ce57162f-cgu.2.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.build_script_build.ce57162f-cgu.3.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.build_script_build.ce57162f-cgu.4.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.build_script_build.ce57162f-cgu.5.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.build_script_build.ce57162f-cgu.6.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.build_script_build.ce57162f-cgu.7.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.build_script_build.ce57162f-cgu.8.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.build_script_build.ce57162f-cgu.9.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df.11gvhswj0cbroa8r.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-install6qJC8S/release/deps" "-L" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-install6qJC8S/release/build/ryu-4b95393f3a3ec2df/build_script_build-4b95393f3a3ec2df" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"

error: could not exec the linker `cc`
  |
  = note: Permission denied (os error 13)
  = note: "cc" "-m64" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.build_script_build.bc746af3-cgu.0.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.build_script_build.bc746af3-cgu.1.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.build_script_build.bc746af3-cgu.10.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.build_script_build.bc746af3-cgu.11.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.build_script_build.bc746af3-cgu.12.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.build_script_build.bc746af3-cgu.13.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.build_script_build.bc746af3-cgu.14.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.build_script_build.bc746af3-cgu.15.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.build_script_build.bc746af3-cgu.2.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.build_script_build.bc746af3-cgu.3.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.build_script_build.bc746af3-cgu.4.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.build_script_build.bc746af3-cgu.5.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.build_script_build.bc746af3-cgu.6.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.build_script_build.bc746af3-cgu.7.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.build_script_build.bc746af3-cgu.8.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.build_script_build.bc746af3-cgu.9.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7.2ko3gvqy6o6rkdtd.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-install6qJC8S/release/deps" "-L" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-install6qJC8S/release/build/serde_derive-f96c5142af5abcf7/build_script_build-f96c5142af5abcf7" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"

error: could not exec the linker `cc`
  |
  = note: Permission denied (os error 13)
  = note: "cc" "-m64" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.build_script_build.145beee6-cgu.0.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.build_script_build.145beee6-cgu.1.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.build_script_build.145beee6-cgu.10.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.build_script_build.145beee6-cgu.11.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.build_script_build.145beee6-cgu.12.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.build_script_build.145beee6-cgu.13.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.build_script_build.145beee6-cgu.14.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.build_script_build.145beee6-cgu.15.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.build_script_build.145beee6-cgu.2.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.build_script_build.145beee6-cgu.3.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.build_script_build.145beee6-cgu.4.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.build_script_build.145beee6-cgu.5.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.build_script_build.145beee6-cgu.6.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.build_script_build.145beee6-cgu.7.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.build_script_build.145beee6-cgu.8.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.build_script_build.145beee6-cgu.9.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c.59kix60j6di98yeq.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-install6qJC8S/release/deps" "-L" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-install6qJC8S/release/build/serde-5402587df1ba1c4c/build_script_build-5402587df1ba1c4c" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"

error: could not exec the linker `cc`
  |
  = note: Permission denied (os error 13)
  = note: "cc" "-m64" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.build_script_build.985e3ef9-cgu.0.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.build_script_build.985e3ef9-cgu.1.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.build_script_build.985e3ef9-cgu.10.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.build_script_build.985e3ef9-cgu.11.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.build_script_build.985e3ef9-cgu.12.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.build_script_build.985e3ef9-cgu.13.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.build_script_build.985e3ef9-cgu.14.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.build_script_build.985e3ef9-cgu.15.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.build_script_build.985e3ef9-cgu.2.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.build_script_build.985e3ef9-cgu.3.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.build_script_build.985e3ef9-cgu.4.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.build_script_build.985e3ef9-cgu.5.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.build_script_build.985e3ef9-cgu.6.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.build_script_build.985e3ef9-cgu.7.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.build_script_build.985e3ef9-cgu.8.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.build_script_build.985e3ef9-cgu.9.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664.yp2tlaflzjw5ekh.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-install6qJC8S/release/deps" "-L" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-install6qJC8S/release/build/syn-ec6dda510adb3664/build_script_build-ec6dda510adb3664" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"

error: could not exec the linker `cc`
  |
  = note: Permission denied (os error 13)
  = note: "cc" "-m64" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.build_script_build.81cddeab-cgu.0.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.build_script_build.81cddeab-cgu.1.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.build_script_build.81cddeab-cgu.10.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.build_script_build.81cddeab-cgu.11.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.build_script_build.81cddeab-cgu.12.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.build_script_build.81cddeab-cgu.13.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.build_script_build.81cddeab-cgu.14.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.build_script_build.81cddeab-cgu.15.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.build_script_build.81cddeab-cgu.2.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.build_script_build.81cddeab-cgu.3.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.build_script_build.81cddeab-cgu.4.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.build_script_build.81cddeab-cgu.5.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.build_script_build.81cddeab-cgu.6.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.build_script_build.81cddeab-cgu.7.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.build_script_build.81cddeab-cgu.8.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.build_script_build.81cddeab-cgu.9.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1.1jcuah5srcz4ztym.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-install6qJC8S/release/deps" "-L" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-install6qJC8S/release/build/anyhow-c912563b29dfafb1/build_script_build-c912563b29dfafb1" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"

error: could not exec the linker `cc`
  |
  = note: Permission denied (os error 13)
  = note: "cc" "-m64" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.build_script_build.553d1188-cgu.0.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.build_script_build.553d1188-cgu.1.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.build_script_build.553d1188-cgu.10.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.build_script_build.553d1188-cgu.11.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.build_script_build.553d1188-cgu.12.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.build_script_build.553d1188-cgu.13.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.build_script_build.553d1188-cgu.14.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.build_script_build.553d1188-cgu.15.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.build_script_build.553d1188-cgu.2.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.build_script_build.553d1188-cgu.3.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.build_script_build.553d1188-cgu.4.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.build_script_build.553d1188-cgu.5.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.build_script_build.553d1188-cgu.6.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.build_script_build.553d1188-cgu.7.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.build_script_build.553d1188-cgu.8.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.build_script_build.553d1188-cgu.9.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e.bqwi7abqd9nk286.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-install6qJC8S/release/deps" "-L" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-install6qJC8S/release/build/libc-e4761de472c7821e/build_script_build-e4761de472c7821e" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"

error: could not exec the linker `cc`
  |
  = note: Permission denied (os error 13)
  = note: "cc" "-m64" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.build_script_build.c7fb2e35-cgu.0.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.build_script_build.c7fb2e35-cgu.1.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.build_script_build.c7fb2e35-cgu.10.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.build_script_build.c7fb2e35-cgu.11.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.build_script_build.c7fb2e35-cgu.12.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.build_script_build.c7fb2e35-cgu.13.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.build_script_build.c7fb2e35-cgu.14.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.build_script_build.c7fb2e35-cgu.15.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.build_script_build.c7fb2e35-cgu.2.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.build_script_build.c7fb2e35-cgu.3.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.build_script_build.c7fb2e35-cgu.4.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.build_script_build.c7fb2e35-cgu.5.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.build_script_build.c7fb2e35-cgu.6.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.build_script_build.c7fb2e35-cgu.7.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.build_script_build.c7fb2e35-cgu.8.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.build_script_build.c7fb2e35-cgu.9.rcgu.o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc.2ed0ahlyh7fdnv4f.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-install6qJC8S/release/deps" "-L" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/vandad/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-install6qJC8S/release/build/proc-macro2-12e2668aedc39ddc/build_script_build-12e2668aedc39ddc" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"

error: failed to compile `bootimage v0.10.3`, intermediate artifacts can be found at `/tmp/cargo-install6qJC8S`

Caused by:
  build failed
vandad@DESKTOP-5HF1NGE:~$