[INFO] fetching crate gameai 0.0.2... [INFO] checking gameai-0.0.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate gameai 0.0.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate gameai 0.0.2 [INFO] finished tweaking crates.io crate gameai 0.0.2 [INFO] tweaked toml for crates.io crate gameai 0.0.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gameai 0.0.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 68 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cpuprofiler v0.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a5ef053fa54101493b9afb92537fb196be8262d4062f74b6bceb3542b1bfde5 [INFO] running `Command { std: "docker" "start" "-a" "1a5ef053fa54101493b9afb92537fb196be8262d4062f74b6bceb3542b1bfde5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a5ef053fa54101493b9afb92537fb196be8262d4062f74b6bceb3542b1bfde5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a5ef053fa54101493b9afb92537fb196be8262d4062f74b6bceb3542b1bfde5", kill_on_drop: false }` [INFO] [stdout] 1a5ef053fa54101493b9afb92537fb196be8262d4062f74b6bceb3542b1bfde5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 151a423f1055a72da675513c828ea91a818723bd3c43614d548d4330371aed1b [INFO] running `Command { std: "docker" "start" "-a" "151a423f1055a72da675513c828ea91a818723bd3c43614d548d4330371aed1b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling cpuprofiler v0.0.4 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking gameai v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand::XorShiftRng` [INFO] [stdout] --> src/strategies/negamax.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::XorShiftRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `XorShiftRng` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::XorShiftRng` [INFO] [stdout] --> src/strategies/mcts.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{Rng, XorShiftRng}; [INFO] [stdout] | ^^^^^^^^^^^ no `XorShiftRng` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::XorShiftRng` [INFO] [stdout] --> src/strategies/mcts_parallel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::XorShiftRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `XorShiftRng` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::XorShiftRng` [INFO] [stdout] --> src/strategies/negamax.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::XorShiftRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `XorShiftRng` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::XorShiftRng` [INFO] [stdout] --> src/strategies/mcts.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{Rng, XorShiftRng}; [INFO] [stdout] | ^^^^^^^^^^^ no `XorShiftRng` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::XorShiftRng` [INFO] [stdout] --> src/strategies/mcts_parallel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::XorShiftRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `XorShiftRng` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/game/connectfour.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl rand::Rand for Color { [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/game/dots.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl rand::Rand for DotsPlayer { [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/game/connectfour.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl rand::Rand for Color { [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/runner.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | G::Agent: Send + rand::Rand + fmt::Display, [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/game/dots.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl rand::Rand for DotsPlayer { [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/runner.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | G::Agent: Send + rand::Rand + fmt::Display, [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | fn parse_move(&self, &str) -> Option; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | fn parse_move(&self, &str) -> Option; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | fn player_weight(&self, &Self::Agent) -> Score; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Agent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | fn agent_id(&self, &Self::Agent) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Agent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | fn new(&Self::Agent) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Agent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | fn move_valid(&self, &Self::Move) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Move` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | fn apply(&mut self, Self::Move); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Move` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/strategies/mod.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | fn decide(&mut self, &G) -> G::Move; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &G` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/strategies/mod.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | fn create(Self::Params) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Params` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | fn player_weight(&self, &Self::Agent) -> Score; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Agent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | fn agent_id(&self, &Self::Agent) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Agent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | fn new(&Self::Agent) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Agent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | fn move_valid(&self, &Self::Move) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Move` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | fn apply(&mut self, Self::Move); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Move` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/strategies/mod.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | fn decide(&mut self, &G) -> G::Move; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &G` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/strategies/mod.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | fn create(Self::Params) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Params` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | pub type Plr<'a, G> = &'a mut Player; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 | pub type Plr<'a, G> = &'a mut dyn Player; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | pub type Plr<'a, G> = &'a mut Player; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 | pub type Plr<'a, G> = &'a mut dyn Player; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gameai` (lib test) due to 6 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gameai` (lib) due to 6 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "151a423f1055a72da675513c828ea91a818723bd3c43614d548d4330371aed1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "151a423f1055a72da675513c828ea91a818723bd3c43614d548d4330371aed1b", kill_on_drop: false }` [INFO] [stdout] 151a423f1055a72da675513c828ea91a818723bd3c43614d548d4330371aed1b