[INFO] cloning repository https://github.com/SergeevPavel/adventofcode2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SergeevPavel/adventofcode2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSergeevPavel%2Fadventofcode2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSergeevPavel%2Fadventofcode2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45477fa6f9ed2b12325aab36afc67ca4c26c3eaf [INFO] checking SergeevPavel/adventofcode2021 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSergeevPavel%2Fadventofcode2021" "/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/SergeevPavel/adventofcode2021 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SergeevPavel/adventofcode2021 [INFO] finished tweaking git repo https://github.com/SergeevPavel/adventofcode2021 [INFO] tweaked toml for git repo https://github.com/SergeevPavel/adventofcode2021 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SergeevPavel/adventofcode2021 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.2.10 [INFO] [stderr] Downloaded itertools v0.10.1 [INFO] [stderr] Downloaded termion v1.5.6 [INFO] [stderr] Downloaded libc v0.2.112 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e0121c431972aa52997433af511572e70cfafd4af084cda5d342fdcc5236c16 [INFO] running `Command { std: "docker" "start" "-a" "3e0121c431972aa52997433af511572e70cfafd4af084cda5d342fdcc5236c16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e0121c431972aa52997433af511572e70cfafd4af084cda5d342fdcc5236c16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e0121c431972aa52997433af511572e70cfafd4af084cda5d342fdcc5236c16", kill_on_drop: false }` [INFO] [stdout] 3e0121c431972aa52997433af511572e70cfafd4af084cda5d342fdcc5236c16 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e9b70c0e4ab7eddd92d9777e62b68b9cf5e22a1cbe510fcbf60b4ad06f92ac5 [INFO] running `Command { std: "docker" "start" "-a" "0e9b70c0e4ab7eddd92d9777e62b68b9cf5e22a1cbe510fcbf60b4ad06f92ac5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking adventofcode2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/day06.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | for d in 0..days_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::BufRead` [INFO] [stdout] --> src/day03a.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::BufRead, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day09.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let mut result = iproduct!(0..field.width, 0..field.height) [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `edges` is never read [INFO] [stdout] --> src/day12.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Task { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | edges: Vec<(String, String)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/day14.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | for step in 0..steps { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/day14.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | for step in 0..steps { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/day18.rs:80:35 [INFO] [stdout] | [INFO] [stdout] 80 | Element::Number { n } => {}, [INFO] [stdout] | ^ help: try ignoring the field: `n: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply` is never used [INFO] [stdout] --> src/day14.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn apply(s: String, productions: &HashMap) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day14.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn part1(steps: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task1` is never used [INFO] [stdout] --> src/day08.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn task1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task1` is never used [INFO] [stdout] --> src/day08.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn task1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> src/day11.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | for st in 1..=100 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task1` is never used [INFO] [stdout] --> src/day11.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn task1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Range` [INFO] [stdout] --> src/day05.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::BufRead, ops::Range}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/day18.rs:80:35 [INFO] [stdout] | [INFO] [stdout] 80 | Element::Number { n } => {}, [INFO] [stdout] | ^ help: try ignoring the field: `n: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day09.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let mut result = iproduct!(0..field.width, 0..field.height) [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: `k` [INFO] [stdout] --> src/day05.rs:84:64 [INFO] [stdout] | [INFO] [stdout] 84 | println!("result1 : {:?}", points.counts().iter().filter(|(k, v)| **v > 1).count()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/day05.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | println!("result2 : {:?}", points.counts().iter().filter(|(k, v)| **v > 1).count()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Range` [INFO] [stdout] --> src/day05.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::BufRead, ops::Range}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::BufRead` [INFO] [stdout] --> src/day03a.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::BufRead, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/day05.rs:84:64 [INFO] [stdout] | [INFO] [stdout] 84 | println!("result1 : {:?}", points.counts().iter().filter(|(k, v)| **v > 1).count()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/day05.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | println!("result2 : {:?}", points.counts().iter().filter(|(k, v)| **v > 1).count()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `edges` is never read [INFO] [stdout] --> src/day12.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Task { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | edges: Vec<(String, String)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/day14.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | for step in 0..steps { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/day14.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | for step in 0..steps { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/day06.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | for d in 0..days_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply` is never used [INFO] [stdout] --> src/day14.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn apply(s: String, productions: &HashMap) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day14.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn part1(steps: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> src/day11.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | for st in 1..=100 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task1` is never used [INFO] [stdout] --> src/day11.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn task1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.65s [INFO] running `Command { std: "docker" "inspect" "0e9b70c0e4ab7eddd92d9777e62b68b9cf5e22a1cbe510fcbf60b4ad06f92ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e9b70c0e4ab7eddd92d9777e62b68b9cf5e22a1cbe510fcbf60b4ad06f92ac5", kill_on_drop: false }` [INFO] [stdout] 0e9b70c0e4ab7eddd92d9777e62b68b9cf5e22a1cbe510fcbf60b4ad06f92ac5 [INFO] checking SergeevPavel/adventofcode2021 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSergeevPavel%2Fadventofcode2021" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SergeevPavel/adventofcode2021 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SergeevPavel/adventofcode2021 [INFO] finished tweaking git repo https://github.com/SergeevPavel/adventofcode2021 [INFO] tweaked toml for git repo https://github.com/SergeevPavel/adventofcode2021 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SergeevPavel/adventofcode2021 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a142866ccb00177984678d9df684a9bcf83fa2d060bff997f6ea6fa2cde0284f [INFO] running `Command { std: "docker" "start" "-a" "a142866ccb00177984678d9df684a9bcf83fa2d060bff997f6ea6fa2cde0284f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a142866ccb00177984678d9df684a9bcf83fa2d060bff997f6ea6fa2cde0284f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a142866ccb00177984678d9df684a9bcf83fa2d060bff997f6ea6fa2cde0284f", kill_on_drop: false }` [INFO] [stdout] a142866ccb00177984678d9df684a9bcf83fa2d060bff997f6ea6fa2cde0284f [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd2689736917877d6e4d1a206f4ae5e13ba9ec82fdf66a3ce8e05d5bb7feafd0 [INFO] running `Command { std: "docker" "start" "-a" "cd2689736917877d6e4d1a206f4ae5e13ba9ec82fdf66a3ce8e05d5bb7feafd0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking adventofcode2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ops::Range` [INFO] [stdout] --> src/day05.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::BufRead, ops::Range}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day09.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let mut result = iproduct!(0..field.width, 0..field.height) [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: `step` [INFO] [stdout] --> src/day14.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | for step in 0..steps { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/day14.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | for step in 0..steps { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply` is never used [INFO] [stdout] --> src/day14.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn apply(s: String, productions: &HashMap) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day14.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn part1(steps: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/day05.rs:84:64 [INFO] [stdout] | [INFO] [stdout] 84 | println!("result1 : {:?}", points.counts().iter().filter(|(k, v)| **v > 1).count()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> src/day11.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | for st in 1..=100 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/day05.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | println!("result2 : {:?}", points.counts().iter().filter(|(k, v)| **v > 1).count()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task1` is never used [INFO] [stdout] --> src/day11.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn task1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/day18.rs:80:35 [INFO] [stdout] | [INFO] [stdout] 80 | Element::Number { n } => {}, [INFO] [stdout] | ^ help: try ignoring the field: `n: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day03.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | let f = std::fs::File::open("data/input03.txt").map_err(|err| err.to_string())?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | std::io::BufReader::new(f).lines().map(|line| line.map_err(|err| err.to_string())).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/day14.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | for step in 0..steps { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/day14.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | for step in 0..steps { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2021` (bin "day03b") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `apply` is never used [INFO] [stdout] --> src/day14.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn apply(s: String, productions: &HashMap) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day14.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn part1(steps: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day03.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | let f = std::fs::File::open("data/input03.txt").map_err(|err| err.to_string())?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | std::io::BufReader::new(f).lines().map(|line| line.map_err(|err| err.to_string())).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `edges` is never read [INFO] [stdout] --> src/day12.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Task { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | edges: Vec<(String, String)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2021` (bin "day03b" test) due to 2 previous errors [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/day18.rs:80:35 [INFO] [stdout] | [INFO] [stdout] 80 | Element::Number { n } => {}, [INFO] [stdout] | ^ help: try ignoring the field: `n: _` [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/day09.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let mut result = iproduct!(0..field.width, 0..field.height) [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task1` is never used [INFO] [stdout] --> src/day08.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn task1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day08.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | let f = std::fs::File::open("data/input08.txt").expect("file not found"); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | / std::io::BufReader::new(f).lines().map(|line| { [INFO] [stdout] 14 | | let line = line.unwrap(); [INFO] [stdout] 15 | | let (patterns, state) = line.split_once("|").unwrap(); [INFO] [stdout] 16 | | Task { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | }).collect() [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task1` is never used [INFO] [stdout] --> src/day08.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn task1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day08.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | let f = std::fs::File::open("data/input08.txt").expect("file not found"); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | / std::io::BufReader::new(f).lines().map(|line| { [INFO] [stdout] 14 | | let line = line.unwrap(); [INFO] [stdout] 15 | | let (patterns, state) = line.split_once("|").unwrap(); [INFO] [stdout] 16 | | Task { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | }).collect() [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2021` (bin "day08" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `adventofcode2021` (bin "day08") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "cd2689736917877d6e4d1a206f4ae5e13ba9ec82fdf66a3ce8e05d5bb7feafd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd2689736917877d6e4d1a206f4ae5e13ba9ec82fdf66a3ce8e05d5bb7feafd0", kill_on_drop: false }` [INFO] [stdout] cd2689736917877d6e4d1a206f4ae5e13ba9ec82fdf66a3ce8e05d5bb7feafd0