[INFO] cloning repository https://github.com/Dmarcano/advent_of_code_2021_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dmarcano/advent_of_code_2021_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDmarcano%2Fadvent_of_code_2021_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDmarcano%2Fadvent_of_code_2021_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e6aafe2c41eae438913377434b0f021a4ba2f1b [INFO] building Dmarcano/advent_of_code_2021_rs against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDmarcano%2Fadvent_of_code_2021_rs" "/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/Dmarcano/advent_of_code_2021_rs [INFO] finished tweaking git repo https://github.com/Dmarcano/advent_of_code_2021_rs [INFO] tweaked toml for git repo https://github.com/Dmarcano/advent_of_code_2021_rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Dmarcano/advent_of_code_2021_rs on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Dmarcano/advent_of_code_2021_rs 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c8142de1c312356681bb188f486aaf30c8e209769b7746f696ef0a2d0ffc6a0 [INFO] running `Command { std: "docker" "start" "-a" "4c8142de1c312356681bb188f486aaf30c8e209769b7746f696ef0a2d0ffc6a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c8142de1c312356681bb188f486aaf30c8e209769b7746f696ef0a2d0ffc6a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c8142de1c312356681bb188f486aaf30c8e209769b7746f696ef0a2d0ffc6a0", kill_on_drop: false }` [INFO] [stdout] 4c8142de1c312356681bb188f486aaf30c8e209769b7746f696ef0a2d0ffc6a0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e2fdcc13e7adab7ce047545bd805d78dd5e42693454075434ea770e4dfa441c [INFO] running `Command { std: "docker" "start" "-a" "1e2fdcc13e7adab7ce047545bd805d78dd5e42693454075434ea770e4dfa441c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.7 [INFO] [stderr] Compiling aoc_2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/days/day3.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | .map(|val| (val / (num_lines / 2))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - .map(|val| (val / (num_lines / 2))) [INFO] [stdout] 12 + .map(|val| val / (num_lines / 2)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/days/day3.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | .map(|val| (val / (number_of_lines / 2))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - .map(|val| (val / (number_of_lines / 2))) [INFO] [stdout] 67 + .map(|val| val / (number_of_lines / 2)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `unbounded` [INFO] [stdout] --> src/utils/server.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use crossbeam_channel::{unbounded, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `least_significant_bits` [INFO] [stdout] --> src/days/day3.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let least_significant_bits = most_significant_bits [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_least_significant_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamma` [INFO] [stdout] --> src/days/day3.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let gamma = u32::from_str_radix(&most_significant_lines, 2).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gamma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epsilon` [INFO] [stdout] --> src/days/day3.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let epsilon = u32::from_str_radix(&least_significant_lines, 2).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_epsilon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/utils/get_input.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let status = response.status(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyncServer` is never constructed [INFO] [stdout] --> src/utils/server.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct SyncServer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.29s [INFO] running `Command { std: "docker" "inspect" "1e2fdcc13e7adab7ce047545bd805d78dd5e42693454075434ea770e4dfa441c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e2fdcc13e7adab7ce047545bd805d78dd5e42693454075434ea770e4dfa441c", kill_on_drop: false }` [INFO] [stdout] 1e2fdcc13e7adab7ce047545bd805d78dd5e42693454075434ea770e4dfa441c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1a7915511a33d0628feecf5cd3d79eee60b1ca902bbf13df7d2ceea0b5126cc [INFO] running `Command { std: "docker" "start" "-a" "b1a7915511a33d0628feecf5cd3d79eee60b1ca902bbf13df7d2ceea0b5126cc", kill_on_drop: false }` [INFO] [stderr] Compiling aoc_2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/days/day3.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | .map(|val| (val / (num_lines / 2))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - .map(|val| (val / (num_lines / 2))) [INFO] [stdout] 12 + .map(|val| val / (num_lines / 2)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/days/day3.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | .map(|val| (val / (number_of_lines / 2))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - .map(|val| (val / (number_of_lines / 2))) [INFO] [stdout] 67 + .map(|val| val / (number_of_lines / 2)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `unbounded` [INFO] [stdout] --> src/utils/server.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use crossbeam_channel::{unbounded, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/utils/get_input.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let status = response.status(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `least_significant_bits` [INFO] [stdout] --> src/days/day3.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let least_significant_bits = most_significant_bits [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_least_significant_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamma` [INFO] [stdout] --> src/days/day3.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let gamma = u32::from_str_radix(&most_significant_lines, 2).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gamma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epsilon` [INFO] [stdout] --> src/days/day3.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let epsilon = u32::from_str_radix(&least_significant_lines, 2).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_epsilon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyncServer` is never constructed [INFO] [stdout] --> src/utils/server.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct SyncServer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "b1a7915511a33d0628feecf5cd3d79eee60b1ca902bbf13df7d2ceea0b5126cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1a7915511a33d0628feecf5cd3d79eee60b1ca902bbf13df7d2ceea0b5126cc", kill_on_drop: false }` [INFO] [stdout] b1a7915511a33d0628feecf5cd3d79eee60b1ca902bbf13df7d2ceea0b5126cc