[INFO] cloning repository https://github.com/jpbougie/aoc2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jpbougie/aoc2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpbougie%2Faoc2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpbougie%2Faoc2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c11ca6c9b9cbf991c51d06684fbdde1636559f48 [INFO] checking jpbougie/aoc2019 against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118916 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpbougie%2Faoc2019" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jpbougie/aoc2019 on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jpbougie/aoc2019 [INFO] finished tweaking git repo https://github.com/jpbougie/aoc2019 [INFO] tweaked toml for git repo https://github.com/jpbougie/aoc2019 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jpbougie/aoc2019 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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking jpbougie/aoc2019 against try#3d5258f568a4b4970d455e4e29f39fd691b5a41a for pr-118916 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpbougie%2Faoc2019" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jpbougie/aoc2019 on toolchain 3d5258f568a4b4970d455e4e29f39fd691b5a41a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jpbougie/aoc2019 [INFO] finished tweaking git repo https://github.com/jpbougie/aoc2019 [INFO] tweaked toml for git repo https://github.com/jpbougie/aoc2019 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jpbougie/aoc2019 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" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking jpbougie/aoc2019 against try#3d5258f568a4b4970d455e4e29f39fd691b5a41a for pr-118916 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpbougie%2Faoc2019" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jpbougie/aoc2019 on toolchain 3d5258f568a4b4970d455e4e29f39fd691b5a41a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jpbougie/aoc2019 [INFO] finished tweaking git repo https://github.com/jpbougie/aoc2019 [INFO] tweaked toml for git repo https://github.com/jpbougie/aoc2019 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jpbougie/aoc2019 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" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pathfinding v2.0.1 [INFO] [stderr] Downloaded termion v1.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f28550c7205d4c85b42b14c7ee36f6109da52750fa421d2fe7228dbcbdd780ff [INFO] running `Command { std: "docker" "start" "-a" "f28550c7205d4c85b42b14c7ee36f6109da52750fa421d2fe7228dbcbdd780ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f28550c7205d4c85b42b14c7ee36f6109da52750fa421d2fe7228dbcbdd780ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f28550c7205d4c85b42b14c7ee36f6109da52750fa421d2fe7228dbcbdd780ff", kill_on_drop: false }` [INFO] [stdout] f28550c7205d4c85b42b14c7ee36f6109da52750fa421d2fe7228dbcbdd780ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98b866b5d169aa5942eefe26d88ba6076b1c9548812d797bf5aeea5b5437ea3a [INFO] running `Command { std: "docker" "start" "-a" "98b866b5d169aa5942eefe26d88ba6076b1c9548812d797bf5aeea5b5437ea3a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking permutohedron v0.2.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking termion v1.5.4 [INFO] [stderr] Checking pathfinding v2.0.1 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/intcode.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `self` [INFO] [stdout] --> src/intcode.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RecvError`, `TryRecvError`, `sync_channel` [INFO] [stdout] --> src/intcode.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc::{sync_channel, SyncSender, Receiver, RecvError, TryRecvError}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/intcode.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/intcode.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `self` [INFO] [stdout] --> src/intcode.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RecvError`, `TryRecvError`, `sync_channel` [INFO] [stdout] --> src/intcode.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc::{sync_channel, SyncSender, Receiver, RecvError, TryRecvError}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/intcode.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/intcode.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run` in this scope [INFO] [stdout] --> src/intcode.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | assert_eq!(run(program, 1), 1125899906842624); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2019` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `TryRecvError` [INFO] [stdout] --> src/bin/15.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc::{sync_channel, TryRecvError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/14.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 39 | / loop { [INFO] [stdout] 40 | | required.push(Item::new(1, goal)); [INFO] [stdout] 41 | | while let Some(req) = required.pop() { [INFO] [stdout] 42 | | let mut current_stock = inventory.entry(req.name.clone()).or_insert(0); [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] 80 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 81 | [INFO] [stdout] 82 | 0 [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/18.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | 'a' ... 'z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/18.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | 'A' ... 'Z' => Tile::Door(ch), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/14.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 39 | / loop { [INFO] [stdout] 40 | | required.push(Item::new(1, goal)); [INFO] [stdout] 41 | | while let Some(req) = required.pop() { [INFO] [stdout] 42 | | let mut current_stock = inventory.entry(req.name.clone()).or_insert(0); [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] 80 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 81 | [INFO] [stdout] 82 | 0 [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/14.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut current_stock = inventory.entry(req.name.clone()).or_insert(0); [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] --> src/bin/14.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut current_stock = inventory.entry(req.name.clone()).or_insert(0); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMMEDIATE` is never used [INFO] [stdout] --> src/bin/05.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const IMMEDIATE: i64 = 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::input::TermRead` [INFO] [stdout] --> src/bin/15.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | use termion::input::TermRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/bin/09.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let program: &[i64] = &[104,1125899906842624,99][..]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fuel_produced` is never used [INFO] [stdout] --> src/bin/14.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn fuel_produced(reactions: &[Reaction], goal: &str, base_item: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `turned` is never read [INFO] [stdout] --> src/bin/10.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | let mut turned = false; [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/bin/09.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 40 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` 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] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/15.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut program = input.split(",").map(|x| x.trim().parse().unwrap()).collect::>(); [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: method `emptys` is never used [INFO] [stdout] --> src/bin/10.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | fn emptys(&self) -> Positions { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/13.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | inputs_sender.try_send(next_input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = inputs_sender.try_send(next_input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/14.rs:193:41 [INFO] [stdout] | [INFO] [stdout] 193 | assert_eq!(ore_required(&input, "FUEL", "ORE"), 31); [INFO] [stdout] | ------------ ^^^^^^ expected `Item`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/bin/14.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn ore_required(reactions: &[Reaction], goal: Item, base_item: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2019` (bin "14" test) due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/bin/15.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | let mut step = 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/15.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | let mut step = 0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/15.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | inputs_sender.send(next_command.command()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 264 | let _ = inputs_sender.send(next_command.command()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accessible_keys` is never used [INFO] [stdout] --> src/bin/18.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn accessible_keys(maze: &Maze, pos: &Addr) -> Vec<(char, Addr)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `doors`, `tile`, `tiles`, and `unlock_door` are never used [INFO] [stdout] --> src/bin/18.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 140 | impl Maze { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | fn doors(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn tile(&self, tile: &Tile) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn tiles(&self, tile_spec: &Tile) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn unlock_door(&mut self, key: char) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `walkable` is never used [INFO] [stdout] --> src/bin/18.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 305 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 306 | fn walkable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `North`, `South`, `West`, and `East` are never constructed [INFO] [stdout] --> src/bin/18.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 326 | enum Dir { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 327 | North, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 328 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 329 | West, [INFO] [stdout] | ^^^^ [INFO] [stdout] 330 | East, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dir` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `left`, `right`, `advance`, and `inverse` are never used [INFO] [stdout] --> src/bin/18.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 333 | impl Dir { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 334 | fn left(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | fn right(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | fn advance(&self, pos: &mut Addr) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `neighbours_with_dir` is never used [INFO] [stdout] --> src/bin/18.rs:399:8 [INFO] [stdout] | [INFO] [stdout] 378 | impl Addr { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 399 | fn neighbours_with_dir(&self) -> Vec<(Dir, Addr)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "98b866b5d169aa5942eefe26d88ba6076b1c9548812d797bf5aeea5b5437ea3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98b866b5d169aa5942eefe26d88ba6076b1c9548812d797bf5aeea5b5437ea3a", kill_on_drop: false }` [INFO] [stdout] 98b866b5d169aa5942eefe26d88ba6076b1c9548812d797bf5aeea5b5437ea3a