[INFO] cloning repository https://github.com/kamn/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/kamn/advent_of_code_2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamn%2Fadvent_of_code_2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamn%2Fadvent_of_code_2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 034a5e360bc8ce4cf08f739da4df6d7384671312 [INFO] testing kamn/advent_of_code_2019 against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamn%2Fadvent_of_code_2019" "/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/kamn/advent_of_code_2019 on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kamn/advent_of_code_2019 [INFO] finished tweaking git repo https://github.com/kamn/advent_of_code_2019 [INFO] tweaked toml for git repo https://github.com/kamn/advent_of_code_2019 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kamn/advent_of_code_2019 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc3c2b2dbda713179096aa33ae48709867771f426d34736b30101828e35abe85 [INFO] running `Command { std: "docker" "start" "-a" "dc3c2b2dbda713179096aa33ae48709867771f426d34736b30101828e35abe85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc3c2b2dbda713179096aa33ae48709867771f426d34736b30101828e35abe85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc3c2b2dbda713179096aa33ae48709867771f426d34736b30101828e35abe85", kill_on_drop: false }` [INFO] [stdout] dc3c2b2dbda713179096aa33ae48709867771f426d34736b30101828e35abe85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f7a9be78f707b496d823bce315e66c1ebc5e7172fdb0479ca0684067a30635d [INFO] running `Command { std: "docker" "start" "-a" "6f7a9be78f707b496d823bce315e66c1ebc5e7172fdb0479ca0684067a30635d", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code_2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day10b.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | if (formula == (-2,-1)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - if (formula == (-2,-1)) { [INFO] [stdout] 80 + if formula == (-2,-1) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day10b.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | let fx = (x as f32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - let fx = (x as f32); [INFO] [stdout] 121 + let fx = x as f32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day12a.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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::HashMap` [INFO] [stdout] --> src/day12b.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Rem` [INFO] [stdout] --> src/day12b.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Rem; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day12b.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | if (steps == 2){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - if (steps == 2){ [INFO] [stdout] 144 + if steps == 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day12b.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | if (original_a == *moon_a && original_b == *moon_b && original_c == *moon_c && original_d == *moon_d) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - if (original_a == *moon_a && original_b == *moon_b && original_c == *moon_c && original_d == *moon_d) { [INFO] [stdout] 149 + if original_a == *moon_a && original_b == *moon_b && original_c == *moon_c && original_d == *moon_d { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day12b.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | if (originals[0] == moons[0] && originals[1] == moons[1] && originals[2] == moons[2] && originals[3] == moons[3]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 208 - if (originals[0] == moons[0] && originals[1] == moons[1] && originals[2] == moons[2] && originals[3] == moons[3]) { [INFO] [stdout] 208 + if originals[0] == moons[0] && originals[1] == moons[1] && originals[2] == moons[2] && originals[3] == moons[3] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day10b.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let mut non_sorted_vec = get_sorted_formulas(map.clone(), (28, 29)); [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: `i` [INFO] [stdout] --> src/day12a.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | for (i, line) in lines.into_iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moon_a` [INFO] [stdout] --> src/day12a.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let moon_a = &mut moons[0]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moon_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moon_b` [INFO] [stdout] --> src/day12a.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let moon_b = &mut moons[1]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moon_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moon_c` [INFO] [stdout] --> src/day12a.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let moon_c = &mut moons[2]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moon_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moon_d` [INFO] [stdout] --> src/day12a.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let moon_d = &mut moons[3]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moon_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day12a.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let mut moon_x = &mut moons[0]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/day12a.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | for t in 0..steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day12a.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | fn physics_step(mut moons : &mut Vec, steps : i32) -> Vec { [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/day12b.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | fn physics_step(mut moons : &mut Vec) -> i64 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AsteroidInfoScanner` is never constructed [INFO] [stdout] --> src/day10a.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct AsteroidInfoScanner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2019` (bin "advent_of_code_2019"); 19 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/1.85.0-x86_64-unknown-linux-gnu/bin/rustc --crate-name advent_of_code_2019 --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=1a82339403b09ece -C extra-filename=-c10aef61d0acf87c --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "6f7a9be78f707b496d823bce315e66c1ebc5e7172fdb0479ca0684067a30635d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f7a9be78f707b496d823bce315e66c1ebc5e7172fdb0479ca0684067a30635d", kill_on_drop: false }` [INFO] [stdout] 6f7a9be78f707b496d823bce315e66c1ebc5e7172fdb0479ca0684067a30635d