[INFO] cloning repository https://github.com/JelteF/pokers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JelteF/pokers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJelteF%2Fpokers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJelteF%2Fpokers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f76edc103575f438ccf45e8962b127baab1cd9c [INFO] checking JelteF/pokers/4f76edc103575f438ccf45e8962b127baab1cd9c against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJelteF%2Fpokers" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JelteF/pokers 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] started tweaking git repo https://github.com/JelteF/pokers [INFO] finished tweaking git repo https://github.com/JelteF/pokers [INFO] tweaked toml for git repo https://github.com/JelteF/pokers written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JelteF/pokers 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee1ecc38f637eefa9c18173e5df1143810c58079fc1a7a849b22b3b5f396d9f9 [INFO] running `Command { std: "docker" "start" "-a" "ee1ecc38f637eefa9c18173e5df1143810c58079fc1a7a849b22b3b5f396d9f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee1ecc38f637eefa9c18173e5df1143810c58079fc1a7a849b22b3b5f396d9f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee1ecc38f637eefa9c18173e5df1143810c58079fc1a7a849b22b3b5f396d9f9", kill_on_drop: false }` [INFO] [stdout] ee1ecc38f637eefa9c18173e5df1143810c58079fc1a7a849b22b3b5f396d9f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 852cb3a57ec90bed4161e78d235254036d1119564112961f21f6a093a4484f45 [INFO] running `Command { std: "docker" "start" "-a" "852cb3a57ec90bed4161e78d235254036d1119564112961f21f6a093a4484f45", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking pokers v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0178]: expected a path on the left-hand side of `+`, not `&'a mut Iterator<(u8, u8)>` [INFO] [stdout] --> src/cards.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | pub main_iterator: &'a mut Iterator<(u8, u8)> +'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try adding parentheses [INFO] [stdout] | [INFO] [stdout] 10 | pub main_iterator: &'a mut (Iterator<(u8, u8)> +'a), [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0178]: expected a path on the left-hand side of `+`, not `&'a mut Iterator<(u8, u8)>` [INFO] [stdout] --> src/cards.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | pub main_iterator: &'a mut Iterator<(u8, u8)> +'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try adding parentheses [INFO] [stdout] | [INFO] [stdout] 10 | pub main_iterator: &'a mut (Iterator<(u8, u8)> +'a), [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/cards.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/cards.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope [INFO] [stdout] --> src/cards.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | fn partial_cmp(&self, other: &Card) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope [INFO] [stdout] --> src/cards.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | fn partial_cmp(&self, other: &Card) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope [INFO] [stdout] --> src/cards.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | fn cmp(&self, other: &Card) -> Ordering{ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/cards.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | impl fmt::Show for Card { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope [INFO] [stdout] --> src/cards.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | fn cmp(&self, other: &Card) -> Ordering{ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/cards.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | impl fmt::Show for Card { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/cards.rs:47:64 [INFO] [stdout] | [INFO] [stdout] 46 | impl<'a> BasicCardIterator<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 47 | fn new>(main_iterator: &'a mut T) -> BasicCardIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/cards.rs:47:64 [INFO] [stdout] | [INFO] [stdout] 46 | impl<'a> BasicCardIterator<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 47 | fn new>(main_iterator: &'a mut T) -> BasicCardIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cards.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | num @ 2 ... 10 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cards.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | num @ 2 ... 10 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cards.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub main_iterator: &'a mut Iterator<(u8, u8)> +'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | pub main_iterator: &'a mut dyn Iterator<(u8, u8)> +'a, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cards.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub main_iterator: &'a mut Iterator<(u8, u8)> +'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | pub main_iterator: &'a mut dyn Iterator<(u8, u8)> +'a, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/cards.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub main_iterator: &'a mut Iterator<(u8, u8)> +'a, [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] help: replace the generic bound with the associated type [INFO] [stdout] | [INFO] [stdout] 10 | pub main_iterator: &'a mut Iterator +'a, [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/cards.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub main_iterator: &'a mut Iterator<(u8, u8)> +'a, [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] help: replace the generic bound with the associated type [INFO] [stdout] | [INFO] [stdout] 10 | pub main_iterator: &'a mut Iterator +'a, [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Item` in `Iterator` must be specified [INFO] [stdout] --> src/cards.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub main_iterator: &'a mut Iterator<(u8, u8)> +'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ associated type `Item` must be specified [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Item` in `Iterator` must be specified [INFO] [stdout] --> src/cards.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub main_iterator: &'a mut Iterator<(u8, u8)> +'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ associated type `Item` must be specified [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/cards.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'a> Iterator for BasicCardIterator<'a> { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/cards.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'a> Iterator for BasicCardIterator<'a> { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item` [INFO] [stdout] --> src/cards.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'a> Iterator for BasicCardIterator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Item = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item` [INFO] [stdout] --> src/cards.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'a> Iterator for BasicCardIterator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Item = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0178, E0191, E0405, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0178, E0191, E0405, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pokers` (lib) due to 10 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pokers` (lib test) due to 10 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "852cb3a57ec90bed4161e78d235254036d1119564112961f21f6a093a4484f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "852cb3a57ec90bed4161e78d235254036d1119564112961f21f6a093a4484f45", kill_on_drop: false }` [INFO] [stdout] 852cb3a57ec90bed4161e78d235254036d1119564112961f21f6a093a4484f45