We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cargo install cargo-web
Updating crates.io index
Installing cargo-web v0.6.26 Downloaded serde_derive v1.0.105 Downloaded serde v1.0.105 Downloaded memoffset v0.5.4 Downloaded libc v0.2.68 Downloaded syn v1.0.17 Downloaded flate2 v1.0.14 Downloaded openssl-src v111.7.0+1.1.1e Compiling libc v0.2.68 Compiling cfg-if v0.1.10 Compiling proc-macro2 v1.0.9 Compiling unicode-xid v0.2.0 Compiling syn v1.0.17 Compiling log v0.4.8 error: linking with cc failed: exit code: 1 | = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.build_script_build.9fwh9prm-cgu.0.rcgu.o" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.build_script_build.9fwh9prm-cgu.1.rcgu.o" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.build_script_build.9fwh9prm-cgu.2.rcgu.o" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.build_script_build.9fwh9prm-cgu.3.rcgu.o" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.build_script_build.9fwh9prm-cgu.4.rcgu.o" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.build_script_build.9fwh9prm-cgu.5.rcgu.o" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.build_script_build.9fwh9prm-cgu.6.rcgu.o" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.build_script_build.9fwh9prm-cgu.7.rcgu.o" "-o" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.2ntc2dasz5eerczj.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/cargo-installMN5G6u/release/deps" "-L" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c32b051c3aafd36c.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-eabf8b29c0a244dd.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-5c336cc1b5ec2048.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c7631f762b1ba6d9.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-db0f6c539591c951.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-32c2dc6fbc292c9c.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-84e9c510dc249620.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-13bc027534de0b4c.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b3c13ecda1794c6c.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-72dc11de859645e9.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a78b04f112feb31a.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-29469f6c53ac35f8.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0eb3c513c640c4a6.rlib" "-Wl,--end-group" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-0b278345638bce90.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" = note: /usr/bin/ld: 找不到 Scrt1.o: 没有那个文件或目录 /usr/bin/ld: 找不到 crti.o: 没有那个文件或目录 collect2: error: ld returned 1 exit status
cc
error: aborting due to previous error
error: could not compile log. warning: build failed, waiting for other jobs to finish... error: linking with cc failed: exit code: 1 |
log
The text was updated successfully, but these errors were encountered:
No branches or pull requests
cargo install cargo-web
Installing cargo-web v0.6.26
Downloaded serde_derive v1.0.105
Downloaded serde v1.0.105
Downloaded memoffset v0.5.4
Downloaded libc v0.2.68
Downloaded syn v1.0.17
Downloaded flate2 v1.0.14
Downloaded openssl-src v111.7.0+1.1.1e
Compiling libc v0.2.68
Compiling cfg-if v0.1.10
Compiling proc-macro2 v1.0.9
Compiling unicode-xid v0.2.0
Compiling syn v1.0.17
Compiling log v0.4.8
error: linking with
cc
failed: exit code: 1|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.build_script_build.9fwh9prm-cgu.0.rcgu.o" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.build_script_build.9fwh9prm-cgu.1.rcgu.o" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.build_script_build.9fwh9prm-cgu.2.rcgu.o" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.build_script_build.9fwh9prm-cgu.3.rcgu.o" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.build_script_build.9fwh9prm-cgu.4.rcgu.o" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.build_script_build.9fwh9prm-cgu.5.rcgu.o" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.build_script_build.9fwh9prm-cgu.6.rcgu.o" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.build_script_build.9fwh9prm-cgu.7.rcgu.o" "-o" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361" "/tmp/cargo-installMN5G6u/release/build/log-868d7bdaf6212361/build_script_build-868d7bdaf6212361.2ntc2dasz5eerczj.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/cargo-installMN5G6u/release/deps" "-L" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c32b051c3aafd36c.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-eabf8b29c0a244dd.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-5c336cc1b5ec2048.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c7631f762b1ba6d9.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-db0f6c539591c951.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-32c2dc6fbc292c9c.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-84e9c510dc249620.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-13bc027534de0b4c.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b3c13ecda1794c6c.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-72dc11de859645e9.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a78b04f112feb31a.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-29469f6c53ac35f8.rlib" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0eb3c513c640c4a6.rlib" "-Wl,--end-group" "/home/lhh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-0b278345638bce90.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
= note: /usr/bin/ld: 找不到 Scrt1.o: 没有那个文件或目录
/usr/bin/ld: 找不到 crti.o: 没有那个文件或目录
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: could not compile
log
.warning: build failed, waiting for other jobs to finish...
error: linking with
cc
failed: exit code: 1|
The text was updated successfully, but these errors were encountered: