[INFO] cloning repository https://github.com/boylede/aoc2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/boylede/aoc2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboylede%2Faoc2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboylede%2Faoc2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 483ba06666eb6dc5f856a66d38dc149f80fabbbd [INFO] testing boylede/aoc2019 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboylede%2Faoc2019" "/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/boylede/aoc2019 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/boylede/aoc2019 [INFO] finished tweaking git repo https://github.com/boylede/aoc2019 [INFO] tweaked toml for git repo https://github.com/boylede/aoc2019 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/boylede/aoc2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded new_debug_unreachable v1.0.3 [INFO] [stderr] Downloaded bit-set v0.5.1 [INFO] [stderr] Downloaded bit-vec v0.5.1 [INFO] [stderr] Downloaded lapp v0.3.1 [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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cc3f4f67344aaf96072ce56d5d377d4e0fbeed0d61605b7653e1647a968fb7f [INFO] running `Command { std: "docker" "start" "-a" "2cc3f4f67344aaf96072ce56d5d377d4e0fbeed0d61605b7653e1647a968fb7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cc3f4f67344aaf96072ce56d5d377d4e0fbeed0d61605b7653e1647a968fb7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cc3f4f67344aaf96072ce56d5d377d4e0fbeed0d61605b7653e1647a968fb7f", kill_on_drop: false }` [INFO] [stdout] 2cc3f4f67344aaf96072ce56d5d377d4e0fbeed0d61605b7653e1647a968fb7f [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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9955d3ed67633e0e7b21df39e42699491937254e7951c7292c5b7c48cb7028f5 [INFO] running `Command { std: "docker" "start" "-a" "9955d3ed67633e0e7b21df39e42699491937254e7951c7292c5b7c48cb7028f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling lapp v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tokio-executor v0.1.9 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.20 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling tokio-timer v0.2.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tokio-reactor v0.1.11 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling html5ever v0.23.0 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling serde_json v1.0.42 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.22 [INFO] [stderr] Compiling markup5ever v0.8.1 [INFO] [stderr] Compiling select v0.4.3 [INFO] [stderr] Compiling aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day12/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day12/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `self` [INFO] [stdout] --> src/day13/mod.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/day10/mod.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | let distance = (asteroid.0 - base.0).abs() + (asteroid.1 - base.1).abs(); [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: unused variable: `strike_list` [INFO] [stdout] --> src/day10/mod.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let strike_list : BTreeMap<(Slope, i32), (i32, i32)> = asteroids [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strike_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turn` [INFO] [stdout] --> src/day12/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | for turn in 0..1000 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_turn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day12/mod.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_point` [INFO] [stdout] --> src/day13/mod.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | fn simulate_game(mut program: Program, starting_point: i64) -> (HashMap, i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/day13/mod.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let (image, score) = simulate_game(program, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/day13/mod.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | let (area, score) = simulate_game(program, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/intcode/mod.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/intcode/mod.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn insert(&mut self, id: u32, vm: VM) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print` [INFO] [stdout] --> src/day12/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn print(pos: &Vec<[i32;3]>, vel: &Vec<[i32;3]>, num: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "9955d3ed67633e0e7b21df39e42699491937254e7951c7292c5b7c48cb7028f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9955d3ed67633e0e7b21df39e42699491937254e7951c7292c5b7c48cb7028f5", kill_on_drop: false }` [INFO] [stdout] 9955d3ed67633e0e7b21df39e42699491937254e7951c7292c5b7c48cb7028f5 [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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdb12ac1fa8c77966bc1e139a667f954bf84e3e7d9be153c029f06716ec0fe39 [INFO] running `Command { std: "docker" "start" "-a" "bdb12ac1fa8c77966bc1e139a667f954bf84e3e7d9be153c029f06716ec0fe39", kill_on_drop: false }` [INFO] [stderr] Compiling aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day12/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day12/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `self` [INFO] [stdout] --> src/day13/mod.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/day10/mod.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | let distance = (asteroid.0 - base.0).abs() + (asteroid.1 - base.1).abs(); [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: unused variable: `strike_list` [INFO] [stdout] --> src/day10/mod.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let strike_list : BTreeMap<(Slope, i32), (i32, i32)> = asteroids [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strike_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turn` [INFO] [stdout] --> src/day12/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | for turn in 0..1000 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_turn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day12/mod.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_point` [INFO] [stdout] --> src/day13/mod.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | fn simulate_game(mut program: Program, starting_point: i64) -> (HashMap, i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/day13/mod.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let (image, score) = simulate_game(program, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/day13/mod.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | let (area, score) = simulate_game(program, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/intcode/mod.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/intcode/mod.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn insert(&mut self, id: u32, vm: VM) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print` [INFO] [stdout] --> src/day12/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn print(pos: &Vec<[i32;3]>, vel: &Vec<[i32;3]>, num: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.76s [INFO] running `Command { std: "docker" "inspect" "bdb12ac1fa8c77966bc1e139a667f954bf84e3e7d9be153c029f06716ec0fe39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdb12ac1fa8c77966bc1e139a667f954bf84e3e7d9be153c029f06716ec0fe39", kill_on_drop: false }` [INFO] [stdout] bdb12ac1fa8c77966bc1e139a667f954bf84e3e7d9be153c029f06716ec0fe39 [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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0cde347b0d4544b154c9645ff9c86503c7d7e29dbdea02389439c53c2ca1d480 [INFO] running `Command { std: "docker" "start" "-a" "0cde347b0d4544b154c9645ff9c86503c7d7e29dbdea02389439c53c2ca1d480", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/day12/mod.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/day12/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Read`, `self` [INFO] [stderr] --> src/day13/mod.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{self, Read}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `distance` [INFO] [stderr] --> src/day10/mod.rs:115:21 [INFO] [stderr] | [INFO] [stderr] 115 | let distance = (asteroid.0 - base.0).abs() + (asteroid.1 - base.1).abs(); [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: unused variable: `strike_list` [INFO] [stderr] --> src/day10/mod.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | let strike_list : BTreeMap<(Slope, i32), (i32, i32)> = asteroids [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strike_list` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `turn` [INFO] [stderr] --> src/day12/mod.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | for turn in 0..1000 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_turn` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lines` [INFO] [stderr] --> src/day12/mod.rs:85:10 [INFO] [stderr] | [INFO] [stderr] 85 | fn part2(lines: &Vec) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `starting_point` [INFO] [stderr] --> src/day13/mod.rs:19:40 [INFO] [stderr] | [INFO] [stderr] 19 | fn simulate_game(mut program: Program, starting_point: i64) -> (HashMap, i64) { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_point` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `score` [INFO] [stderr] --> src/day13/mod.rs:35:17 [INFO] [stderr] | [INFO] [stderr] 35 | let (image, score) = simulate_game(program, 0); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `score` [INFO] [stderr] --> src/day13/mod.rs:44:16 [INFO] [stderr] | [INFO] [stderr] 44 | let (area, score) = simulate_game(program, 0); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/intcode/mod.rs:155:12 [INFO] [stderr] | [INFO] [stderr] 155 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `insert` [INFO] [stderr] --> src/intcode/mod.rs:162:12 [INFO] [stderr] | [INFO] [stderr] 162 | pub fn insert(&mut self, id: u32, vm: VM) -> Option { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `print` [INFO] [stderr] --> src/day12/mod.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | fn print(pos: &Vec<[i32;3]>, vel: &Vec<[i32;3]>, num: usize) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aoc2019-315ce4b8198ebe4b) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aoc2019-c584b1413b839efe) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test day10::tests ... ok [INFO] [stdout] test day11::tests ... ok [INFO] [stdout] test day12::tests ... ok [INFO] [stdout] test day13::tests ... ok [INFO] [stdout] test day2::tests ... ok [INFO] [stdout] test day6::tests ... ok [INFO] [stdout] test day5::tests ... ok [INFO] [stdout] test day8::tests ... ok [INFO] [stdout] test day9::tests ... ok [INFO] [stdout] test day7::tests ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests aoc2019 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0cde347b0d4544b154c9645ff9c86503c7d7e29dbdea02389439c53c2ca1d480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cde347b0d4544b154c9645ff9c86503c7d7e29dbdea02389439c53c2ca1d480", kill_on_drop: false }` [INFO] [stdout] 0cde347b0d4544b154c9645ff9c86503c7d7e29dbdea02389439c53c2ca1d480