[INFO] cloning repository https://github.com/Ellendren/football-rpg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ellendren/football-rpg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEllendren%2Ffootball-rpg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEllendren%2Ffootball-rpg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6140bd3d7ce62aa7f1466bb0bb1e7005d1c28fe4 [INFO] checking Ellendren/football-rpg against try#3f7e3b175fda7edbf81081bcd9b91b73f2f7993f for pr-156157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEllendren%2Ffootball-rpg" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ellendren/football-rpg [INFO] finished tweaking git repo https://github.com/Ellendren/football-rpg [INFO] tweaked toml for git repo https://github.com/Ellendren/football-rpg written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ellendren/football-rpg on toolchain 3f7e3b175fda7edbf81081bcd9b91b73f2f7993f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ellendren/football-rpg 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" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustversion v1.0.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ca3aacf39604d4bbb46af39c48df0563161e693cca427f53b0dbb70a7b5a133 [INFO] running `Command { std: "docker" "start" "-a" "7ca3aacf39604d4bbb46af39c48df0563161e693cca427f53b0dbb70a7b5a133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ca3aacf39604d4bbb46af39c48df0563161e693cca427f53b0dbb70a7b5a133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ca3aacf39604d4bbb46af39c48df0563161e693cca427f53b0dbb70a7b5a133", kill_on_drop: false }` [INFO] [stdout] 7ca3aacf39604d4bbb46af39c48df0563161e693cca427f53b0dbb70a7b5a133 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2952deede41c4b1f301bd3739eff50b665d81b7902bb15a6e84007fac64bc814 [INFO] running `Command { std: "docker" "start" "-a" "2952deede41c4b1f301bd3739eff50b665d81b7902bb15a6e84007fac64bc814", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking football-rpg v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env::VarError` [INFO] [stdout] --> src/stats.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::VarError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/stats/team.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/stats/team.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use super::player::{self, Player}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `List_saves` should have an upper camel case name [INFO] [stdout] --> src/stats/team.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | List_saves, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ListSaves` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `util` should have an upper camel case name [INFO] [stdout] --> src/stats.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct util; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::format` and `option` [INFO] [stdout] --> src/cli.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::format, io::Write, option}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/stats/player.rs:212:25 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn list_players(path: Option) -> Result, Error>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player` is never read [INFO] [stdout] --> src/stats/player.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 237 | let mut player = Player::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 256 | player = PlayerByteStream::from_u8array(stream).to_player(); [INFO] [stdout] | ------ `player` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `err_msg` is never read [INFO] [stdout] --> src/stats/player.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | Save{err_msg: String}, [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `err_msg` is never read [INFO] [stdout] --> src/stats/player.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | Load{err_msg: String} [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `list_players` is never used [INFO] [stdout] --> src/stats/player.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl Player { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn list_players(path: Option) -> Result, Error>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Load` is never constructed [INFO] [stdout] --> src/stats/team.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ErrorKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Load [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/stats/team.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 14 | kind: ErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Commands` is never used [INFO] [stdout] --> src/cli.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | enum Commands { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `menu` is never used [INFO] [stdout] --> src/cli.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Commands { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 28 | fn menu(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load` is never used [INFO] [stdout] --> src/cli/player.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn load(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::VarError` [INFO] [stdout] --> src/stats.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::VarError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/stats/team.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/stats/team.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use super::player::{self, Player}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `List_saves` should have an upper camel case name [INFO] [stdout] --> src/stats/team.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | List_saves, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ListSaves` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `util` should have an upper camel case name [INFO] [stdout] --> src/stats.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct util; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::format` and `option` [INFO] [stdout] --> src/cli.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::format, io::Write, option}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/stats/player.rs:212:25 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn list_players(path: Option) -> Result, Error>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player` is never read [INFO] [stdout] --> src/stats/player.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 237 | let mut player = Player::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 256 | player = PlayerByteStream::from_u8array(stream).to_player(); [INFO] [stdout] | ------ `player` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `err_msg` is never read [INFO] [stdout] --> src/stats/player.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | Save{err_msg: String}, [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `err_msg` is never read [INFO] [stdout] --> src/stats/player.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | Load{err_msg: String} [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `list_players` is never used [INFO] [stdout] --> src/stats/player.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl Player { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn list_players(path: Option) -> Result, Error>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Load` is never constructed [INFO] [stdout] --> src/stats/team.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ErrorKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Load [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/stats/team.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 14 | kind: ErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Commands` is never used [INFO] [stdout] --> src/cli.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | enum Commands { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `menu` is never used [INFO] [stdout] --> src/cli.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Commands { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 28 | fn menu(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load` is never used [INFO] [stdout] --> src/cli/player.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn load(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.43s [INFO] running `Command { std: "docker" "inspect" "2952deede41c4b1f301bd3739eff50b665d81b7902bb15a6e84007fac64bc814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2952deede41c4b1f301bd3739eff50b665d81b7902bb15a6e84007fac64bc814", kill_on_drop: false }` [INFO] [stdout] 2952deede41c4b1f301bd3739eff50b665d81b7902bb15a6e84007fac64bc814