[INFO] cloning repository https://github.com/doddi/advent-of-code-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/doddi/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoddi%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoddi%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fa33f7e6e17822de839f2093758e913277622f2 [INFO] checking doddi/advent-of-code-2020 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoddi%2Fadvent-of-code-2020" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/doddi/advent-of-code-2020 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/doddi/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/doddi/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/doddi/advent-of-code-2020 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/doddi/advent-of-code-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a88586b6c3ed86b803d502cbed56ee81ff49f887f58fac0b4c33d49efa80c803 [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" "a88586b6c3ed86b803d502cbed56ee81ff49f887f58fac0b4c33d49efa80c803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a88586b6c3ed86b803d502cbed56ee81ff49f887f58fac0b4c33d49efa80c803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a88586b6c3ed86b803d502cbed56ee81ff49f887f58fac0b4c33d49efa80c803", kill_on_drop: false }` [INFO] [stdout] a88586b6c3ed86b803d502cbed56ee81ff49f887f58fac0b4c33d49efa80c803 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e68208a8660f2c1bb3e83bf8bdb74f27dd9df7c55e1760509ef1699457c48df0 [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" "e68208a8660f2c1bb3e83bf8bdb74f27dd9df7c55e1760509ef1699457c48df0", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking day1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `finished` is never read [INFO] [stdout] --> src/main.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | finished = true; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut line_count: u128 = map.len() as u128; [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: field is never read: `cid` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | cid: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkPassportId` should have a snake case name [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn checkPassportId(passport_id: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_passport_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkEyeColour` should have a snake case name [INFO] [stdout] --> src/main.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn checkEyeColour(eye: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_eye_colour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkHairColour` should have a snake case name [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn checkHairColour(colour: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_hair_colour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkYear` should have a snake case name [INFO] [stdout] --> src/main.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn checkYear(value: String, min: u32, max: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `check_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkHeight` should have a snake case name [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn checkHeight(value: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `check_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `finished` is never read [INFO] [stdout] --> src/main.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | finished = true; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut line_count: u128 = map.len() as u128; [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: field is never read: `cid` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | cid: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkPassportId` should have a snake case name [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn checkPassportId(passport_id: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_passport_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkEyeColour` should have a snake case name [INFO] [stdout] --> src/main.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn checkEyeColour(eye: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_eye_colour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkHairColour` should have a snake case name [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn checkHairColour(colour: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_hair_colour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkYear` should have a snake case name [INFO] [stdout] --> src/main.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn checkYear(value: String, min: u32, max: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `check_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkHeight` should have a snake case name [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn checkHeight(value: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `check_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.16s [INFO] running `Command { std: "docker" "inspect" "e68208a8660f2c1bb3e83bf8bdb74f27dd9df7c55e1760509ef1699457c48df0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e68208a8660f2c1bb3e83bf8bdb74f27dd9df7c55e1760509ef1699457c48df0", kill_on_drop: false }` [INFO] [stdout] e68208a8660f2c1bb3e83bf8bdb74f27dd9df7c55e1760509ef1699457c48df0