[INFO] cloning repository https://github.com/vernonrj/MIPSical [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vernonrj/MIPSical" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvernonrj%2FMIPSical", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvernonrj%2FMIPSical'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7838ffd302ac7db5ed8eb21f0bb74b82f1ae3e31 [INFO] checking vernonrj/MIPSical against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvernonrj%2FMIPSical" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vernonrj/MIPSical on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vernonrj/MIPSical [INFO] finished tweaking git repo https://github.com/vernonrj/MIPSical [INFO] tweaked toml for git repo https://github.com/vernonrj/MIPSical written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vernonrj/MIPSical already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.3.5 [INFO] [stderr] Downloaded regex-syntax v0.2.5 [INFO] [stderr] Downloaded libc v0.2.7 [INFO] [stderr] Downloaded regex v0.1.55 [INFO] [stderr] Downloaded aho-corasick v0.5.1 [INFO] [stderr] Downloaded memchr v0.1.10 [INFO] [stderr] Downloaded quickcheck v0.2.25 [INFO] [stderr] Downloaded env_logger v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b3fe0335ac6e330707555e0c3ac1ddb896fa62d8514361eb82c9fe981decb6c [INFO] running `Command { std: "docker" "start" "-a" "5b3fe0335ac6e330707555e0c3ac1ddb896fa62d8514361eb82c9fe981decb6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b3fe0335ac6e330707555e0c3ac1ddb896fa62d8514361eb82c9fe981decb6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b3fe0335ac6e330707555e0c3ac1ddb896fa62d8514361eb82c9fe981decb6c", kill_on_drop: false }` [INFO] [stdout] 5b3fe0335ac6e330707555e0c3ac1ddb896fa62d8514361eb82c9fe981decb6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00250a2aad9e32d1f37a3ca42352d0c291328ca9521657bde05cbd218d197d8a [INFO] running `Command { std: "docker" "start" "-a" "00250a2aad9e32d1f37a3ca42352d0c291328ca9521657bde05cbd218d197d8a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.7 [INFO] [stderr] Checking regex-syntax v0.2.5 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking mips v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/instruction/add.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::ExecResult` [INFO] [stdout] --> src/instruction/branch.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use error::ExecResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decoder.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | pub execute: Box) -> ExecResult>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub execute: Box) -> ExecResult>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decoder.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | pub branch_taken: Box) -> bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | pub branch_taken: Box) -> bool>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | error: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | error: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | where E: Into> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | where E: Into> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Normal`, `Special`, and `RegImm` are never constructed [INFO] [stdout] --> src/decoded.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Opcode { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 5 | Normal(u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | Special(u8), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | RegImm(u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Decodable` is never used [INFO] [stdout] --> src/decoded.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Decodable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Decoded` is never used [INFO] [stdout] --> src/decoded.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Decoded { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Register` is never constructed [INFO] [stdout] --> src/decoded.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Register(pub u8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RS`, `RT`, `RD`, `SA`, and `Immediate` are never constructed [INFO] [stdout] --> src/decoder.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Register { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 11 | RS, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | RT, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | RD, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | SA, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | Immediate, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `inputs`, `outputs`, `execute`, and `branch_taken` are never read [INFO] [stdout] --> src/decoder.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Instruction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 19 | pub name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | pub inputs: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub outputs: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub execute: Box) -> ExecResult>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub branch_taken: Box) -> bool>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Decoder` is never constructed [INFO] [stdout] --> src/decoder.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Decoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `decode`, and `keys` are never used [INFO] [stdout] --> src/decoder.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Decoder { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 49 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn decode(&self, command: Fetched) -> Option<&Instruction> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn keys(&self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fetched` is never constructed [INFO] [stdout] --> src/decoder.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Fetched(pub u32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_31_26` is never used [INFO] [stdout] --> src/decoder.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn extract_31_26(bitfield: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_25_21` is never used [INFO] [stdout] --> src/decoder.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn extract_25_21(bitfield: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_20_16` is never used [INFO] [stdout] --> src/decoder.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn extract_20_16(bitfield: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_15_11` is never used [INFO] [stdout] --> src/decoder.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn extract_15_11(bitfield: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_15_0` is never used [INFO] [stdout] --> src/decoder.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn extract_15_0(bitfield: u32) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_10_6` is never used [INFO] [stdout] --> src/decoder.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn extract_10_6(bitfield: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_5_0` is never used [INFO] [stdout] --> src/decoder.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn extract_5_0(bitfield: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_25_0` is never used [INFO] [stdout] --> src/decoder.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn extract_25_0(bitfield: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register` is never used [INFO] [stdout] --> src/instruction/add.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn register(m: &mut HashMap) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register` is never used [INFO] [stdout] --> src/instruction/and.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn register(m: &mut HashMap) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register` is never used [INFO] [stdout] --> src/instruction/branch.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn register(m: &mut HashMap) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register` is never used [INFO] [stdout] --> src/instruction/shift.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn register(m: &mut HashMap) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Success` and `Exception` are never constructed [INFO] [stdout] --> src/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ExecResult { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 5 | Success(T), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | Empty, [INFO] [stdout] 7 | Exception(ExecError), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap` is never used [INFO] [stdout] --> src/error.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ExecResult { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 11 | pub fn unwrap(self) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/error.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ExecError { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 22 | kind: ErrorKind, [INFO] [stdout] 23 | error: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/error.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl ExecError { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 27 | pub fn new(kind: ErrorKind, error: E) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Overflow` is never constructed [INFO] [stdout] --> src/error.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum ErrorKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 55 | Overflow, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking memchr v0.1.10 [INFO] [stderr] Checking log v0.3.5 [INFO] [stderr] Checking rand v0.3.14 [INFO] [stderr] Checking aho-corasick v0.5.1 [INFO] [stderr] Checking regex v0.1.55 [INFO] [stderr] Checking env_logger v0.3.2 [INFO] [stderr] Checking quickcheck v0.2.25 [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/instruction/add.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::ExecResult` [INFO] [stdout] --> src/instruction/branch.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use error::ExecResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decoder.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | pub execute: Box) -> ExecResult>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub execute: Box) -> ExecResult>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decoder.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | pub branch_taken: Box) -> bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | pub branch_taken: Box) -> bool>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | error: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | error: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | where E: Into> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | where E: Into> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `masked_quickcheck` is never used [INFO] [stdout] --> src/quickcheck_extra.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn masked_quickcheck(size: usize) -> QuickCheck> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Decodable` is never used [INFO] [stdout] --> src/decoded.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Decodable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Decoded` is never used [INFO] [stdout] --> src/decoded.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Decoded { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Register` is never constructed [INFO] [stdout] --> src/decoded.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Register(pub u8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inputs`, `outputs`, `execute`, and `branch_taken` are never read [INFO] [stdout] --> src/decoder.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Instruction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 19 | pub name: &'static str, [INFO] [stdout] 20 | pub inputs: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub outputs: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub execute: Box) -> ExecResult>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub branch_taken: Box) -> bool>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `keys` is never used [INFO] [stdout] --> src/decoder.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Decoder { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn keys(&self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | Exception(ExecError), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | Exception(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap` is never used [INFO] [stdout] --> src/error.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ExecResult { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 11 | pub fn unwrap(self) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/error.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ExecError { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 22 | kind: ErrorKind, [INFO] [stdout] 23 | error: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "00250a2aad9e32d1f37a3ca42352d0c291328ca9521657bde05cbd218d197d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00250a2aad9e32d1f37a3ca42352d0c291328ca9521657bde05cbd218d197d8a", kill_on_drop: false }` [INFO] [stdout] 00250a2aad9e32d1f37a3ca42352d0c291328ca9521657bde05cbd218d197d8a