[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] checking Loethor/adventofcode against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoethor%2Fadventofcode" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Loethor/adventofcode on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d78aab7e404ccd6528076eb5d14c59b294d56d15d08538d5c3267b9f005e69b [INFO] running `Command { std: "docker" "start" "-a" "5d78aab7e404ccd6528076eb5d14c59b294d56d15d08538d5c3267b9f005e69b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d78aab7e404ccd6528076eb5d14c59b294d56d15d08538d5c3267b9f005e69b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d78aab7e404ccd6528076eb5d14c59b294d56d15d08538d5c3267b9f005e69b", kill_on_drop: false }` [INFO] [stdout] 5d78aab7e404ccd6528076eb5d14c59b294d56d15d08538d5c3267b9f005e69b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fca3dd848c0536d0c0d4cf467ef83a0af1a6dc557afc44f39c8e40d4c0ae0c8a [INFO] running `Command { std: "docker" "start" "-a" "fca3dd848c0536d0c0d4cf467ef83a0af1a6dc557afc44f39c8e40d4c0ae0c8a", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking adventofcode2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/year_2021/day13.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | fn fold_x(self:&Matrix, fold:usize) -> Matrix{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/year_2021/day13.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | fn fold_y(self:&Matrix, fold:usize) -> Matrix{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/year_2021/day13.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | fn fold_x(self:&Matrix, fold:usize) -> Matrix{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/year_2021/day13.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | fn fold_y(self:&Matrix, fold:usize) -> Matrix{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [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)]` (part of `#[warn(unused)]`) 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: `head` [INFO] [stdout] --> src/year_2022/day09.rs:156:9 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `head` [INFO] [stdout] --> src/year_2022/day09.rs:156:9 [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)]` (part of `#[warn(unused)]`) on by default [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: 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: `connection_map` [INFO] [stdout] --> src/year_2022/day16.rs:17:9 [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: 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: 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: 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: `connection_map` [INFO] [stdout] --> src/year_2022/day16.rs:17:9 [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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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] error: could not compile `adventofcode2021` (bin "adventofcode2021") due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `adventofcode2021` (bin "adventofcode2021" test) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fca3dd848c0536d0c0d4cf467ef83a0af1a6dc557afc44f39c8e40d4c0ae0c8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fca3dd848c0536d0c0d4cf467ef83a0af1a6dc557afc44f39c8e40d4c0ae0c8a", kill_on_drop: false }` [INFO] [stdout] fca3dd848c0536d0c0d4cf467ef83a0af1a6dc557afc44f39c8e40d4c0ae0c8a