[INFO] fetching crate game-2048 0.5.1... [INFO] checking game-2048-0.5.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate game-2048 0.5.1 into /workspace/builds/worker-7-tc1/source [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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate game-2048 0.5.1 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 27 packages to latest compatible versions [INFO] [stderr] Adding matrix_display v0.3.0 (available: v1.0.0) [INFO] [stderr] Adding num v0.1.43 (available: v0.4.3) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] [stderr] Adding termion v1.5.6 (available: v4.0.5) [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] Downloading crates ... [INFO] [stderr] Downloaded matrix_display v0.3.0 [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] 6e25eb4486504fe6726752d48eec4a7219e91b80c1a1c8182b5ea37e43e87d30 [INFO] running `Command { std: "docker" "start" "-a" "6e25eb4486504fe6726752d48eec4a7219e91b80c1a1c8182b5ea37e43e87d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e25eb4486504fe6726752d48eec4a7219e91b80c1a1c8182b5ea37e43e87d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e25eb4486504fe6726752d48eec4a7219e91b80c1a1c8182b5ea37e43e87d30", kill_on_drop: false }` [INFO] [stdout] 6e25eb4486504fe6726752d48eec4a7219e91b80c1a1c8182b5ea37e43e87d30 [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] d806891243ab3c371b0a02820550801a38d951a6ce560c8f75f140265856dd0c [INFO] running `Command { std: "docker" "start" "-a" "d806891243ab3c371b0a02820550801a38d951a6ce560c8f75f140265856dd0c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking matrix_display v0.3.0 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.1.43 [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: 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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/algorithm.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | let ret = data.clone() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[i32]` does not implement `Clone`, so calling `clone` on `&[i32]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` 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: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = self.data [INFO] [stdout] | +++++++ [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/algorithm.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | let ret = data.clone() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[i32]` does not implement `Clone`, so calling `clone` on `&[i32]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` 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: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = self.data [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.20s [INFO] running `Command { std: "docker" "inspect" "d806891243ab3c371b0a02820550801a38d951a6ce560c8f75f140265856dd0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d806891243ab3c371b0a02820550801a38d951a6ce560c8f75f140265856dd0c", kill_on_drop: false }` [INFO] [stdout] d806891243ab3c371b0a02820550801a38d951a6ce560c8f75f140265856dd0c