[INFO] cloning repository https://github.com/mj-hd/ps-memory-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mj-hd/ps-memory-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmj-hd%2Fps-memory-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmj-hd%2Fps-memory-reader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86afadcfcaf50a4029c7d453603578fcd9f0bebf [INFO] checking mj-hd/ps-memory-reader against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmj-hd%2Fps-memory-reader" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mj-hd/ps-memory-reader on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mj-hd/ps-memory-reader [INFO] finished tweaking git repo https://github.com/mj-hd/ps-memory-reader [INFO] tweaked toml for git repo https://github.com/mj-hd/ps-memory-reader written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mj-hd/ps-memory-reader 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded textwrap v0.15.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.37 [INFO] [stderr] Downloaded clap_lex v0.2.0 [INFO] [stderr] Downloaded os_str_bytes v6.0.0 [INFO] [stderr] Downloaded console v0.15.0 [INFO] [stderr] Downloaded anyhow v1.0.57 [INFO] [stderr] Downloaded syn v1.0.92 [INFO] [stderr] Downloaded libc v0.2.125 [INFO] [stderr] Downloaded clap v3.1.14 [INFO] [stderr] Downloaded rppal v0.13.1 [INFO] [stderr] Downloaded indicatif v0.16.2 [INFO] [stderr] Downloaded env_logger v0.9.0 [INFO] [stderr] Downloaded terminal_size v0.1.17 [INFO] [stderr] Downloaded termcolor v1.1.3 [INFO] [stderr] Downloaded number_prefix v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78843af94f156709cdceedf8b3b7863934d511ab998e6f282066a9d526f99f80 [INFO] running `Command { std: "docker" "start" "-a" "78843af94f156709cdceedf8b3b7863934d511ab998e6f282066a9d526f99f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78843af94f156709cdceedf8b3b7863934d511ab998e6f282066a9d526f99f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78843af94f156709cdceedf8b3b7863934d511ab998e6f282066a9d526f99f80", kill_on_drop: false }` [INFO] [stdout] 78843af94f156709cdceedf8b3b7863934d511ab998e6f282066a9d526f99f80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15beef1cb0f1a15c4d0c40c67a161ff2c39d8cc841ce10b789536b0a8cc404b5 [INFO] running `Command { std: "docker" "start" "-a" "15beef1cb0f1a15c4d0c40c67a161ff2c39d8cc841ce10b789536b0a8cc404b5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking rppal v0.13.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking clap v3.1.14 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking ps-memory-reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `process::Output`, `thread::sleep` [INFO] [stdout] --> src/io.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{process::Output, thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/io.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OutputPin` [INFO] [stdout] --> src/io.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | gpio::{Gpio, InputPin, OutputPin}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `process::Output`, `thread::sleep` [INFO] [stdout] --> src/io.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{process::Output, thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/io.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OutputPin` [INFO] [stdout] --> src/io.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | gpio::{Gpio, InputPin, OutputPin}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MemCard2_Ack2` should have an upper camel case name [INFO] [stdout] --> src/io.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | MemCard2_Ack2 = 0x5D, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MemCard2Ack2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/memory_card.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MemCard2_Ack2` should have an upper camel case name [INFO] [stdout] --> src/io.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | MemCard2_Ack2 = 0x5D, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MemCard2Ack2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/memory_card.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gpio` is never read [INFO] [stdout] --> src/io.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Io { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 17 | gpio: Gpio, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Write` is never constructed [INFO] [stdout] --> src/io.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 221 | enum Req { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 224 | Write = 0x57, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Req` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/memory_card.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 71 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `allocation`, `file_size`, `next_block`, and `file_name` are never read [INFO] [stdout] --> src/memory_card.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | struct Directory { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 76 | allocation: Allocation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 77 | file_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 78 | next_block: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 79 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Directory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `icon_flag`, `block_number`, `title`, and `palette` are never read [INFO] [stdout] --> src/memory_card.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct Title { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 95 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 96 | icon_flag: IconFlag, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 97 | block_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 98 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | palette: [u8; 32], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Title` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShiftJisCharSet` is never constructed [INFO] [stdout] --> src/memory_card.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | struct ShiftJisCharSet([u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gpio` is never read [INFO] [stdout] --> src/io.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Io { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 17 | gpio: Gpio, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Write` is never constructed [INFO] [stdout] --> src/io.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 221 | enum Req { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 224 | Write = 0x57, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Req` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/memory_card.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 71 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `allocation`, `file_size`, `next_block`, and `file_name` are never read [INFO] [stdout] --> src/memory_card.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | struct Directory { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 76 | allocation: Allocation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 77 | file_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 78 | next_block: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 79 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Directory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `icon_flag`, `block_number`, `title`, and `palette` are never read [INFO] [stdout] --> src/memory_card.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct Title { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 95 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 96 | icon_flag: IconFlag, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 97 | block_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 98 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | palette: [u8; 32], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Title` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShiftJisCharSet` is never constructed [INFO] [stdout] --> src/memory_card.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | struct ShiftJisCharSet([u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.97s [INFO] running `Command { std: "docker" "inspect" "15beef1cb0f1a15c4d0c40c67a161ff2c39d8cc841ce10b789536b0a8cc404b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15beef1cb0f1a15c4d0c40c67a161ff2c39d8cc841ce10b789536b0a8cc404b5", kill_on_drop: false }` [INFO] [stdout] 15beef1cb0f1a15c4d0c40c67a161ff2c39d8cc841ce10b789536b0a8cc404b5 [INFO] checking mj-hd/ps-memory-reader against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmj-hd%2Fps-memory-reader" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mj-hd/ps-memory-reader on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mj-hd/ps-memory-reader [INFO] finished tweaking git repo https://github.com/mj-hd/ps-memory-reader [INFO] tweaked toml for git repo https://github.com/mj-hd/ps-memory-reader written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mj-hd/ps-memory-reader 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 374a37c51ea2a7c845479860f111c64403aabdca8cde82e327cf613a9eb258d3 [INFO] running `Command { std: "docker" "start" "-a" "374a37c51ea2a7c845479860f111c64403aabdca8cde82e327cf613a9eb258d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "374a37c51ea2a7c845479860f111c64403aabdca8cde82e327cf613a9eb258d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "374a37c51ea2a7c845479860f111c64403aabdca8cde82e327cf613a9eb258d3", kill_on_drop: false }` [INFO] [stdout] 374a37c51ea2a7c845479860f111c64403aabdca8cde82e327cf613a9eb258d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86024f85d940fedc83033451a909bfdb4388a2fba29ee86a1ce8f7d8fa389fa5 [INFO] running `Command { std: "docker" "start" "-a" "86024f85d940fedc83033451a909bfdb4388a2fba29ee86a1ce8f7d8fa389fa5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rppal v0.13.1 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking clap v3.1.14 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking ps-memory-reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `process::Output`, `thread::sleep` [INFO] [stdout] --> src/io.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{process::Output, thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/io.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OutputPin` [INFO] [stdout] --> src/io.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | gpio::{Gpio, InputPin, OutputPin}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MemCard2_Ack2` should have an upper camel case name [INFO] [stdout] --> src/io.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | MemCard2_Ack2 = 0x5D, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MemCard2Ack2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/memory_card.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `process::Output`, `thread::sleep` [INFO] [stdout] --> src/io.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{process::Output, thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/io.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OutputPin` [INFO] [stdout] --> src/io.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | gpio::{Gpio, InputPin, OutputPin}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MemCard2_Ack2` should have an upper camel case name [INFO] [stdout] --> src/io.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | MemCard2_Ack2 = 0x5D, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MemCard2Ack2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/memory_card.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gpio` is never read [INFO] [stdout] --> src/io.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Io { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 17 | gpio: Gpio, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Write` is never constructed [INFO] [stdout] --> src/io.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 221 | enum Req { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 224 | Write = 0x57, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Req` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/memory_card.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 71 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `allocation`, `file_size`, `next_block`, and `file_name` are never read [INFO] [stdout] --> src/memory_card.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | struct Directory { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 76 | allocation: Allocation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 77 | file_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 78 | next_block: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 79 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Directory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `icon_flag`, `block_number`, `title`, and `palette` are never read [INFO] [stdout] --> src/memory_card.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct Title { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 95 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 96 | icon_flag: IconFlag, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 97 | block_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 98 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | palette: [u8; 32], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Title` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShiftJisCharSet` is never constructed [INFO] [stdout] --> src/memory_card.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | struct ShiftJisCharSet([u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/io.rs:227:30 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Debug, Clone, Copy, FromPrimitive, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Res` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/memory_card.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Allocation` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/memory_card.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_IconFlag` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ps-memory-reader` (lib) due to 4 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `gpio` is never read [INFO] [stdout] --> src/io.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Io { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 17 | gpio: Gpio, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Write` is never constructed [INFO] [stdout] --> src/io.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 221 | enum Req { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 224 | Write = 0x57, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Req` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/memory_card.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 71 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `allocation`, `file_size`, `next_block`, and `file_name` are never read [INFO] [stdout] --> src/memory_card.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | struct Directory { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 76 | allocation: Allocation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 77 | file_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 78 | next_block: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 79 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Directory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `icon_flag`, `block_number`, `title`, and `palette` are never read [INFO] [stdout] --> src/memory_card.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct Title { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 95 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 96 | icon_flag: IconFlag, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 97 | block_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 98 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | palette: [u8; 32], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Title` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShiftJisCharSet` is never constructed [INFO] [stdout] --> src/memory_card.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | struct ShiftJisCharSet([u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/io.rs:227:30 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Debug, Clone, Copy, FromPrimitive, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Res` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/memory_card.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Allocation` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/memory_card.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_IconFlag` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ps-memory-reader` (lib test) due to 4 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "86024f85d940fedc83033451a909bfdb4388a2fba29ee86a1ce8f7d8fa389fa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86024f85d940fedc83033451a909bfdb4388a2fba29ee86a1ce8f7d8fa389fa5", kill_on_drop: false }` [INFO] [stdout] 86024f85d940fedc83033451a909bfdb4388a2fba29ee86a1ce8f7d8fa389fa5