[INFO] cloning repository https://github.com/themasch/advent_of_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/themasch/advent_of_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthemasch%2Fadvent_of_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthemasch%2Fadvent_of_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 006d982fb511f2845f2c4bf476d3210e1a3d98df [INFO] building themasch/advent_of_code 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%2Fthemasch%2Fadvent_of_code" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/themasch/advent_of_code 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/themasch/advent_of_code [INFO] finished tweaking git repo https://github.com/themasch/advent_of_code [INFO] tweaked toml for git repo https://github.com/themasch/advent_of_code written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/themasch/advent_of_code 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1d55cf97bd20f83ad69b6a336693fc604e11d549d0a54fe6ec73fcf1979e6e87 [INFO] running `Command { std: "docker" "start" "-a" "1d55cf97bd20f83ad69b6a336693fc604e11d549d0a54fe6ec73fcf1979e6e87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d55cf97bd20f83ad69b6a336693fc604e11d549d0a54fe6ec73fcf1979e6e87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d55cf97bd20f83ad69b6a336693fc604e11d549d0a54fe6ec73fcf1979e6e87", kill_on_drop: false }` [INFO] [stdout] 1d55cf97bd20f83ad69b6a336693fc604e11d549d0a54fe6ec73fcf1979e6e87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 485f14c619845e84032e7ee0eacaa932535fce48ce8da7437f4efa6db41c183c [INFO] running `Command { std: "docker" "start" "-a" "485f14c619845e84032e7ee0eacaa932535fce48ce8da7437f4efa6db41c183c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.8 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/year_2018/day_03.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | let offset = ((self.pos.1 + y) as usize * COLUMNS + (x + self.pos.0) as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - let offset = ((self.pos.1 + y) as usize * COLUMNS + (x + self.pos.0) as usize); [INFO] [stdout] 23 + let offset = (self.pos.1 + y) as usize * COLUMNS + (x + self.pos.0) as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/year_2018/day_01.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &str = include_str!("../../input/2018/day01.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/year_2018/day_01.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn parse_input(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_part1` is never used [INFO] [stdout] --> src/year_2018/day_01.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn solve_part1(input: &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_part2` is never used [INFO] [stdout] --> src/year_2018/day_01.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn solve_part2(input: &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/year_2018/day_01.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/year_2018/day_02.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &'static str = include_str!("../../input/2018/day02.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/year_2018/day_02.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse_input(input: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_part1` is never used [INFO] [stdout] --> src/year_2018/day_02.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn solve_part1(input: &[&str]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_part2` is never used [INFO] [stdout] --> src/year_2018/day_02.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn solve_part2(input: &[&str]) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/year_2018/day_02.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLUMNS` is never used [INFO] [stdout] --> src/year_2018/day_03.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const COLUMNS: usize = 1000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROWS` is never used [INFO] [stdout] --> src/year_2018/day_03.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const ROWS: usize = 1000; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/year_2018/day_03.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const INPUT: &'static str = include_str!("../../input/2018/day03.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `pos`, and `size` are never read [INFO] [stdout] --> src/year_2018/day_03.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Claim { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | pos: (u16, u16), [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | size: (u16, u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Claim` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `end`, `add_to_field`, and `overlaps` are never used [INFO] [stdout] --> src/year_2018/day_03.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Claim { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 16 | fn end(&self) -> (u16, u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn add_to_field(&self, field: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn overlaps(&self, other: &Claim) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/year_2018/day_03.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn read_input(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_part1` is never used [INFO] [stdout] --> src/year_2018/day_03.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn solve_part1(input: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_part2` is never used [INFO] [stdout] --> src/year_2018/day_03.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn solve_part2(input: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/year_2018/day_03.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.50s [INFO] running `Command { std: "docker" "inspect" "485f14c619845e84032e7ee0eacaa932535fce48ce8da7437f4efa6db41c183c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "485f14c619845e84032e7ee0eacaa932535fce48ce8da7437f4efa6db41c183c", kill_on_drop: false }` [INFO] [stdout] 485f14c619845e84032e7ee0eacaa932535fce48ce8da7437f4efa6db41c183c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3dc6118924ffb012ec19c1faa6fcda1eecb378c0c6e7b347ae90ded8faeb6dac [INFO] running `Command { std: "docker" "start" "-a" "3dc6118924ffb012ec19c1faa6fcda1eecb378c0c6e7b347ae90ded8faeb6dac", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/year_2018/day_03.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | let offset = ((self.pos.1 + y) as usize * COLUMNS + (x + self.pos.0) as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - let offset = ((self.pos.1 + y) as usize * COLUMNS + (x + self.pos.0) as usize); [INFO] [stdout] 23 + let offset = (self.pos.1 + y) as usize * COLUMNS + (x + self.pos.0) as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/year_2018/day_01.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/year_2018/day_02.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/year_2018/day_03.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "3dc6118924ffb012ec19c1faa6fcda1eecb378c0c6e7b347ae90ded8faeb6dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dc6118924ffb012ec19c1faa6fcda1eecb378c0c6e7b347ae90ded8faeb6dac", kill_on_drop: false }` [INFO] [stdout] 3dc6118924ffb012ec19c1faa6fcda1eecb378c0c6e7b347ae90ded8faeb6dac