[INFO] fetching crate game-2048 0.5.1... [INFO] checking game-2048-0.5.1 against beta for pr-78714 [INFO] extracting crate game-2048 0.5.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate game-2048 0.5.1 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate game-2048 0.5.1 [INFO] finished tweaking crates.io crate game-2048 0.5.1 [INFO] tweaked toml for crates.io crate game-2048 0.5.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matrix_display v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 563f5b51dfe2e9405014d66d2b23d8f4e5731a978a2a5d9791dca1ef8a279800 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "563f5b51dfe2e9405014d66d2b23d8f4e5731a978a2a5d9791dca1ef8a279800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "563f5b51dfe2e9405014d66d2b23d8f4e5731a978a2a5d9791dca1ef8a279800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "563f5b51dfe2e9405014d66d2b23d8f4e5731a978a2a5d9791dca1ef8a279800", kill_on_drop: false }` [INFO] [stdout] 563f5b51dfe2e9405014d66d2b23d8f4e5731a978a2a5d9791dca1ef8a279800 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7df7d31104d746f59e7827ae0dafe57efdc75bce0825294d36cd6414ff317b2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b7df7d31104d746f59e7827ae0dafe57efdc75bce0825294d36cd6414ff317b2", kill_on_drop: false }` [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking matrix_display v0.3.0 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking game-2048 v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/board.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{thread_rng, sample}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/board.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let mut fw = sample(&mut rng, 1..256, 17); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/board.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{thread_rng, sample}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/board.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let mut fw = sample(&mut rng, 1..256, 17); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/board.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | 1_f64 => (".".to_string(), col), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/board.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | 1_f64 => (".".to_string(), col), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | .map(|mut row| { [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] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/board.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | 1_f64 => (".".to_string(), col), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/board.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | 1_f64 => (".".to_string(), col), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | .map(|mut row| { [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] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/game.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / self.data [INFO] [stdout] 69 | | .chunks_mut(4) [INFO] [stdout] 70 | | .map(|mut row| { [INFO] [stdout] 71 | | let (new_row, new_score) = match dir { [INFO] [stdout] ... | [INFO] [stdout] 86 | | }) [INFO] [stdout] 87 | | .collect::>(); [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/game.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / self.data [INFO] [stdout] 69 | | .chunks_mut(4) [INFO] [stdout] 70 | | .map(|mut row| { [INFO] [stdout] 71 | | let (new_row, new_score) = match dir { [INFO] [stdout] ... | [INFO] [stdout] 86 | | }) [INFO] [stdout] 87 | | .collect::>(); [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.42s [INFO] running `Command { std: "docker" "inspect" "b7df7d31104d746f59e7827ae0dafe57efdc75bce0825294d36cd6414ff317b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7df7d31104d746f59e7827ae0dafe57efdc75bce0825294d36cd6414ff317b2", kill_on_drop: false }` [INFO] [stdout] b7df7d31104d746f59e7827ae0dafe57efdc75bce0825294d36cd6414ff317b2