[INFO] cloning repository https://github.com/eduz1/PokeHozon
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eduz1/PokeHozon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduz1%2FPokeHozon", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduz1%2FPokeHozon'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ee2fa6e6db7b90e78b11acae40f6e67d7aba155d
[INFO] checking eduz1/PokeHozon against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduz1%2FPokeHozon" "/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/eduz1/PokeHozon
[INFO] finished tweaking git repo https://github.com/eduz1/PokeHozon
[INFO] tweaked toml for git repo https://github.com/eduz1/PokeHozon written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/eduz1/PokeHozon on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/eduz1/PokeHozon 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 17165161088f666b4405c4b376dfd407481ba22b4c2837f918b7ac4fd94bd619
[INFO] running `Command { std: "docker" "start" "-a" "17165161088f666b4405c4b376dfd407481ba22b4c2837f918b7ac4fd94bd619", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "17165161088f666b4405c4b376dfd407481ba22b4c2837f918b7ac4fd94bd619", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17165161088f666b4405c4b376dfd407481ba22b4c2837f918b7ac4fd94bd619", kill_on_drop: false }`
[INFO] [stdout] 17165161088f666b4405c4b376dfd407481ba22b4c2837f918b7ac4fd94bd619
[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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c195a5ee1344eb37c8cbf219a9f88b1958652b01552a14545dba1a8c65c9e196
[INFO] running `Command { std: "docker" "start" "-a" "c195a5ee1344eb37c8cbf219a9f88b1958652b01552a14545dba1a8c65c9e196", kill_on_drop: false }`
[INFO] [stderr]     Checking PokeHozon v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `File`, `error::Error`, and `io`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     error::Error,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 7 |     fs::{self, File},
[INFO] [stdout]   |                ^^^^
[INFO] [stdout] 8 |     io,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `File`, `error::Error`, and `io`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     error::Error,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 7 |     fs::{self, File},
[INFO] [stdout]   |                ^^^^
[INFO] [stdout] 8 |     io,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `savefile`
[INFO] [stdout]    --> src/main.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |     let mut savefile = match get_save_from_data(&data) {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_savefile`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `savefile`
[INFO] [stdout]    --> src/main.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |     let mut savefile = match get_save_from_data(&data) {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_savefile`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:327:9
[INFO] [stdout]     |
[INFO] [stdout] 327 |     let mut savefile = match get_save_from_data(&data) {
[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/main.rs:327:9
[INFO] [stdout]     |
[INFO] [stdout] 327 |     let mut savefile = match get_save_from_data(&data) {
[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: field `data` is never read
[INFO] [stdout]   --> src/main.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct Section {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 39 |     data: SectionData,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Section` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_index` is never used
[INFO] [stdout]   --> src/main.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Section {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn to_index(&self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |     TRAINERINFO(TrainerInfo),
[INFO] [stdout]    |     ----------- ^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SectionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 65 -     TRAINERINFO(TrainerInfo),
[INFO] [stdout] 65 +     TRAINERINFO(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]   --> src/main.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct Section {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 39 |     data: SectionData,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Section` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `OTHER` is never constructed
[INFO] [stdout]   --> src/main.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | enum SectionData {
[INFO] [stdout]    |      ----------- variant in this enum
[INFO] [stdout] 65 |     TRAINERINFO(TrainerInfo),
[INFO] [stdout] 66 |     OTHER,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SectionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/main.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct TrainerInfo {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 71 |     player_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 72 |     player_gender: PlayerGender,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 73 |     public_id: u16,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 74 |     secret_id: u16,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 75 |     hours_played: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 76 |     minutes_played: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 77 |     seconds_played: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 78 |     time_frame: u8,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 79 |     options: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 80 |     game_version: GameVersion,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 81 |     security_key: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TrainerInfo` 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 `to_u8` is never used
[INFO] [stdout]   --> src/main.rs:98:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | impl PlayerGender {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 98 |     fn to_u8(&self) -> u8 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_u32` is never used
[INFO] [stdout]    --> src/main.rs:122:8
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl GameVersion {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn to_u32(&self) -> u32 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_index` is never used
[INFO] [stdout]   --> src/main.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Section {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn to_index(&self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |     TRAINERINFO(TrainerInfo),
[INFO] [stdout]    |     ----------- ^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SectionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 65 -     TRAINERINFO(TrainerInfo),
[INFO] [stdout] 65 +     TRAINERINFO(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `OTHER` is never constructed
[INFO] [stdout]   --> src/main.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | enum SectionData {
[INFO] [stdout]    |      ----------- variant in this enum
[INFO] [stdout] 65 |     TRAINERINFO(TrainerInfo),
[INFO] [stdout] 66 |     OTHER,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SectionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/main.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct TrainerInfo {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 71 |     player_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 72 |     player_gender: PlayerGender,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 73 |     public_id: u16,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 74 |     secret_id: u16,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 75 |     hours_played: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 76 |     minutes_played: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 77 |     seconds_played: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 78 |     time_frame: u8,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 79 |     options: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 80 |     game_version: GameVersion,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 81 |     security_key: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TrainerInfo` 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 `to_u8` is never used
[INFO] [stdout]   --> src/main.rs:98:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | impl PlayerGender {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 98 |     fn to_u8(&self) -> u8 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_u32` is never used
[INFO] [stdout]    --> src/main.rs:122:8
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl GameVersion {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn to_u32(&self) -> u32 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] running `Command { std: "docker" "inspect" "c195a5ee1344eb37c8cbf219a9f88b1958652b01552a14545dba1a8c65c9e196", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c195a5ee1344eb37c8cbf219a9f88b1958652b01552a14545dba1a8c65c9e196", kill_on_drop: false }`
[INFO] [stdout] c195a5ee1344eb37c8cbf219a9f88b1958652b01552a14545dba1a8c65c9e196
