[INFO] cloning repository https://github.com/hlinander/aoc2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hlinander/aoc2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhlinander%2Faoc2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhlinander%2Faoc2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d44d21996ee2d2ad51a859b2f942ed350ed17e82 [INFO] checking hlinander/aoc2019 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhlinander%2Faoc2019" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hlinander/aoc2019 [INFO] finished tweaking git repo https://github.com/hlinander/aoc2019 [INFO] tweaked toml for git repo https://github.com/hlinander/aoc2019 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hlinander/aoc2019 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hlinander/aoc2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arrayvec v0.5.1 [INFO] [stderr] Downloaded autocfg v0.1.7 [INFO] [stderr] Downloaded rusttype v0.7.9 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded stb_truetype v0.3.1 [INFO] [stderr] Downloaded color_quant v1.0.1 [INFO] [stderr] Downloaded gif v0.10.3 [INFO] [stderr] Downloaded conv v0.3.3 [INFO] [stderr] Downloaded jpeg-decoder v0.1.16 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded itertools v0.7.11 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded num-bigint v0.2.3 [INFO] [stderr] Downloaded rayon-core v1.6.1 [INFO] [stderr] Downloaded deflate v0.7.20 [INFO] [stderr] Downloaded image v0.22.3 [INFO] [stderr] Downloaded rayon v1.2.1 [INFO] [stderr] Downloaded num-traits v0.2.10 [INFO] [stderr] Downloaded png v0.15.2 [INFO] [stderr] Downloaded num-rational v0.2.2 [INFO] [stderr] Downloaded crossbeam-queue v0.2.0 [INFO] [stderr] Downloaded num-integer v0.1.41 [INFO] [stderr] Downloaded rusttype v0.8.2 [INFO] [stderr] Downloaded crc32fast v1.2.0 [INFO] [stderr] Downloaded num-derive v0.2.5 [INFO] [stderr] Downloaded tiff v0.3.1 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded num_cpus v1.11.1 [INFO] [stderr] Downloaded num-complex v0.2.3 [INFO] [stderr] Downloaded scopeguard v1.0.0 [INFO] [stderr] Downloaded libc v0.2.66 [INFO] [stderr] Downloaded num-iter v0.1.39 [INFO] [stderr] Downloaded ordered-float v1.0.2 [INFO] [stderr] Downloaded byteorder v1.3.2 [INFO] [stderr] Downloaded adler32 v1.0.4 [INFO] [stderr] Downloaded inflate v0.4.5 [INFO] [stderr] Downloaded lzw v0.10.0 [INFO] [stderr] Downloaded num v0.2.0 [INFO] [stderr] Downloaded hermit-abi v0.1.3 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] [stderr] Downloaded imageproc v0.19.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c4e26632d24619c02e70e065edae3fa734d018d63f05b41e4c305f3f7f34e23 [INFO] running `Command { std: "docker" "start" "-a" "5c4e26632d24619c02e70e065edae3fa734d018d63f05b41e4c305f3f7f34e23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c4e26632d24619c02e70e065edae3fa734d018d63f05b41e4c305f3f7f34e23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c4e26632d24619c02e70e065edae3fa734d018d63f05b41e4c305f3f7f34e23", kill_on_drop: false }` [INFO] [stdout] 5c4e26632d24619c02e70e065edae3fa734d018d63f05b41e4c305f3f7f34e23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7de30a4e72de806fd797f28547509669f8b3271076faf91a9d5ef975c97e1b0a [INFO] running `Command { std: "docker" "start" "-a" "7de30a4e72de806fd797f28547509669f8b3271076faf91a9d5ef975c97e1b0a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking png v0.15.2 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking imageproc v0.19.2 [INFO] [stderr] Checking Adventofcode v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/3/3.rs:132:70 [INFO] [stdout] | [INFO] [stdout] 132 | let cs : Vec = intersections.clone().iter().map(|(x, y, d)| ) [INFO] [stdout] | ----------- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the body of this closure [INFO] [stdout] | [INFO] [stdout] help: you might have meant to open the body of the closure [INFO] [stdout] | [INFO] [stdout] 132 | let cs : Vec = intersections.clone().iter().map(|(x, y, d)| { }) [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/1/1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `println` [INFO] [stdout] --> src/3/3.rs:132:71 [INFO] [stdout] | [INFO] [stdout] 132 | let cs : Vec = intersections.clone().iter().map(|(x, y, d)| ) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 133 | println!("{}", mhs[0]); [INFO] [stdout] | ------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/2/2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/2/2.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | while(99 != program[pc]) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 8 - while(99 != program[pc]) [INFO] [stdout] 8 + while 99 != program[pc] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/2/2.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | if(19690720 == execute(program.clone(), i, j)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 - if(19690720 == execute(program.clone(), i, j)) [INFO] [stdout] 49 + if 19690720 == execute(program.clone(), i, j) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/1/1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/3/3.rs:132:70 [INFO] [stdout] | [INFO] [stdout] 132 | let cs : Vec = intersections.clone().iter().map(|(x, y, d)| ) [INFO] [stdout] | ----------- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the body of this closure [INFO] [stdout] | [INFO] [stdout] help: you might have meant to open the body of the closure [INFO] [stdout] | [INFO] [stdout] 132 | let cs : Vec = intersections.clone().iter().map(|(x, y, d)| { }) [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `println` [INFO] [stdout] --> src/3/3.rs:132:71 [INFO] [stdout] | [INFO] [stdout] 132 | let cs : Vec = intersections.clone().iter().map(|(x, y, d)| ) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 133 | println!("{}", mhs[0]); [INFO] [stdout] | ------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/3/3.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `resize` [INFO] [stdout] --> src/3/3.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use image::imageops::{resize}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imageproc::rect::Rect` [INFO] [stdout] --> src/3/3.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use imageproc::rect::Rect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/3/3.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | while(dx != 0 || dy !=0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - while(dx != 0 || dy !=0) [INFO] [stdout] 53 + while dx != 0 || dy !=0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/3/3.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | if(buff[idx] != 0 && buff[idx] != line_index as u8) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - if(buff[idx] != 0 && buff[idx] != line_index as u8) [INFO] [stdout] 57 + if buff[idx] != 0 && buff[idx] != line_index as u8 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/3/3.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | if(dx > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - if(dx > 0) { [INFO] [stdout] 64 + if dx > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/3/3.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | if(dx < 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - if(dx < 0) { [INFO] [stdout] 67 + if dx < 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/3/3.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | if(dy > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - if(dy > 0) { [INFO] [stdout] 70 + if dy > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/3/3.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | if(dy < 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - if(dy < 0) { [INFO] [stdout] 73 + if dy < 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/3/3.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `resize` [INFO] [stdout] --> src/3/3.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use image::imageops::{resize}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imageproc::rect::Rect` [INFO] [stdout] --> src/3/3.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use imageproc::rect::Rect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/3/3.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | while(dx != 0 || dy !=0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - while(dx != 0 || dy !=0) [INFO] [stdout] 53 + while dx != 0 || dy !=0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/3/3.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | if(buff[idx] != 0 && buff[idx] != line_index as u8) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - if(buff[idx] != 0 && buff[idx] != line_index as u8) [INFO] [stdout] 57 + if buff[idx] != 0 && buff[idx] != line_index as u8 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/3/3.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | if(dx > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - if(dx > 0) { [INFO] [stdout] 64 + if dx > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/3/3.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | if(dx < 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - if(dx < 0) { [INFO] [stdout] 67 + if dx < 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/3/3.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | if(dy > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - if(dy > 0) { [INFO] [stdout] 70 + if dy > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/3/3.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | if(dy < 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - if(dy < 0) { [INFO] [stdout] 73 + if dy < 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/2/2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/2/2.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | while(99 != program[pc]) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 8 - while(99 != program[pc]) [INFO] [stdout] 8 + while 99 != program[pc] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/2/2.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | if(19690720 == execute(program.clone(), i, j)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 - if(19690720 == execute(program.clone(), i, j)) [INFO] [stdout] 49 + if 19690720 == execute(program.clone(), i, j) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/2/2.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut program : Vec = data.split(",") [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/2/2.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut program : Vec = data.split(",") [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/3/3.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | fn line(mut buff : &mut Vec, delay: &mut u32, line_index: usize, w: i32, sx : i32, sy: i32, mut dx: i32, mut dy: i32) -> Vec<(i32, i3... [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/3/3.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | fn line(mut buff : &mut Vec, delay: &mut u32, line_index: usize, w: i32, sx : i32, sy: i32, mut dx: i32, mut dy: i32) -> Vec<(i32, i3... [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] [stderr] error: could not compile `Adventofcode` (bin "3") due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `Adventofcode` (bin "3" test) due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7de30a4e72de806fd797f28547509669f8b3271076faf91a9d5ef975c97e1b0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7de30a4e72de806fd797f28547509669f8b3271076faf91a9d5ef975c97e1b0a", kill_on_drop: false }` [INFO] [stdout] 7de30a4e72de806fd797f28547509669f8b3271076faf91a9d5ef975c97e1b0a