[INFO] cloning repository https://github.com/mahaoran1997/mylucid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahaoran1997/mylucid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahaoran1997%2Fmylucid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahaoran1997%2Fmylucid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ddddc4599840cc4236b2ec6f1bf5ce6caff47883 [INFO] testing mahaoran1997/mylucid against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahaoran1997%2Fmylucid" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mahaoran1997/mylucid [INFO] finished tweaking git repo https://github.com/mahaoran1997/mylucid [INFO] tweaked toml for git repo https://github.com/mahaoran1997/mylucid written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mahaoran1997/mylucid on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mahaoran1997/mylucid 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba4847b4251fcd37ae5c1da2ed5789a0b9a4979cc693dc5bbabd0c81bb61fab2 [INFO] running `Command { std: "docker" "start" "-a" "ba4847b4251fcd37ae5c1da2ed5789a0b9a4979cc693dc5bbabd0c81bb61fab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba4847b4251fcd37ae5c1da2ed5789a0b9a4979cc693dc5bbabd0c81bb61fab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba4847b4251fcd37ae5c1da2ed5789a0b9a4979cc693dc5bbabd0c81bb61fab2", kill_on_drop: false }` [INFO] [stdout] ba4847b4251fcd37ae5c1da2ed5789a0b9a4979cc693dc5bbabd0c81bb61fab2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 637fc72576072d76650fb4752f83281673a6f6d459530d9f00e10afe6c776a98 [INFO] running `Command { std: "docker" "start" "-a" "637fc72576072d76650fb4752f83281673a6f6d459530d9f00e10afe6c776a98", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling chashmap v2.2.2 [INFO] [stderr] Compiling mylucid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Operation` [INFO] [stdout] --> src/main.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::workload::{Workload, Operation, Ratios}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/kvstore.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | let mut kv = KvStore { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/kvstore.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn set(&self, key: String, mut value: Vec) -> Option { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/kvstore.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | let mut cloned_value = value.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | Some(value) => Ok(String::from("KeyFound")), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | for j in 0..thread_op_cnt { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | Ok(res) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | Err(res) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_key` is never used [INFO] [stdout] --> src/main.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn find_key(store: Arc, key: String) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `switch_lock` is never used [INFO] [stdout] --> src/kvstore.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 25 | impl KvStore { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn switch_lock(&self, key: String, to_lock: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delete` is never read [INFO] [stdout] --> src/workload.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Ratios { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub delete: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ratios` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operation_count`, `resource_count`, `body_length`, `current_index`, and `length_distrib` are never read [INFO] [stdout] --> src/workload.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Workload { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 19 | config: Ratios, [INFO] [stdout] 20 | operation_count: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | resource_count: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | body_length: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | current_index: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | length_distrib : Uniform, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcXnBiUZ/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libbytes-3e6aab9f92fa68ff.rlib,librand-9ec7e1d0a71a81c1.rlib,librand_chacha-40e559f2e32ad7e8.rlib,libppv_lite86-742ade976f63ace4.rlib,librand_core-c5bb8bd855d9e1de.rlib,libgetrandom-05857df46034b834.rlib,libcfg_if-66d55f6b302e88c8.rlib,libchashmap-bdf5cb1d93ec1a39.rlib,libparking_lot-67d4080766634078.rlib,libparking_lot_core-ca34fb2218c647cb.rlib,libsmallvec-b32ffdb17841032a.rlib,libmaybe_uninit-56cae5b1ed8837f0.rlib,librand-bf1dc384a12bbfd8.rlib,liblibc-c894d4fd7db4975d.rlib,libowning_ref-aef951bc7e8ee689.rlib,libstable_deref_trait-442303c7f0a58071.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcXnBiUZ/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/mylucid-0f0bbd207f0cb06b" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-05857df46034b834.rlib(getrandom-05857df46034b834.getrandom.646a4626166b96a-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.8/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17h156eaec4876152feE+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mylucid` (bin "mylucid") due to 1 previous error; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "637fc72576072d76650fb4752f83281673a6f6d459530d9f00e10afe6c776a98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "637fc72576072d76650fb4752f83281673a6f6d459530d9f00e10afe6c776a98", kill_on_drop: false }` [INFO] [stdout] 637fc72576072d76650fb4752f83281673a6f6d459530d9f00e10afe6c776a98