[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 try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BUAA-SE-Compiling/natrium on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/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-tc2/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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-tc2/source/web/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] [stderr] warning: /workspace/builds/worker-1-tc2/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8ec550564bc9091bc7c7aae3363a18a78b8b5224a0497a03cdc24ddf34738ce [INFO] running `Command { std: "docker" "start" "-a" "e8ec550564bc9091bc7c7aae3363a18a78b8b5224a0497a03cdc24ddf34738ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8ec550564bc9091bc7c7aae3363a18a78b8b5224a0497a03cdc24ddf34738ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8ec550564bc9091bc7c7aae3363a18a78b8b5224a0497a03cdc24ddf34738ce", kill_on_drop: false }` [INFO] [stdout] e8ec550564bc9091bc7c7aae3363a18a78b8b5224a0497a03cdc24ddf34738ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Dtail_expr_drop_order" "-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4a8c29c9de5e908620e0302ad1e7aff403ff22383f44f1899d6e8f28c49fd21 [INFO] running `Command { std: "docker" "start" "-a" "b4a8c29c9de5e908620e0302ad1e7aff403ff22383f44f1899d6e8f28c49fd21", 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 smol_str v0.1.17 [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] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.68 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking text_io v0.1.8 [INFO] [stderr] Checking unescape v0.1.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking bit-vec v0.6.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.0 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.68 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking os_str_bytes v2.3.2 [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 heck v0.3.1 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Compiling lexpr-macros v0.2.1 [INFO] [stderr] Compiling ntest_proc_macro_helper v0.7.2 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking mio v0.7.5 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking nix v0.19.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking lexpr v0.2.5 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking crossterm v0.18.2 [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] [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] [stderr] Checking js-sys v0.3.45 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [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] [stderr] Compiling toml v0.5.7 [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] [stdout] error: this value of type `Span` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/r0vm/src/s0/io.rs:41:71 [INFO] [stdout] | [INFO] [stdout] 29 | match <$ty>::read_binary($read)? { [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | fn read_binary(r: &mut dyn Read) -> std::io::Result> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 42 | | let size = read!(u32, r) as usize; [INFO] [stdout] 43 | | debug!("vec size: {}", size); [INFO] [stdout] 44 | | let mut vec = Vec::with_capacity(size); [INFO] [stdout] ... | [INFO] [stdout] 49 | | Ok(Some(vec)) [INFO] [stdout] 50 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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 `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] error: aborting due to 1 previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `r0vm` (lib) due to 2 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b4a8c29c9de5e908620e0302ad1e7aff403ff22383f44f1899d6e8f28c49fd21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4a8c29c9de5e908620e0302ad1e7aff403ff22383f44f1899d6e8f28c49fd21", kill_on_drop: false }` [INFO] [stdout] b4a8c29c9de5e908620e0302ad1e7aff403ff22383f44f1899d6e8f28c49fd21