[INFO] cloning repository https://github.com/Riku-KANO/ahc044 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Riku-KANO/ahc044" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiku-KANO%2Fahc044", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiku-KANO%2Fahc044'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 211062f6c092a8d39e16187071a3add6dbfbdeb1 [INFO] testing Riku-KANO/ahc044 against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiku-KANO%2Fahc044" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Riku-KANO/ahc044 [INFO] finished tweaking git repo https://github.com/Riku-KANO/ahc044 [INFO] tweaked toml for git repo https://github.com/Riku-KANO/ahc044 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Riku-KANO/ahc044 on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Riku-KANO/ahc044 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 349abeea83478f870dba5bfab2387e773387473edca1fe6914021d7965f923c7 [INFO] running `Command { std: "docker" "start" "-a" "349abeea83478f870dba5bfab2387e773387473edca1fe6914021d7965f923c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "349abeea83478f870dba5bfab2387e773387473edca1fe6914021d7965f923c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "349abeea83478f870dba5bfab2387e773387473edca1fe6914021d7965f923c7", kill_on_drop: false }` [INFO] [stdout] 349abeea83478f870dba5bfab2387e773387473edca1fe6914021d7965f923c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ebb71027a9c43c069a018735fd7df1ee3b34628e609bfc49d223c2d47ac20d2 [INFO] running `Command { std: "docker" "start" "-a" "3ebb71027a9c43c069a018735fd7df1ee3b34628e609bfc49d223c2d47ac20d2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling varisat-formula v0.2.2 [INFO] [stderr] Compiling target-features v0.1.6 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling varisat v0.2.2 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Compiling varisat-internal-proof v0.2.2 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling regex-automata v0.3.9 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling clap_builder v4.5.26 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling amplify_num v0.4.1 [INFO] [stderr] Compiling vec_mut_scan v0.3.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling proconio v0.4.5 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling itertools-num v0.1.3 [INFO] [stderr] Compiling counter v0.5.7 [INFO] [stderr] Compiling ordered-float v3.7.0 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling rand_hc v0.3.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling superslice v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling omniswap v0.1.0 [INFO] [stderr] Compiling indexing v0.4.1 [INFO] [stderr] Compiling glidesort v0.1.2 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling recur-fn v2.2.0 [INFO] [stderr] Compiling bitset-fixed v0.1.0 [INFO] [stderr] Compiling easy-ext v1.0.1 [INFO] [stderr] Compiling permutohedron v0.2.4 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling hashbag v0.1.11 [INFO] [stderr] Compiling ac-library-rs v0.1.1 [INFO] [stderr] Compiling text_io v0.1.12 [INFO] [stderr] Compiling amplify_syn v1.1.6 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling bstr v1.6.0 [INFO] [stderr] Compiling partial_ref_derive v0.3.3 [INFO] [stderr] Compiling amplify_derive v2.11.3 [INFO] [stderr] Compiling multiversion-macros v0.7.4 [INFO] [stderr] Compiling varisat-internal-macros v0.2.2 [INFO] [stderr] Compiling argio-macro v0.2.0 [INFO] [stderr] Compiling memoise v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling num-derive v0.4.0 [INFO] [stderr] Compiling partial_ref v0.3.3 [INFO] [stderr] Compiling argio v0.2.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling varisat-dimacs v0.2.2 [INFO] [stderr] Compiling pathfinding v4.3.0 [INFO] [stderr] Compiling multiversion v0.7.2 [INFO] [stderr] Compiling varisat-checker v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling amplify v3.14.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling clap v4.5.26 [INFO] [stderr] Compiling nalgebra v0.32.3 [INFO] [stderr] Compiling btreemultimap v0.1.1 [INFO] [stderr] Compiling multimap v0.9.0 [INFO] [stderr] Compiling ahc044 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `best_eval_score` is never read [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut best_eval_score = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|(i, &t)| t.0) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut best_score; [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: `i` [INFO] [stdout] --> src/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | for i in 0..input.l { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/main.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let (index, target) = targets_with_index[i]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets_with_index` [INFO] [stdout] --> src/main.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | targets_with_index: &Vec<(usize, &usize)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets_with_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | for i in 0..input.l { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | for i in 0..input.l { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `naive` is never used [INFO] [stdout] --> src/main.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn naive(input: &Input) -> Output { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.98s [INFO] running `Command { std: "docker" "inspect" "3ebb71027a9c43c069a018735fd7df1ee3b34628e609bfc49d223c2d47ac20d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ebb71027a9c43c069a018735fd7df1ee3b34628e609bfc49d223c2d47ac20d2", kill_on_drop: false }` [INFO] [stdout] 3ebb71027a9c43c069a018735fd7df1ee3b34628e609bfc49d223c2d47ac20d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a797cbda899027bf59f5bd63efff3eafb1df46d3fd19505c802dc7de70da8ee [INFO] running `Command { std: "docker" "start" "-a" "3a797cbda899027bf59f5bd63efff3eafb1df46d3fd19505c802dc7de70da8ee", kill_on_drop: false }` [INFO] [stderr] Compiling ahc044 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `best_eval_score` is never read [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut best_eval_score = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|(i, &t)| t.0) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut best_score; [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: `i` [INFO] [stdout] --> src/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | for i in 0..input.l { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/main.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let (index, target) = targets_with_index[i]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets_with_index` [INFO] [stdout] --> src/main.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | targets_with_index: &Vec<(usize, &usize)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets_with_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | for i in 0..input.l { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | for i in 0..input.l { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `naive` is never used [INFO] [stdout] --> src/main.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn naive(input: &Input) -> Output { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "3a797cbda899027bf59f5bd63efff3eafb1df46d3fd19505c802dc7de70da8ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a797cbda899027bf59f5bd63efff3eafb1df46d3fd19505c802dc7de70da8ee", kill_on_drop: false }` [INFO] [stdout] 3a797cbda899027bf59f5bd63efff3eafb1df46d3fd19505c802dc7de70da8ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 41a063928e1cabbfc9568f39a6cabceff57fd8a1d59e9cfa48f56915161a95d9 [INFO] running `Command { std: "docker" "start" "-a" "41a063928e1cabbfc9568f39a6cabceff57fd8a1d59e9cfa48f56915161a95d9", kill_on_drop: false }` [INFO] [stderr] warning: value assigned to `best_eval_score` is never read [INFO] [stderr] --> src/main.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | let mut best_eval_score = 0.0; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:51:16 [INFO] [stderr] | [INFO] [stderr] 51 | .map(|(i, &t)| t.0) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | let mut best_score; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:158:9 [INFO] [stderr] | [INFO] [stderr] 158 | for i in 0..input.l { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/main.rs:199:21 [INFO] [stderr] | [INFO] [stderr] 199 | let (index, target) = targets_with_index[i]; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `targets_with_index` [INFO] [stderr] --> src/main.rs:210:5 [INFO] [stderr] | [INFO] [stderr] 210 | targets_with_index: &Vec<(usize, &usize)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets_with_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:228:9 [INFO] [stderr] | [INFO] [stderr] 228 | for i in 0..input.l { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:253:9 [INFO] [stderr] | [INFO] [stderr] 253 | for i in 0..input.l { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: function `naive` is never used [INFO] [stderr] --> src/main.rs:190:4 [INFO] [stderr] | [INFO] [stderr] 190 | fn naive(input: &Input) -> Output { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ahc044` (bin "ahc044" test) generated 9 warnings (run `cargo fix --bin "ahc044" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ahc044-21087c2081582925) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "41a063928e1cabbfc9568f39a6cabceff57fd8a1d59e9cfa48f56915161a95d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a063928e1cabbfc9568f39a6cabceff57fd8a1d59e9cfa48f56915161a95d9", kill_on_drop: false }` [INFO] [stdout] 41a063928e1cabbfc9568f39a6cabceff57fd8a1d59e9cfa48f56915161a95d9