[INFO] cloning repository https://github.com/longtimenotalk2/DDnew2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/longtimenotalk2/DDnew2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flongtimenotalk2%2FDDnew2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flongtimenotalk2%2FDDnew2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cba017d2f1b7d1bbf86df281f10dff91b9b84bbf [INFO] checking longtimenotalk2/DDnew2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flongtimenotalk2%2FDDnew2" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/longtimenotalk2/DDnew2 [INFO] finished tweaking git repo https://github.com/longtimenotalk2/DDnew2 [INFO] tweaked toml for git repo https://github.com/longtimenotalk2/DDnew2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/longtimenotalk2/DDnew2 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/longtimenotalk2/DDnew2 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a61e90a1c06ee7893c363a18e3c78b91dda53702a05ba199ff49e289ecbd51b [INFO] running `Command { std: "docker" "start" "-a" "0a61e90a1c06ee7893c363a18e3c78b91dda53702a05ba199ff49e289ecbd51b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a61e90a1c06ee7893c363a18e3c78b91dda53702a05ba199ff49e289ecbd51b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a61e90a1c06ee7893c363a18e3c78b91dda53702a05ba199ff49e289ecbd51b", kill_on_drop: false }` [INFO] [stdout] 0a61e90a1c06ee7893c363a18e3c78b91dda53702a05ba199ff49e289ecbd51b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67563929a21729ca2f079c1423bdbffe822709713ed8dc15aeb7dc8f98765aa3 [INFO] running `Command { std: "docker" "start" "-a" "67563929a21729ca2f079c1423bdbffe822709713ed8dc15aeb7dc8f98765aa3", kill_on_drop: false }` [INFO] [stderr] Checking my-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut yelin = Unit::new("叶 琳", 16, 14, 12); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noel` [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let noel = Unit::new("诺艾尔", 10, 10, 10); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_noel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e4` [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let e4 = Unit::new("杂鱼D ", 12,9,9); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test5` is never used [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn test5() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test7` is never used [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn test7() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game/team/full_turn.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | let i : usize = i.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game/team/full_turn.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let i : usize = i.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut yelin = Unit::new("叶 琳", 16, 14, 12); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noel` [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let noel = Unit::new("诺艾尔", 10, 10, 10); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_noel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e4` [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let e4 = Unit::new("杂鱼D ", 12,9,9); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test5` is never used [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn test5() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test7` is never used [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn test7() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-project` (bin "my-project" test) due to 2 previous errors; 5 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game/team/full_turn.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | let i : usize = i.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game/team/full_turn.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let i : usize = i.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-project` (bin "my-project") due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "67563929a21729ca2f079c1423bdbffe822709713ed8dc15aeb7dc8f98765aa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67563929a21729ca2f079c1423bdbffe822709713ed8dc15aeb7dc8f98765aa3", kill_on_drop: false }` [INFO] [stdout] 67563929a21729ca2f079c1423bdbffe822709713ed8dc15aeb7dc8f98765aa3