[INFO] cloning repository https://github.com/InquisitiveCoder/romhacks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/InquisitiveCoder/romhacks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInquisitiveCoder%2Fromhacks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInquisitiveCoder%2Fromhacks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c0442c2d08a5675c7a14c170c46d836550375d7 [INFO] testing InquisitiveCoder/romhacks against 1.97.0-beta.6 for beta-1.98-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInquisitiveCoder%2Fromhacks" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/InquisitiveCoder/romhacks [INFO] finished tweaking git repo https://github.com/InquisitiveCoder/romhacks [INFO] tweaked toml for git repo https://github.com/InquisitiveCoder/romhacks written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/InquisitiveCoder/romhacks on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/InquisitiveCoder/romhacks 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ulid v1.2.1 [INFO] [stderr] Downloaded rand v0.9.0 [INFO] [stderr] Downloaded colorchoice v1.0.3 [INFO] [stderr] Downloaded anstyle-parse v0.2.6 [INFO] [stderr] Downloaded wide v0.7.32 [INFO] [stderr] Downloaded miette-derive v3.3.0 [INFO] [stderr] Downloaded clap_lex v0.7.4 [INFO] [stderr] Downloaded pretty_env_logger v0.5.0 [INFO] [stderr] Downloaded supports-color v1.3.1 [INFO] [stderr] Downloaded supports-hyperlinks v1.2.0 [INFO] [stderr] Downloaded is-terminal v0.4.16 [INFO] [stderr] Downloaded kdl-schema-check v0.1.0 [INFO] [stderr] Downloaded anstyle-query v1.1.2 [INFO] [stderr] Downloaded smawk v0.3.2 [INFO] [stderr] Downloaded anstyle-wincon v3.0.7 [INFO] [stderr] Downloaded terminal_size v0.1.17 [INFO] [stderr] Downloaded supports-unicode v1.0.2 [INFO] [stderr] Downloaded checked v0.5.0 [INFO] [stderr] Downloaded kdl-schema v0.1.0 [INFO] [stderr] Downloaded never-say-never v6.6.666 [INFO] [stderr] Downloaded is_ci v1.2.0 [INFO] [stderr] Downloaded err-derive v0.2.4 [INFO] [stderr] Downloaded anstyle v1.0.10 [INFO] [stderr] Downloaded higher-kinded-types v0.1.1 [INFO] [stderr] Downloaded owo-colors v3.5.0 [INFO] [stderr] Downloaded synstructure v0.12.6 [INFO] [stderr] Downloaded hermit-abi v0.5.0 [INFO] [stderr] Downloaded polonius-the-crab v0.4.2 [INFO] [stderr] Downloaded rustc-demangle v0.1.24 [INFO] [stderr] Downloaded fs-err v3.1.0 [INFO] [stderr] Downloaded knuffel-derive v1.1.0 [INFO] [stderr] Downloaded anstream v0.6.18 [INFO] [stderr] Downloaded miette-derive v7.5.0 [INFO] [stderr] Downloaded env_logger v0.10.2 [INFO] [stderr] Downloaded clap_derive v3.2.25 [INFO] [stderr] Downloaded rand_core v0.9.3 [INFO] [stderr] Downloaded clap_derive v4.5.28 [INFO] [stderr] Downloaded getrandom v0.3.2 [INFO] [stderr] Downloaded textwrap v0.14.2 [INFO] [stderr] Downloaded chumsky v0.8.0 [INFO] [stderr] Downloaded knuffel v1.1.0 [INFO] [stderr] Downloaded kdl v6.3.4 [INFO] [stderr] Downloaded clap v4.5.31 [INFO] [stderr] Downloaded r-efi v5.2.0 [INFO] [stderr] Downloaded miette v3.3.0 [INFO] [stderr] Downloaded backtrace v0.3.74 [INFO] [stderr] Downloaded zerocopy-derive v0.8.23 [INFO] [stderr] Downloaded flips-sys v0.2.1 [INFO] [stderr] Downloaded regex-lite v0.1.6 [INFO] [stderr] Downloaded miette v7.5.0 [INFO] [stderr] Downloaded clap_builder v4.5.31 [INFO] [stderr] Downloaded zerocopy v0.8.23 [INFO] [stderr] Downloaded syn v2.0.100 [INFO] [stderr] Downloaded flips v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 0931af19eee49dd8c40a2dfb6e71b2d06beb751d7540e733f83076eaff269f23 [INFO] running `Command { std: "docker" "start" "0931af19eee49dd8c40a2dfb6e71b2d06beb751d7540e733f83076eaff269f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0931af19eee49dd8c40a2dfb6e71b2d06beb751d7540e733f83076eaff269f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0931af19eee49dd8c40a2dfb6e71b2d06beb751d7540e733f83076eaff269f23" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0931af19eee49dd8c40a2dfb6e71b2d06beb751d7540e733f83076eaff269f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0931af19eee49dd8c40a2dfb6e71b2d06beb751d7540e733f83076eaff269f23" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling supports-color v1.3.1 [INFO] [stderr] Compiling supports-unicode v1.0.2 [INFO] [stderr] Compiling supports-hyperlinks v1.2.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling chumsky v0.8.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling fs-err v3.1.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling flips-sys v0.2.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling never-say-never v6.6.666 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling higher-kinded-types v0.1.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling clap_builder v4.5.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling polonius-the-crab v0.4.2 [INFO] [stderr] Compiling checked v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling ulid v1.2.1 [INFO] [stderr] Compiling miette-derive v3.3.0 [INFO] [stderr] Compiling knuffel-derive v1.1.0 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling flips v0.2.1 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling miette-derive v7.5.0 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling miette v3.3.0 [INFO] [stderr] Compiling miette v7.5.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling kdl v6.3.4 [INFO] [stderr] Compiling knuffel v1.1.0 [INFO] [stderr] Compiling clap v4.5.31 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling kdl-schema v0.1.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling kdl-schema-check v0.1.0 [INFO] [stderr] Compiling romhacks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/patch/bps.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{io, mem}; [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: `crate::patch::Error as E` [INFO] [stdout] --> src/patch/bps.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::patch::Error as E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/patch/vcd.rs:205:11 [INFO] [stdout] | [INFO] [stdout] 205 | match (index) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - match (index) { [INFO] [stdout] 205 + match index { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/apply.rs:30:69 [INFO] [stdout] | [INFO] [stdout] 30 | let (patch_kind, checksum_limit, patch_in_place) = match &patch.read_array::<3>()?[..] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/patch/ips.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | let (end_of_records, new_file_size) = match (&patch.read_array::()?).split_at(3) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/patch/ips.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | if &patch.read_array::<5>()? != MAGIC { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/patch/ppf.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | let version = Version::try_from(&patch.read_array::<5>()?)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/patch/ppf.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | let description: [u8; 50] = patch.read_array()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/patch/ppf.rs:287:53 [INFO] [stdout] | [INFO] [stdout] 287 | let file_block: [u8; BLOCK_CHECK_LENGTH] = file.read_array()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/patch/ppf.rs:288:60 [INFO] [stdout] | [INFO] [stdout] 288 | let validation_block: [u8; BLOCK_CHECK_LENGTH] = patch.read_array()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/patch/ups.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | if &patch.read_array::<4>()? != b"UPS1" { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/patch/vcd.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | if &patch.read_array::<3>()? != MAGIC { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/patch/bps.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | rom: &mut (impl Read + Seek), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch` [INFO] [stdout] --> src/patch/bps.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | patch: &mut (impl Read + Seek), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_patch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/patch/bps.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | output: &mut (impl Read + Write + Seek), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom_checksum` [INFO] [stdout] --> src/patch/bps.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | rom_checksum: crc::Crc32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_checksum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch_checksum` [INFO] [stdout] --> src/patch/bps.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | patch_checksum: crc::Crc32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patch_checksum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch_eof` [INFO] [stdout] --> src/patch/bps.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | patch_eof: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patch_eof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom_checksum` [INFO] [stdout] --> src/patch/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | rom_checksum: crc::Crc32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_checksum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch_checksum` [INFO] [stdout] --> src/patch/mod.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | patch_checksum: crc::Crc32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patch_checksum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch_eof` [INFO] [stdout] --> src/patch/mod.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | patch_eof: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patch_eof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FileName` is never used [INFO] [stdout] --> src/filename.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub trait FileName { [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 `try_map` is never used [INFO] [stdout] --> src/mem.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn try_map(value: A, f: F) -> Result>::Error> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Patch` is never constructed [INFO] [stdout] --> src/patch/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Patch

{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/patch/mod.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | impl

Patch

{ [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(kind: Kind, file: P) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnknownPatchKindError` is never constructed [INFO] [stdout] --> src/patch/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct UnknownPatchKindError(pub(crate) ()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Args` is never constructed [INFO] [stdout] --> src/patch/mod.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct Args<'f, 'p, F, P> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PatchFn` is never used [INFO] [stdout] --> src/patch/mod.rs:180:6 [INFO] [stdout] | [INFO] [stdout] 180 | type PatchFn

= fn(&path::Path, &Patch

) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `patch` is never used [INFO] [stdout] --> src/patch/bps.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn patch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: higher-kinded-types v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0931af19eee49dd8c40a2dfb6e71b2d06beb751d7540e733f83076eaff269f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0931af19eee49dd8c40a2dfb6e71b2d06beb751d7540e733f83076eaff269f23" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling romhacks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/patch/bps.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{io, mem}; [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: `crate::patch::Error as E` [INFO] [stdout] --> src/patch/bps.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::patch::Error as E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/patch/vcd.rs:205:11 [INFO] [stdout] | [INFO] [stdout] 205 | match (index) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - match (index) { [INFO] [stdout] 205 + match index { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/apply.rs:30:69 [INFO] [stdout] | [INFO] [stdout] 30 | let (patch_kind, checksum_limit, patch_in_place) = match &patch.read_array::<3>()?[..] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/patch/ips.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | let (end_of_records, new_file_size) = match (&patch.read_array::()?).split_at(3) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/patch/ips.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | if &patch.read_array::<5>()? != MAGIC { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/patch/ppf.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | let version = Version::try_from(&patch.read_array::<5>()?)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/patch/ppf.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | let description: [u8; 50] = patch.read_array()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/patch/ppf.rs:287:53 [INFO] [stdout] | [INFO] [stdout] 287 | let file_block: [u8; BLOCK_CHECK_LENGTH] = file.read_array()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/patch/ppf.rs:288:60 [INFO] [stdout] | [INFO] [stdout] 288 | let validation_block: [u8; BLOCK_CHECK_LENGTH] = patch.read_array()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/patch/ups.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | if &patch.read_array::<4>()? != b"UPS1" { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/patch/vcd.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | if &patch.read_array::<3>()? != MAGIC { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/patch/bps.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | rom: &mut (impl Read + Seek), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch` [INFO] [stdout] --> src/patch/bps.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | patch: &mut (impl Read + Seek), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_patch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/patch/bps.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | output: &mut (impl Read + Write + Seek), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom_checksum` [INFO] [stdout] --> src/patch/bps.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | rom_checksum: crc::Crc32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_checksum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch_checksum` [INFO] [stdout] --> src/patch/bps.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | patch_checksum: crc::Crc32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patch_checksum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch_eof` [INFO] [stdout] --> src/patch/bps.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | patch_eof: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patch_eof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom_checksum` [INFO] [stdout] --> src/patch/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | rom_checksum: crc::Crc32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_checksum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch_checksum` [INFO] [stdout] --> src/patch/mod.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | patch_checksum: crc::Crc32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patch_checksum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch_eof` [INFO] [stdout] --> src/patch/mod.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | patch_eof: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patch_eof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FileName` is never used [INFO] [stdout] --> src/filename.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub trait FileName { [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 `try_map` is never used [INFO] [stdout] --> src/mem.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn try_map(value: A, f: F) -> Result>::Error> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Patch` is never constructed [INFO] [stdout] --> src/patch/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Patch

{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/patch/mod.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | impl

Patch

{ [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(kind: Kind, file: P) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnknownPatchKindError` is never constructed [INFO] [stdout] --> src/patch/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct UnknownPatchKindError(pub(crate) ()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Args` is never constructed [INFO] [stdout] --> src/patch/mod.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct Args<'f, 'p, F, P> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PatchFn` is never used [INFO] [stdout] --> src/patch/mod.rs:180:6 [INFO] [stdout] | [INFO] [stdout] 180 | type PatchFn

= fn(&path::Path, &Patch

) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `patch` is never used [INFO] [stdout] --> src/patch/bps.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn patch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.75s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: higher-kinded-types v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0931af19eee49dd8c40a2dfb6e71b2d06beb751d7540e733f83076eaff269f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0931af19eee49dd8c40a2dfb6e71b2d06beb751d7540e733f83076eaff269f23" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `mem` [INFO] [stderr] --> src/patch/bps.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use std::{io, mem}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::patch::Error as E` [INFO] [stderr] --> src/patch/bps.rs:17:7 [INFO] [stderr] | [INFO] [stderr] 17 | use crate::patch::Error as E; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stderr] --> src/patch/vcd.rs:205:11 [INFO] [stderr] | [INFO] [stderr] 205 | match (index) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 205 - match (index) { [INFO] [stderr] 205 + match index { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/apply.rs:30:69 [INFO] [stderr] | [INFO] [stderr] 30 | let (patch_kind, checksum_limit, patch_in_place) = match &patch.read_array::<3>()?[..] { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/patch/ips.rs:13:55 [INFO] [stderr] | [INFO] [stderr] 13 | let (end_of_records, new_file_size) = match (&patch.read_array::()?).split_at(3) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/patch/ips.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | if &patch.read_array::<5>()? != MAGIC { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/patch/ppf.rs:53:44 [INFO] [stderr] | [INFO] [stderr] 53 | let version = Version::try_from(&patch.read_array::<5>()?)?; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/patch/ppf.rs:64:39 [INFO] [stderr] | [INFO] [stderr] 64 | let description: [u8; 50] = patch.read_array()?; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/patch/ppf.rs:287:53 [INFO] [stderr] | [INFO] [stderr] 287 | let file_block: [u8; BLOCK_CHECK_LENGTH] = file.read_array()?; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/patch/ppf.rs:288:60 [INFO] [stderr] | [INFO] [stderr] 288 | let validation_block: [u8; BLOCK_CHECK_LENGTH] = patch.read_array()?; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/patch/ups.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | if &patch.read_array::<4>()? != b"UPS1" { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/patch/vcd.rs:28:15 [INFO] [stderr] | [INFO] [stderr] 28 | if &patch.read_array::<3>()? != MAGIC { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: call with fully qualified syntax `io::ReadArray::read_array(...)` to keep using the current method [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rom` [INFO] [stderr] --> src/patch/bps.rs:10:3 [INFO] [stderr] | [INFO] [stderr] 10 | rom: &mut (impl Read + Seek), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `patch` [INFO] [stderr] --> src/patch/bps.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | patch: &mut (impl Read + Seek), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_patch` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/patch/bps.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | output: &mut (impl Read + Write + Seek), [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rom_checksum` [INFO] [stderr] --> src/patch/bps.rs:13:3 [INFO] [stderr] | [INFO] [stderr] 13 | rom_checksum: crc::Crc32, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_checksum` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `patch_checksum` [INFO] [stderr] --> src/patch/bps.rs:14:3 [INFO] [stderr] | [INFO] [stderr] 14 | patch_checksum: crc::Crc32, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patch_checksum` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `patch_eof` [INFO] [stderr] --> src/patch/bps.rs:15:3 [INFO] [stderr] | [INFO] [stderr] 15 | patch_eof: u64, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patch_eof` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rom_checksum` [INFO] [stderr] --> src/patch/mod.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | rom_checksum: crc::Crc32, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_checksum` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `patch_checksum` [INFO] [stderr] --> src/patch/mod.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | patch_checksum: crc::Crc32, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patch_checksum` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `patch_eof` [INFO] [stderr] --> src/patch/mod.rs:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | patch_eof: u64, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patch_eof` [INFO] [stderr] [INFO] [stderr] warning: trait `FileName` is never used [INFO] [stderr] --> src/filename.rs:50:11 [INFO] [stderr] | [INFO] [stderr] 50 | pub trait FileName { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `try_map` is never used [INFO] [stderr] --> src/mem.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn try_map(value: A, f: F) -> Result>::Error> [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Patch` is never constructed [INFO] [stderr] --> src/patch/mod.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Patch

{ [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/patch/mod.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 22 | impl

Patch

{ [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 23 | pub fn new(kind: Kind, file: P) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UnknownPatchKindError` is never constructed [INFO] [stderr] --> src/patch/mod.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub struct UnknownPatchKindError(pub(crate) ()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Args` is never constructed [INFO] [stderr] --> src/patch/mod.rs:173:12 [INFO] [stderr] | [INFO] [stderr] 173 | pub struct Args<'f, 'p, F, P> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `PatchFn` is never used [INFO] [stderr] --> src/patch/mod.rs:180:6 [INFO] [stderr] | [INFO] [stderr] 180 | type PatchFn

= fn(&path::Path, &Patch

) -> Result<(), Error>; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `patch` is never used [INFO] [stderr] --> src/patch/bps.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn patch( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `romhacks` (bin "romhacks" test) generated 29 warnings (run `cargo fix --bin "romhacks" -p romhacks --tests` to apply 12 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: higher-kinded-types v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/romhacks-69dbe80c4eb3837c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0931af19eee49dd8c40a2dfb6e71b2d06beb751d7540e733f83076eaff269f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0931af19eee49dd8c40a2dfb6e71b2d06beb751d7540e733f83076eaff269f23", kill_on_drop: false }` [INFO] [stdout] 0931af19eee49dd8c40a2dfb6e71b2d06beb751d7540e733f83076eaff269f23