[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] building BUAA-SE-Compiling/natrium against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBUAA-SE-Compiling%2Fnatrium" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/BUAA-SE-Compiling/natrium on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2-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-2-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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "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-2-tc1/source/web/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] [stderr] warning: /workspace/builds/worker-2-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 pin-project-lite v0.2.0
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.68
[INFO] [stderr]   Downloaded unescape v0.1.0
[INFO] [stderr]   Downloaded ntest_timeout v0.7.2
[INFO] [stderr]   Downloaded serde-lexpr v0.1.1
[INFO] [stderr]   Downloaded wasm-bindgen-test-macro v0.2.50
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.68
[INFO] [stderr]   Downloaded clap_derive v3.0.0-beta.2
[INFO] [stderr]   Downloaded bit-vec v0.6.2
[INFO] [stderr]   Downloaded synstructure v0.12.3
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.3.27
[INFO] [stderr]   Downloaded bytes v0.6.0
[INFO] [stderr]   Downloaded js-sys v0.3.45
[INFO] [stderr]   Downloaded mio v0.7.5
[INFO] [stderr]   Downloaded tracing-subscriber v0.2.15
[INFO] [stderr]   Downloaded futures v0.1.30
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.68
[INFO] [stderr]   Downloaded serde_json v1.0.59
[INFO] [stderr]   Downloaded nix v0.19.0
[INFO] [stderr]   Downloaded crossterm v0.18.2
[INFO] [stderr]   Downloaded regex v1.4.2
[INFO] [stderr]   Downloaded rustyline v7.0.0
[INFO] [stderr]   Downloaded lexpr v0.2.5
[INFO] [stderr]   Downloaded regex-syntax v0.6.21
[INFO] [stderr]   Downloaded backtrace v0.3.41
[INFO] [stderr]   Downloaded generator v0.6.23
[INFO] [stderr]   Downloaded cloudabi v0.1.0
[INFO] [stderr]   Downloaded parking_lot v0.11.0
[INFO] [stderr]   Downloaded console_error_panic_hook v0.1.6
[INFO] [stderr]   Downloaded once_cell v1.4.1
[INFO] [stderr]   Downloaded indexmap v1.6.0
[INFO] [stderr]   Downloaded web-sys v0.3.45
[INFO] [stderr]   Downloaded ntest_test_cases v0.7.2
[INFO] [stderr]   Downloaded ntest v0.7.1
[INFO] [stderr]   Downloaded backtrace-sys v0.1.35
[INFO] [stderr]   Downloaded logos-derive v0.11.5
[INFO] [stderr]   Downloaded failure v0.1.7
[INFO] [stderr]   Downloaded rust-argon2 v0.8.2
[INFO] [stderr]   Downloaded shell-words v1.0.0
[INFO] [stderr]   Downloaded tracing v0.1.22
[INFO] [stderr]   Downloaded wasm-bindgen-test v0.2.50
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.68
[INFO] [stderr]   Downloaded memory_units v0.4.0
[INFO] [stderr]   Downloaded bimap v0.5.3
[INFO] [stderr]   Downloaded os_str_bytes v2.3.2
[INFO] [stderr]   Downloaded crossterm_winapi v0.6.2
[INFO] [stderr]   Downloaded lock_api v0.4.1
[INFO] [stderr]   Downloaded parking_lot_core v0.8.0
[INFO] [stderr]   Downloaded socket2 v0.3.15
[INFO] [stderr]   Downloaded signal-hook-registry v1.2.2
[INFO] [stderr]   Downloaded signal-hook v0.1.16
[INFO] [stderr]   Downloaded logos v0.11.4
[INFO] [stderr]   Downloaded redox_users v0.3.5
[INFO] [stderr]   Downloaded memchr v2.3.4
[INFO] [stderr]   Downloaded loom v0.3.6
[INFO] [stderr]   Downloaded sharded-slab v0.1.0
[INFO] [stderr]   Downloaded serde_derive v1.0.117
[INFO] [stderr]   Downloaded tracing-core v0.1.17
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.68
[INFO] [stderr]   Downloaded wee_alloc v0.4.5
[INFO] [stderr]   Downloaded termcolor v1.1.0
[INFO] [stderr]   Downloaded bit-set v0.5.2
[INFO] [stderr]   Downloaded beef v0.4.4
[INFO] [stderr]   Downloaded utf8-ranges v1.0.4
[INFO] [stderr]   Downloaded smol_str v0.1.17
[INFO] [stderr]   Downloaded lexpr-macros v0.2.1
[INFO] [stderr]   Downloaded tracing-attributes v0.1.11
[INFO] [stderr]   Downloaded line-span v0.1.2
[INFO] [stderr]   Downloaded failure_derive v0.1.7
[INFO] [stderr]   Downloaded ntest_proc_macro_helper v0.7.2
[INFO] [stderr]   Downloaded text_io v0.1.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f4b2a5019ba282b2b85689dbbbb8f537f15ef796f048ddd3b64bed2733dd1ebf
[INFO] running `Command { std: "docker" "start" "-a" "f4b2a5019ba282b2b85689dbbbb8f537f15ef796f048ddd3b64bed2733dd1ebf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f4b2a5019ba282b2b85689dbbbb8f537f15ef796f048ddd3b64bed2733dd1ebf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4b2a5019ba282b2b85689dbbbb8f537f15ef796f048ddd3b64bed2733dd1ebf", kill_on_drop: false }`
[INFO] [stdout] f4b2a5019ba282b2b85689dbbbb8f537f15ef796f048ddd3b64bed2733dd1ebf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 91c8d996e4f2cfa496f227e40877ef6d173e9c162fa145e52d0020825c99e4b6
[INFO] running `Command { std: "docker" "start" "-a" "91c8d996e4f2cfa496f227e40877ef6d173e9c162fa145e52d0020825c99e4b6", 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 proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling regex-syntax v0.6.21
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling tracing-core v0.1.17
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling failure_derive v0.1.7
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling backtrace-sys v0.1.35
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.0
[INFO] [stderr]    Compiling beef v0.4.4
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling utf8-ranges v1.0.4
[INFO] [stderr]    Compiling instant v0.1.8
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]    Compiling smol_str v0.1.17
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling backtrace v0.3.41
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling mio v0.7.5
[INFO] [stderr]    Compiling signal-hook-registry v1.2.2
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling lexpr-macros v0.2.1
[INFO] [stderr]    Compiling dirs-sys v0.3.5
[INFO] [stderr]    Compiling bit-vec v0.6.2
[INFO] [stderr]    Compiling unescape v0.1.0
[INFO] [stderr]    Compiling text_io v0.1.8
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling lexpr v0.2.5
[INFO] [stderr]    Compiling bit-set v0.5.2
[INFO] [stderr]    Compiling dirs v3.0.1
[INFO] [stderr]    Compiling matchers v0.0.1
[INFO] [stderr]    Compiling signal-hook v0.1.16
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling regex v1.4.2
[INFO] [stderr]    Compiling textwrap v0.12.1
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling nix v0.19.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling tracing-log v0.1.1
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling sharded-slab v0.1.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling os_str_bytes v2.3.2
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling utf8parse v0.2.0
[INFO] [stderr]    Compiling crossterm v0.18.2
[INFO] [stderr]    Compiling line-span v0.1.2
[INFO] [stderr]    Compiling bimap v0.5.3
[INFO] [stderr]    Compiling shell-words v1.0.0
[INFO] [stderr]    Compiling synstructure v0.12.3
[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 failure v0.1.7
[INFO] [stderr]    Compiling tracing v0.1.22
[INFO] [stderr]    Compiling rustyline v7.0.0
[INFO] [stderr]    Compiling clap v3.0.0-beta.2
[INFO] [stderr]    Compiling logos v0.11.4
[INFO] [stderr]    Compiling 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] [stderr]    Compiling tracing-serde v0.1.2
[INFO] [stderr]    Compiling r0vm v0.1.0 (/opt/rustwide/workdir/crates/r0vm)
[INFO] [stderr]    Compiling 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<std::alloc::LayoutErr> 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 `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<u8>;
[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: `#[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 warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling 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] [stderr]    Compiling tracing-subscriber v0.2.15
[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<s0::FnDef> {
[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] [stderr]    Compiling 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: 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: 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s
[INFO] running `Command { std: "docker" "inspect" "91c8d996e4f2cfa496f227e40877ef6d173e9c162fa145e52d0020825c99e4b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91c8d996e4f2cfa496f227e40877ef6d173e9c162fa145e52d0020825c99e4b6", kill_on_drop: false }`
[INFO] [stdout] 91c8d996e4f2cfa496f227e40877ef6d173e9c162fa145e52d0020825c99e4b6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 999b8e4c099ebf0d81da4db31761376311ccb703bc17a3f058cb4804c4383f0c
[INFO] running `Command { std: "docker" "start" "-a" "999b8e4c099ebf0d81da4db31761376311ccb703bc17a3f058cb4804c4383f0c", 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] [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<std::alloc::LayoutErr> 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 `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<u8>;
[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: `#[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 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: 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]    Compiling natrium v0.1.0 (/opt/rustwide/workdir)
[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<s0::FnDef> {
[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: 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: 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: 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.79s
[INFO] running `Command { std: "docker" "inspect" "999b8e4c099ebf0d81da4db31761376311ccb703bc17a3f058cb4804c4383f0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "999b8e4c099ebf0d81da4db31761376311ccb703bc17a3f058cb4804c4383f0c", kill_on_drop: false }`
[INFO] [stdout] 999b8e4c099ebf0d81da4db31761376311ccb703bc17a3f058cb4804c4383f0c
