[INFO] cloning repository https://github.com/arjandepooter/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/arjandepooter/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farjandepooter%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farjandepooter%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] afe8336794feb4f6781ee124fa93643958bdf4bb [INFO] checking arjandepooter/advent-of-code-2020/afe8336794feb4f6781ee124fa93643958bdf4bb against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farjandepooter%2Fadvent-of-code-2020" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arjandepooter/advent-of-code-2020 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/arjandepooter/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/arjandepooter/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/arjandepooter/advent-of-code-2020 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/arjandepooter/advent-of-code-2020 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itertools v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a594421ce22208e13bf014fb8b62d281c367bc2d1c01d2117d5608b2fe0baacf [INFO] running `Command { std: "docker" "start" "-a" "a594421ce22208e13bf014fb8b62d281c367bc2d1c01d2117d5608b2fe0baacf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a594421ce22208e13bf014fb8b62d281c367bc2d1c01d2117d5608b2fe0baacf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a594421ce22208e13bf014fb8b62d281c367bc2d1c01d2117d5608b2fe0baacf", kill_on_drop: false }` [INFO] [stdout] a594421ce22208e13bf014fb8b62d281c367bc2d1c01d2117d5608b2fe0baacf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de17d930e95187cf9d6f264184f86fbfb1fc8b922dbe6a2cba02c8f72cf59bc0 [INFO] running `Command { std: "docker" "start" "-a" "de17d930e95187cf9d6f264184f86fbfb1fc8b922dbe6a2cba02c8f72cf59bc0", kill_on_drop: false }` [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking day01 v0.1.0 (/opt/rustwide/workdir/day01) [INFO] [stderr] Checking day05 v0.1.0 (/opt/rustwide/workdir/day05) [INFO] [stderr] Checking day02 v0.1.0 (/opt/rustwide/workdir/day02) [INFO] [stderr] Checking day04 v0.1.0 (/opt/rustwide/workdir/day04) [INFO] [stderr] Checking day03 v0.1.0 (/opt/rustwide/workdir/day03) [INFO] [stdout] warning: the feature `str_split_once` has been stable since 1.52.0 and no longer requires an attribute to enable [INFO] [stdout] --> day02/src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(str_split_once)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `str_split_once` has been stable since 1.52.0 and no longer requires an attribute to enable [INFO] [stdout] --> day02/src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(str_split_once)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `str_split_once` has been stable since 1.52.0 and no longer requires an attribute to enable [INFO] [stdout] --> day04/src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(str_split_once)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `str_split_once` has been stable since 1.52.0 and no longer requires an attribute to enable [INFO] [stdout] --> day04/src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(str_split_once)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stdout] error[E0437]: type `Ok` is not a member of trait `Try` [INFO] [stdout] --> shared/src/foldresult.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | type Ok = T; [INFO] [stdout] | ^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Error` is not a member of trait `Try` [INFO] [stdout] --> shared/src/foldresult.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | type Error = T; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `into_result` is not a member of trait `Try` [INFO] [stdout] --> shared/src/foldresult.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / fn into_result(self) -> Result { [INFO] [stdout] 24 | | match self { [INFO] [stdout] 25 | | FoldResult::Continue(v) => Ok(v), [INFO] [stdout] 26 | | FoldResult::Stop(v) => Err(v), [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_error` is not a member of trait `Try` [INFO] [stdout] --> shared/src/foldresult.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / fn from_error(v: Self::Error) -> Self { [INFO] [stdout] 31 | | FoldResult::Stop(v) [INFO] [stdout] 32 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_ok` is not a member of trait `Try` [INFO] [stdout] --> shared/src/foldresult.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] 35 | | FoldResult::Continue(v) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Ok` is not a member of trait `Try` [INFO] [stdout] --> shared/src/foldresult.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | type Ok = T; [INFO] [stdout] | ^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Error` is not a member of trait `Try` [INFO] [stdout] --> shared/src/foldresult.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | type Error = T; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `into_result` is not a member of trait `Try` [INFO] [stdout] --> shared/src/foldresult.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / fn into_result(self) -> Result { [INFO] [stdout] 24 | | match self { [INFO] [stdout] 25 | | FoldResult::Continue(v) => Ok(v), [INFO] [stdout] 26 | | FoldResult::Stop(v) => Err(v), [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_error` is not a member of trait `Try` [INFO] [stdout] --> shared/src/foldresult.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / fn from_error(v: Self::Error) -> Self { [INFO] [stdout] 31 | | FoldResult::Stop(v) [INFO] [stdout] 32 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_ok` is not a member of trait `Try` [INFO] [stdout] --> shared/src/foldresult.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] 35 | | FoldResult::Continue(v) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> shared/src/foldresult.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Try; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> shared/src/foldresult.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | impl Try for FoldResult { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> shared/src/foldresult.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Try; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> shared/src/foldresult.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | impl Try for FoldResult { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `try_trait` [INFO] [stdout] --> shared/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `try_trait` [INFO] [stdout] --> shared/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Self` [INFO] [stdout] --> shared/src/foldresult.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | fn into_result(self) -> Result { [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Self` [INFO] [stdout] --> shared/src/foldresult.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | fn into_result(self) -> Result { [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> shared/src/foldresult.rs:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | fn into_result(self) -> Result { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> shared/src/foldresult.rs:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | fn into_result(self) -> Result { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> shared/src/foldresult.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | fn from_error(v: Self::Error) -> Self { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> shared/src/foldresult.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | fn from_error(v: Self::Error) -> Self { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Self` [INFO] [stdout] --> shared/src/foldresult.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Self` [INFO] [stdout] --> shared/src/foldresult.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Output`, `Residual`, `from_output`, `branch` [INFO] [stdout] --> shared/src/foldresult.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | impl Try for FoldResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Output`, `Residual`, `from_output`, `branch` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Output = /* Type */;` [INFO] [stdout] = help: implement the missing item: `type Residual = /* Type */;` [INFO] [stdout] = help: implement the missing item: `fn from_output(_: ::Output) -> Self { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn branch(self) -> ControlFlow<::Residual, ::Output> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Output`, `Residual`, `from_output`, `branch` [INFO] [stdout] --> shared/src/foldresult.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | impl Try for FoldResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Output`, `Residual`, `from_output`, `branch` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Output = /* Type */;` [INFO] [stdout] = help: implement the missing item: `type Residual = /* Type */;` [INFO] [stdout] = help: implement the missing item: `fn from_output(_: ::Output) -> Self { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn branch(self) -> ControlFlow<::Residual, ::Output> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0220, E0407, E0437, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0220, E0407, E0437, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shared` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `shared` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "de17d930e95187cf9d6f264184f86fbfb1fc8b922dbe6a2cba02c8f72cf59bc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de17d930e95187cf9d6f264184f86fbfb1fc8b922dbe6a2cba02c8f72cf59bc0", kill_on_drop: false }` [INFO] [stdout] de17d930e95187cf9d6f264184f86fbfb1fc8b922dbe6a2cba02c8f72cf59bc0