[INFO] cloning repository https://github.com/Magnap/game-trees-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Magnap/game-trees-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagnap%2Fgame-trees-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagnap%2Fgame-trees-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 141a0f2d86fef40cf82dafed7b86f340ec5bec95 [INFO] checking Magnap/game-trees-rs/141a0f2d86fef40cf82dafed7b86f340ec5bec95 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagnap%2Fgame-trees-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Magnap/game-trees-rs 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/Magnap/game-trees-rs [INFO] finished tweaking git repo https://github.com/Magnap/game-trees-rs [INFO] tweaked toml for git repo https://github.com/Magnap/game-trees-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Magnap/game-trees-rs 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fnv v1.0.5 [INFO] [stderr] Downloaded itertools v0.6.1 [INFO] [stderr] Downloaded libc v0.2.29 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4986d32d56dac860667ad0c03a8aa2995e1a9baafd96fe385fcfe5b1cb108fd0 [INFO] running `Command { std: "docker" "start" "-a" "4986d32d56dac860667ad0c03a8aa2995e1a9baafd96fe385fcfe5b1cb108fd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4986d32d56dac860667ad0c03a8aa2995e1a9baafd96fe385fcfe5b1cb108fd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4986d32d56dac860667ad0c03a8aa2995e1a9baafd96fe385fcfe5b1cb108fd0", kill_on_drop: false }` [INFO] [stdout] 4986d32d56dac860667ad0c03a8aa2995e1a9baafd96fe385fcfe5b1cb108fd0 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c90d13a9d0d9e8003694581e21c9874cc5f84110ad925ad0cf56a54c59aafc8 [INFO] running `Command { std: "docker" "start" "-a" "7c90d13a9d0d9e8003694581e21c9874cc5f84110ad925ad0cf56a54c59aafc8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Checking libc v0.2.29 [INFO] [stderr] Checking fnv v1.0.5 [INFO] [stderr] Checking itertools v0.6.1 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking game-trees v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:111:61 [INFO] [stdout] | [INFO] [stdout] 111 | let from = &mut self.counts[l.into(): usize]; [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:111:61 [INFO] [stdout] | [INFO] [stdout] 111 | let from = &mut self.counts[l.into(): usize]; [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:119:59 [INFO] [stdout] | [INFO] [stdout] 119 | (if l == Bar { 0 } else { l.into(): usize }) as i8 + n as i8 [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:119:59 [INFO] [stdout] | [INFO] [stdout] 119 | (if l == Bar { 0 } else { l.into(): usize }) as i8 + n as i8 [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:121:60 [INFO] [stdout] | [INFO] [stdout] 121 | (if l == Bar { 25 } else { l.into(): usize }) as i8 - n as i8 [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:121:60 [INFO] [stdout] | [INFO] [stdout] 121 | (if l == Bar { 25 } else { l.into(): usize }) as i8 - n as i8 [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:141:68 [INFO] [stdout] | [INFO] [stdout] 141 | let mut to = &mut self.counts[to_pos.into(): usize]; [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:156:66 [INFO] [stdout] | [INFO] [stdout] 156 | let mut bar = &mut self.counts[Bar.into(): usize]; [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:141:68 [INFO] [stdout] | [INFO] [stdout] 141 | let mut to = &mut self.counts[to_pos.into(): usize]; [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:156:66 [INFO] [stdout] | [INFO] [stdout] 156 | let mut bar = &mut self.counts[Bar.into(): usize]; [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:289:46 [INFO] [stdout] | [INFO] [stdout] 289 | let from_count = self.counts[l.into(): usize]; [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:321:50 [INFO] [stdout] | [INFO] [stdout] 321 | let counts = self.counts[n.into(): usize]; [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:328:42 [INFO] [stdout] | [INFO] [stdout] 328 | let counts = self.counts[l.into(): usize]; [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:333:42 [INFO] [stdout] | [INFO] [stdout] 333 | let counts = self.counts[l.into(): usize]; [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:289:46 [INFO] [stdout] | [INFO] [stdout] 289 | let from_count = self.counts[l.into(): usize]; [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:321:50 [INFO] [stdout] | [INFO] [stdout] 321 | let counts = self.counts[n.into(): usize]; [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:328:42 [INFO] [stdout] | [INFO] [stdout] 328 | let counts = self.counts[l.into(): usize]; [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `:` [INFO] [stdout] --> src/game/backgammon.rs:333:42 [INFO] [stdout] | [INFO] [stdout] 333 | let counts = self.counts[l.into(): usize]; [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [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:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | 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] = 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:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | 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] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mcts_hashtable.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let mut v = self.0.get_mut(s).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mcts_hashtable.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let mut v = self.0.get_mut(s).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `game-trees` (lib) due to 10 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `game-trees` (lib test) due to 10 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7c90d13a9d0d9e8003694581e21c9874cc5f84110ad925ad0cf56a54c59aafc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c90d13a9d0d9e8003694581e21c9874cc5f84110ad925ad0cf56a54c59aafc8", kill_on_drop: false }` [INFO] [stdout] 7c90d13a9d0d9e8003694581e21c9874cc5f84110ad925ad0cf56a54c59aafc8