[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#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJelteF%2Fpokers" "/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/JelteF/pokers on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-2-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b8cee2f551cb6533eeb3b56fea36beb7b4dc25206b964a0201241e9d0738085 [INFO] running `Command { std: "docker" "start" "-a" "0b8cee2f551cb6533eeb3b56fea36beb7b4dc25206b964a0201241e9d0738085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b8cee2f551cb6533eeb3b56fea36beb7b4dc25206b964a0201241e9d0738085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b8cee2f551cb6533eeb3b56fea36beb7b4dc25206b964a0201241e9d0738085", kill_on_drop: false }` [INFO] [stdout] 0b8cee2f551cb6533eeb3b56fea36beb7b4dc25206b964a0201241e9d0738085 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75e1e421e0a433c0c0897c26faebdee68a5421e94b8914e140583b60fbaffa00 [INFO] running `Command { std: "docker" "start" "-a" "75e1e421e0a433c0c0897c26faebdee68a5421e94b8914e140583b60fbaffa00", 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: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[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[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] 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[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[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] 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] 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 test) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pokers` (lib) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "75e1e421e0a433c0c0897c26faebdee68a5421e94b8914e140583b60fbaffa00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75e1e421e0a433c0c0897c26faebdee68a5421e94b8914e140583b60fbaffa00", kill_on_drop: false }` [INFO] [stdout] 75e1e421e0a433c0c0897c26faebdee68a5421e94b8914e140583b60fbaffa00