[INFO] cloning repository https://github.com/fubio/DynamicCacheCal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fubio/DynamicCacheCal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffubio%2FDynamicCacheCal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffubio%2FDynamicCacheCal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89baf3ebe6e702fc8c0f16be402c980dccbc2335 [INFO] testing fubio/DynamicCacheCal 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%2Ffubio%2FDynamicCacheCal" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fubio/DynamicCacheCal [INFO] finished tweaking git repo https://github.com/fubio/DynamicCacheCal [INFO] tweaked toml for git repo https://github.com/fubio/DynamicCacheCal written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fubio/DynamicCacheCal 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/fubio/DynamicCacheCal 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 12f8092ed9a0a0f39d65d249b438a4c998d69d09afab33a0f6d974ff233f3279 [INFO] running `Command { std: "docker" "start" "-a" "12f8092ed9a0a0f39d65d249b438a4c998d69d09afab33a0f6d974ff233f3279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12f8092ed9a0a0f39d65d249b438a4c998d69d09afab33a0f6d974ff233f3279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12f8092ed9a0a0f39d65d249b438a4c998d69d09afab33a0f6d974ff233f3279", kill_on_drop: false }` [INFO] [stdout] 12f8092ed9a0a0f39d65d249b438a4c998d69d09afab33a0f6d974ff233f3279 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4079835cd94ba9ad84437547750ac2f6b951f1c3008fd0e214d45084a12fc88f [INFO] running `Command { std: "docker" "start" "-a" "4079835cd94ba9ad84437547750ac2f6b951f1c3008fd0e214d45084a12fc88f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling DynamicCacheCalc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:122:41 [INFO] [stdout] | [INFO] [stdout] 122 | self.total_tenancy_remaining += (keyToDecrement - self.step); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - self.total_tenancy_remaining += (keyToDecrement - self.step); [INFO] [stdout] 122 + self.total_tenancy_remaining += keyToDecrement - self.step; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:174:36 [INFO] [stdout] | [INFO] [stdout] 174 | total += f64::powf(((PCS-1) as f64 / PCS as f64), FER*(*tenancy as f64-i as f64-1.0)) * value*(1.0/PCS as f64)*FER; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 174 - total += f64::powf(((PCS-1) as f64 / PCS as f64), FER*(*tenancy as f64-i as f64-1.0)) * value*(1.0/PCS as f64)*FER; [INFO] [stdout] 174 + total += f64::powf((PCS-1) as f64 / PCS as f64, FER*(*tenancy as f64-i as f64-1.0)) * value*(1.0/PCS as f64)*FER; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | fn expectation(mut vec: Vec<(u64, f64)>) -> f64 { [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: unused variable: `prev_output` [INFO] [stdout] --> src/main.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut prev_output: Option = None; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/main.rs:148:48 [INFO] [stdout] | [INFO] [stdout] 148 | fn caching(ten_dist: Sampler, cache_size: u64, delta: f64) -> (u64, u64, u64, Vec<(u64, f64)>, u64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let mut samples_to_issue: u64 = 1024*1024*8; [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/main.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | let mut prev_output: Option = None; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expectation` is never used [INFO] [stdout] --> src/main.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn expectation(mut vec: Vec<(u64, f64)>) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_imperical_tenancy_remaining_dist` is never used [INFO] [stdout] --> src/main.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn generate_imperical_tenancy_remaining_dist(data: &Vec<(u64, f64)>, PCS: u64, FER: f64) -> Vec<(u64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PCExpringDist` should have a snake case name [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | PCExpringDist: WeightedIndex, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `pcexpring_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numPCExpriringArr` should have a snake case name [INFO] [stdout] --> src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(numPCExpriringArr: Vec<(u64, u64)>)-> PCSampler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_pcexpriring_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `indexToDecrement` should have a snake case name [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let indexToDecrement = self.PCExpringDist.sample(self.random.borrow_mut().deref_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `index_to_decrement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VCS` should have a snake case name [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | VCS: u64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `vcs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PCS` should have a snake case name [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | PCS: u64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `pcs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VCExpiringBlockTracker` should have a snake case name [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | VCExpiringBlockTracker: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `vcexpiring_block_tracker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PCExpiringBlockTracker` should have a snake case name [INFO] [stdout] --> src/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | PCExpiringBlockTracker: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pcexpiring_block_tracker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FERemainingTracker` should have a snake case name [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | FERemainingTracker: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `feremaining_tracker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PCSampler` should have a snake case name [INFO] [stdout] --> src/main.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | PCSampler: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `pcsampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VC_expirations_at_step` should have a snake case name [INFO] [stdout] --> src/main.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let VC_expirations_at_step = self.VCExpiringBlockTracker.get(&target).copied().unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `vc_expirations_at_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PC_expirations_at_step` should have a snake case name [INFO] [stdout] --> src/main.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let PC_expirations_at_step = self.PCExpiringBlockTracker.get(&target).copied().unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pc_expirations_at_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numPCExpiring` should have a snake case name [INFO] [stdout] --> src/main.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let numPCExpiring = self.PCExpiringBlockTracker.remove(&self.step).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_pcexpiring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `keyToDecrement` should have a snake case name [INFO] [stdout] --> src/main.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let keyToDecrement = self.PCSampler.as_mut().unwrap().sample(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `key_to_decrement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PCS` should have a snake case name [INFO] [stdout] --> src/main.rs:164:70 [INFO] [stdout] | [INFO] [stdout] 164 | fn generate_imperical_tenancy_remaining_dist(data: &Vec<(u64, f64)>, PCS: u64, FER: f64) -> Vec<(u64, f64)> { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `pcs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FER` should have a snake case name [INFO] [stdout] --> src/main.rs:164:80 [INFO] [stdout] | [INFO] [stdout] 164 | fn generate_imperical_tenancy_remaining_dist(data: &Vec<(u64, f64)>, PCS: u64, FER: f64) -> Vec<(u64, f64)> { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `fer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxTenancy` should have a snake case name [INFO] [stdout] --> src/main.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let maxTenancy = data.into_iter().fold(0, |acc, (tenancy, _)| acc.max(*tenancy)); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `max_tenancy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FE_remaining_dist` should have a snake case name [INFO] [stdout] --> src/main.rs:196:51 [INFO] [stdout] | [INFO] [stdout] 196 | let (over_alloc, trace_len, forced_evictions, FE_remaining_dist, total_tenancy_remianing) = caching(Sampler::new(data.clone().into_it... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fe_remaining_dist` [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/rustcmNn26D/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-a74504d5cb0a6f59.rlib,librand_chacha-cbc0122aa769973a.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-91b760bef42144d8.rlib,libgetrandom-709b254fd9632b56.rlib,liblibc-f6832886eda79d14.rlib,libcfg_if-66d55f6b302e88c8.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/rustcmNn26D/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/DynamicCacheCalc-49b50e157f77c51f" "-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-709b254fd9632b56.rlib(getrandom-709b254fd9632b56.getrandom.91bbc688c206bc10-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.4/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17h732b7bdd98acc0d1E+0xb6): 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 `DynamicCacheCalc` (bin "DynamicCacheCalc") due to 1 previous error; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4079835cd94ba9ad84437547750ac2f6b951f1c3008fd0e214d45084a12fc88f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4079835cd94ba9ad84437547750ac2f6b951f1c3008fd0e214d45084a12fc88f", kill_on_drop: false }` [INFO] [stdout] 4079835cd94ba9ad84437547750ac2f6b951f1c3008fd0e214d45084a12fc88f