[INFO] cloning repository https://github.com/packysauce/adventofcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/packysauce/adventofcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpackysauce%2Fadventofcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpackysauce%2Fadventofcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8e1f78aade54c291d163965feb5c77ebb307900 [INFO] checking packysauce/adventofcode against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpackysauce%2Fadventofcode" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/packysauce/adventofcode on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/packysauce/adventofcode [INFO] finished tweaking git repo https://github.com/packysauce/adventofcode [INFO] tweaked toml for git repo https://github.com/packysauce/adventofcode written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/packysauce/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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded line_intersection v0.4.0 [INFO] [stderr] Downloaded rstar v0.2.0 [INFO] [stderr] Downloaded geo v0.12.2 [INFO] [stderr] Downloaded geo-types v0.4.3 [INFO] [stderr] Downloaded geo v0.4.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14a1da3eca854b30356dcfbdf640c58ae20d3e715c2b0b4b35618b3c5800d57d [INFO] running `Command { std: "docker" "start" "-a" "14a1da3eca854b30356dcfbdf640c58ae20d3e715c2b0b4b35618b3c5800d57d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14a1da3eca854b30356dcfbdf640c58ae20d3e715c2b0b4b35618b3c5800d57d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14a1da3eca854b30356dcfbdf640c58ae20d3e715c2b0b4b35618b3c5800d57d", kill_on_drop: false }` [INFO] [stdout] 14a1da3eca854b30356dcfbdf640c58ae20d3e715c2b0b4b35618b3c5800d57d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fdb24aff038e5be43387cc03eaa1e0f07df147dcaa493e7b3ddc4246af51449 [INFO] running `Command { std: "docker" "start" "-a" "5fdb24aff038e5be43387cc03eaa1e0f07df147dcaa493e7b3ddc4246af51449", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Checking pdqselect v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking rstar v0.2.0 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking geo-types v0.4.3 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking permutohedron v0.2.4 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking geo v0.12.2 [INFO] [stderr] Checking geo v0.4.13 [INFO] [stderr] Checking line_intersection v0.4.0 [INFO] [stderr] Checking adventofcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Coordinate` and `intersects::Intersects` [INFO] [stdout] --> bin/day3.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use geo::{Coordinate, Line, intersects::Intersects}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `hash_map::Entry` [INFO] [stdout] --> bin/day3.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, hash_map::Entry}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Itertools` and `iproduct` [INFO] [stdout] --> bin/day3.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::{Itertools, iproduct}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coordinate` and `intersects::Intersects` [INFO] [stdout] --> bin/day3.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use geo::{Coordinate, Line, intersects::Intersects}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `hash_map::Entry` [INFO] [stdout] --> bin/day3.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, hash_map::Entry}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Itertools` and `iproduct` [INFO] [stdout] --> bin/day3.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::{Itertools, iproduct}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> bin/day3.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bounded` [INFO] [stdout] --> src/main.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | use crossbeam::channel::{Sender, Receiver, bounded}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResultExt` [INFO] [stdout] --> bin/day5.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use failure::{format_err, Fallible, ResultExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResultExt` [INFO] [stdout] --> bin/day5.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use failure::{format_err, Fallible, ResultExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | static ref DEBUG: bool = { std::env::var("DEBUG").is_ok() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 10 - static ref DEBUG: bool = { std::env::var("DEBUG").is_ok() }; [INFO] [stdout] 10 + static ref DEBUG: bool = std::env::var("DEBUG").is_ok(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> bin/day5.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | static ref DEBUG: bool = { std::env::var("DEBUG").is_ok() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 7 - static ref DEBUG: bool = { std::env::var("DEBUG").is_ok() }; [INFO] [stdout] 7 + static ref DEBUG: bool = std::env::var("DEBUG").is_ok(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> bin/day5.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | static ref DEBUG: bool = { std::env::var("DEBUG").is_ok() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 7 - static ref DEBUG: bool = { std::env::var("DEBUG").is_ok() }; [INFO] [stdout] 7 + static ref DEBUG: bool = std::env::var("DEBUG").is_ok(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> bin/day3.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | BullshitNumber(String), [INFO] [stdout] | -------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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 | BullshitNumber(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> bin/day3.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | RetardedDirection(char), [INFO] [stdout] | ----------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 17 | RetardedDirection(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Either` is never used [INFO] [stdout] --> bin/day3.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 54 | enum Either { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bounded` [INFO] [stdout] --> src/main.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | use crossbeam::channel::{Sender, Receiver, bounded}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | static ref DEBUG: bool = { std::env::var("DEBUG").is_ok() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 10 - static ref DEBUG: bool = { std::env::var("DEBUG").is_ok() }; [INFO] [stdout] 10 + static ref DEBUG: bool = std::env::var("DEBUG").is_ok(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> bin/day3.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> bin/day3.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | BullshitNumber(String), [INFO] [stdout] | -------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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 | BullshitNumber(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> bin/day3.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | RetardedDirection(char), [INFO] [stdout] | ----------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 17 | RetardedDirection(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Either` is never used [INFO] [stdout] --> bin/day3.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 54 | enum Either { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockInput` is never constructed [INFO] [stdout] --> bin/day5.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct MockInput { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> bin/day5.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | OutOfBounds(usize, usize), [INFO] [stdout] | ----------- ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MachineError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 78 | OutOfBounds((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> bin/day5.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | InvalidOpcode(i32), [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MachineError` 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] 79 | InvalidOpcode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidIndirect` and `InvalidImmediate` are never constructed [INFO] [stdout] --> bin/day5.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 76 | enum MachineError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 81 | InvalidIndirect, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | InvalidImmediate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MachineError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_ref` is never used [INFO] [stdout] --> bin/day5.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl<'a> IntcodeMachine { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | fn as_ref(&'a self) -> &'a [i32] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_address` and `from_cpu` are never used [INFO] [stdout] --> bin/day5.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 284 | impl Parameter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 285 | fn as_address(&self) -> Fallible { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | fn from_cpu(&self, cpu: &IntcodeMachine) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Noop` is never constructed [INFO] [stdout] --> bin/day5.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 318 | enum Opcode { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 354 | Noop, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> bin/day2.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | OutOfBounds(usize, usize), [INFO] [stdout] | ----------- ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MachineError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 13 | OutOfBounds((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `results` is never used [INFO] [stdout] --> bin/day5.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 10 | trait Output { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 11 | fn output(&mut self, what: i32) -> Fallible<()>; [INFO] [stdout] 12 | fn results(&mut self) -> Option>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockInput` is never constructed [INFO] [stdout] --> bin/day5.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct MockInput { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> bin/day5.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | OutOfBounds(usize, usize), [INFO] [stdout] | ----------- ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MachineError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 78 | OutOfBounds((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> bin/day5.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | InvalidOpcode(i32), [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MachineError` 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] 79 | InvalidOpcode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidIndirect` and `InvalidImmediate` are never constructed [INFO] [stdout] --> bin/day5.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 76 | enum MachineError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 81 | InvalidIndirect, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | InvalidImmediate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MachineError` 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 `take_output` and `as_ref` are never used [INFO] [stdout] --> bin/day5.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl<'a> IntcodeMachine { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | fn take_output(mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn as_ref(&'a self) -> &'a [i32] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_address` and `from_cpu` are never used [INFO] [stdout] --> bin/day5.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 284 | impl Parameter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 285 | fn as_address(&self) -> Fallible { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | fn from_cpu(&self, cpu: &IntcodeMachine) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Noop` is never constructed [INFO] [stdout] --> bin/day5.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 318 | enum Opcode { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 354 | Noop, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockInput` is never constructed [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct MockInput { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | OutOfBounds(usize, usize), [INFO] [stdout] | ----------- ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MachineError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 96 | OutOfBounds((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | InvalidOpcode(i32), [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MachineError` 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] 97 | InvalidOpcode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> bin/day2.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | OutOfBounds(usize, usize), [INFO] [stdout] | ----------- ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MachineError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 13 | OutOfBounds((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockInput` is never constructed [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct MockInput { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | OutOfBounds(usize, usize), [INFO] [stdout] | ----------- ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MachineError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 96 | OutOfBounds((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | InvalidOpcode(i32), [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MachineError` 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] 97 | InvalidOpcode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.22s [INFO] running `Command { std: "docker" "inspect" "5fdb24aff038e5be43387cc03eaa1e0f07df147dcaa493e7b3ddc4246af51449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fdb24aff038e5be43387cc03eaa1e0f07df147dcaa493e7b3ddc4246af51449", kill_on_drop: false }` [INFO] [stdout] 5fdb24aff038e5be43387cc03eaa1e0f07df147dcaa493e7b3ddc4246af51449