[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 against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagnap%2Fgame-trees-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Magnap/game-trees-rs on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "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-5-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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Magnap/game-trees-rs against try#3931cbb869e499bf6db1e4d580cc247efbf183df for pr-118920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagnap%2Fgame-trees-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Magnap/game-trees-rs on toolchain 3931cbb869e499bf6db1e4d580cc247efbf183df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "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-5-tc2/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" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 rand v0.3.16 [INFO] [stderr] Downloaded magenta v0.1.1 [INFO] [stderr] Downloaded fnv v1.0.5 [INFO] [stderr] Downloaded magenta-sys v0.1.1 [INFO] [stderr] Downloaded either v1.1.0 [INFO] [stderr] Downloaded libc v0.2.29 [INFO] [stderr] Downloaded itertools v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 456a143732ebb977de0a3b39da126e775b9d324a94d92d530c3111a87e065d60 [INFO] running `Command { std: "docker" "start" "-a" "456a143732ebb977de0a3b39da126e775b9d324a94d92d530c3111a87e065d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "456a143732ebb977de0a3b39da126e775b9d324a94d92d530c3111a87e065d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "456a143732ebb977de0a3b39da126e775b9d324a94d92d530c3111a87e065d60", kill_on_drop: false }` [INFO] [stdout] 456a143732ebb977de0a3b39da126e775b9d324a94d92d530c3111a87e065d60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5b816a38a16912a0062786bf24798d581d0e6efa106d1333de0e105b3b027e2 [INFO] running `Command { std: "docker" "start" "-a" "a5b816a38a16912a0062786bf24798d581d0e6efa106d1333de0e105b3b027e2", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.29 [INFO] [stderr] Checking either v1.1.0 [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: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: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: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: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: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: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] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `game-trees` (lib test) due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `game-trees` (lib) due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a5b816a38a16912a0062786bf24798d581d0e6efa106d1333de0e105b3b027e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5b816a38a16912a0062786bf24798d581d0e6efa106d1333de0e105b3b027e2", kill_on_drop: false }` [INFO] [stdout] a5b816a38a16912a0062786bf24798d581d0e6efa106d1333de0e105b3b027e2