[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#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminight%2Fadventofcode2020" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/minight/adventofcode2020 on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61f8dd0043e0e9a0ea956aa76c6b963e1f72f79612d62c35038eae76b4452854 [INFO] running `Command { std: "docker" "start" "-a" "61f8dd0043e0e9a0ea956aa76c6b963e1f72f79612d62c35038eae76b4452854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61f8dd0043e0e9a0ea956aa76c6b963e1f72f79612d62c35038eae76b4452854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61f8dd0043e0e9a0ea956aa76c6b963e1f72f79612d62c35038eae76b4452854", kill_on_drop: false }` [INFO] [stdout] 61f8dd0043e0e9a0ea956aa76c6b963e1f72f79612d62c35038eae76b4452854 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3b74124b34c903962b197e52b20973e18a32f774ae74341dccee75140d702e1 [INFO] running `Command { std: "docker" "start" "-a" "a3b74124b34c903962b197e52b20973e18a32f774ae74341dccee75140d702e1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking indexmap v1.6.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) on by default [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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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: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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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] | --- matches all the relevant values ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) 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] | --- matches all the relevant values ^^^ no value can reach this [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)]` (part of `#[warn(nonstandard_style)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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: 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)]` (part of `#[warn(nonstandard_style)]`) 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] 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] 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: 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] | --- matches all the relevant values ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) 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] | --- matches all the relevant values ^^^ no value can reach this [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 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] 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]` attribute cannot be used on use statements [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to crates, extern crates, and modules [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on use statements [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to crates, extern crates, and modules [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) 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] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Subcommand` is not implemented for `SubCommand` [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | enum SubCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `Subcommand` is implemented for `Box` [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] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Subcommand` is not implemented for `SubCommand` [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | enum 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] 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] 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] 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] [stderr] error: could not compile `aoc` (bin "aoc") due to 5 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" test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a3b74124b34c903962b197e52b20973e18a32f774ae74341dccee75140d702e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3b74124b34c903962b197e52b20973e18a32f774ae74341dccee75140d702e1", kill_on_drop: false }` [INFO] [stdout] a3b74124b34c903962b197e52b20973e18a32f774ae74341dccee75140d702e1