[INFO] cloning repository https://github.com/norun9/play [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/norun9/play" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorun9%2Fplay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorun9%2Fplay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8d884eb2dac6450fabacd6f1215e02effbed646 [INFO] checking norun9/play against master#2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36 for pr-95819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorun9%2Fplay" "/workspace/builds/worker-34/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-34/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/norun9/play on toolchain 2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/norun9/play [INFO] finished tweaking git repo https://github.com/norun9/play [INFO] tweaked toml for git repo https://github.com/norun9/play written to /workspace/builds/worker-34/source/Cargo.toml [INFO] crate git repo https://github.com/norun9/play already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43857f2ef87eebfcb6b49bcc7d29ba418f5b65182a4fe7562c5eb2074d6a5391 [INFO] running `Command { std: "docker" "start" "-a" "43857f2ef87eebfcb6b49bcc7d29ba418f5b65182a4fe7562c5eb2074d6a5391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43857f2ef87eebfcb6b49bcc7d29ba418f5b65182a4fe7562c5eb2074d6a5391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43857f2ef87eebfcb6b49bcc7d29ba418f5b65182a4fe7562c5eb2074d6a5391", kill_on_drop: false }` [INFO] [stdout] 43857f2ef87eebfcb6b49bcc7d29ba418f5b65182a4fe7562c5eb2074d6a5391 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b26766daa7f56aca3e33cffefe343b765e50ebdaea5f7cfed3eeb1f18353e739 [INFO] running `Command { std: "docker" "start" "-a" "b26766daa7f56aca3e33cffefe343b765e50ebdaea5f7cfed3eeb1f18353e739", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking play v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/battle/common.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut hit_point: i32; [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: struct is never constructed: `Action` [INFO] [stdout] --> src/battle/action.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Action { [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/battle/action.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(turn: String, is_attack: bool, is_magic: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `attack` [INFO] [stdout] --> src/battle/action.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn attack(self, brave: &mut brave::Brave, monster: &mut monster::Monster) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/battle/common.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut hit_point: i32; [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: struct is never constructed: `Action` [INFO] [stdout] --> src/battle/action.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Action { [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/battle/action.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(turn: String, is_attack: bool, is_magic: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `attack` [INFO] [stdout] --> src/battle/action.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn attack(self, brave: &mut brave::Brave, monster: &mut monster::Monster) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/main.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | command = command.trim_right().to_owned(); // 改行コード削除 [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/battle/common.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut hit_point: i32; [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: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/main.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | command = command.trim_right().to_owned(); // 改行コード削除 [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/battle/common.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut hit_point: i32; [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "b26766daa7f56aca3e33cffefe343b765e50ebdaea5f7cfed3eeb1f18353e739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b26766daa7f56aca3e33cffefe343b765e50ebdaea5f7cfed3eeb1f18353e739", kill_on_drop: false }` [INFO] [stdout] b26766daa7f56aca3e33cffefe343b765e50ebdaea5f7cfed3eeb1f18353e739