[INFO] cloning repository https://github.com/BusinessJoe/Gameboy-Emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BusinessJoe/Gameboy-Emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBusinessJoe%2FGameboy-Emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBusinessJoe%2FGameboy-Emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 310c7228e2a017f81059fb109ac053093b483f74 [INFO] testing BusinessJoe/Gameboy-Emulator against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBusinessJoe%2FGameboy-Emulator" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BusinessJoe/Gameboy-Emulator on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/BusinessJoe/Gameboy-Emulator [INFO] finished tweaking git repo https://github.com/BusinessJoe/Gameboy-Emulator [INFO] tweaked toml for git repo https://github.com/BusinessJoe/Gameboy-Emulator written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BusinessJoe/Gameboy-Emulator 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.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-6-tc1/source/gameboy_emulator/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded riff v1.0.1 [INFO] [stderr] Downloaded ciborium-io v0.2.0 [INFO] [stderr] Downloaded debugid v0.7.3 [INFO] [stderr] Downloaded ciborium-ll v0.2.0 [INFO] [stderr] Downloaded ciborium v0.2.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.22 [INFO] [stderr] Downloaded symbolic-common v8.8.0 [INFO] [stderr] Downloaded pprof v0.3.23 [INFO] [stderr] Downloaded inferno v0.10.12 [INFO] [stderr] Downloaded os_str_bytes v6.5.0 [INFO] [stderr] Downloaded str_stack v0.1.0 [INFO] [stderr] Downloaded quick-xml v0.22.0 [INFO] [stderr] Downloaded symbolic-demangle v8.8.0 [INFO] [stderr] Downloaded nix v0.19.1 [INFO] [stderr] Downloaded wav v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d16949e5eb7acf99bec314bd83f7fe6a33fdc3e24c68cdfe388451bcb039b26 [INFO] running `Command { std: "docker" "start" "-a" "6d16949e5eb7acf99bec314bd83f7fe6a33fdc3e24c68cdfe388451bcb039b26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d16949e5eb7acf99bec314bd83f7fe6a33fdc3e24c68cdfe388451bcb039b26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d16949e5eb7acf99bec314bd83f7fe6a33fdc3e24c68cdfe388451bcb039b26", kill_on_drop: false }` [INFO] [stdout] 6d16949e5eb7acf99bec314bd83f7fe6a33fdc3e24c68cdfe388451bcb039b26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a56bf5d768d0404b2c65e626c0e885d153f4bd5963a65f0ebd8242bacce0d1e8 [INFO] running `Command { std: "docker" "start" "-a" "a56bf5d768d0404b2c65e626c0e885d153f4bd5963a65f0ebd8242bacce0d1e8", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/gameboy_emulator/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.84 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling io-lifetimes v1.0.9 [INFO] [stderr] Compiling bumpalo v3.12.0 [INFO] [stderr] Compiling rustix v0.37.7 [INFO] [stderr] Compiling linux-raw-sys v0.3.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.84 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling concolor-override v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling concolor-query v0.3.3 [INFO] [stderr] Compiling anstyle v0.3.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling clap_lex v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling syn v2.0.13 [INFO] [stderr] Compiling ringbuf v0.3.3 [INFO] [stderr] Compiling regex v1.7.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling is-terminal v0.4.6 [INFO] [stderr] Compiling anstream v0.2.6 [INFO] [stderr] Compiling clap_builder v4.2.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.84 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.84 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.84 [INFO] [stderr] Compiling clap v4.2.1 [INFO] [stderr] Compiling js-sys v0.3.61 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.61 [INFO] [stderr] Compiling gameboy_emulator v0.1.0 (/opt/rustwide/workdir/gameboy_emulator) [INFO] [stdout] warning: unused import: `global_control_regs::GlobalControlRegisters` [INFO] [stdout] --> gameboy_emulator/src/apu/apu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | global_control_regs::GlobalControlRegisters, noise::NoiseChannel, square::SquareChannel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gameboy_emulator/src/apu/apu.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | /// allocate enough capacity for 10 frames of audio [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | audio_buffer: HeapRb::new(2048), [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> gameboy_emulator/src/apu/square.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{component::Address, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::digital_to_analog` [INFO] [stdout] --> gameboy_emulator/src/apu/square.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | dac::Dac, sweep::FrequencySweep, utils::digital_to_analog, volume_envelope::VolumeEnvelope, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> gameboy_emulator/src/apu/wave.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{component::Address, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BatchSteppable` [INFO] [stdout] --> gameboy_emulator/src/cpu/cpu.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::component::{Addressable, BatchSteppable, ElapsedTime, Steppable}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Steppable` [INFO] [stdout] --> gameboy_emulator/src/memory.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::component::{Address, Addressable, BatchSteppable, Steppable, TickCount}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [INFO] [stdout] --> gameboy_emulator/src/cartridge.rs:108:50 [INFO] [stdout] | [INFO] [stdout] 108 | fn read(&self, address: Address, rom: &[u8], ram: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> gameboy_emulator/src/cartridge.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(elem) = rom.get_mut(address) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> gameboy_emulator/src/cartridge.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | value: u8, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [INFO] [stdout] --> gameboy_emulator/src/cartridge.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | ram: &mut [u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacitor` is never read [INFO] [stdout] --> gameboy_emulator/src/apu/dac.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Dac { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 4 | pub enabled: bool, [INFO] [stdout] 5 | capacitor: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `high_pass` is never used [INFO] [stdout] --> gameboy_emulator/src/apu/dac.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Dac { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | fn high_pass(&mut self, input: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalControlRegisters` is never constructed [INFO] [stdout] --> gameboy_emulator/src/apu/global_control_regs.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct GlobalControlRegisters { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> gameboy_emulator/src/apu/global_control_regs.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl GlobalControlRegisters { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `initial_volume` is never read [INFO] [stdout] --> gameboy_emulator/src/apu/volume_envelope.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct VolumeEnvelope { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | initial_volume: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cartridge_from_data` is never used [INFO] [stdout] --> gameboy_emulator/src/cartridge.rs:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | fn cartridge_from_data(data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_bit` is never used [INFO] [stdout] --> gameboy_emulator/src/utils/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl BitField { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn set_bit(&mut self, index: usize, value: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.87s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.84 [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" "a56bf5d768d0404b2c65e626c0e885d153f4bd5963a65f0ebd8242bacce0d1e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a56bf5d768d0404b2c65e626c0e885d153f4bd5963a65f0ebd8242bacce0d1e8", kill_on_drop: false }` [INFO] [stdout] a56bf5d768d0404b2c65e626c0e885d153f4bd5963a65f0ebd8242bacce0d1e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8f4cc0c0cddc3afd4a79df0ae5b6eb918fb926af0240ce32990db1f12e68007 [INFO] running `Command { std: "docker" "start" "-a" "b8f4cc0c0cddc3afd4a79df0ae5b6eb918fb926af0240ce32990db1f12e68007", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/gameboy_emulator/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.159 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling serde v1.0.159 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling serde_json v1.0.95 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling cpp_demangle v0.3.5 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.7 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling debugid v0.7.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling gimli v0.27.2 [INFO] [stderr] Compiling rustc-demangle v0.1.22 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling ciborium-io v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling plotters-backend v0.3.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling symbolic-demangle v8.8.0 [INFO] [stderr] Compiling os_str_bytes v6.5.0 [INFO] [stderr] Compiling symbolic-common v8.8.0 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling rgb v0.8.36 [INFO] [stderr] Compiling plotters-svg v0.3.3 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling ciborium-ll v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling pprof v0.3.23 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling tempfile v3.5.0 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling plotters v0.3.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling inferno v0.10.12 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stdout] warning: unused import: `global_control_regs::GlobalControlRegisters` [INFO] [stdout] --> gameboy_emulator/src/apu/apu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | global_control_regs::GlobalControlRegisters, noise::NoiseChannel, square::SquareChannel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gameboy_emulator/src/apu/apu.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | /// allocate enough capacity for 10 frames of audio [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | audio_buffer: HeapRb::new(2048), [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> gameboy_emulator/src/apu/square.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{component::Address, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::digital_to_analog` [INFO] [stdout] --> gameboy_emulator/src/apu/square.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | dac::Dac, sweep::FrequencySweep, utils::digital_to_analog, volume_envelope::VolumeEnvelope, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> gameboy_emulator/src/apu/wave.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{component::Address, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BatchSteppable` [INFO] [stdout] --> gameboy_emulator/src/cpu/cpu.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::component::{Addressable, BatchSteppable, ElapsedTime, Steppable}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Steppable` [INFO] [stdout] --> gameboy_emulator/src/memory.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::component::{Address, Addressable, BatchSteppable, Steppable, TickCount}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [INFO] [stdout] --> gameboy_emulator/src/cartridge.rs:108:50 [INFO] [stdout] | [INFO] [stdout] 108 | fn read(&self, address: Address, rom: &[u8], ram: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> gameboy_emulator/src/cartridge.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(elem) = rom.get_mut(address) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> gameboy_emulator/src/cartridge.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | value: u8, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [INFO] [stdout] --> gameboy_emulator/src/cartridge.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | ram: &mut [u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacitor` is never read [INFO] [stdout] --> gameboy_emulator/src/apu/dac.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Dac { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 4 | pub enabled: bool, [INFO] [stdout] 5 | capacitor: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `high_pass` is never used [INFO] [stdout] --> gameboy_emulator/src/apu/dac.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Dac { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | fn high_pass(&mut self, input: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalControlRegisters` is never constructed [INFO] [stdout] --> gameboy_emulator/src/apu/global_control_regs.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct GlobalControlRegisters { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> gameboy_emulator/src/apu/global_control_regs.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl GlobalControlRegisters { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `initial_volume` is never read [INFO] [stdout] --> gameboy_emulator/src/apu/volume_envelope.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct VolumeEnvelope { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | initial_volume: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cartridge_from_data` is never used [INFO] [stdout] --> gameboy_emulator/src/cartridge.rs:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | fn cartridge_from_data(data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_bit` is never used [INFO] [stdout] --> gameboy_emulator/src/utils/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl BitField { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn set_bit(&mut self, index: usize, value: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling ciborium v0.2.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Compiling gameboy_emulator v0.1.0 (/opt/rustwide/workdir/gameboy_emulator) [INFO] [stdout] warning: unused imports: `Hash`, `Hasher`, and `collections::hash_map::DefaultHasher` [INFO] [stdout] --> gameboy_emulator/tests/common/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::hash_map::DefaultHasher, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | hash::{Hash, Hasher}, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Hasher`, and `collections::hash_map::DefaultHasher` [INFO] [stdout] --> gameboy_emulator/tests/common/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::hash_map::DefaultHasher, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | hash::{Hash, Hasher}, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_rom_serial_data` is never used [INFO] [stdout] --> gameboy_emulator/tests/common/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn test_rom_serial_data(path: &str, target_serial_data: &[u8], num_frames: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_subsequence` is never used [INFO] [stdout] --> gameboy_emulator/tests/common/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn find_subsequence(haystack: &[u8], needle: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Hasher`, and `collections::hash_map::DefaultHasher` [INFO] [stdout] --> gameboy_emulator/tests/common/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::hash_map::DefaultHasher, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | hash::{Hash, Hasher}, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_rom_screen_hash` is never used [INFO] [stdout] --> gameboy_emulator/tests/common/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn test_rom_screen_hash(path: &str, target_hash: u64, num_frames: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `global_control_regs::GlobalControlRegisters` [INFO] [stdout] --> gameboy_emulator/src/apu/apu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | global_control_regs::GlobalControlRegisters, noise::NoiseChannel, square::SquareChannel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gameboy_emulator/src/apu/apu.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | /// allocate enough capacity for 10 frames of audio [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | audio_buffer: HeapRb::new(2048), [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> gameboy_emulator/src/apu/square.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{component::Address, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::digital_to_analog` [INFO] [stdout] --> gameboy_emulator/src/apu/square.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | dac::Dac, sweep::FrequencySweep, utils::digital_to_analog, volume_envelope::VolumeEnvelope, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> gameboy_emulator/src/apu/wave.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{component::Address, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BatchSteppable` [INFO] [stdout] --> gameboy_emulator/src/cpu/cpu.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::component::{Addressable, BatchSteppable, ElapsedTime, Steppable}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Steppable` [INFO] [stdout] --> gameboy_emulator/src/memory.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::component::{Address, Addressable, BatchSteppable, Steppable, TickCount}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [INFO] [stdout] --> gameboy_emulator/src/cartridge.rs:108:50 [INFO] [stdout] | [INFO] [stdout] 108 | fn read(&self, address: Address, rom: &[u8], ram: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> gameboy_emulator/src/cartridge.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(elem) = rom.get_mut(address) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> gameboy_emulator/src/cartridge.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | value: u8, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [INFO] [stdout] --> gameboy_emulator/src/cartridge.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | ram: &mut [u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacitor` is never read [INFO] [stdout] --> gameboy_emulator/src/apu/dac.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Dac { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 4 | pub enabled: bool, [INFO] [stdout] 5 | capacitor: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `high_pass` is never used [INFO] [stdout] --> gameboy_emulator/src/apu/dac.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Dac { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | fn high_pass(&mut self, input: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalControlRegisters` is never constructed [INFO] [stdout] --> gameboy_emulator/src/apu/global_control_regs.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct GlobalControlRegisters { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> gameboy_emulator/src/apu/global_control_regs.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl GlobalControlRegisters { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `initial_volume` is never read [INFO] [stdout] --> gameboy_emulator/src/apu/volume_envelope.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct VolumeEnvelope { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | initial_volume: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_bit` is never used [INFO] [stdout] --> gameboy_emulator/src/utils/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl BitField { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn set_bit(&mut self, index: usize, value: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 31.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0, wasm-bindgen v0.2.84 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "b8f4cc0c0cddc3afd4a79df0ae5b6eb918fb926af0240ce32990db1f12e68007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8f4cc0c0cddc3afd4a79df0ae5b6eb918fb926af0240ce32990db1f12e68007", kill_on_drop: false }` [INFO] [stdout] b8f4cc0c0cddc3afd4a79df0ae5b6eb918fb926af0240ce32990db1f12e68007 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9d498c704dcbb3c84c721dba0af55cfc8fab75d21b8810275b7dd44d56e13952 [INFO] running `Command { std: "docker" "start" "-a" "9d498c704dcbb3c84c721dba0af55cfc8fab75d21b8810275b7dd44d56e13952", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/gameboy_emulator/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: unused import: `global_control_regs::GlobalControlRegisters` [INFO] [stderr] --> gameboy_emulator/src/apu/apu.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | global_control_regs::GlobalControlRegisters, noise::NoiseChannel, square::SquareChannel, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> gameboy_emulator/src/apu/apu.rs:64:13 [INFO] [stderr] | [INFO] [stderr] 64 | /// allocate enough capacity for 10 frames of audio [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 65 | audio_buffer: HeapRb::new(2048), [INFO] [stderr] | ------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> gameboy_emulator/src/apu/square.rs:1:33 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{component::Address, Error, Result}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `utils::digital_to_analog` [INFO] [stderr] --> gameboy_emulator/src/apu/square.rs:4:38 [INFO] [stderr] | [INFO] [stderr] 4 | dac::Dac, sweep::FrequencySweep, utils::digital_to_analog, volume_envelope::VolumeEnvelope, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> gameboy_emulator/src/apu/wave.rs:1:33 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{component::Address, Error, Result}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BatchSteppable` [INFO] [stderr] --> gameboy_emulator/src/cpu/cpu.rs:3:37 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::component::{Addressable, BatchSteppable, ElapsedTime, Steppable}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Steppable` [INFO] [stderr] --> gameboy_emulator/src/memory.rs:8:62 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::component::{Address, Addressable, BatchSteppable, Steppable, TickCount}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ram` [INFO] [stderr] --> gameboy_emulator/src/cartridge.rs:108:50 [INFO] [stderr] | [INFO] [stderr] 108 | fn read(&self, address: Address, rom: &[u8], ram: &[u8]) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `elem` [INFO] [stderr] --> gameboy_emulator/src/cartridge.rs:119:21 [INFO] [stderr] | [INFO] [stderr] 119 | if let Some(elem) = rom.get_mut(address) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> gameboy_emulator/src/cartridge.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | value: u8, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ram` [INFO] [stderr] --> gameboy_emulator/src/cartridge.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | ram: &mut [u8], [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stderr] [INFO] [stderr] warning: field `capacitor` is never read [INFO] [stderr] --> gameboy_emulator/src/apu/dac.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct Dac { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 4 | pub enabled: bool, [INFO] [stderr] 5 | capacitor: f32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `high_pass` is never used [INFO] [stderr] --> gameboy_emulator/src/apu/dac.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 8 | impl Dac { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 20 | fn high_pass(&mut self, input: f32) -> f32 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GlobalControlRegisters` is never constructed [INFO] [stderr] --> gameboy_emulator/src/apu/global_control_regs.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct GlobalControlRegisters { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> gameboy_emulator/src/apu/global_control_regs.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl GlobalControlRegisters { [INFO] [stderr] | --------------------------- associated function in this implementation [INFO] [stderr] 23 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `initial_volume` is never read [INFO] [stderr] --> gameboy_emulator/src/apu/volume_envelope.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct VolumeEnvelope { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 7 | initial_volume: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `cartridge_from_data` is never used [INFO] [stderr] --> gameboy_emulator/src/cartridge.rs:302:4 [INFO] [stderr] | [INFO] [stderr] 302 | fn cartridge_from_data(data: &[u8]) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `set_bit` is never used [INFO] [stderr] --> gameboy_emulator/src/utils/mod.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 3 | impl BitField { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 9 | pub fn set_bit(&mut self, index: usize, value: bool) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gameboy_emulator` (lib) generated 18 warnings (run `cargo fix --lib -p gameboy_emulator` to apply 6 suggestions) [INFO] [stderr] warning: unused imports: `Hash`, `Hasher`, and `collections::hash_map::DefaultHasher` [INFO] [stderr] --> gameboy_emulator/tests/common/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | collections::hash_map::DefaultHasher, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 3 | hash::{Hash, Hasher}, [INFO] [stderr] | ^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `test_rom_screen_hash` is never used [INFO] [stderr] --> gameboy_emulator/tests/common/mod.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn test_rom_screen_hash(path: &str, target_hash: u64, num_frames: u64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `test_rom_serial_data` is never used [INFO] [stderr] --> gameboy_emulator/tests/common/mod.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn test_rom_serial_data(path: &str, target_serial_data: &[u8], num_frames: u64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `find_subsequence` is never used [INFO] [stderr] --> gameboy_emulator/tests/common/mod.rs:29:4 [INFO] [stderr] | [INFO] [stderr] 29 | fn find_subsequence(haystack: &[u8], needle: &[u8]) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gameboy_emulator` (test "test_blargg") generated 1 warning (run `cargo fix --test "test_blargg"` to apply 1 suggestion) [INFO] [stderr] warning: `gameboy_emulator` (test "test_mooneye") generated 2 warnings (1 duplicate) [INFO] [stderr] warning: `gameboy_emulator` (test "test_dmg_acid") generated 3 warnings (1 duplicate) [INFO] [stderr] warning: `gameboy_emulator` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0, wasm-bindgen v0.2.84 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gameboy_emulator-6224224bd4f260f9) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test apu::noise::tests::test_lfsr_states ... ok [INFO] [stdout] test apu::utils::tests::d_to_a ... ok [INFO] [stdout] test bit_field::tests::test_u8_register ... ok [INFO] [stdout] test cartridge::tests::test_cartridge_builder_correct_mbc_type ... ok [INFO] [stdout] test cartridge::tests::test_cartridge_builder_panics_with_large_data - should panic ... ok [INFO] [stdout] test timer::tests::test_batch_step_same_outcome_tima ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.76s [INFO] [stdout] [INFO] [stderr] Running unittests src/no_gui.rs (/opt/rustwide/target/debug/deps/nogui-e0f33d2758f2230d) [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] [stderr] Running tests/test_blargg.rs (/opt/rustwide/target/debug/deps/test_blargg-dbb709398ba2e138) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test blargg_halt_bug ... ok [INFO] [stdout] test test_blargg_cpu_all ... ok [INFO] [stdout] [INFO] [stderr] Running tests/test_dmg_acid.rs (/opt/rustwide/target/debug/deps/test_dmg_acid-449aa155d567762f) [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 46.65s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test dmg_acid_2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.82s [INFO] [stdout] [INFO] [stderr] Running tests/test_mooneye.rs (/opt/rustwide/target/debug/deps/test_mooneye-60e2e062ba20e38d) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_mooneye::test_boot_div ... ok [INFO] [stdout] test test_mooneye::test_boot_regs ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.05s [INFO] [stdout] [INFO] [stderr] Doc-tests gameboy_emulator [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" "9d498c704dcbb3c84c721dba0af55cfc8fab75d21b8810275b7dd44d56e13952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d498c704dcbb3c84c721dba0af55cfc8fab75d21b8810275b7dd44d56e13952", kill_on_drop: false }` [INFO] [stdout] 9d498c704dcbb3c84c721dba0af55cfc8fab75d21b8810275b7dd44d56e13952