[INFO] cloning repository https://github.com/rongfengliang/rustdemoapp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rongfengliang/rustdemoapp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frongfengliang%2Frustdemoapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frongfengliang%2Frustdemoapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c3f2a9cb0a589928e1f68e074c690fb0815f81d [INFO] testing rongfengliang/rustdemoapp against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frongfengliang%2Frustdemoapp" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rongfengliang/rustdemoapp on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rongfengliang/rustdemoapp [INFO] finished tweaking git repo https://github.com/rongfengliang/rustdemoapp [INFO] tweaked toml for git repo https://github.com/rongfengliang/rustdemoapp written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rongfengliang/rustdemoapp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_derive v1.0.3 [INFO] [stderr] Downloaded pest v1.0.3 [INFO] [stderr] Downloaded num-traits v0.2.0 [INFO] [stderr] Downloaded handlebars v0.32.0 [INFO] [stderr] Downloaded regex v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 802569b569b03eb28877ace18b3bd354f828966a438b9514314e75a94c749f59 [INFO] running `Command { std: "docker" "start" "-a" "802569b569b03eb28877ace18b3bd354f828966a438b9514314e75a94c749f59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "802569b569b03eb28877ace18b3bd354f828966a438b9514314e75a94c749f59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "802569b569b03eb28877ace18b3bd354f828966a438b9514314e75a94c749f59", kill_on_drop: false }` [INFO] [stdout] 802569b569b03eb28877ace18b3bd354f828966a438b9514314e75a94c749f59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2aa2e66c35331412d2e3d4f418d2194c78f28ee8e59f0c700357ca60ecbdcb51 [INFO] running `Command { std: "docker" "start" "-a" "2aa2e66c35331412d2e3d4f418d2194c78f28ee8e59f0c700357ca60ecbdcb51", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling num-traits v0.2.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling pest v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling regex v0.2.6 [INFO] [stderr] Compiling pest_derive v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.9 [INFO] [stderr] Compiling handlebars v0.32.0 [INFO] [stderr] Compiling first v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | fn appdemo(name:&str)->&str{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | fn f(n: T) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | fn login(&self, name: &str) -> &str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `say_demo` is never used [INFO] [stdout] --> src/main.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn say_demo(name: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `age` is never read [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | name: &'static str, [INFO] [stdout] 8 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `f` is never used [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 10 | trait UserOperator { [INFO] [stdout] | ------------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn f(n: T) { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `second` is never used [INFO] [stdout] --> src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl User{ [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | fn second(){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.93s [INFO] running `Command { std: "docker" "inspect" "2aa2e66c35331412d2e3d4f418d2194c78f28ee8e59f0c700357ca60ecbdcb51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aa2e66c35331412d2e3d4f418d2194c78f28ee8e59f0c700357ca60ecbdcb51", kill_on_drop: false }` [INFO] [stdout] 2aa2e66c35331412d2e3d4f418d2194c78f28ee8e59f0c700357ca60ecbdcb51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b564c13ea0657420368cbd440bcbf3e607c48bcc4409a8aaa237bf9c49ba4083 [INFO] running `Command { std: "docker" "start" "-a" "b564c13ea0657420368cbd440bcbf3e607c48bcc4409a8aaa237bf9c49ba4083", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling first v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | fn appdemo(name:&str)->&str{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | fn f(n: T) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | fn login(&self, name: &str) -> &str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `say_demo` is never used [INFO] [stdout] --> src/main.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn say_demo(name: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `age` is never read [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | name: &'static str, [INFO] [stdout] 8 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `f` is never used [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 10 | trait UserOperator { [INFO] [stdout] | ------------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn f(n: T) { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `second` is never used [INFO] [stdout] --> src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl User{ [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | fn second(){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcVDvkYh/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcVDvkYh/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/first-c6515b65afb64d16" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. [INFO] [stdout] #0 0x00007dccc64c5017 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/rustwide/rustup-home/toolchains/414482f6a0d4e7290f614300581a0b55442552a3/lib/libLLVM.so.20.1-rust-1.89.0-nightly+0x56c5017) [INFO] [stdout] #1 0x00007dccc64c542c SignalHandler(int) (/opt/rustwide/rustup-home/toolchains/414482f6a0d4e7290f614300581a0b55442552a3/lib/libLLVM.so.20.1-rust-1.89.0-nightly+0x56c542c) [INFO] [stdout] #2 0x00007dccc0c33330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330) [INFO] [stdout] #3 0x00007dccc0d76bc0 (/lib/x86_64-linux-gnu/libc.so.6+0x188bc0) [INFO] [stdout] #4 0x00005eb5540e2804 void lld::elf::InputSection::writeTo>(lld::elf::Ctx&, unsigned char*) (/opt/rustwide/rustup-home/toolchains/414482f6a0d4e7290f614300581a0b55442552a3/lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-lld+0x404804) [INFO] [stdout] #5 0x00005eb5541366eb void lld::elf::OutputSection::writeTo>(lld::elf::Ctx&, unsigned char*, llvm::parallel::TaskGroup&)::'lambda'(unsigned long, unsigned long)::operator()(unsigned long, unsigned long) const OutputSections.cpp:0:0 [INFO] [stdout] #6 0x00007dccc6474a32 std::_Function_handler)::$_0>::_M_invoke(std::_Any_data const&) (/opt/rustwide/rustup-home/toolchains/414482f6a0d4e7290f614300581a0b55442552a3/lib/libLLVM.so.20.1-rust-1.89.0-nightly+0x5674a32) [INFO] [stdout] #7 0x00007dccc647449a llvm::parallel::detail::(anonymous namespace)::ThreadPoolExecutor::work(llvm::ThreadPoolStrategy, unsigned int) (/opt/rustwide/rustup-home/toolchains/414482f6a0d4e7290f614300581a0b55442552a3/lib/libLLVM.so.20.1-rust-1.89.0-nightly+0x567449a) [INFO] [stdout] #8 0x00007dccc63edb50 execute_native_thread_routine (/opt/rustwide/rustup-home/toolchains/414482f6a0d4e7290f614300581a0b55442552a3/lib/libLLVM.so.20.1-rust-1.89.0-nightly+0x55edb50) [INFO] [stdout] #9 0x00007dccc0c8aaa4 (/lib/x86_64-linux-gnu/libc.so.6+0x9caa4) [INFO] [stdout] #10 0x00007dccc0d17a34 clone (/lib/x86_64-linux-gnu/libc.so.6+0x129a34) [INFO] [stdout] rust-lld: error: failed to write output '/opt/rustwide/target/debug/deps/first-c6515b65afb64d16': No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `first` (bin "first" test) due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b564c13ea0657420368cbd440bcbf3e607c48bcc4409a8aaa237bf9c49ba4083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b564c13ea0657420368cbd440bcbf3e607c48bcc4409a8aaa237bf9c49ba4083", kill_on_drop: false }` [INFO] [stdout] b564c13ea0657420368cbd440bcbf3e607c48bcc4409a8aaa237bf9c49ba4083