[INFO] cloning repository https://github.com/ajzaff/substrate-mfm-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ajzaff/substrate-mfm-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajzaff%2Fsubstrate-mfm-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajzaff%2Fsubstrate-mfm-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63222eb29832f04118f8cdc72a11fbb05f2643f5 [INFO] testing ajzaff/substrate-mfm-engine against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajzaff%2Fsubstrate-mfm-engine" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ajzaff/substrate-mfm-engine on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ajzaff/substrate-mfm-engine [INFO] finished tweaking git repo https://github.com/ajzaff/substrate-mfm-engine [INFO] tweaked toml for git repo https://github.com/ajzaff/substrate-mfm-engine written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/ajzaff/substrate-mfm-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad3b46b7fc3e9300a1f131de87e64844f041ee0f392edace5d67c4cc19fdbac1 [INFO] running `Command { std: "docker" "start" "-a" "ad3b46b7fc3e9300a1f131de87e64844f041ee0f392edace5d67c4cc19fdbac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad3b46b7fc3e9300a1f131de87e64844f041ee0f392edace5d67c4cc19fdbac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad3b46b7fc3e9300a1f131de87e64844f041ee0f392edace5d67c4cc19fdbac1", kill_on_drop: false }` [INFO] [stdout] ad3b46b7fc3e9300a1f131de87e64844f041ee0f392edace5d67c4cc19fdbac1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f89605d50b861b31cc5eb0241a5d8735f9615a27ab5345f2542a7883917a970a [INFO] running `Command { std: "docker" "start" "-a" "f89605d50b861b31cc5eb0241a5d8735f9615a27ab5345f2542a7883917a970a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling weezl v0.1.4 [INFO] [stderr] Compiling pico-args v0.4.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling enquote v1.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling regex v1.4.4 [INFO] [stderr] Compiling stderrlog v0.5.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling lalrpop-util v0.19.5 [INFO] [stderr] Compiling lalrpop v0.19.5 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling substrate-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::trace` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use log::trace; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/bin/../runtime/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DenseGrid` [INFO] [stdout] --> src/bin/ewimops.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::runtime::mfm::{select_symmetries, DenseGrid, EventWindow, Rand, SparseGrid}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::trace` [INFO] [stdout] --> src/bin/ewimops.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use log::trace; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::trace` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use log::trace; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/bin/../runtime/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/../runtime/mfm.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | w: &mut std::io::Write, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 289 - w: &mut std::io::Write, [INFO] [stdout] 289 + w: &mut dyn std::io::Write, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/../runtime/mfm.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | w: &mut std::io::Write, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 289 - w: &mut std::io::Write, [INFO] [stdout] 289 + w: &mut dyn std::io::Write, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `ignore` [INFO] [stdout] --> src/code.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[ignore = "unused"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] note: the built-in attribute `ignore` will be ignored, since it's applied to the macro invocation `lalrpop_mod` [INFO] [stdout] --> src/code.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | lalrpop_mod!(pub substrate); // syntesized by LALRPOP [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventWindow` [INFO] [stdout] --> src/bin/../runtime/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use mfm::{EventWindow, Metadata}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/../runtime/mfm.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | (2, -1) => 19, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/../runtime/mfm.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | (2, 1) => 20, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventWindow` [INFO] [stdout] --> src/bin/../runtime/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use mfm::{EventWindow, Metadata}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/../runtime/mfm.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | (2, -1) => 19, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/../runtime/mfm.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | (2, 1) => 20, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scale` [INFO] [stdout] --> src/bin/ewimops.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | scale: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewimops.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `random_seed` [INFO] [stdout] --> src/bin/ewimops.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | random_seed: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewimops.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoElement` [INFO] [stdout] --> src/bin/../runtime/mod.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | NoElement, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../runtime/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, thiserror::Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StackUnderflow` [INFO] [stdout] --> src/bin/../runtime/mod.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | StackUnderflow, // TODO: add context [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../runtime/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, thiserror::Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../runtime/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Label` [INFO] [stdout] --> src/bin/../ast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Label(&'input str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../ast.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Metadata` [INFO] [stdout] --> src/bin/../ast.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Metadata(Metadata<'input>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../ast.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Instruction` [INFO] [stdout] --> src/bin/../ast.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Instruction(Instruction<'input>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../ast.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VOID` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const VOID: char = ' '; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EMPTY` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | const EMPTY: char = '.'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OCCUPIED` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | const OCCUPIED: char = 'x'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UNKNOWN` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | const UNKNOWN: char = '?'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BAD` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const BAD: char = '!'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new(rng: &'a mut R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sample_symmetries` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn sample_symmetries(r: &mut R, s: Symmetries) -> Symmetries { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `debug_event_window` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn debug_event_window( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scale` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | scale: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 370 | pub fn new(rng: &'a mut R, size: (usize, usize)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_scale` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn with_scale(rng: &'a mut R, scale: usize, size: (usize, usize)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scale` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:499:5 [INFO] [stdout] | [INFO] [stdout] 499 | scale: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../base/color.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `random_seed` [INFO] [stdout] --> src/bin/ewar.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | random_seed: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewar.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/bin/ewar.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | n: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewar.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `seed_element` [INFO] [stdout] --> src/bin/ewar.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | seed_element: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewar.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `expect` [INFO] [stdout] --> src/bin/ewar.rs:83:3 [INFO] [stdout] | [INFO] [stdout] 83 | expect: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewar.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `output` [INFO] [stdout] --> src/bin/ewar.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | output: Output, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewar.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `output_mode` [INFO] [stdout] --> src/bin/ewar.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | output_mode: OutputMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewar.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> src/bin/ewar.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | color: ColorMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewar.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `checksum` [INFO] [stdout] --> src/bin/ewar.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | checksum: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewar.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoElement` [INFO] [stdout] --> src/bin/../runtime/mod.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | NoElement, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../runtime/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, thiserror::Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StackUnderflow` [INFO] [stdout] --> src/bin/../runtime/mod.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | StackUnderflow, // TODO: add context [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../runtime/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, thiserror::Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../runtime/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/bin/../runtime/mod.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn reset(&mut self, s: Symmetries) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Label` [INFO] [stdout] --> src/bin/../ast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Label(&'input str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../ast.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Metadata` [INFO] [stdout] --> src/bin/../ast.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Metadata(Metadata<'input>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../ast.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Instruction` [INFO] [stdout] --> src/bin/../ast.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Instruction(Instruction<'input>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../ast.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EMPTY` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | const EMPTY: char = '.'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OCCUPIED` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | const OCCUPIED: char = 'x'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BAD` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const BAD: char = '!'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sample_symmetries` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn sample_symmetries(r: &mut R, s: Symmetries) -> Symmetries { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scale` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | scale: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 370 | pub fn new(rng: &'a mut R, size: (usize, usize)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_scale` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn with_scale(rng: &'a mut R, scale: usize, size: (usize, usize)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scale` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:499:5 [INFO] [stdout] | [INFO] [stdout] 499 | scale: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:505:12 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn new(rng: &'a mut R, size: (usize, usize)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_scale` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:509:12 [INFO] [stdout] | [INFO] [stdout] 509 | pub fn with_scale(rng: &'a mut R, scale: usize, size: (usize, usize)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../base/color.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoName` [INFO] [stdout] --> src/code.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | NoName, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `CompileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/code.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/base/color.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `components` [INFO] [stdout] --> src/base/color.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn components(&self) -> (u8, u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> /opt/rustwide/target/debug/build/substrate-engine-9e50124a8fca74a5/out/substrate.rs:4896:16 [INFO] [stdout] | [INFO] [stdout] 4896 | pub fn new() -> InstructionParser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> /opt/rustwide/target/debug/build/substrate-engine-9e50124a8fca74a5/out/substrate.rs:8362:16 [INFO] [stdout] | [INFO] [stdout] 8362 | pub fn new() -> MetadataParser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.13s [INFO] running `Command { std: "docker" "inspect" "f89605d50b861b31cc5eb0241a5d8735f9615a27ab5345f2542a7883917a970a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f89605d50b861b31cc5eb0241a5d8735f9615a27ab5345f2542a7883917a970a", kill_on_drop: false }` [INFO] [stdout] f89605d50b861b31cc5eb0241a5d8735f9615a27ab5345f2542a7883917a970a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 515c5517319476a6181b7d5c22f48f541109cacfa9795f8987db9de25a2603c9 [INFO] running `Command { std: "docker" "start" "-a" "515c5517319476a6181b7d5c22f48f541109cacfa9795f8987db9de25a2603c9", kill_on_drop: false }` [INFO] [stderr] Compiling substrate-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::trace` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use log::trace; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/bin/../runtime/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::trace` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use log::trace; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/bin/../runtime/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DenseGrid` [INFO] [stdout] --> src/bin/ewimops.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::runtime::mfm::{select_symmetries, DenseGrid, EventWindow, Rand, SparseGrid}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::trace` [INFO] [stdout] --> src/bin/ewimops.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use log::trace; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/../runtime/mfm.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | w: &mut std::io::Write, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 289 - w: &mut std::io::Write, [INFO] [stdout] 289 + w: &mut dyn std::io::Write, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/../runtime/mfm.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | w: &mut std::io::Write, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 289 - w: &mut std::io::Write, [INFO] [stdout] 289 + w: &mut dyn std::io::Write, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `ignore` [INFO] [stdout] --> src/code.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[ignore = "unused"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] note: the built-in attribute `ignore` will be ignored, since it's applied to the macro invocation `lalrpop_mod` [INFO] [stdout] --> src/code.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | lalrpop_mod!(pub substrate); // syntesized by LALRPOP [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventWindow` [INFO] [stdout] --> src/bin/../runtime/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use mfm::{EventWindow, Metadata}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/../runtime/mfm.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | (2, -1) => 19, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/../runtime/mfm.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | (2, 1) => 20, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventWindow` [INFO] [stdout] --> src/bin/../runtime/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use mfm::{EventWindow, Metadata}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/../runtime/mfm.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | (2, -1) => 19, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/../runtime/mfm.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | (2, 1) => 20, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `random_seed` [INFO] [stdout] --> src/bin/ewar.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | random_seed: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewar.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/bin/ewar.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | n: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewar.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `seed_element` [INFO] [stdout] --> src/bin/ewar.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | seed_element: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewar.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `expect` [INFO] [stdout] --> src/bin/ewar.rs:83:3 [INFO] [stdout] | [INFO] [stdout] 83 | expect: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewar.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `output` [INFO] [stdout] --> src/bin/ewar.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | output: Output, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewar.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `output_mode` [INFO] [stdout] --> src/bin/ewar.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | output_mode: OutputMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewar.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> src/bin/ewar.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | color: ColorMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewar.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `checksum` [INFO] [stdout] --> src/bin/ewar.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | checksum: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewar.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoElement` [INFO] [stdout] --> src/bin/../runtime/mod.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | NoElement, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../runtime/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, thiserror::Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StackUnderflow` [INFO] [stdout] --> src/bin/../runtime/mod.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | StackUnderflow, // TODO: add context [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../runtime/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, thiserror::Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../runtime/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/bin/../runtime/mod.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn reset(&mut self, s: Symmetries) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Label` [INFO] [stdout] --> src/bin/../ast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Label(&'input str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../ast.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Metadata` [INFO] [stdout] --> src/bin/../ast.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Metadata(Metadata<'input>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../ast.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Instruction` [INFO] [stdout] --> src/bin/../ast.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Instruction(Instruction<'input>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../ast.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EMPTY` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | const EMPTY: char = '.'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OCCUPIED` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | const OCCUPIED: char = 'x'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BAD` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const BAD: char = '!'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scale` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | scale: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 370 | pub fn new(rng: &'a mut R, size: (usize, usize)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_scale` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn with_scale(rng: &'a mut R, scale: usize, size: (usize, usize)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scale` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:499:5 [INFO] [stdout] | [INFO] [stdout] 499 | scale: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scale` [INFO] [stdout] --> src/bin/ewimops.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | scale: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewimops.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:505:12 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn new(rng: &'a mut R, size: (usize, usize)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_scale` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:509:12 [INFO] [stdout] | [INFO] [stdout] 509 | pub fn with_scale(rng: &'a mut R, scale: usize, size: (usize, usize)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `random_seed` [INFO] [stdout] --> src/bin/ewimops.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | random_seed: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/ewimops.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../base/color.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoElement` [INFO] [stdout] --> src/bin/../runtime/mod.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | NoElement, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../runtime/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, thiserror::Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StackUnderflow` [INFO] [stdout] --> src/bin/../runtime/mod.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | StackUnderflow, // TODO: add context [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../runtime/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, thiserror::Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../runtime/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Label` [INFO] [stdout] --> src/bin/../ast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Label(&'input str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../ast.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Metadata` [INFO] [stdout] --> src/bin/../ast.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Metadata(Metadata<'input>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../ast.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Instruction` [INFO] [stdout] --> src/bin/../ast.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Instruction(Instruction<'input>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/../ast.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VOID` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const VOID: char = ' '; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EMPTY` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | const EMPTY: char = '.'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OCCUPIED` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | const OCCUPIED: char = 'x'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UNKNOWN` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | const UNKNOWN: char = '?'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BAD` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const BAD: char = '!'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new(rng: &'a mut R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `debug_event_window` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn debug_event_window( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scale` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | scale: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 370 | pub fn new(rng: &'a mut R, size: (usize, usize)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_scale` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn with_scale(rng: &'a mut R, scale: usize, size: (usize, usize)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scale` [INFO] [stdout] --> src/bin/../runtime/mfm.rs:499:5 [INFO] [stdout] | [INFO] [stdout] 499 | scale: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../base/color.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoName` [INFO] [stdout] --> src/code.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | NoName, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `CompileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/code.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/base/color.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `components` [INFO] [stdout] --> src/base/color.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn components(&self) -> (u8, u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> /opt/rustwide/target/debug/build/substrate-engine-9e50124a8fca74a5/out/substrate.rs:4896:16 [INFO] [stdout] | [INFO] [stdout] 4896 | pub fn new() -> InstructionParser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> /opt/rustwide/target/debug/build/substrate-engine-9e50124a8fca74a5/out/substrate.rs:8362:16 [INFO] [stdout] | [INFO] [stdout] 8362 | pub fn new() -> MetadataParser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.71s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/ewac-992bf73e6d4a6dd0) [INFO] [stderr] Executable unittests src/bin/ewar.rs (/opt/rustwide/target/debug/deps/ewar-a5a0030c3c65825c) [INFO] [stderr] Executable unittests src/bin/ewimops.rs (/opt/rustwide/target/debug/deps/ewimops-d5a4a1387e07a53f) [INFO] running `Command { std: "docker" "inspect" "515c5517319476a6181b7d5c22f48f541109cacfa9795f8987db9de25a2603c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "515c5517319476a6181b7d5c22f48f541109cacfa9795f8987db9de25a2603c9", kill_on_drop: false }` [INFO] [stdout] 515c5517319476a6181b7d5c22f48f541109cacfa9795f8987db9de25a2603c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 480ba83fbf2f408288a7713ddde2d270e78c5131cfb6e50f4010d5aeefd66f57 [INFO] running `Command { std: "docker" "start" "-a" "480ba83fbf2f408288a7713ddde2d270e78c5131cfb6e50f4010d5aeefd66f57", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `log::trace` [INFO] [stderr] --> src/bin/../runtime/mfm.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use log::trace; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::RngCore` [INFO] [stderr] --> src/bin/../runtime/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use rand::RngCore; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/../runtime/mfm.rs:289:13 [INFO] [stderr] | [INFO] [stderr] 289 | w: &mut std::io::Write, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 289 - w: &mut std::io::Write, [INFO] [stderr] 289 + w: &mut dyn std::io::Write, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `EventWindow` [INFO] [stderr] --> src/bin/../runtime/mod.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | use mfm::{EventWindow, Metadata}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/bin/../runtime/mfm.rs:209:9 [INFO] [stderr] | [INFO] [stderr] 209 | (2, -1) => 19, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/bin/../runtime/mfm.rs:210:9 [INFO] [stderr] | [INFO] [stderr] 210 | (2, 1) => 20, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `random_seed` [INFO] [stderr] --> src/bin/ewar.rs:61:3 [INFO] [stderr] | [INFO] [stderr] 61 | random_seed: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/ewar.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `n` [INFO] [stderr] --> src/bin/ewar.rs:69:3 [INFO] [stderr] | [INFO] [stderr] 69 | n: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/ewar.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `seed_element` [INFO] [stderr] --> src/bin/ewar.rs:76:3 [INFO] [stderr] | [INFO] [stderr] 76 | seed_element: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/ewar.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `expect` [INFO] [stderr] --> src/bin/ewar.rs:83:3 [INFO] [stderr] | [INFO] [stderr] 83 | expect: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/ewar.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `output` [INFO] [stderr] --> src/bin/ewar.rs:93:3 [INFO] [stderr] | [INFO] [stderr] 93 | output: Output, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/ewar.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `output_mode` [INFO] [stderr] --> src/bin/ewar.rs:102:3 [INFO] [stderr] | [INFO] [stderr] 102 | output_mode: OutputMode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/ewar.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `color` [INFO] [stderr] --> src/bin/ewar.rs:111:3 [INFO] [stderr] | [INFO] [stderr] 111 | color: ColorMode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/ewar.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `checksum` [INFO] [stderr] --> src/bin/ewar.rs:125:3 [INFO] [stderr] | [INFO] [stderr] 125 | checksum: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/ewar.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NoElement` [INFO] [stderr] --> src/bin/../runtime/mod.rs:36:3 [INFO] [stderr] | [INFO] [stderr] 36 | NoElement, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/../runtime/mod.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, thiserror::Error)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `StackUnderflow` [INFO] [stderr] --> src/bin/../runtime/mod.rs:40:3 [INFO] [stderr] | [INFO] [stderr] 40 | StackUnderflow, // TODO: add context [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/../runtime/mod.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, thiserror::Error)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/bin/../runtime/mod.rs:65:10 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `reset` [INFO] [stderr] --> src/bin/../runtime/mod.rs:79:10 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn reset(&mut self, s: Symmetries) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Label` [INFO] [stderr] --> src/bin/../ast.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Label(&'input str), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/../ast.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Copy, Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Metadata` [INFO] [stderr] --> src/bin/../ast.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Metadata(Metadata<'input>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/../ast.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Copy, Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Instruction` [INFO] [stderr] --> src/bin/../ast.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Instruction(Instruction<'input>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/../ast.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Copy, Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `EMPTY` [INFO] [stderr] --> src/bin/../runtime/mfm.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | const EMPTY: char = '.'; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `OCCUPIED` [INFO] [stderr] --> src/bin/../runtime/mfm.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | const OCCUPIED: char = 'x'; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BAD` [INFO] [stderr] --> src/bin/../runtime/mfm.rs:37:1 [INFO] [stderr] | [INFO] [stderr] 37 | const BAD: char = '!'; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `scale` [INFO] [stderr] --> src/bin/../runtime/mfm.rs:364:5 [INFO] [stderr] | [INFO] [stderr] 364 | scale: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/bin/../runtime/mfm.rs:370:12 [INFO] [stderr] | [INFO] [stderr] 370 | pub fn new(rng: &'a mut R, size: (usize, usize)) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_scale` [INFO] [stderr] --> src/bin/../runtime/mfm.rs:374:12 [INFO] [stderr] | [INFO] [stderr] 374 | pub fn with_scale(rng: &'a mut R, scale: usize, size: (usize, usize)) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `scale` [INFO] [stderr] --> src/bin/../runtime/mfm.rs:499:5 [INFO] [stderr] | [INFO] [stderr] 499 | scale: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/bin/../runtime/mfm.rs:505:12 [INFO] [stderr] | [INFO] [stderr] 505 | pub fn new(rng: &'a mut R, size: (usize, usize)) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_scale` [INFO] [stderr] --> src/bin/../runtime/mfm.rs:509:12 [INFO] [stderr] | [INFO] [stderr] 509 | pub fn with_scale(rng: &'a mut R, scale: usize, size: (usize, usize)) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/bin/../base/color.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DenseGrid` [INFO] [stderr] --> src/bin/ewimops.rs:10:46 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::runtime::mfm::{select_symmetries, DenseGrid, EventWindow, Rand, SparseGrid}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::trace` [INFO] [stderr] --> src/bin/ewimops.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use log::trace; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `scale` [INFO] [stderr] --> src/bin/ewimops.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | scale: u8, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/ewimops.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `random_seed` [INFO] [stderr] --> src/bin/ewimops.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | random_seed: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/ewimops.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `VOID` [INFO] [stderr] --> src/bin/../runtime/mfm.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | const VOID: char = ' '; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `UNKNOWN` [INFO] [stderr] --> src/bin/../runtime/mfm.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | const UNKNOWN: char = '?'; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/bin/../runtime/mfm.rs:86:12 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn new(rng: &'a mut R) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `debug_event_window` [INFO] [stderr] --> src/bin/../runtime/mfm.rs:287:8 [INFO] [stderr] | [INFO] [stderr] 287 | pub fn debug_event_window( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused attribute `ignore` [INFO] [stderr] --> src/code.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | #[ignore = "unused"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] note: the built-in attribute `ignore` will be ignored, since it's applied to the macro invocation `lalrpop_mod` [INFO] [stderr] --> src/code.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | lalrpop_mod!(pub substrate); // syntesized by LALRPOP [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NoName` [INFO] [stderr] --> src/code.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | NoName, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `CompileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/code.rs:18:28 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(thiserror::Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/base/color.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `components` [INFO] [stderr] --> src/base/color.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn components(&self) -> (u8, u8, u8, u8) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> /opt/rustwide/target/debug/build/substrate-engine-9e50124a8fca74a5/out/substrate.rs:4896:16 [INFO] [stderr] | [INFO] [stderr] 4896 | pub fn new() -> InstructionParser { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> /opt/rustwide/target/debug/build/substrate-engine-9e50124a8fca74a5/out/substrate.rs:8362:16 [INFO] [stderr] | [INFO] [stderr] 8362 | pub fn new() -> MetadataParser { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `substrate-engine` (bin "ewar" test) generated 31 warnings [INFO] [stderr] warning: `substrate-engine` (bin "ewimops" test) generated 28 warnings (20 duplicates) [INFO] [stderr] warning: `substrate-engine` (bin "ewac" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.57s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ewac-992bf73e6d4a6dd0) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test base::arith::tests::test_abs ... ok [INFO] [stdout] test base::arith::tests::test_apply_signed_offset0 ... ok [INFO] [stdout] test base::arith::tests::test_apply_unsigned ... ok [INFO] [stdout] test base::arith::tests::test_bitscanforward ... ok [INFO] [stdout] test base::arith::tests::test_bitscanreverse ... ok [INFO] [stdout] test base::arith::tests::test_count_ones ... ok [INFO] [stdout] test base::arith::tests::test_is_zero ... ok [INFO] [stdout] test base::arith::tests::test_store_unsigned ... ok [INFO] [stdout] test base::arith::tests::test_is_neg ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/ewar.rs (/opt/rustwide/target/debug/deps/ewar-a5a0030c3c65825c) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test base::arith::tests::test_apply_signed_offset0 ... ok [INFO] [stdout] test base::arith::tests::test_abs ... ok [INFO] [stdout] test base::arith::tests::test_bitscanforward ... ok [INFO] [stdout] test base::arith::tests::test_apply_unsigned ... ok [INFO] [stdout] test base::arith::tests::test_bitscanreverse ... ok [INFO] [stdout] test base::arith::tests::test_count_ones ... ok [INFO] [stdout] test base::arith::tests::test_is_neg ... ok [INFO] [stdout] test base::arith::tests::test_is_zero ... ok [INFO] [stdout] test base::arith::tests::test_store_unsigned ... ok [INFO] [stdout] test runtime::mfm::tests::test_sample_all_symmetries ... ok [INFO] [stdout] test runtime::mfm::tests::test_sample_none_symmetries ... ok [INFO] [stdout] test runtime::mfm::tests::test_sample_one_symmetries ... ok [INFO] [stdout] test runtime::mfm::tests::test_sample_some_symmetries ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/ewimops.rs (/opt/rustwide/target/debug/deps/ewimops-d5a4a1387e07a53f) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test base::arith::tests::test_abs ... ok [INFO] [stdout] test base::arith::tests::test_apply_signed_offset0 ... ok [INFO] [stdout] test base::arith::tests::test_apply_unsigned ... ok [INFO] [stdout] test base::arith::tests::test_bitscanforward ... ok [INFO] [stdout] test base::arith::tests::test_bitscanreverse ... ok [INFO] [stdout] test base::arith::tests::test_count_ones ... ok [INFO] [stdout] test base::arith::tests::test_is_neg ... ok [INFO] [stdout] test base::arith::tests::test_is_zero ... ok [INFO] [stdout] test base::arith::tests::test_store_unsigned ... ok [INFO] [stdout] test runtime::mfm::tests::test_sample_none_symmetries ... ok [INFO] [stdout] test runtime::mfm::tests::test_sample_all_symmetries ... ok [INFO] [stdout] test runtime::mfm::tests::test_sample_one_symmetries ... ok [INFO] [stdout] test runtime::mfm::tests::test_sample_some_symmetries ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "480ba83fbf2f408288a7713ddde2d270e78c5131cfb6e50f4010d5aeefd66f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "480ba83fbf2f408288a7713ddde2d270e78c5131cfb6e50f4010d5aeefd66f57", kill_on_drop: false }` [INFO] [stdout] 480ba83fbf2f408288a7713ddde2d270e78c5131cfb6e50f4010d5aeefd66f57