[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoddi%2Fadvent-of-code-2020" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/doddi/advent-of-code-2020 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-12/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f98edbb6d5500ef0429cbe24be4e6501f3538dd81e85effb70ba8818a0273fd [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" "5f98edbb6d5500ef0429cbe24be4e6501f3538dd81e85effb70ba8818a0273fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f98edbb6d5500ef0429cbe24be4e6501f3538dd81e85effb70ba8818a0273fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f98edbb6d5500ef0429cbe24be4e6501f3538dd81e85effb70ba8818a0273fd", kill_on_drop: false }` [INFO] [stdout] 5f98edbb6d5500ef0429cbe24be4e6501f3538dd81e85effb70ba8818a0273fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--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] 41a82fc99dffecd115a8f9fdda062396e261d9751ee9b04129c77f5af3af77cb [INFO] running `Command { std: "docker" "start" "-a" "41a82fc99dffecd115a8f9fdda062396e261d9751ee9b04129c77f5af3af77cb", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking day1 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (1 fix) [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: 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: 6 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: 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.74s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking day1 v0.1.0 (/tmp/fixit) [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: 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: 6 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: 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "41a82fc99dffecd115a8f9fdda062396e261d9751ee9b04129c77f5af3af77cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a82fc99dffecd115a8f9fdda062396e261d9751ee9b04129c77f5af3af77cb", kill_on_drop: false }` [INFO] [stdout] 41a82fc99dffecd115a8f9fdda062396e261d9751ee9b04129c77f5af3af77cb