[INFO] cloning repository https://github.com/Klapeyron/Markov [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Klapeyron/Markov" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKlapeyron%2FMarkov", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKlapeyron%2FMarkov'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62d4cd1839e0f7fc96beeaa6dc2a1efb829e1b94 [INFO] checking Klapeyron/Markov against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKlapeyron%2FMarkov" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Klapeyron/Markov on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Klapeyron/Markov [INFO] finished tweaking git repo https://github.com/Klapeyron/Markov [INFO] tweaked toml for git repo https://github.com/Klapeyron/Markov written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/Klapeyron/Markov already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "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 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e15d2565c59ac9f38cfb987c725fb7331aafa7cec8e18f114c1ff56c3771a0be [INFO] running `Command { std: "docker" "start" "-a" "e15d2565c59ac9f38cfb987c725fb7331aafa7cec8e18f114c1ff56c3771a0be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e15d2565c59ac9f38cfb987c725fb7331aafa7cec8e18f114c1ff56c3771a0be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e15d2565c59ac9f38cfb987c725fb7331aafa7cec8e18f114c1ff56c3771a0be", kill_on_drop: false }` [INFO] [stdout] e15d2565c59ac9f38cfb987c725fb7331aafa7cec8e18f114c1ff56c3771a0be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c84bb5f5c6ec49ac36ec0c4eefdeafc5e6720b94d2c0387025bee9ae3c568b4d [INFO] running `Command { std: "docker" "start" "-a" "c84bb5f5c6ec49ac36ec0c4eefdeafc5e6720b94d2c0387025bee9ae3c568b4d", kill_on_drop: false }` [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking markov v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/markov.rs:206:79 [INFO] [stdout] | [INFO] [stdout] 206 | fn evaluate_action(self: &Markov, action: &Action, x: usize, y: usize) -> (f64) { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/markov.rs:206:79 [INFO] [stdout] | [INFO] [stdout] 206 | fn evaluate_action(self: &Markov, action: &Action, x: usize, y: usize) -> (f64) { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/markov.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | &Some(ref value) => write!(f, "{:?}, {:?}", self.state, self.action.clone().unwrap()), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/markov.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new() -> MarkovBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_size` [INFO] [stdout] --> src/markov.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn set_size(&mut self, x: usize, y: usize) -> &mut MarkovBuilder { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_state` [INFO] [stdout] --> src/markov.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | fn set_state(&mut self, state: State, x: usize, y: usize) -> &mut MarkovBuilder { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/markov.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | fn new() -> Markov { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/matrix.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | write!(f, "["); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/matrix.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | write!(f, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/matrix.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | write!(f, "[{:?}], ", elem); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/markov.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | &Some(ref value) => write!(f, "{:?}, {:?}", self.state, self.action.clone().unwrap()), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/markov.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | let mut markov: Markov = MarkovBuilder::new() [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/markov.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | let mut markov: Markov = MarkovBuilder::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/markov.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | let mut markov: Markov = MarkovBuilder::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/markov.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | let mut markov: Markov = MarkovBuilder::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_size` [INFO] [stdout] --> src/markov.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn set_size(&mut self, x: usize, y: usize) -> &mut MarkovBuilder { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/markov.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | fn new() -> Markov { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/matrix.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | write!(f, "["); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/matrix.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | write!(f, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/matrix.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | write!(f, "[{:?}], ", elem); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.02s [INFO] running `Command { std: "docker" "inspect" "c84bb5f5c6ec49ac36ec0c4eefdeafc5e6720b94d2c0387025bee9ae3c568b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c84bb5f5c6ec49ac36ec0c4eefdeafc5e6720b94d2c0387025bee9ae3c568b4d", kill_on_drop: false }` [INFO] [stdout] c84bb5f5c6ec49ac36ec0c4eefdeafc5e6720b94d2c0387025bee9ae3c568b4d