[INFO] cloning repository https://github.com/BUAA-SE-Compiling/natrium [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BUAA-SE-Compiling/natrium" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBUAA-SE-Compiling%2Fnatrium", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBUAA-SE-Compiling%2Fnatrium'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 779e9b5963a4870b724e6ee8de0ba2d5d7d645e6 [INFO] checking BUAA-SE-Compiling/natrium/779e9b5963a4870b724e6ee8de0ba2d5d7d645e6 against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBUAA-SE-Compiling%2Fnatrium" "/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/BUAA-SE-Compiling/natrium on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/BUAA-SE-Compiling/natrium [INFO] finished tweaking git repo https://github.com/BUAA-SE-Compiling/natrium [INFO] tweaked toml for git repo https://github.com/BUAA-SE-Compiling/natrium written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BUAA-SE-Compiling/natrium 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" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1-tc1/source/web/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/crates/r0codegen/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `r0vm` dependency) [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lexpr-macros v0.2.1 [INFO] [stderr] Downloaded crossterm_winapi v0.6.2 [INFO] [stderr] Downloaded logos-derive v0.11.5 [INFO] [stderr] Downloaded ntest_test_cases v0.7.2 [INFO] [stderr] Downloaded ntest_timeout v0.7.2 [INFO] [stderr] Downloaded loom v0.3.6 [INFO] [stderr] Downloaded ntest_proc_macro_helper v0.7.2 [INFO] [stderr] Downloaded smol_str v0.1.17 [INFO] [stderr] Downloaded socket2 v0.3.15 [INFO] [stderr] Downloaded rustyline v7.0.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.35 [INFO] [stderr] Downloaded dirs v3.0.1 [INFO] [stderr] Downloaded tracing-log v0.1.1 [INFO] [stderr] Downloaded mio v0.7.5 [INFO] [stderr] Downloaded crossterm v0.18.2 [INFO] [stderr] Downloaded serde-lexpr v0.1.1 [INFO] [stderr] Downloaded bytes v0.6.0 [INFO] [stderr] Downloaded line-span v0.1.2 [INFO] [stderr] Downloaded ntest v0.7.1 [INFO] [stderr] Downloaded logos v0.11.4 [INFO] [stderr] Downloaded miow v0.3.5 [INFO] [stderr] Downloaded instant v0.1.8 [INFO] [stderr] Downloaded sharded-slab v0.1.0 [INFO] [stderr] Downloaded text_io v0.1.8 [INFO] [stderr] Downloaded toml v0.5.7 [INFO] [stderr] Downloaded bimap v0.5.3 [INFO] [stderr] Downloaded generator v0.6.23 [INFO] [stderr] Downloaded tracing-subscriber v0.2.15 [INFO] [stderr] Downloaded nix v0.19.0 [INFO] [stderr] Downloaded signal-hook v0.1.16 [INFO] [stderr] Downloaded lexpr v0.2.5 [INFO] [stderr] Downloaded beef v0.4.4 [INFO] [stderr] Downloaded backtrace v0.3.41 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5aa3b62c5535ced37b5cb8eda8f42adc2963faea0c8016f6773e226d4b4629c6 [INFO] running `Command { std: "docker" "start" "-a" "5aa3b62c5535ced37b5cb8eda8f42adc2963faea0c8016f6773e226d4b4629c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5aa3b62c5535ced37b5cb8eda8f42adc2963faea0c8016f6773e226d4b4629c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aa3b62c5535ced37b5cb8eda8f42adc2963faea0c8016f6773e226d4b4629c6", kill_on_drop: false }` [INFO] [stdout] 5aa3b62c5535ced37b5cb8eda8f42adc2963faea0c8016f6773e226d4b4629c6 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f6fa42a8604cf4434705fdfc84fb90c5ef232e39776c699785fa5f2188458bf [INFO] running `Command { std: "docker" "start" "-a" "3f6fa42a8604cf4434705fdfc84fb90c5ef232e39776c699785fa5f2188458bf", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/web/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: /opt/rustwide/workdir/crates/r0codegen/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `r0vm` dependency) [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Checking smol_str v0.1.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.68 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking text_io v0.1.8 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking unescape v0.1.0 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking bit-vec v0.6.2 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.0 [INFO] [stderr] Checking os_str_bytes v2.3.2 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.68 [INFO] [stderr] Checking line-span v0.1.2 [INFO] [stderr] Checking shell-words v1.0.0 [INFO] [stderr] Checking bimap v0.5.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling lexpr-macros v0.2.1 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Compiling ntest_proc_macro_helper v0.7.2 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking mio v0.7.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking nix v0.19.0 [INFO] [stderr] Checking lexpr v0.2.5 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking crossterm v0.18.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking backtrace v0.3.41 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking rustyline v7.0.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.68 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling ntest_test_cases v0.7.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.68 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.68 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking logos v0.11.4 [INFO] [stderr] Checking r0syntax v0.1.0 (/opt/rustwide/workdir/crates/syntax) [INFO] [stderr] Checking js-sys v0.3.45 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stdout] warning: unused imports: `MutWeak` and `Mut` [INFO] [stdout] --> crates/syntax/src/lib.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | pub use crate::util::{Mut, MutWeak, P}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MutWeak` and `Mut` [INFO] [stdout] --> crates/syntax/src/lib.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | pub use crate::util::{Mut, MutWeak, P}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking web-sys v0.3.45 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.27 [INFO] [stderr] Checking wasm-bindgen-test v0.2.50 [INFO] [stderr] Checking r0vm v0.1.0 (/opt/rustwide/workdir/crates/r0vm) [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serde-lexpr v0.1.1 [INFO] [stdout] warning: unused import: `crate::s0::S0` [INFO] [stdout] --> crates/r0vm/src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::s0::S0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> crates/r0vm/src/s0/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::HashMap, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `static_assertions as sa` [INFO] [stdout] --> crates/r0vm/src/vm/mem.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use static_assertions as sa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Slot` [INFO] [stdout] --> crates/r0vm/src/vm/ops.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{R0Vm, Slot}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `s0::FnDef` [INFO] [stdout] --> crates/r0vm/src/vm/ops.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{error::*, s0::FnDef}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::*` [INFO] [stdout] --> crates/r0vm/src/vm/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ops::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> crates/r0vm/src/error.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | AllocLayoutError(std::alloc::LayoutErr), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> crates/r0vm/src/error.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> crates/r0vm/src/error.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | fn from(x: std::alloc::LayoutErr) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> crates/r0vm/src/vm/mem.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | let mem = unsafe { ManagedMemory::alloc(Layout::from_size_align(len, alignment)?)? }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> crates/r0vm/src/vm/ops.rs:383:35 [INFO] [stdout] | [INFO] [stdout] 383 | pub(crate) fn br_a(&mut self, addr: u64) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_bytes` is never used [INFO] [stdout] --> crates/r0vm/src/util.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait IntoBytes { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 2 | fn into_bytes(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total_loc` is never used [INFO] [stdout] --> crates/r0vm/src/vm/mod.rs:390:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl<'src> R0Vm<'src> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 390 | fn total_loc(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stacktrace` is never read [INFO] [stdout] --> crates/r0vm/src/vm/mod.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct StackDebugger<'s, 'stack> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 426 | stacktrace: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_const` is never read [INFO] [stdout] --> crates/r0vm/src/vm/mem.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ManagedMemory { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | is_const: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bl`, `bg`, `blz`, and `bgz` are never used [INFO] [stdout] --> crates/r0vm/src/vm/ops.rs:421:19 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'src> super::R0Vm<'src> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 421 | pub(crate) fn bl(&mut self, off: i32) -> Result<()> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub(crate) fn bg(&mut self, off: i32) -> Result<()> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 439 | pub(crate) fn blz(&mut self, off: i32) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub(crate) fn bgz(&mut self, off: i32) -> Result<()> { [INFO] [stdout] | ^^^ [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] --> crates/r0vm/src/error.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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] --> crates/r0vm/src/error.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking r0codegen v0.1.0 (/opt/rustwide/workdir/crates/r0codegen) [INFO] [stdout] warning: unused import: `r0syntax::span::Span` [INFO] [stdout] --> crates/r0codegen/src/generator/util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use r0syntax::span::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bit_set::BitSet` [INFO] [stdout] --> crates/r0codegen/src/generator/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use bit_set::BitSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutWeak` [INFO] [stdout] --> crates/r0codegen/src/generator/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | util::{MutWeak, P}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::atomic::AtomicU64` [INFO] [stdout] --> crates/r0codegen/src/scope.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, sync::atomic::AtomicU64}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r0syntax::span::Span` [INFO] [stdout] --> crates/r0codegen/src/generator/util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use r0syntax::span::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bit_set::BitSet` [INFO] [stdout] --> crates/r0codegen/src/generator/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use bit_set::BitSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutWeak` [INFO] [stdout] --> crates/r0codegen/src/generator/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | util::{MutWeak, P}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::atomic::AtomicU64` [INFO] [stdout] --> crates/r0codegen/src/scope.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, sync::atomic::AtomicU64}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/r0codegen/src/generator/mod.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | let mut fc = FuncCodegen::new(func, global_scope, global_entries); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/r0codegen/src/generator/mod.rs:325:20 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn compile(mut self) -> CompileResult { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/r0codegen/src/generator/mod.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | let mut fc = FuncCodegen::new(func, global_scope, global_entries); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/r0codegen/src/generator/mod.rs:325:20 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn compile(mut self) -> CompileResult { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unreachable` is never constructed [INFO] [stdout] --> crates/r0codegen/src/code.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum JumpInst { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 5 | Undefined, [INFO] [stdout] 6 | Unreachable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JumpInst` 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: static `FUNC_VAL_KEY` is never used [INFO] [stdout] --> crates/r0codegen/src/generator/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | static FUNC_VAL_KEY: &str = "$func"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unreachable` is never constructed [INFO] [stdout] --> crates/r0codegen/src/code.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum JumpInst { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 5 | Undefined, [INFO] [stdout] 6 | Unreachable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JumpInst` 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: static `FUNC_VAL_KEY` is never used [INFO] [stdout] --> crates/r0codegen/src/generator/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | static FUNC_VAL_KEY: &str = "$func"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tracing-subscriber v0.2.15 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling ntest_timeout v0.7.2 [INFO] [stderr] Checking natrium v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: named argument `space_width` is not used by name [INFO] [stdout] --> src/util.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | writeln!(writer, "{:space_width$}^", space_width = line.width())?; [INFO] [stdout] | --------------- ^^^^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | | [INFO] [stdout] | this formatting argument uses named argument `space_width` by position [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 16 | writeln!(writer, "{space_width:space_width$}^", space_width = line.width())?; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `space_width` is not used by name [INFO] [stdout] --> src/util.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | writeln!(writer, "{:space_width$}^", space_width = line.width())?; [INFO] [stdout] | --------------- ^^^^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | | [INFO] [stdout] | this formatting argument uses named argument `space_width` by position [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 16 | writeln!(writer, "{space_width:space_width$}^", space_width = line.width())?; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking natrium-web v0.1.0 (/opt/rustwide/workdir/web) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ntest v0.7.1 [INFO] [stdout] warning: unused imports: `Lexer` and `Logos` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use logos::{Lexer, Logos}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `natrium::util::pretty_print_error` [INFO] [stdout] --> src/bin/r0vm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use natrium::util::pretty_print_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> web/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { console::log_1(&JsValue::from_str("Hello world!")) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `natrium::util::pretty_print_error` [INFO] [stdout] --> src/bin/r0vm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use natrium::util::pretty_print_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Lexer` and `Logos` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use logos::{Lexer, Logos}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> web/src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut stdout = JsStdioAdaptor::new(read_chunk, write_chunk); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> web/src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut var_name = io::empty(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> web/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { console::log_1(&JsValue::from_str("Hello world!")) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> web/src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut stdout = JsStdioAdaptor::new(read_chunk, write_chunk); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> web/src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut var_name = io::empty(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::s0::S0` [INFO] [stdout] --> crates/r0vm/src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::s0::S0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> crates/r0vm/src/s0/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::HashMap, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::opcodes::Op::*` [INFO] [stdout] --> crates/r0vm/src/tests/ser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::opcodes::Op::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::opcodes::*` [INFO] [stdout] --> crates/r0vm/src/tests/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::opcodes::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reinterpret_t` [INFO] [stdout] --> crates/r0vm/src/tests/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::vm::ops::{reinterpret_t, reinterpret_u}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ntest::timeout` [INFO] [stdout] --> crates/r0vm/src/tests/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ntest::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `static_assertions as sa` [INFO] [stdout] --> crates/r0vm/src/vm/mem.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use static_assertions as sa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Slot` [INFO] [stdout] --> crates/r0vm/src/vm/ops.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{R0Vm, Slot}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `s0::FnDef` [INFO] [stdout] --> crates/r0vm/src/vm/ops.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{error::*, s0::FnDef}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::*` [INFO] [stdout] --> crates/r0vm/src/vm/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ops::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> crates/r0vm/src/error.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | AllocLayoutError(std::alloc::LayoutErr), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> crates/r0vm/src/error.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> crates/r0vm/src/error.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | fn from(x: std::alloc::LayoutErr) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> crates/r0vm/src/vm/mem.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | let mem = unsafe { ManagedMemory::alloc(Layout::from_size_align(len, alignment)?)? }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> crates/r0vm/src/vm/ops.rs:383:35 [INFO] [stdout] | [INFO] [stdout] 383 | pub(crate) fn br_a(&mut self, addr: u64) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total_loc` is never used [INFO] [stdout] --> crates/r0vm/src/vm/mod.rs:390:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl<'src> R0Vm<'src> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 390 | fn total_loc(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stacktrace` is never read [INFO] [stdout] --> crates/r0vm/src/vm/mod.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct StackDebugger<'s, 'stack> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 426 | stacktrace: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_const` is never read [INFO] [stdout] --> crates/r0vm/src/vm/mem.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ManagedMemory { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | is_const: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bl`, `bg`, `blz`, and `bgz` are never used [INFO] [stdout] --> crates/r0vm/src/vm/ops.rs:421:19 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'src> super::R0Vm<'src> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 421 | pub(crate) fn bl(&mut self, off: i32) -> Result<()> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub(crate) fn bg(&mut self, off: i32) -> Result<()> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 439 | pub(crate) fn blz(&mut self, off: i32) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub(crate) fn bgz(&mut self, off: i32) -> Result<()> { [INFO] [stdout] | ^^^ [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] --> crates/r0vm/src/error.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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] --> crates/r0vm/src/error.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.48s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.68 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "3f6fa42a8604cf4434705fdfc84fb90c5ef232e39776c699785fa5f2188458bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f6fa42a8604cf4434705fdfc84fb90c5ef232e39776c699785fa5f2188458bf", kill_on_drop: false }` [INFO] [stdout] 3f6fa42a8604cf4434705fdfc84fb90c5ef232e39776c699785fa5f2188458bf