[INFO] cloning repository https://github.com/arthurmco/steel5 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arthurmco/steel5" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farthurmco%2Fsteel5", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farthurmco%2Fsteel5'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c90b59277c9b134ad8f2bb873533879083a1feba [INFO] checking arthurmco/steel5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farthurmco%2Fsteel5" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/arthurmco/steel5 [INFO] finished tweaking git repo https://github.com/arthurmco/steel5 [INFO] tweaked toml for git repo https://github.com/arthurmco/steel5 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/arthurmco/steel5 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/arthurmco/steel5 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-derive v0.3.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.9 [INFO] [stderr] Downloaded syn v1.0.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a5e47dfad2bb9066a944cf07ec200a44183c8c13b7400b8665f225aa07de5a8 [INFO] running `Command { std: "docker" "start" "-a" "5a5e47dfad2bb9066a944cf07ec200a44183c8c13b7400b8665f225aa07de5a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a5e47dfad2bb9066a944cf07ec200a44183c8c13b7400b8665f225aa07de5a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a5e47dfad2bb9066a944cf07ec200a44183c8c13b7400b8665f225aa07de5a8", kill_on_drop: false }` [INFO] [stdout] 5a5e47dfad2bb9066a944cf07ec200a44183c8c13b7400b8665f225aa07de5a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37c65d2fabd786ecc4773115a6030e4be9582f886e09a58904b9802ba3193cc3 [INFO] running `Command { std: "docker" "start" "-a" "37c65d2fabd786ecc4773115a6030e4be9582f886e09a58904b9802ba3193cc3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Checking steel5 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/cpu/instruction.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SRLI_SRAI` should have an upper camel case name [INFO] [stdout] --> src/cpu/opcodes.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | SRLI_SRAI = 0b101, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SrliSrai` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_SUB` should have an upper camel case name [INFO] [stdout] --> src/cpu/opcodes.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | ADD_SUB = 0b000, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AddSub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/cpu/instruction.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SRL_SRA` should have an upper camel case name [INFO] [stdout] --> src/cpu/opcodes.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | SRL_SRA = 0b101, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SrlSra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OP_IMM` should have an upper camel case name [INFO] [stdout] --> src/cpu/opcodes.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | OP_IMM(OpcodeImmFunctions), [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `OpImm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FREE_OPS` should have an upper camel case name [INFO] [stdout] --> src/cpu/opcodes.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | FREE_OPS(FreeOpcodes), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `FreeOps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opcodes::*` [INFO] [stdout] --> src/cpu/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use opcodes::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SRLI_SRAI` should have an upper camel case name [INFO] [stdout] --> src/cpu/opcodes.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | SRLI_SRAI = 0b101, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SrliSrai` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_SUB` should have an upper camel case name [INFO] [stdout] --> src/cpu/opcodes.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | ADD_SUB = 0b000, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AddSub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SRL_SRA` should have an upper camel case name [INFO] [stdout] --> src/cpu/opcodes.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | SRL_SRA = 0b101, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SrlSra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OP_IMM` should have an upper camel case name [INFO] [stdout] --> src/cpu/opcodes.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | OP_IMM(OpcodeImmFunctions), [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `OpImm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FREE_OPS` should have an upper camel case name [INFO] [stdout] --> src/cpu/opcodes.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | FREE_OPS(FreeOpcodes), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `FreeOps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opcodes::*` [INFO] [stdout] --> src/cpu/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use opcodes::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/memaccess.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let offset = addr - area.start; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/memaccess.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | let offset = addr - area.start; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `funct3` [INFO] [stdout] --> src/cpu/cpu_state.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | funct3, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `funct3: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `funct3` [INFO] [stdout] --> src/cpu/cpu_state.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | funct3, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `funct3: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `funct3` [INFO] [stdout] --> src/cpu/cpu_state.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | funct3, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `funct3: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/memaccess.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let offset = addr - area.start; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/memaccess.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | let offset = addr - area.start; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `funct3` [INFO] [stdout] --> src/cpu/cpu_state.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | funct3, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `funct3: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `funct3` [INFO] [stdout] --> src/cpu/cpu_state.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | funct3, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `funct3: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `funct3` [INFO] [stdout] --> src/cpu/cpu_state.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | funct3, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `funct3: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tag` is never read [INFO] [stdout] --> src/memaccess.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MemoryArea { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | tag: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryArea` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cpu/opcodes.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Copy, Clone, ToPrimitive, FromPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_OpcodeImmFunctions` [INFO] [stdout] 68 | pub enum OpcodeImmFunctions { [INFO] [stdout] | ------------------ `OpcodeImmFunctions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cpu/opcodes.rs:67:43 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Copy, Clone, ToPrimitive, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpcodeImmFunctions` [INFO] [stdout] 68 | pub enum OpcodeImmFunctions { [INFO] [stdout] | ------------------ `OpcodeImmFunctions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cpu/opcodes.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Debug, Copy, Clone, ToPrimitive, FromPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_OpcodeRegFunctions` [INFO] [stdout] 102 | pub enum OpcodeRegFunctions { [INFO] [stdout] | ------------------ `OpcodeRegFunctions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cpu/opcodes.rs:101:43 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Debug, Copy, Clone, ToPrimitive, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpcodeRegFunctions` [INFO] [stdout] 102 | pub enum OpcodeRegFunctions { [INFO] [stdout] | ------------------ `OpcodeRegFunctions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cpu/opcodes.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(Debug, Copy, Clone, ToPrimitive, FromPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_BranchFunctions` [INFO] [stdout] 138 | pub enum BranchFunctions { [INFO] [stdout] | --------------- `BranchFunctions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cpu/opcodes.rs:137:43 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(Debug, Copy, Clone, ToPrimitive, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BranchFunctions` [INFO] [stdout] 138 | pub enum BranchFunctions { [INFO] [stdout] | --------------- `BranchFunctions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cpu/opcodes.rs:160:30 [INFO] [stdout] | [INFO] [stdout] 160 | #[derive(Debug, Copy, Clone, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FreeOpcodes` [INFO] [stdout] 161 | pub enum FreeOpcodes { [INFO] [stdout] | ----------- `FreeOpcodes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tag` is never read [INFO] [stdout] --> src/memaccess.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MemoryArea { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | tag: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryArea` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cpu/opcodes.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Copy, Clone, ToPrimitive, FromPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_OpcodeImmFunctions` [INFO] [stdout] 68 | pub enum OpcodeImmFunctions { [INFO] [stdout] | ------------------ `OpcodeImmFunctions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cpu/opcodes.rs:67:43 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Copy, Clone, ToPrimitive, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpcodeImmFunctions` [INFO] [stdout] 68 | pub enum OpcodeImmFunctions { [INFO] [stdout] | ------------------ `OpcodeImmFunctions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cpu/opcodes.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Debug, Copy, Clone, ToPrimitive, FromPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_OpcodeRegFunctions` [INFO] [stdout] 102 | pub enum OpcodeRegFunctions { [INFO] [stdout] | ------------------ `OpcodeRegFunctions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cpu/opcodes.rs:101:43 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Debug, Copy, Clone, ToPrimitive, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpcodeRegFunctions` [INFO] [stdout] 102 | pub enum OpcodeRegFunctions { [INFO] [stdout] | ------------------ `OpcodeRegFunctions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cpu/opcodes.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(Debug, Copy, Clone, ToPrimitive, FromPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_BranchFunctions` [INFO] [stdout] 138 | pub enum BranchFunctions { [INFO] [stdout] | --------------- `BranchFunctions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cpu/opcodes.rs:137:43 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(Debug, Copy, Clone, ToPrimitive, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BranchFunctions` [INFO] [stdout] 138 | pub enum BranchFunctions { [INFO] [stdout] | --------------- `BranchFunctions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cpu/opcodes.rs:160:30 [INFO] [stdout] | [INFO] [stdout] 160 | #[derive(Debug, Copy, Clone, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FreeOpcodes` [INFO] [stdout] 161 | pub enum FreeOpcodes { [INFO] [stdout] | ----------- `FreeOpcodes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.62s [INFO] running `Command { std: "docker" "inspect" "37c65d2fabd786ecc4773115a6030e4be9582f886e09a58904b9802ba3193cc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37c65d2fabd786ecc4773115a6030e4be9582f886e09a58904b9802ba3193cc3", kill_on_drop: false }` [INFO] [stdout] 37c65d2fabd786ecc4773115a6030e4be9582f886e09a58904b9802ba3193cc3