[INFO] fetching crate csx64 0.1.2... [INFO] checking csx64-0.1.2 against master#9ba3d315b4b2bea7485071eaf4b2681320cd2a27 for pr-124592 [INFO] extracting crate csx64 0.1.2 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate csx64 0.1.2 on toolchain 9ba3d315b4b2bea7485071eaf4b2681320cd2a27 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate csx64 0.1.2 [INFO] finished tweaking crates.io crate csx64 0.1.2 [INFO] tweaked toml for crates.io crate csx64 0.1.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] [stderr] Adding num-derive v0.3.3 (latest: v0.4.2) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.60) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rug v1.24.1 [INFO] [stderr] Downloaded gmp-mpfr-sys v1.6.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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] feb829d9e3611f9c97e18eef0564f8d783eea93687216542415659d7f7878e3e [INFO] running `Command { std: "docker" "start" "-a" "feb829d9e3611f9c97e18eef0564f8d783eea93687216542415659d7f7878e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "feb829d9e3611f9c97e18eef0564f8d783eea93687216542415659d7f7878e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feb829d9e3611f9c97e18eef0564f8d783eea93687216542415659d7f7878e3e", kill_on_drop: false }` [INFO] [stdout] feb829d9e3611f9c97e18eef0564f8d783eea93687216542415659d7f7878e3e [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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e81af6ca2da234f67de315bfe6312f69a16d6609f2e2fcce75cccc97740bb5d [INFO] running `Command { std: "docker" "start" "-a" "4e81af6ca2da234f67de315bfe6312f69a16d6609f2e2fcce75cccc97740bb5d", kill_on_drop: false }` [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rug v1.24.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking csx64 v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use rug::{Float, float::SmallFloat}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1217:65 [INFO] [stdout] | [INFO] [stdout] 1217 | 1 => { let m = self.get_address_adv()?; F80::from(&*SmallFloat::from(self.memory.get_f32(m)?)) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1218:65 [INFO] [stdout] | [INFO] [stdout] 1218 | 2 => { let m = self.get_address_adv()?; F80::from(&*SmallFloat::from(self.memory.get_f64(m)?)) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1220:65 [INFO] [stdout] | [INFO] [stdout] 1220 | 4 => { let m = self.get_address_adv()?; F80::from(&*SmallFloat::from(self.memory.get_i16(m)?)) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1221:65 [INFO] [stdout] | [INFO] [stdout] 1221 | 5 => { let m = self.get_address_adv()?; F80::from(&*SmallFloat::from(self.memory.get_i32(m)?)) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1222:65 [INFO] [stdout] | [INFO] [stdout] 1222 | 6 => { let m = self.get_address_adv()?; F80::from(&*SmallFloat::from(self.memory.get_i64(m)?)) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1255:71 [INFO] [stdout] | [INFO] [stdout] 1255 | 3 => { let m = self.get_address_adv()?; (top, F80::from(&*SmallFloat::from(self.memory.get_f32(m)?))) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1256:71 [INFO] [stdout] | [INFO] [stdout] 1256 | 4 => { let m = self.get_address_adv()?; (top, F80::from(&*SmallFloat::from(self.memory.get_f64(m)?))) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1258:71 [INFO] [stdout] | [INFO] [stdout] 1258 | 6 => { let m = self.get_address_adv()?; (top, F80::from(&*SmallFloat::from(self.memory.get_i16(m)?))) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1259:71 [INFO] [stdout] | [INFO] [stdout] 1259 | 7 => { let m = self.get_address_adv()?; (top, F80::from(&*SmallFloat::from(self.memory.get_i32(m)?))) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1260:71 [INFO] [stdout] | [INFO] [stdout] 1260 | 8 => { let m = self.get_address_adv()?; (top, F80::from(&*SmallFloat::from(self.memory.get_i64(m)?))) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use rug::{Float, float::SmallFloat}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1217:65 [INFO] [stdout] | [INFO] [stdout] 1217 | 1 => { let m = self.get_address_adv()?; F80::from(&*SmallFloat::from(self.memory.get_f32(m)?)) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1218:65 [INFO] [stdout] | [INFO] [stdout] 1218 | 2 => { let m = self.get_address_adv()?; F80::from(&*SmallFloat::from(self.memory.get_f64(m)?)) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1220:65 [INFO] [stdout] | [INFO] [stdout] 1220 | 4 => { let m = self.get_address_adv()?; F80::from(&*SmallFloat::from(self.memory.get_i16(m)?)) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1221:65 [INFO] [stdout] | [INFO] [stdout] 1221 | 5 => { let m = self.get_address_adv()?; F80::from(&*SmallFloat::from(self.memory.get_i32(m)?)) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1222:65 [INFO] [stdout] | [INFO] [stdout] 1222 | 6 => { let m = self.get_address_adv()?; F80::from(&*SmallFloat::from(self.memory.get_i64(m)?)) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1255:71 [INFO] [stdout] | [INFO] [stdout] 1255 | 3 => { let m = self.get_address_adv()?; (top, F80::from(&*SmallFloat::from(self.memory.get_f32(m)?))) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1256:71 [INFO] [stdout] | [INFO] [stdout] 1256 | 4 => { let m = self.get_address_adv()?; (top, F80::from(&*SmallFloat::from(self.memory.get_f64(m)?))) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1258:71 [INFO] [stdout] | [INFO] [stdout] 1258 | 6 => { let m = self.get_address_adv()?; (top, F80::from(&*SmallFloat::from(self.memory.get_i16(m)?))) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1259:71 [INFO] [stdout] | [INFO] [stdout] 1259 | 7 => { let m = self.get_address_adv()?; (top, F80::from(&*SmallFloat::from(self.memory.get_i32(m)?))) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/exec/mod.rs:1260:71 [INFO] [stdout] | [INFO] [stdout] 1260 | 8 => { let m = self.get_address_adv()?; (top, F80::from(&*SmallFloat::from(self.memory.get_i64(m)?))) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/common/f80.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use rug::float::SmallFloat; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rug::float::SmallFloat`: use `MiniFloat` instead [INFO] [stdout] --> src/common/f80.rs:324:52 [INFO] [stdout] | [INFO] [stdout] 324 | assert_eq!(F80::from(&almost_2).0, F80::from(&*SmallFloat::from(2)).0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/asm/mod.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | ReadError(io::Error), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 93 | ReadError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `len` are never used [INFO] [stdout] --> src/asm/expr.rs:601:8 [INFO] [stdout] | [INFO] [stdout] 599 | pub(crate) trait SymbolTableCore { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 600 | /// Checks if the symbol table is empty. [INFO] [stdout] 601 | fn is_empty(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 602 | /// Gets the number of defined symbols. [INFO] [stdout] 603 | fn len(&self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/asm/mod.rs:713:38 [INFO] [stdout] | [INFO] [stdout] 713 | #[derive(Clone, Copy, PartialEq, Eq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_HoleType` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[warn(non_local_definitions)]` on by default [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, they should be avoided as they go against expectation [INFO] [stdout] --> src/asm/expr.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Clone, Copy, FromPrimitive, PartialOrd, Ord, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OP` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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, they should be avoided as they go against expectation [INFO] [stdout] --> src/common/mod.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OPCode` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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, they should be avoided as they go against expectation [INFO] [stdout] --> src/common/mod.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Syscall` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/asm/mod.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | ReadError(io::Error), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 93 | ReadError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `len` are never used [INFO] [stdout] --> src/asm/expr.rs:601:8 [INFO] [stdout] | [INFO] [stdout] 599 | pub(crate) trait SymbolTableCore { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 600 | /// Checks if the symbol table is empty. [INFO] [stdout] 601 | fn is_empty(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 602 | /// Gets the number of defined symbols. [INFO] [stdout] 603 | fn len(&self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/asm/mod.rs:713:38 [INFO] [stdout] | [INFO] [stdout] 713 | #[derive(Clone, Copy, PartialEq, Eq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_HoleType` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[warn(non_local_definitions)]` on by default [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, they should be avoided as they go against expectation [INFO] [stdout] --> src/asm/expr.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Clone, Copy, FromPrimitive, PartialOrd, Ord, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OP` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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, they should be avoided as they go against expectation [INFO] [stdout] --> src/common/mod.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OPCode` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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, they should be avoided as they go against expectation [INFO] [stdout] --> src/common/mod.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Syscall` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 37s [INFO] running `Command { std: "docker" "inspect" "4e81af6ca2da234f67de315bfe6312f69a16d6609f2e2fcce75cccc97740bb5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e81af6ca2da234f67de315bfe6312f69a16d6609f2e2fcce75cccc97740bb5d", kill_on_drop: false }` [INFO] [stdout] 4e81af6ca2da234f67de315bfe6312f69a16d6609f2e2fcce75cccc97740bb5d