[INFO] cloning repository https://github.com/minight/adventofcode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/minight/adventofcode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminight%2Fadventofcode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminight%2Fadventofcode2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d112a025e8b481155b0cc9ca5868ec9a3dd5dcc4 [INFO] checking minight/adventofcode2020 against try#9cfe725f0995b018340c519db1b2f3cf8a7e0631 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminight%2Fadventofcode2020" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/minight/adventofcode2020 on toolchain 9cfe725f0995b018340c519db1b2f3cf8a7e0631 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/minight/adventofcode2020 [INFO] finished tweaking git repo https://github.com/minight/adventofcode2020 [INFO] tweaked toml for git repo https://github.com/minight/adventofcode2020 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/minight/adventofcode2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad062b4b1c0723605e382296c468c0a92ae76d8394cf17d9f07da7fa28d4b231 [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" "ad062b4b1c0723605e382296c468c0a92ae76d8394cf17d9f07da7fa28d4b231", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad062b4b1c0723605e382296c468c0a92ae76d8394cf17d9f07da7fa28d4b231", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad062b4b1c0723605e382296c468c0a92ae76d8394cf17d9f07da7fa28d4b231", kill_on_drop: false }` [INFO] [stdout] ad062b4b1c0723605e382296c468c0a92ae76d8394cf17d9f07da7fa28d4b231 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 754e8937765bef7c72890b1148ef8557a0f0cdf86696a6e62917d599568074ac [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" "754e8937765bef7c72890b1148ef8557a0f0cdf86696a6e62917d599568074ac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected type, found keyword `true` [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Day1(true), [INFO] [stdout] | ^^^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: expected type, found keyword `true` [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Day1(true), [INFO] [stdout] | ^^^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `left` should have an upper camel case name [INFO] [stdout] --> src/bin/day_5_2.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | left, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Left` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `right` should have an upper camel case name [INFO] [stdout] --> src/bin/day_5_2.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | right, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `left` should have an upper camel case name [INFO] [stdout] --> src/bin/day_5_2.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | left, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Left` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `right` should have an upper camel case name [INFO] [stdout] --> src/bin/day_5_2.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | right, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/bin/day_5_2.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut max = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_5_2.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut max = 0; [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: function `calculatePos` should have a snake case name [INFO] [stdout] --> src/bin/day_5_2.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn calculatePos(start: i32, operations: &[Operation]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FB` should have a snake case name [INFO] [stdout] --> src/bin/day_5_2.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let FB = calculatePos(127, &ops); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `fb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LR` should have a snake case name [INFO] [stdout] --> src/bin/day_5_2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let LR = calculatePos(7, &ops); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `lr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/day_5_1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `left` should have an upper camel case name [INFO] [stdout] --> src/bin/day_5_1.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | left, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Left` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `right` should have an upper camel case name [INFO] [stdout] --> src/bin/day_5_1.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | right, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/bin/day_5_2.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut max = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculatePos` should have a snake case name [INFO] [stdout] --> src/bin/day_5_1.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn calculatePos(start: i32, operations: &[Operation]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FB` should have a snake case name [INFO] [stdout] --> src/bin/day_5_1.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let FB = calculatePos(127, &ops); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `fb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LR` should have a snake case name [INFO] [stdout] --> src/bin/day_5_1.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let LR = calculatePos(7, &ops); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `lr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_5_2.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut max = 0; [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: function `calculatePos` should have a snake case name [INFO] [stdout] --> src/bin/day_5_2.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn calculatePos(start: i32, operations: &[Operation]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FB` should have a snake case name [INFO] [stdout] --> src/bin/day_5_2.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let FB = calculatePos(127, &ops); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `fb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LR` should have a snake case name [INFO] [stdout] --> src/bin/day_5_2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let LR = calculatePos(7, &ops); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `lr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "754e8937765bef7c72890b1148ef8557a0f0cdf86696a6e62917d599568074ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "754e8937765bef7c72890b1148ef8557a0f0cdf86696a6e62917d599568074ac", kill_on_drop: false }` [INFO] [stdout] 754e8937765bef7c72890b1148ef8557a0f0cdf86696a6e62917d599568074ac