[INFO] cloning repository https://github.com/danbrodsky/webRTL [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danbrodsky/webRTL" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanbrodsky%2FwebRTL", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanbrodsky%2FwebRTL'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cbe51b5b0441f0c2d7a7880cdbcf3dabd3e614cc [INFO] checking danbrodsky/webRTL against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanbrodsky%2FwebRTL" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danbrodsky/webRTL on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danbrodsky/webRTL [INFO] finished tweaking git repo https://github.com/danbrodsky/webRTL [INFO] tweaked toml for git repo https://github.com/danbrodsky/webRTL written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/danbrodsky/webRTL already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 627f1d9419869ff2f2f0845f65b678982d02009c8c6f37551e8d64d5f1cd2be9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "627f1d9419869ff2f2f0845f65b678982d02009c8c6f37551e8d64d5f1cd2be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "627f1d9419869ff2f2f0845f65b678982d02009c8c6f37551e8d64d5f1cd2be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "627f1d9419869ff2f2f0845f65b678982d02009c8c6f37551e8d64d5f1cd2be9", kill_on_drop: false }` [INFO] [stdout] 627f1d9419869ff2f2f0845f65b678982d02009c8c6f37551e8d64d5f1cd2be9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e56e3cdbb9147814f61fe596e5d830cb85259b970668cfa50744a3387391643d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e56e3cdbb9147814f61fe596e5d830cb85259b970668cfa50744a3387391643d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.69 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.69 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking tap v1.0.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking bitvec v0.19.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.69 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.69 [INFO] [stderr] Checking js-sys v0.3.46 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking web-sys v0.3.46 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.19 [INFO] [stderr] Checking divein v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::util::*` [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | use crate::util::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `branch::alt`, `combinator::complete`, `multi::many1` [INFO] [stdout] --> src/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | combinator::complete, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | multi::many1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | branch::alt [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::*` [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | use crate::util::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `branch::alt`, `combinator::complete`, `multi::many1` [INFO] [stdout] --> src/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | combinator::complete, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | multi::many1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | branch::alt [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `remove_file` [INFO] [stdout] --> src/main.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | use std::fs::{File, remove_file}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::STATE` [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use crate::config::STATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `remove_file` [INFO] [stdout] --> src/main.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | use std::fs::{File, remove_file}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::STATE` [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use crate::config::STATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/graphics.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | FRAME.compare_and_swap(VGA_BUFFER_SIZE, 0, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/graphics.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | FRAME.compare_and_swap(FRAME_CACHE_SIZE, 0, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/graphics.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | FRAME.compare_and_swap(VGA_BUFFER_SIZE, 0, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/graphics.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | FRAME.compare_and_swap(VGA_BUFFER_SIZE, 0, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/graphics.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | FRAME.compare_and_swap(FRAME_CACHE_SIZE, 0, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/graphics.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | FRAME.compare_and_swap(FRAME_CACHE_SIZE, 0, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | let mut reg = Element::Register(Register::new("$0out[8:0][8]", "out[8]", Some(("re", "clock")), Some('2'))); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 453 | let mut reg = Element::Register(Register::new("$0out[8:0][8]", "out[8]", Some(("re", "clock")), None)); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | let mut reg = Element::Register(Register::new("$0out[8:0][8]", "out[8]", None, None)); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | let mut reg = Element::Register(Register::new("$0out[8:0][8]", "out[8]", None, Some('2'))); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | let mut blif = Config::parse_blif( [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/graphics.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | FRAME.compare_and_swap(VGA_BUFFER_SIZE, 0, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/graphics.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | FRAME.compare_and_swap(FRAME_CACHE_SIZE, 0, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_n` [INFO] [stdout] --> src/util.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_n(var: &str, n: usize, val: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_n_to_m` [INFO] [stdout] --> src/util.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn set_n_to_m(var: &str, n: usize, m: usize, val: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_bit_vec` [INFO] [stdout] --> src/util.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn to_bit_vec(v: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `group` [INFO] [stdout] --> src/config.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn group() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FRAME` [INFO] [stdout] --> src/graphics.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub static FRAME: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `BUFFER` [INFO] [stdout] --> src/graphics.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub static mut BUFFER: FrameBuffer = [0; VGA_BUFFER_SIZE]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FRAME_CACHE` [INFO] [stdout] --> src/graphics.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub static mut FRAME_CACHE: [FrameBuffer; FRAME_CACHE_SIZE] = [[0; VGA_BUFFER_SIZE]; FRAME_CACHE_SIZE]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `window` [INFO] [stdout] --> src/graphics.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn window() -> web_sys::Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `request_animation_frame` [INFO] [stdout] --> src/graphics.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn request_animation_frame(window: &web_sys::Window, f: &Closure) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_timeout` [INFO] [stdout] --> src/graphics.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn set_timeout(window: &web_sys::Window, f: &Closure, timeout_ms: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_render` [INFO] [stdout] --> src/graphics.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe fn test_render() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `render_next` [INFO] [stdout] --> src/graphics.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn render_next() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw` [INFO] [stdout] --> src/graphics.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | let mut reg = Element::Register(Register::new("$0out[8:0][8]", "out[8]", Some(("re", "clock")), Some('2'))); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 453 | let mut reg = Element::Register(Register::new("$0out[8:0][8]", "out[8]", Some(("re", "clock")), None)); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | let mut reg = Element::Register(Register::new("$0out[8:0][8]", "out[8]", None, None)); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | let mut reg = Element::Register(Register::new("$0out[8:0][8]", "out[8]", None, Some('2'))); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | let mut blif = Config::parse_blif( [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_n` [INFO] [stdout] --> src/util.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_n(var: &str, n: usize, val: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_n_to_m` [INFO] [stdout] --> src/util.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn set_n_to_m(var: &str, n: usize, m: usize, val: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_bit_vec` [INFO] [stdout] --> src/util.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn to_bit_vec(v: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `group` [INFO] [stdout] --> src/config.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn group() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FRAME` [INFO] [stdout] --> src/graphics.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub static FRAME: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `BUFFER` [INFO] [stdout] --> src/graphics.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub static mut BUFFER: FrameBuffer = [0; VGA_BUFFER_SIZE]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FRAME_CACHE` [INFO] [stdout] --> src/graphics.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub static mut FRAME_CACHE: [FrameBuffer; FRAME_CACHE_SIZE] = [[0; VGA_BUFFER_SIZE]; FRAME_CACHE_SIZE]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `window` [INFO] [stdout] --> src/graphics.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn window() -> web_sys::Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `request_animation_frame` [INFO] [stdout] --> src/graphics.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn request_animation_frame(window: &web_sys::Window, f: &Closure) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_timeout` [INFO] [stdout] --> src/graphics.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn set_timeout(window: &web_sys::Window, f: &Closure, timeout_ms: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_render` [INFO] [stdout] --> src/graphics.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe fn test_render() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `render_next` [INFO] [stdout] --> src/graphics.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn render_next() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw` [INFO] [stdout] --> src/graphics.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "e56e3cdbb9147814f61fe596e5d830cb85259b970668cfa50744a3387391643d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e56e3cdbb9147814f61fe596e5d830cb85259b970668cfa50744a3387391643d", kill_on_drop: false }` [INFO] [stdout] e56e3cdbb9147814f61fe596e5d830cb85259b970668cfa50744a3387391643d