[INFO] fetching crate game-2048 0.5.1... [INFO] checking game-2048-0.5.1 against master#430feb24a46993e5073c1bb1b39da190d83fa2bf for pr-78363 [INFO] extracting crate game-2048 0.5.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate game-2048 0.5.1 on toolchain 430feb24a46993e5073c1bb1b39da190d83fa2bf [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0fe8aa81f0f0eb07ce70da7881d301f4be0b78e67f1bdf771bdf295c823e66b [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" "d0fe8aa81f0f0eb07ce70da7881d301f4be0b78e67f1bdf771bdf295c823e66b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0fe8aa81f0f0eb07ce70da7881d301f4be0b78e67f1bdf771bdf295c823e66b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0fe8aa81f0f0eb07ce70da7881d301f4be0b78e67f1bdf771bdf295c823e66b", kill_on_drop: false }` [INFO] [stdout] d0fe8aa81f0f0eb07ce70da7881d301f4be0b78e67f1bdf771bdf295c823e66b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28f0470b0afa53c7663b447b3e37073d1538ea02d7720e2a09508c84a972c6c2 [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" "28f0470b0afa53c7663b447b3e37073d1538ea02d7720e2a09508c84a972c6c2", kill_on_drop: false }` [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking matrix_display v0.3.0 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [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] = 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: 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: 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 7.76s [INFO] running `Command { std: "docker" "inspect" "28f0470b0afa53c7663b447b3e37073d1538ea02d7720e2a09508c84a972c6c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28f0470b0afa53c7663b447b3e37073d1538ea02d7720e2a09508c84a972c6c2", kill_on_drop: false }` [INFO] [stdout] 28f0470b0afa53c7663b447b3e37073d1538ea02d7720e2a09508c84a972c6c2