[INFO] cloning repository https://github.com/Noah-Joubert/rust-Advent-of-Code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Noah-Joubert/rust-Advent-of-Code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah-Joubert%2Frust-Advent-of-Code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah-Joubert%2Frust-Advent-of-Code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ee87fcb9ef0560af7ddd1ee47987ce66b073d66 [INFO] testing Noah-Joubert/rust-Advent-of-Code against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah-Joubert%2Frust-Advent-of-Code" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Noah-Joubert/rust-Advent-of-Code [INFO] finished tweaking git repo https://github.com/Noah-Joubert/rust-Advent-of-Code [INFO] tweaked toml for git repo https://github.com/Noah-Joubert/rust-Advent-of-Code written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Noah-Joubert/rust-Advent-of-Code on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Noah-Joubert/rust-Advent-of-Code 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded counter v0.5.7 [INFO] [stderr] Downloaded priority-queue v1.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77a5bf10b8ca86ebf1e17aebc224064f0f45d9c668b79e35e3f9be1ed0ea7704 [INFO] running `Command { std: "docker" "start" "-a" "77a5bf10b8ca86ebf1e17aebc224064f0f45d9c668b79e35e3f9be1ed0ea7704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77a5bf10b8ca86ebf1e17aebc224064f0f45d9c668b79e35e3f9be1ed0ea7704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77a5bf10b8ca86ebf1e17aebc224064f0f45d9c668b79e35e3f9be1ed0ea7704", kill_on_drop: false }` [INFO] [stdout] 77a5bf10b8ca86ebf1e17aebc224064f0f45d9c668b79e35e3f9be1ed0ea7704 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8799c51971a2b27d464385ee6561b23663da7802dc2087dfb9f35afb184c5f12 [INFO] running `Command { std: "docker" "start" "-a" "8799c51971a2b27d464385ee6561b23663da7802dc2087dfb9f35afb184c5f12", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling counter v0.5.7 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling Advent_of_Code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut puzzle: Vec> = file_data.split(['\n', ',']).map(|s| s.chars().collect()).collect(); [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let (mut i, mut j): (i32, i32) = [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | let (mut i, mut j): (i32, i32) = [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/bin/day19.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Workflow { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.05s [INFO] running `Command { std: "docker" "inspect" "8799c51971a2b27d464385ee6561b23663da7802dc2087dfb9f35afb184c5f12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8799c51971a2b27d464385ee6561b23663da7802dc2087dfb9f35afb184c5f12", kill_on_drop: false }` [INFO] [stdout] 8799c51971a2b27d464385ee6561b23663da7802dc2087dfb9f35afb184c5f12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed51ae97d9c18fec501f07dfc2c1401a24eff3e0db7a6e884b9935ffbd8cf07f [INFO] running `Command { std: "docker" "start" "-a" "ed51ae97d9c18fec501f07dfc2c1401a24eff3e0db7a6e884b9935ffbd8cf07f", kill_on_drop: false }` [INFO] [stderr] Compiling Advent_of_Code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut puzzle: Vec> = file_data.split(['\n', ',']).map(|s| s.chars().collect()).collect(); [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let (mut i, mut j): (i32, i32) = [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | let (mut i, mut j): (i32, i32) = [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/bin/day19.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Workflow { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:195:37 [INFO] [stdout] | [INFO] [stdout] 195 | assert_eq!(hand_score("AAAAA"), 5); [INFO] [stdout] | ^ expected `Hands`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Hands` doesn't implement `Debug` [INFO] [stdout] --> src/bin/day7.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | assert_eq!(hand_score("AAAAA"), 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Hands` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Hands` or manually `impl Debug for Hands` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Hands` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(Debug)] [INFO] [stdout] 8 | enum Hands { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:196:37 [INFO] [stdout] | [INFO] [stdout] 196 | assert_eq!(hand_score("AABAA"), 4); [INFO] [stdout] | ^ expected `Hands`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Hands` doesn't implement `Debug` [INFO] [stdout] --> src/bin/day7.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | assert_eq!(hand_score("AABAA"), 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Hands` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Hands` or manually `impl Debug for Hands` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Hands` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(Debug)] [INFO] [stdout] 8 | enum Hands { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:197:37 [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!(hand_score("AABBA"), 3); [INFO] [stdout] | ^ expected `Hands`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Hands` doesn't implement `Debug` [INFO] [stdout] --> src/bin/day7.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!(hand_score("AABBA"), 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Hands` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Hands` or manually `impl Debug for Hands` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Hands` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(Debug)] [INFO] [stdout] 8 | enum Hands { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 198 | assert_eq!(hand_score("CCCTK"), 2); [INFO] [stdout] | ^ expected `Hands`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Hands` doesn't implement `Debug` [INFO] [stdout] --> src/bin/day7.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | assert_eq!(hand_score("CCCTK"), 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Hands` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Hands` or manually `impl Debug for Hands` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Hands` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(Debug)] [INFO] [stdout] 8 | enum Hands { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:199:37 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(hand_score("TTCCO"), 1); [INFO] [stdout] | ^ expected `Hands`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Hands` doesn't implement `Debug` [INFO] [stdout] --> src/bin/day7.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(hand_score("TTCCO"), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Hands` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Hands` or manually `impl Debug for Hands` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Hands` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(Debug)] [INFO] [stdout] 8 | enum Hands { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:200:37 [INFO] [stdout] | [INFO] [stdout] 200 | assert_eq!(hand_score("FFMLO"), 0); [INFO] [stdout] | ^ expected `Hands`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Hands` doesn't implement `Debug` [INFO] [stdout] --> src/bin/day7.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | assert_eq!(hand_score("FFMLO"), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Hands` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Hands` or manually `impl Debug for Hands` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Hands` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(Debug)] [INFO] [stdout] 8 | enum Hands { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:201:37 [INFO] [stdout] | [INFO] [stdout] 201 | assert_eq!(hand_score("A2345"), -1); [INFO] [stdout] | ^^ expected `Hands`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Hands` doesn't implement `Debug` [INFO] [stdout] --> src/bin/day7.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | assert_eq!(hand_score("A2345"), -1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Hands` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Hands` or manually `impl Debug for Hands` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Hands` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(Debug)] [INFO] [stdout] 8 | enum Hands { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Advent_of_Code` (bin "day7" test) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ed51ae97d9c18fec501f07dfc2c1401a24eff3e0db7a6e884b9935ffbd8cf07f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed51ae97d9c18fec501f07dfc2c1401a24eff3e0db7a6e884b9935ffbd8cf07f", kill_on_drop: false }` [INFO] [stdout] ed51ae97d9c18fec501f07dfc2c1401a24eff3e0db7a6e884b9935ffbd8cf07f