[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 master#80399064afa4a2cd153f30d02c25f7ea0383ed65 for opaque-soundness-fix [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminight%2Fadventofcode2020" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/minight/adventofcode2020 on toolchain 80399064afa4a2cd153f30d02c25f7ea0383ed65 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking minight/adventofcode2020 against master#09bc67b9158392361780e779d32997f14cc75c39 for opaque-soundness-fix [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminight%2Fadventofcode2020" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/minight/adventofcode2020 on toolchain 09bc67b9158392361780e779d32997f14cc75c39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09bc67b9158392361780e779d32997f14cc75c39" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09bc67b9158392361780e779d32997f14cc75c39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking minight/adventofcode2020 against master#09bc67b9158392361780e779d32997f14cc75c39 for opaque-soundness-fix [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminight%2Fadventofcode2020" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/minight/adventofcode2020 on toolchain 09bc67b9158392361780e779d32997f14cc75c39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09bc67b9158392361780e779d32997f14cc75c39" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09bc67b9158392361780e779d32997f14cc75c39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v3.0.0-beta.2 [INFO] [stderr] Downloaded clap_derive v3.0.0-beta.2 [INFO] [stderr] Downloaded indexmap v1.6.0 [INFO] [stderr] Downloaded os_str_bytes v2.4.0 [INFO] [stderr] Downloaded textwrap v0.12.1 [INFO] [stderr] Downloaded syn v1.0.53 [INFO] [stderr] Downloaded libc v0.2.80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+09bc67b9158392361780e779d32997f14cc75c39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a7fee5dbb83ea63beb6bcbfa835e92beb68a354a0847c2d83424025a668cffd [INFO] running `Command { std: "docker" "start" "-a" "7a7fee5dbb83ea63beb6bcbfa835e92beb68a354a0847c2d83424025a668cffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a7fee5dbb83ea63beb6bcbfa835e92beb68a354a0847c2d83424025a668cffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a7fee5dbb83ea63beb6bcbfa835e92beb68a354a0847c2d83424025a668cffd", kill_on_drop: false }` [INFO] [stdout] 7a7fee5dbb83ea63beb6bcbfa835e92beb68a354a0847c2d83424025a668cffd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+09bc67b9158392361780e779d32997f14cc75c39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d361c948115ae921aa09219cc83f50b830edb44842cfcaa948625c5be8086c9e [INFO] running `Command { std: "docker" "start" "-a" "d361c948115ae921aa09219cc83f50b830edb44842cfcaa948625c5be8086c9e", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [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] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/day_3_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: unused variable: `target` [INFO] [stdout] --> src/bin/day_3_1.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let target = 2020; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/bin/day_3_1.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let end = lines.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [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: 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: 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: unreachable pattern [INFO] [stdout] --> src/bin/day_4_2.rs:50:81 [INFO] [stdout] | [INFO] [stdout] 50 | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '0' | 'a' | 'b' [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/day_4_2.rs:66:81 [INFO] [stdout] | [INFO] [stdout] 66 | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '0' => {} [INFO] [stdout] | ^^^ [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: 3 warnings emitted [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [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: unused variable: `max` [INFO] [stdout] --> src/bin/day_5_2.rs:68:13 [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 `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: unreachable pattern [INFO] [stdout] --> src/bin/day_4_2.rs:50:81 [INFO] [stdout] | [INFO] [stdout] 50 | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '0' | 'a' | 'b' [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/day_4_2.rs:66:81 [INFO] [stdout] | [INFO] [stdout] 66 | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '0' => {} [INFO] [stdout] | ^^^ [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] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/day_3_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] error: expected type, found keyword `true` [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 16 | enum SubCommand { [INFO] [stdout] | ---------- while parsing this enum [INFO] [stdout] 17 | #[clap(author="day 1 command")] [INFO] [stdout] 18 | Day1(true), [INFO] [stdout] | ^^^^ expected type [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of: `for`, parentheses, `fn`, `unsafe`, `extern`, identifier, `::`, `<`, square brackets, `*`, `&`, `!`, `impl`, `_`, lifetime [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Day1(true), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found keyword `true` [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 16 | enum SubCommand { [INFO] [stdout] | ---------- while parsing this enum [INFO] [stdout] 17 | #[clap(author="day 1 command")] [INFO] [stdout] 18 | Day1(true), [INFO] [stdout] | ^^^^ expected type [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/bin/day_3_1.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let target = 2020; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/bin/day_3_1.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let end = lines.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of: `for`, parentheses, `fn`, `unsafe`, `extern`, identifier, `::`, `<`, square brackets, `*`, `&`, `!`, `impl`, `_`, lifetime [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Day1(true), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::days` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::days::day1; [INFO] [stdout] | ^^^^ could not find `days` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::days` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::days::day1; [INFO] [stdout] | ^^^^ could not find `days` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SubCommand: Subcommand` is not satisfied [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | subcmd: SubCommand, [INFO] [stdout] | ^^^^^^^^^^ the trait `Subcommand` is not implemented for `SubCommand` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Subcommand` is implemented for `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 1 field, but the corresponding tuple variant has 0 fields [INFO] [stdout] --> src/main.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 18 | Day1(true), [INFO] [stdout] | ---- tuple variant has 0 fields [INFO] [stdout] ... [INFO] [stdout] 26 | SubCommand::Day1(d) => { [INFO] [stdout] | ^ expected 0 fields, found 1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/bin/day_5_2.rs:68:13 [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] error[E0277]: the trait bound `SubCommand: Subcommand` is not satisfied [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | subcmd: SubCommand, [INFO] [stdout] | ^^^^^^^^^^ the trait `Subcommand` is not implemented for `SubCommand` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Subcommand` is implemented for `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 1 field, but the corresponding tuple variant has 0 fields [INFO] [stdout] --> src/main.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 18 | Day1(true), [INFO] [stdout] | ---- tuple variant has 0 fields [INFO] [stdout] ... [INFO] [stdout] 26 | SubCommand::Day1(d) => { [INFO] [stdout] | ^ expected 0 fields, found 1 [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] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` (bin "aoc" test) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc` (bin "aoc") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d361c948115ae921aa09219cc83f50b830edb44842cfcaa948625c5be8086c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d361c948115ae921aa09219cc83f50b830edb44842cfcaa948625c5be8086c9e", kill_on_drop: false }` [INFO] [stdout] d361c948115ae921aa09219cc83f50b830edb44842cfcaa948625c5be8086c9e