[INFO] cloning repository https://github.com/manojkumarmc/snake_and_ladder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/manojkumarmc/snake_and_ladder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanojkumarmc%2Fsnake_and_ladder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanojkumarmc%2Fsnake_and_ladder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56e2081487c7a6ca996c07b6c02e62dac767a998 [INFO] testing manojkumarmc/snake_and_ladder against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanojkumarmc%2Fsnake_and_ladder" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/manojkumarmc/snake_and_ladder [INFO] finished tweaking git repo https://github.com/manojkumarmc/snake_and_ladder [INFO] tweaked toml for git repo https://github.com/manojkumarmc/snake_and_ladder written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/manojkumarmc/snake_and_ladder on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/manojkumarmc/snake_and_ladder 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45763ca831ea8c1e951565e4186754afcb1e8ab1d37e45450ed0ce14d24cee93 [INFO] running `Command { std: "docker" "start" "-a" "45763ca831ea8c1e951565e4186754afcb1e8ab1d37e45450ed0ce14d24cee93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45763ca831ea8c1e951565e4186754afcb1e8ab1d37e45450ed0ce14d24cee93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45763ca831ea8c1e951565e4186754afcb1e8ab1d37e45450ed0ce14d24cee93", kill_on_drop: false }` [INFO] [stdout] 45763ca831ea8c1e951565e4186754afcb1e8ab1d37e45450ed0ce14d24cee93 [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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68881a512087422e32ef4cea0da7c1e81c334593730cdf4699e6f686425ed9a3 [INFO] running `Command { std: "docker" "start" "-a" "68881a512087422e32ef4cea0da7c1e81c334593730cdf4699e6f686425ed9a3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Compiling validator v0.14.0 [INFO] [stderr] Compiling snake_ladder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut rg: usize = rand::thread_rng().gen_range(l_limit..=u_limit); [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: method `get_col_data` is never used [INFO] [stdout] --> src/model.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_col_data(&self, col_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/model.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 85 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_name` is never used [INFO] [stdout] --> src/model.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn set_name(&mut self, n: &'static str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.60s [INFO] running `Command { std: "docker" "inspect" "68881a512087422e32ef4cea0da7c1e81c334593730cdf4699e6f686425ed9a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68881a512087422e32ef4cea0da7c1e81c334593730cdf4699e6f686425ed9a3", kill_on_drop: false }` [INFO] [stdout] 68881a512087422e32ef4cea0da7c1e81c334593730cdf4699e6f686425ed9a3 [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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36c58722bcc6f867629f72754693d9e4a7cff6ffe7022da06176ce9417a882ca [INFO] running `Command { std: "docker" "start" "-a" "36c58722bcc6f867629f72754693d9e4a7cff6ffe7022da06176ce9417a882ca", kill_on_drop: false }` [INFO] [stderr] Compiling snake_ladder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut rg: usize = rand::thread_rng().gen_range(l_limit..=u_limit); [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: method `get_col_data` is never used [INFO] [stdout] --> src/model.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_col_data(&self, col_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/model.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 85 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_name` is never used [INFO] [stdout] --> src/model.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn set_name(&mut self, n: &'static str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "36c58722bcc6f867629f72754693d9e4a7cff6ffe7022da06176ce9417a882ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36c58722bcc6f867629f72754693d9e4a7cff6ffe7022da06176ce9417a882ca", kill_on_drop: false }` [INFO] [stdout] 36c58722bcc6f867629f72754693d9e4a7cff6ffe7022da06176ce9417a882ca [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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6b23f3480a139ac4b59978dccc77e44ecab0af7d7b1976bc2cef8397959aa9e2 [INFO] running `Command { std: "docker" "start" "-a" "6b23f3480a139ac4b59978dccc77e44ecab0af7d7b1976bc2cef8397959aa9e2", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/utils.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let mut rg: usize = rand::thread_rng().gen_range(l_limit..=u_limit); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_col_data` is never used [INFO] [stderr] --> src/model.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl Board { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn get_col_data(&self, col_id: usize) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/model.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 84 | pub struct Player { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 85 | id: usize, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `set_name` is never used [INFO] [stderr] --> src/model.rs:99:12 [INFO] [stderr] | [INFO] [stderr] 90 | impl Player { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 99 | pub fn set_name(&mut self, n: &'static str) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `snake_ladder` (bin "snake_ladder" test) generated 4 warnings (run `cargo fix --bin "snake_ladder" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/snake_ladder-5b7013c7212bb058) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6b23f3480a139ac4b59978dccc77e44ecab0af7d7b1976bc2cef8397959aa9e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b23f3480a139ac4b59978dccc77e44ecab0af7d7b1976bc2cef8397959aa9e2", kill_on_drop: false }` [INFO] [stdout] 6b23f3480a139ac4b59978dccc77e44ecab0af7d7b1976bc2cef8397959aa9e2