[INFO] cloning repository https://github.com/ngynkvn/rust-emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ngynkvn/rust-emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngynkvn%2Frust-emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngynkvn%2Frust-emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d78f8ef2f2691273a2a1982a1c77649d80e227d [INFO] checking ngynkvn/rust-emu against try#e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngynkvn%2Frust-emu" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ngynkvn/rust-emu [INFO] finished tweaking git repo https://github.com/ngynkvn/rust-emu [INFO] tweaked toml for git repo https://github.com/ngynkvn/rust-emu written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ngynkvn/rust-emu on toolchain e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ngynkvn/rust-emu 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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dirs-sys-next v0.1.1 [INFO] [stderr] Downloaded dirs-next v1.0.2 [INFO] [stderr] Downloaded structopt v0.3.19 [INFO] [stderr] Downloaded imgui-opengl-renderer v0.9.0 [INFO] [stderr] Downloaded pin-project-internal v0.4.26 [INFO] [stderr] Downloaded half v1.6.0 [INFO] [stderr] Downloaded crossterm_winapi v0.6.1 [INFO] [stderr] Downloaded criterion-plot v0.4.3 [INFO] [stderr] Downloaded tinytemplate v1.1.0 [INFO] [stderr] Downloaded trackable v1.2.0 [INFO] [stderr] Downloaded structopt-derive v0.4.12 [INFO] [stderr] Downloaded serde_cbor v0.11.1 [INFO] [stderr] Downloaded rustyline v6.3.0 [INFO] [stderr] Downloaded pin-project v0.4.26 [INFO] [stderr] Downloaded ntapi v0.3.4 [INFO] [stderr] Downloaded rayon v1.4.0 [INFO] [stderr] Downloaded criterion v0.3.3 [INFO] [stderr] Downloaded mio v0.7.0 [INFO] [stderr] Downloaded imgui v0.5.0 [INFO] [stderr] Downloaded plotters v0.2.15 [INFO] [stderr] Downloaded imgui-sys v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5235d318910b5fab29e9a9709ddcbfac62ba5e74a7f260a2b76571cbcb055ee2 [INFO] running `Command { std: "docker" "start" "-a" "5235d318910b5fab29e9a9709ddcbfac62ba5e74a7f260a2b76571cbcb055ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5235d318910b5fab29e9a9709ddcbfac62ba5e74a7f260a2b76571cbcb055ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5235d318910b5fab29e9a9709ddcbfac62ba5e74a7f260a2b76571cbcb055ee2", kill_on_drop: false }` [INFO] [stdout] 5235d318910b5fab29e9a9709ddcbfac62ba5e74a7f260a2b76571cbcb055ee2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40b1dec001475aee7d4dc3cb5baf4dfdb3d4deac26a6673453d02c574f479d37 [INFO] running `Command { std: "docker" "start" "-a" "40b1dec001475aee7d4dc3cb5baf4dfdb3d4deac26a6673453d02c574f479d37", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling pin-project-internal v0.4.26 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling imgui-sys v0.5.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling imgui-opengl-renderer v0.9.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking minstant v0.0.1 (https://github.com/zhongzc/minstant.git?rev=dc7dd5c17c564601afff7c0b640fd430728bfcd5#dc7dd5c1) [INFO] [stderr] Checking mio v0.7.0 [INFO] [stderr] Checking dirs-sys-next v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling arraydeque v0.4.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking dirs-next v1.0.2 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking crossterm v0.17.7 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Compiling structopt-derive v0.4.12 [INFO] [stderr] Checking trackable v1.2.0 [INFO] [stderr] Compiling minitrace-macro v0.1.0 (https://github.com/tikv/minitrace-rust.git#ee6ec8fe) [INFO] [stderr] Checking trackable v0.2.24 [INFO] [stderr] Checking thrift_codec v0.1.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking fern v0.6.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking spin_sleep v1.0.0 [INFO] [stderr] Checking rustyline v6.3.0 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking structopt v0.3.19 [INFO] [stderr] Checking pin-project v0.4.26 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking minitrace v0.1.0 (https://github.com/tikv/minitrace-rust.git#ee6ec8fe) [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking minitrace-jaeger v0.1.0 (https://github.com/tikv/minitrace-rust.git#ee6ec8fe) [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking oorandom v11.1.2 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stderr] Checking imgui v0.5.0 [INFO] [stderr] Checking rust-emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `wasm_bindgen` [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `wasm_bindgen` [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::timer`, `crate::cpu`, `crate::cpu` [INFO] [stdout] --> src/bus.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::timer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpu, texture::*}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/timer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cpu; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::timer`, `crate::cpu`, `crate::cpu` [INFO] [stdout] --> src/bus.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::timer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpu, texture::*}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/timer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cpu; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wasm_bindgen` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wasm_bindgen` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wasm_bindgen` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wasm_bindgen` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wee_alloc` [INFO] [stdout] --> src/lib.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | if #[cfg(feature = "wee_alloc")] { [INFO] [stdout] | ^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wee_alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/debugger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/timer.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | 0b00 => (1 << 9), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - 0b00 => (1 << 9), [INFO] [stdout] 40 + 0b00 => 1 << 9, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/timer.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | 0b01 => (1 << 3), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - 0b01 => (1 << 3), [INFO] [stdout] 41 + 0b01 => 1 << 3, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/timer.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | 0b10 => (1 << 5), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - 0b10 => (1 << 5), [INFO] [stdout] 42 + 0b10 => 1 << 5, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/timer.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | 0b11 => (1 << 7), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - 0b11 => (1 << 7), [INFO] [stdout] 43 + 0b11 => 1 << 7, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `console_error_panic_hook` [INFO] [stdout] --> src/utils.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "console_error_panic_hook")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `console_error_panic_hook` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wee_alloc` [INFO] [stdout] --> src/lib.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | if #[cfg(feature = "wee_alloc")] { [INFO] [stdout] | ^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wee_alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/cpu/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Instr` and `Location::*` [INFO] [stdout] --> src/cpu/test.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::instructions::{Instr, Location::*}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Instr`, `Location`, `bus::Bus`, and `cpu::CPU` [INFO] [stdout] --> src/instructions/cb.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | bus::Bus, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 143 | cpu::CPU, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 144 | instructions::{Instr, Location}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/debugger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/timer.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | 0b00 => (1 << 9), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - 0b00 => (1 << 9), [INFO] [stdout] 40 + 0b00 => 1 << 9, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/timer.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | 0b01 => (1 << 3), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - 0b01 => (1 << 3), [INFO] [stdout] 41 + 0b01 => 1 << 3, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/timer.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | 0b10 => (1 << 5), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - 0b10 => (1 << 5), [INFO] [stdout] 42 + 0b10 => 1 << 5, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/timer.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | 0b11 => (1 << 7), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - 0b11 => (1 << 7), [INFO] [stdout] 43 + 0b11 => 1 << 7, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `console_error_panic_hook` [INFO] [stdout] --> src/utils.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "console_error_panic_hook")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `console_error_panic_hook` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate cfg_if; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-07-08; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use cfg_if::cfg_if; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-07-08; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate cfg_if; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-07-08; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use cfg_if::cfg_if; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-07-08; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `alert` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | alert("Hello, wasm-game-of-life!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0432, E0463, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `alert` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | alert("Hello, wasm-game-of-life!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0432, E0463, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-emu` (lib) due to 7 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-emu` (lib test) due to 7 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "40b1dec001475aee7d4dc3cb5baf4dfdb3d4deac26a6673453d02c574f479d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40b1dec001475aee7d4dc3cb5baf4dfdb3d4deac26a6673453d02c574f479d37", kill_on_drop: false }` [INFO] [stdout] 40b1dec001475aee7d4dc3cb5baf4dfdb3d4deac26a6673453d02c574f479d37