[INFO] cloning repository https://github.com/Januson/aoc-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Januson/aoc-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanuson%2Faoc-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanuson%2Faoc-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 382f058b3e922a5a2f475d059ba7167546eb63a6 [INFO] checking Januson/aoc-rs against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanuson%2Faoc-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Januson/aoc-rs [INFO] finished tweaking git repo https://github.com/Januson/aoc-rs [INFO] tweaked toml for git repo https://github.com/Januson/aoc-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Januson/aoc-rs on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Januson/aoc-rs 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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f32abb499a608cef719ca71505ac5b179446892c9edf18ae9517cac3c890f3be [INFO] running `Command { std: "docker" "start" "-a" "f32abb499a608cef719ca71505ac5b179446892c9edf18ae9517cac3c890f3be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f32abb499a608cef719ca71505ac5b179446892c9edf18ae9517cac3c890f3be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f32abb499a608cef719ca71505ac5b179446892c9edf18ae9517cac3c890f3be", kill_on_drop: false }` [INFO] [stdout] f32abb499a608cef719ca71505ac5b179446892c9edf18ae9517cac3c890f3be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0eca7aa17f09c7c7f6c28470987767e7c5178b8a5712382d8666cac5e8e4bbd [INFO] running `Command { std: "docker" "start" "-a" "d0eca7aa17f09c7c7f6c28470987767e7c5178b8a5712382d8666cac5e8e4bbd", kill_on_drop: false }` [INFO] [stderr] Checking aoc-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `AccumulateIterator` is never used [INFO] [stdout] --> src/util/accumulate.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait AccumulateIterator: Iterator + Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Accumulate` is never constructed [INFO] [stdout] --> src/util/accumulate.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Accumulate where It: Iterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap` is never used [INFO] [stdout] --> src/util/accumulate.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Accumulate where It: Iterator { [INFO] [stdout] | -------------------------------------------------------------- method in this implementation [INFO] [stdout] 23 | pub fn unwrap(self) -> It { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DuplicateIterator` is never used [INFO] [stdout] --> src/util/duplicates.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait DuplicateIterator: Iterator + Sized where E: Eq + Hash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Duplicates` is never constructed [INFO] [stdout] --> src/util/duplicates.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Duplicates where It: Iterator, E: Eq { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap` is never used [INFO] [stdout] --> src/util/duplicates.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Duplicates where It: Iterator, E: Eq { [INFO] [stdout] | --------------------------------------------------------------- method in this implementation [INFO] [stdout] 23 | pub fn unwrap(self) -> It { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Module` is never constructed [INFO] [stdout] --> src/year_2019/day_01.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `required_fuel`, `required_total_fuel`, `fuel`, and `fuel_for_mass` are never used [INFO] [stdout] --> src/year_2019/day_01.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl Module { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 6 | fn new(mass: u64) -> Module { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn required_fuel(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn required_total_fuel(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn fuel(&self, mass: u64) -> i64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn fuel_for_mass(&self, mass: u64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> src/year_2019/day_02.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/year_2019/day_02.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, and `insert` are never used [INFO] [stdout] --> src/year_2019/day_02.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Memory { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | fn new(data: &str) -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn read(&self, index: i32) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn insert(&mut self, index: i32, value: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, and `state` are never used [INFO] [stdout] --> src/year_2019/day_02.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Program { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 28 | fn new(memory: Memory) -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn state(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/year_2019/day_03.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Intersection` is never constructed [INFO] [stdout] --> src/year_2019/day_03.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Intersection { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Wire` is never constructed [INFO] [stdout] --> src/year_2019/day_03.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Wire { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/year_2019/day_03.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `up`, `down`, `right`, `left`, and `distance` are never used [INFO] [stdout] --> src/year_2019/day_03.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Point { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 28 | fn new(x: i32, y: i32) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn up(&self) -> Point { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn down(&self) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn right(&self) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn left(&self) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn distance(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, and `intersections_with` are never used [INFO] [stdout] --> src/year_2019/day_03.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl Wire { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 69 | fn new(path: &str) -> Wire { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn intersections_with(&self, other: &Wire) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `distance`, and `steps` are never used [INFO] [stdout] --> src/year_2019/day_03.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 127 | impl Intersection { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 128 | fn new(point: Point, steps: usize) -> Intersection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn distance(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn steps(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `of` is never used [INFO] [stdout] --> src/year_2019/day_03.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 144 | impl Direction { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 145 | fn of(direction: &str) -> Direction { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "d0eca7aa17f09c7c7f6c28470987767e7c5178b8a5712382d8666cac5e8e4bbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0eca7aa17f09c7c7f6c28470987767e7c5178b8a5712382d8666cac5e8e4bbd", kill_on_drop: false }` [INFO] [stdout] d0eca7aa17f09c7c7f6c28470987767e7c5178b8a5712382d8666cac5e8e4bbd