[INFO] cloning repository https://github.com/Loethor/adventofcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Loethor/adventofcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoethor%2Fadventofcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoethor%2Fadventofcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0bf59315a7044760884df6851696f4d824dcf046 [INFO] building Loethor/adventofcode against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoethor%2Fadventofcode" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Loethor/adventofcode on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Loethor/adventofcode [INFO] finished tweaking git repo https://github.com/Loethor/adventofcode [INFO] tweaked toml for git repo https://github.com/Loethor/adventofcode written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Loethor/adventofcode 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d89a97984b5fd260028e24807f9c15d9a4707194ee1a3c893ddb1b4f5b7ebcca [INFO] running `Command { std: "docker" "start" "-a" "d89a97984b5fd260028e24807f9c15d9a4707194ee1a3c893ddb1b4f5b7ebcca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d89a97984b5fd260028e24807f9c15d9a4707194ee1a3c893ddb1b4f5b7ebcca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d89a97984b5fd260028e24807f9c15d9a4707194ee1a3c893ddb1b4f5b7ebcca", kill_on_drop: false }` [INFO] [stdout] d89a97984b5fd260028e24807f9c15d9a4707194ee1a3c893ddb1b4f5b7ebcca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 819ecaaa23209b510536bae9c016f0a11ecb920601fcb19ae866b6e24d29324a [INFO] running `Command { std: "docker" "start" "-a" "819ecaaa23209b510536bae9c016f0a11ecb920601fcb19ae866b6e24d29324a", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling adventofcode2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/year_2022/day09.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | let mut head = Position::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [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/year_2022/day09.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let mut head = Position::new(); [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/year_2022/day09.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let mut tail = Position::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monkey_1` [INFO] [stdout] --> src/year_2022/day11.rs:235:27 [INFO] [stdout] | [INFO] [stdout] 235 | fn operate(&mut self, monkey_1: &mut Monkey, monkey_2: &mut Monkey ) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monkey_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monkey_2` [INFO] [stdout] --> src/year_2022/day11.rs:235:50 [INFO] [stdout] | [INFO] [stdout] 235 | fn operate(&mut self, monkey_1: &mut Monkey, monkey_2: &mut Monkey ) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monkey_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_map` [INFO] [stdout] --> src/year_2022/day16.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut connection_map: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/year_2022/day16.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let name = iter.next().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/year_2022/day16.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let value:i32 = iter.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/year_2022/day16.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut connection_map: HashMap> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/year_2022/day16.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | for line in input.iter(){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/year_2022/day11.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 225 | struct Monkey { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 226 | id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Monkey` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `operate` is never used [INFO] [stdout] --> src/year_2022/day11.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 234 | impl Monkey { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 235 | fn operate(&mut self, monkey_1: &mut Monkey, monkey_2: &mut Monkey ) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `value`, and `edges` are never read [INFO] [stdout] --> src/year_2022/day16.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 64 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | edges: Vec>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.13s [INFO] running `Command { std: "docker" "inspect" "819ecaaa23209b510536bae9c016f0a11ecb920601fcb19ae866b6e24d29324a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "819ecaaa23209b510536bae9c016f0a11ecb920601fcb19ae866b6e24d29324a", kill_on_drop: false }` [INFO] [stdout] 819ecaaa23209b510536bae9c016f0a11ecb920601fcb19ae866b6e24d29324a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acbda2d225f97abea675210e1b56c42a4d4f9626cfe566a678324f2a72a38602 [INFO] running `Command { std: "docker" "start" "-a" "acbda2d225f97abea675210e1b56c42a4d4f9626cfe566a678324f2a72a38602", kill_on_drop: false }` [INFO] [stderr] Compiling adventofcode2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/year_2022/day09.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | let mut head = Position::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [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/year_2022/day09.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let mut head = Position::new(); [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/year_2022/day09.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let mut tail = Position::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monkey_1` [INFO] [stdout] --> src/year_2022/day11.rs:235:27 [INFO] [stdout] | [INFO] [stdout] 235 | fn operate(&mut self, monkey_1: &mut Monkey, monkey_2: &mut Monkey ) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monkey_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monkey_2` [INFO] [stdout] --> src/year_2022/day11.rs:235:50 [INFO] [stdout] | [INFO] [stdout] 235 | fn operate(&mut self, monkey_1: &mut Monkey, monkey_2: &mut Monkey ) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monkey_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_map` [INFO] [stdout] --> src/year_2022/day16.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut connection_map: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/year_2022/day16.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let name = iter.next().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/year_2022/day16.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let value:i32 = iter.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/year_2022/day16.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut connection_map: HashMap> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/year_2022/day16.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | for line in input.iter(){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/year_2022/day11.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 225 | struct Monkey { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 226 | id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Monkey` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `operate` is never used [INFO] [stdout] --> src/year_2022/day11.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 234 | impl Monkey { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 235 | fn operate(&mut self, monkey_1: &mut Monkey, monkey_2: &mut Monkey ) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "acbda2d225f97abea675210e1b56c42a4d4f9626cfe566a678324f2a72a38602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acbda2d225f97abea675210e1b56c42a4d4f9626cfe566a678324f2a72a38602", kill_on_drop: false }` [INFO] [stdout] acbda2d225f97abea675210e1b56c42a4d4f9626cfe566a678324f2a72a38602