[INFO] cloning repository https://github.com/dewaka/aoc2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dewaka/aoc2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdewaka%2Faoc2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdewaka%2Faoc2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17e6025d9134c653b79cb70d3d3ae894463584d2 [INFO] checking dewaka/aoc2018 against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdewaka%2Faoc2018" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dewaka/aoc2018 on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dewaka/aoc2018 [INFO] finished tweaking git repo https://github.com/dewaka/aoc2018 [INFO] tweaked toml for git repo https://github.com/dewaka/aoc2018 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dewaka/aoc2018 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v1.2.0 [INFO] [stderr] Downloaded redox_syscall v0.1.43 [INFO] [stderr] Downloaded memchr v2.1.1 [INFO] [stderr] Downloaded aho-corasick v0.6.9 [INFO] [stderr] Downloaded regex-syntax v0.6.4 [INFO] [stderr] Downloaded regex v1.1.0 [INFO] [stderr] Downloaded libc v0.2.44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbaa9f28d93aa31e48e059ba8ca2877c43a0321bbca24baed39f969120120e3b [INFO] running `Command { std: "docker" "start" "-a" "fbaa9f28d93aa31e48e059ba8ca2877c43a0321bbca24baed39f969120120e3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbaa9f28d93aa31e48e059ba8ca2877c43a0321bbca24baed39f969120120e3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbaa9f28d93aa31e48e059ba8ca2877c43a0321bbca24baed39f969120120e3b", kill_on_drop: false }` [INFO] [stdout] fbaa9f28d93aa31e48e059ba8ca2877c43a0321bbca24baed39f969120120e3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5f610b820835465b69147bdd3b4e6c431d55f28823356e303c9973b9f280f66 [INFO] running `Command { std: "docker" "start" "-a" "b5f610b820835465b69147bdd3b4e6c431d55f28823356e303c9973b9f280f66", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking aoc2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BinaryHeap` [INFO] [stdout] --> src/day7.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{BinaryHeap, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/day9.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/day9.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/day9.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BinaryHeap` [INFO] [stdout] --> src/day7.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{BinaryHeap, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/day9.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/day9.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/day9.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day3.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | type Result = ::std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | type Result = ::std::result::Result>; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day4.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | type Result = ::std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | type Result = ::std::result::Result>; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day6.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | fn unique_extreme_by_iter(stuff: &mut Iterator, compare: F) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn unique_extreme_by_iter(stuff: &mut dyn Iterator, compare: F) -> Option [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day3.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | type Result = ::std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | type Result = ::std::result::Result>; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day7.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | type Result = ::std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | type Result = ::std::result::Result>; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day8.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_node(values: &mut Iterator) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn get_node(values: &mut dyn Iterator) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day4.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | type Result = ::std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | type Result = ::std::result::Result>; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day6.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | fn unique_extreme_by_iter(stuff: &mut Iterator, compare: F) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn unique_extreme_by_iter(stuff: &mut dyn Iterator, compare: F) -> Option [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day7.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | type Result = ::std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | type Result = ::std::result::Result>; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day8.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_node(values: &mut Iterator) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn get_node(values: &mut dyn Iterator) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/day7.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | if let Some((t, x)) = m { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tasks` [INFO] [stdout] --> src/day7.rs:170:32 [INFO] [stdout] | [INFO] [stdout] 170 | fn process_tasks_parrallel(mut tasks: TaskMap, workers: usize, work_time: i32) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tasks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `workers` [INFO] [stdout] --> src/day7.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 170 | fn process_tasks_parrallel(mut tasks: TaskMap, workers: usize, work_time: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `work_time` [INFO] [stdout] --> src/day7.rs:170:64 [INFO] [stdout] | [INFO] [stdout] 170 | fn process_tasks_parrallel(mut tasks: TaskMap, workers: usize, work_time: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_work_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:170:28 [INFO] [stdout] | [INFO] [stdout] 170 | fn process_tasks_parrallel(mut tasks: TaskMap, workers: usize, work_time: i32) -> i32 { [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: unused variable: `input` [INFO] [stdout] --> src/day9.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn day9(input: &str) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_change_from_str` and `add_changes_from_str` are never used [INFO] [stdout] --> src/day1.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Frequency { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | fn add_change_from_str(self, cstr: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn add_changes_from_str(self, cstrs: &[&str]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/day3.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Sheet { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 19 | fn from(pos: (i32, i32), dim: (i32, i32)) -> Sheet { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day7.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Dependency { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 29 | fn new(task: TaskName, depends_on: TaskName) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `completable_tasks_excluding` are never used [INFO] [stdout] --> src/day7.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl TaskMap { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn completable_tasks_excluding(&self, exluding: &HashSet) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_work` is never used [INFO] [stdout] --> src/day7.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn start_work( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task_time` is never used [INFO] [stdout] --> src/day7.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn task_time(t: TaskName) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/day7.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | if let Some((t, x)) = m { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tasks` [INFO] [stdout] --> src/day7.rs:170:32 [INFO] [stdout] | [INFO] [stdout] 170 | fn process_tasks_parrallel(mut tasks: TaskMap, workers: usize, work_time: i32) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tasks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `workers` [INFO] [stdout] --> src/day7.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 170 | fn process_tasks_parrallel(mut tasks: TaskMap, workers: usize, work_time: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `work_time` [INFO] [stdout] --> src/day7.rs:170:64 [INFO] [stdout] | [INFO] [stdout] 170 | fn process_tasks_parrallel(mut tasks: TaskMap, workers: usize, work_time: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_work_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:170:28 [INFO] [stdout] | [INFO] [stdout] 170 | fn process_tasks_parrallel(mut tasks: TaskMap, workers: usize, work_time: i32) -> i32 { [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: unused variable: `input` [INFO] [stdout] --> src/day9.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn day9(input: &str) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `completable_tasks_excluding` are never used [INFO] [stdout] --> src/day7.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl TaskMap { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn completable_tasks_excluding(&self, exluding: &HashSet) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_work` is never used [INFO] [stdout] --> src/day7.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn start_work( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "b5f610b820835465b69147bdd3b4e6c431d55f28823356e303c9973b9f280f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5f610b820835465b69147bdd3b4e6c431d55f28823356e303c9973b9f280f66", kill_on_drop: false }` [INFO] [stdout] b5f610b820835465b69147bdd3b4e6c431d55f28823356e303c9973b9f280f66 [INFO] checking dewaka/aoc2018 against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdewaka%2Faoc2018" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dewaka/aoc2018 on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dewaka/aoc2018 [INFO] finished tweaking git repo https://github.com/dewaka/aoc2018 [INFO] tweaked toml for git repo https://github.com/dewaka/aoc2018 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dewaka/aoc2018 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 115fea6e1998f1dd9a9af0039f850021dd5d72fb11e4aeaad64b88c860289960 [INFO] running `Command { std: "docker" "start" "-a" "115fea6e1998f1dd9a9af0039f850021dd5d72fb11e4aeaad64b88c860289960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "115fea6e1998f1dd9a9af0039f850021dd5d72fb11e4aeaad64b88c860289960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "115fea6e1998f1dd9a9af0039f850021dd5d72fb11e4aeaad64b88c860289960", kill_on_drop: false }` [INFO] [stdout] 115fea6e1998f1dd9a9af0039f850021dd5d72fb11e4aeaad64b88c860289960 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f4d6fbff2dbbe4a052f713b51ae242755624d46d09f31555fae46aa1332218a [INFO] running `Command { std: "docker" "start" "-a" "2f4d6fbff2dbbe4a052f713b51ae242755624d46d09f31555fae46aa1332218a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 505 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 506 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 507 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 508 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 509 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 511 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2f4d6fbff2dbbe4a052f713b51ae242755624d46d09f31555fae46aa1332218a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f4d6fbff2dbbe4a052f713b51ae242755624d46d09f31555fae46aa1332218a", kill_on_drop: false }` [INFO] [stdout] 2f4d6fbff2dbbe4a052f713b51ae242755624d46d09f31555fae46aa1332218a