[INFO] cloning repository https://github.com/brian-dawn/advent-of-code-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brian-dawn/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian-dawn%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian-dawn%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5349a66c4e1572140aedec9903d50e614c8b45f [INFO] testing brian-dawn/advent-of-code-2019 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian-dawn%2Fadvent-of-code-2019" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brian-dawn/advent-of-code-2019 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brian-dawn/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/brian-dawn/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/brian-dawn/advent-of-code-2019 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/brian-dawn/advent-of-code-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d6fbfdf4654c01c4da7be57574a5f4f2822a730a24c6ba135730adbfdacf276b [INFO] running `Command { std: "docker" "start" "-a" "d6fbfdf4654c01c4da7be57574a5f4f2822a730a24c6ba135730adbfdacf276b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6fbfdf4654c01c4da7be57574a5f4f2822a730a24c6ba135730adbfdacf276b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6fbfdf4654c01c4da7be57574a5f4f2822a730a24c6ba135730adbfdacf276b", kill_on_drop: false }` [INFO] [stdout] d6fbfdf4654c01c4da7be57574a5f4f2822a730a24c6ba135730adbfdacf276b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc50fd871af9979325fc05603e558903b532db20bfb370d75a70557831d8ebbe [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bc50fd871af9979325fc05603e558903b532db20bfb370d75a70557831d8ebbe", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling anyhow v1.0.25 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling permutohedron v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Compiling nom v5.0.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rayon v1.2.1 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling derive_more v0.99.2 [INFO] [stderr] Compiling advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/bin/day10.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/day10.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/bin/day10.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | for (distance, point) in dist_points { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [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/day10.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let mut world: Vec<(i64, (i64, Point))> = parsed [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/day10.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let mut by_angle = world.into_iter().into_group_map(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/day10.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn new(x: usize, y: usize) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/bin/day9.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 164 | let inp: &i64 = self.inputs.first().context("ran out of inputs")?; [INFO] [stdout] | ----------- immutable borrow occurs here [INFO] [stdout] 165 | self.set_memory(addr, *inp); [INFO] [stdout] | ^^^^ ---- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_input` [INFO] [stdout] --> src/bin/day9.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | fn add_input(&mut self, input: i64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_program` [INFO] [stdout] --> src/bin/day9.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | fn run_program(memory: &[i64], input: &[i64]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "bc50fd871af9979325fc05603e558903b532db20bfb370d75a70557831d8ebbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc50fd871af9979325fc05603e558903b532db20bfb370d75a70557831d8ebbe", kill_on_drop: false }` [INFO] [stdout] bc50fd871af9979325fc05603e558903b532db20bfb370d75a70557831d8ebbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a7a59476270c31c207c73d0eafcbae46c3d124219c09b5dffca8a7f17fcd572e [INFO] running `Command { std: "docker" "start" "-a" "a7a59476270c31c207c73d0eafcbae46c3d124219c09b5dffca8a7f17fcd572e", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/bin/day10.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/day10.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/bin/day10.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | for (distance, point) in dist_points { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [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/day10.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let mut world: Vec<(i64, (i64, Point))> = parsed [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/day10.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let mut by_angle = world.into_iter().into_group_map(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day10.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let mut example = ".#..# [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day10.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let mut example = ".#..# [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/bin/day9.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 164 | let inp: &i64 = self.inputs.first().context("ran out of inputs")?; [INFO] [stdout] | ----------- immutable borrow occurs here [INFO] [stdout] 165 | self.set_memory(addr, *inp); [INFO] [stdout] | ^^^^ ---- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_input` [INFO] [stdout] --> src/bin/day9.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | fn add_input(&mut self, input: i64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.46s [INFO] running `Command { std: "docker" "inspect" "a7a59476270c31c207c73d0eafcbae46c3d124219c09b5dffca8a7f17fcd572e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7a59476270c31c207c73d0eafcbae46c3d124219c09b5dffca8a7f17fcd572e", kill_on_drop: false }` [INFO] [stdout] a7a59476270c31c207c73d0eafcbae46c3d124219c09b5dffca8a7f17fcd572e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca159c009e2386c5b1042d9e6afe34fd2a3d7642fe8cce45ed823cde3a2a5d1f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ca159c009e2386c5b1042d9e6afe34fd2a3d7642fe8cce45ed823cde3a2a5d1f", kill_on_drop: false }` [INFO] [stderr] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/bin/day9.rs:165:21 [INFO] [stderr] | [INFO] [stderr] 164 | let inp: &i64 = self.inputs.first().context("ran out of inputs")?; [INFO] [stderr] | ----------- immutable borrow occurs here [INFO] [stderr] 165 | self.set_memory(addr, *inp); [INFO] [stderr] | ^^^^ ---- immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_input` [INFO] [stderr] --> src/bin/day9.rs:103:8 [INFO] [stderr] | [INFO] [stderr] 103 | fn add_input(&mut self, input: i64) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp::Ordering` [INFO] [stderr] --> src/bin/day10.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::cmp::Ordering; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/bin/day10.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `distance` [INFO] [stderr] --> src/bin/day10.rs:146:18 [INFO] [stderr] | [INFO] [stderr] 146 | for (distance, point) in dist_points { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/day10.rs:119:9 [INFO] [stderr] | [INFO] [stderr] 119 | let mut world: Vec<(i64, (i64, Point))> = parsed [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/day10.rs:133:9 [INFO] [stderr] | [INFO] [stderr] 133 | let mut by_angle = world.into_iter().into_group_map(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/day10.rs:194:9 [INFO] [stderr] | [INFO] [stderr] 194 | let mut example = ".#..# [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/day10.rs:207:9 [INFO] [stderr] | [INFO] [stderr] 207 | let mut example = ".#..# [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/day1-ece42f76eea591ce [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Running /opt/rustwide/target/debug/deps/day10-b091db39d0b71a09 [INFO] [stdout] test test_compute_fuel_fuel ... ok [INFO] [stdout] test test_compute_fuel ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stderr] Running /opt/rustwide/target/debug/deps/day2-8a83bc6d535bbf9f [INFO] [stdout] test test_parse ... ok [INFO] [stdout] test test_angle ... ok [INFO] [stdout] test test_visible_points ... ok [INFO] [stdout] test test_part1 ... ok [INFO] [stdout] test test_part2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/day3-6b2feced7feb6dc3 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_run ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_parse_line ... ok [INFO] [stdout] test test_part1 ... ok [INFO] [stdout] test test_part2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/day4-91b03c30b0fe895a [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Running /opt/rustwide/target/debug/deps/day5-77f986b714c03455 [INFO] [stdout] test test_valid ... ok [INFO] [stdout] test test_valid_only_doubles ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_run_program ... ok [INFO] [stdout] test from_opcode_mode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/day6-b6f393e17146000d [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_walk ... ok [INFO] [stdout] test test_part2 ... ok [INFO] [stdout] test test_all ... ok [INFO] [stdout] test test_find ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/day7-a9ad701c75105185 [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test from_opcode_mode ... ok [INFO] [stdout] test test_run_program ... ok [INFO] [stdout] test test_process_phase ... ok [INFO] [stdout] test test_find_biggest_phase ... ok [INFO] [stdout] test test_part2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/day8-2e7d5a4b2ec7f77e [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_decode ... ok [INFO] [stdout] test test_flatten ... ok [INFO] [stdout] test test_layers ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/day9-5f8a35594307de58 [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test from_opcode_mode ... ok [INFO] [stdout] test test_part1 ... ok [INFO] [stdout] test test_run_program ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ca159c009e2386c5b1042d9e6afe34fd2a3d7642fe8cce45ed823cde3a2a5d1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca159c009e2386c5b1042d9e6afe34fd2a3d7642fe8cce45ed823cde3a2a5d1f", kill_on_drop: false }` [INFO] [stdout] ca159c009e2386c5b1042d9e6afe34fd2a3d7642fe8cce45ed823cde3a2a5d1f