[INFO] cloning repository https://github.com/bgillespie/AdventOfCode2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bgillespie/AdventOfCode2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgillespie%2FAdventOfCode2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgillespie%2FAdventOfCode2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 42cad5347b1c1473d88ce8de266f6cf4c309e2ee [INFO] checking bgillespie/AdventOfCode2019 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgillespie%2FAdventOfCode2019" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bgillespie/AdventOfCode2019 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/bgillespie/AdventOfCode2019 [INFO] finished tweaking git repo https://github.com/bgillespie/AdventOfCode2019 [INFO] tweaked toml for git repo https://github.com/bgillespie/AdventOfCode2019 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bgillespie/AdventOfCode2019 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c0579042ace8bbdc1c13fdba7e23fb6fee185862722c75b10783957751322720 [INFO] running `Command { std: "docker" "start" "-a" "c0579042ace8bbdc1c13fdba7e23fb6fee185862722c75b10783957751322720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0579042ace8bbdc1c13fdba7e23fb6fee185862722c75b10783957751322720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0579042ace8bbdc1c13fdba7e23fb6fee185862722c75b10783957751322720", kill_on_drop: false }` [INFO] [stdout] c0579042ace8bbdc1c13fdba7e23fb6fee185862722c75b10783957751322720 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4053d9800853c8918005894113ea36b93410519e1020e123cb03d5eb5b7965f4 [INFO] running `Command { std: "docker" "start" "-a" "4053d9800853c8918005894113ea36b93410519e1020e123cb03d5eb5b7965f4", kill_on_drop: false }` [INFO] [stderr] Checking aoc2019 v0.1.0 (/opt/rustwide/workdir/aoc2019) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> aoc2019/src/common.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let mut br = io::BufReader::new(file); [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] --> aoc2019/src/common.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let mut br = io::BufReader::new(file); [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: value assigned to `andidx` is never read [INFO] [stdout] --> aoc2019/src/day10.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let mut andidx: usize = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F32_RAD_TO_DEG` is never used [INFO] [stdout] --> aoc2019/src/common.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const F32_RAD_TO_DEG: f32 = 180f32 / std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> aoc2019/src/common.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | IoError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | IoError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_to_input` is never used [INFO] [stdout] --> aoc2019/src/common.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn path_to_input(day: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_file_to_string` is never used [INFO] [stdout] --> aoc2019/src/common.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn data_file_to_string(day: &str, file: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> aoc2019/src/common.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn gcd(mut m: isize, mut n: isize) -> isize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `andidx` is never read [INFO] [stdout] --> aoc2019/src/day10.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let mut andidx: usize = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F32_RAD_TO_DEG` is never used [INFO] [stdout] --> aoc2019/src/common.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const F32_RAD_TO_DEG: f32 = 180f32 / std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> aoc2019/src/common.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | IoError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | IoError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_to_input` is never used [INFO] [stdout] --> aoc2019/src/common.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn path_to_input(day: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_file_to_string` is never used [INFO] [stdout] --> aoc2019/src/common.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn data_file_to_string(day: &str, file: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> aoc2019/src/common.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn gcd(mut m: isize, mut n: isize) -> isize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Intcode` is never constructed [INFO] [stdout] --> aoc2019/src/intcode.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Intcode<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, and `run` are never used [INFO] [stdout] --> aoc2019/src/intcode.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl<'a> Intcode<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(tape: &'a mut Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fn read(&mut self, mode: isize) -> isize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn run(&'a mut self, mut input: isize) -> isize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir/aoc) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "4053d9800853c8918005894113ea36b93410519e1020e123cb03d5eb5b7965f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4053d9800853c8918005894113ea36b93410519e1020e123cb03d5eb5b7965f4", kill_on_drop: false }` [INFO] [stdout] 4053d9800853c8918005894113ea36b93410519e1020e123cb03d5eb5b7965f4 [INFO] checking bgillespie/AdventOfCode2019 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%2Fbgillespie%2FAdventOfCode2019" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bgillespie/AdventOfCode2019 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/bgillespie/AdventOfCode2019 [INFO] finished tweaking git repo https://github.com/bgillespie/AdventOfCode2019 [INFO] tweaked toml for git repo https://github.com/bgillespie/AdventOfCode2019 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bgillespie/AdventOfCode2019 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 857b9f436b866f065f8d3c3cbc9bc0fe4134c0a3ac387634db2df91b130aad46 [INFO] running `Command { std: "docker" "start" "-a" "857b9f436b866f065f8d3c3cbc9bc0fe4134c0a3ac387634db2df91b130aad46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "857b9f436b866f065f8d3c3cbc9bc0fe4134c0a3ac387634db2df91b130aad46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "857b9f436b866f065f8d3c3cbc9bc0fe4134c0a3ac387634db2df91b130aad46", kill_on_drop: false }` [INFO] [stdout] 857b9f436b866f065f8d3c3cbc9bc0fe4134c0a3ac387634db2df91b130aad46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2c5255e07e833831231cbbe1c550003d1a58350446014d38a642d7616dbbe47c [INFO] running `Command { std: "docker" "start" "-a" "2c5255e07e833831231cbbe1c550003d1a58350446014d38a642d7616dbbe47c", kill_on_drop: false }` [INFO] [stderr] Checking aoc2019 v0.1.0 (/opt/rustwide/workdir/aoc2019) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> aoc2019/src/common.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let mut br = io::BufReader::new(file); [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] --> aoc2019/src/common.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let mut br = io::BufReader::new(file); [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: value assigned to `andidx` is never read [INFO] [stdout] --> aoc2019/src/day10.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let mut andidx: usize = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F32_RAD_TO_DEG` is never used [INFO] [stdout] --> aoc2019/src/common.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const F32_RAD_TO_DEG: f32 = 180f32 / std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> aoc2019/src/common.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | IoError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | IoError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_to_input` is never used [INFO] [stdout] --> aoc2019/src/common.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn path_to_input(day: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_file_to_string` is never used [INFO] [stdout] --> aoc2019/src/common.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn data_file_to_string(day: &str, file: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> aoc2019/src/common.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn gcd(mut m: isize, mut n: isize) -> isize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Intcode` is never constructed [INFO] [stdout] --> aoc2019/src/intcode.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Intcode<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, and `run` are never used [INFO] [stdout] --> aoc2019/src/intcode.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl<'a> Intcode<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(tape: &'a mut Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fn read(&mut self, mode: isize) -> isize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn run(&'a mut self, mut input: isize) -> isize { [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] --> aoc2019/src/common.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 60 | let file = fs::File::open(path).expect("Couldn't open file"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let mut br = io::BufReader::new(file); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Box::new(br.lines()) [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; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `andidx` is never read [INFO] [stdout] --> aoc2019/src/day10.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let mut andidx: usize = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F32_RAD_TO_DEG` is never used [INFO] [stdout] --> aoc2019/src/common.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const F32_RAD_TO_DEG: f32 = 180f32 / std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> aoc2019/src/common.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | IoError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | IoError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_to_input` is never used [INFO] [stdout] --> aoc2019/src/common.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn path_to_input(day: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_file_to_string` is never used [INFO] [stdout] --> aoc2019/src/common.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn data_file_to_string(day: &str, file: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> aoc2019/src/common.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn gcd(mut m: isize, mut n: isize) -> isize { [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] --> aoc2019/src/common.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 60 | let file = fs::File::open(path).expect("Couldn't open file"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let mut br = io::BufReader::new(file); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Box::new(br.lines()) [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] [stderr] error: could not compile `aoc2019` (lib) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2019` (lib test) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2c5255e07e833831231cbbe1c550003d1a58350446014d38a642d7616dbbe47c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c5255e07e833831231cbbe1c550003d1a58350446014d38a642d7616dbbe47c", kill_on_drop: false }` [INFO] [stdout] 2c5255e07e833831231cbbe1c550003d1a58350446014d38a642d7616dbbe47c