[INFO] cloning repository https://github.com/raaymax/loom [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raaymax/loom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraaymax%2Floom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraaymax%2Floom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3107c60a1baa65b80df8f29ba4c3ba18a3b1e02 [INFO] checking raaymax/loom against master#18a029cfe8e761533634bda8fe8a14e30280a21b for pr-139646 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraaymax%2Floom" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raaymax/loom on toolchain 18a029cfe8e761533634bda8fe8a14e30280a21b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/raaymax/loom [INFO] finished tweaking git repo https://github.com/raaymax/loom [INFO] tweaked toml for git repo https://github.com/raaymax/loom written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/raaymax/loom 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" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-5-tc1/source/crates/compiler/Cargo.toml: unused manifest key: lib.tests [INFO] [stderr] warning: /workspace/builds/worker-5-tc1/source/crates/interpreter/Cargo.toml: unused manifest key: lib.tests [INFO] [stderr] warning: /workspace/builds/worker-5-tc1/source/crates/parser/Cargo.toml: unused manifest key: lib.tests [INFO] [stderr] warning: /workspace/builds/worker-5-tc1/source/crates/lexer/Cargo.toml: unused manifest key: lib.tests [INFO] [stderr] warning: /workspace/builds/worker-5-tc1/source/crates/vm/Cargo.toml: unused manifest key: lib.tests [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbce5f3d4a9f140d9dd0abe52a58ad6f3f18c07cc0332a4c19db5795ce80f71c [INFO] running `Command { std: "docker" "start" "-a" "dbce5f3d4a9f140d9dd0abe52a58ad6f3f18c07cc0332a4c19db5795ce80f71c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbce5f3d4a9f140d9dd0abe52a58ad6f3f18c07cc0332a4c19db5795ce80f71c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbce5f3d4a9f140d9dd0abe52a58ad6f3f18c07cc0332a4c19db5795ce80f71c", kill_on_drop: false }` [INFO] [stdout] dbce5f3d4a9f140d9dd0abe52a58ad6f3f18c07cc0332a4c19db5795ce80f71c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f851af74bd2c085d664e6bd4fdb97de50d07bd5903b3e839a3b4746a686d4ea [INFO] running `Command { std: "docker" "start" "-a" "0f851af74bd2c085d664e6bd4fdb97de50d07bd5903b3e839a3b4746a686d4ea", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crates/vm/Cargo.toml: unused manifest key: lib.tests [INFO] [stderr] warning: /opt/rustwide/workdir/crates/compiler/Cargo.toml: unused manifest key: lib.tests [INFO] [stderr] warning: /opt/rustwide/workdir/crates/lexer/Cargo.toml: unused manifest key: lib.tests [INFO] [stderr] warning: /opt/rustwide/workdir/crates/interpreter/Cargo.toml: unused manifest key: lib.tests [INFO] [stderr] warning: /opt/rustwide/workdir/crates/parser/Cargo.toml: unused manifest key: lib.tests [INFO] [stderr] warning: loom v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cli` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking lexer v0.1.0 (/opt/rustwide/workdir/crates/lexer) [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stdout] warning: unused variable: `err_pos` [INFO] [stdout] --> crates/lexer/src/errors.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let err_pos = "";//format!("[ pos: {}, line: {}, line_pos: {}, length: {} ]", pos, l, line_pos, length); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_err_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/lexer/src/errors.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut line = text.chars() [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: unreachable pattern [INFO] [stdout] --> crates/lexer/src/token.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 56 | Token::Colon(pos) => write!(f, "Colon {}", pos), [INFO] [stdout] | ----------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 63 | Token::Colon(pos) => write!(f, "Colon {}", pos), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/lexer/src/token.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 97 | Token::Colon(pos) => *pos, [INFO] [stdout] | ----------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 104 | Token::Colon(pos) => *pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/lexer/src/id.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut size = 0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/lexer/src/errors.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | writeln!(f, "{} {}\n {}--> {}", "error:".red().bold(), self.message.bold(), space, self.location); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/lexer/src/errors.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | writeln!(f," {} |\n {} | {}", space, line_number, line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/lexer/src/errors.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | writeln!(f, " {} | {}", space, mask.red()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/lexer/src/errors.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | writeln!(f, "{} {}\n --> {}", "error:".red().bold(), self.message.bold(), self.location.yellow()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/lexer/src/errors.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | write!(f, "error: {}\n --> {}", self.message, self.location); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/lexer/src/errors.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | writeln!(f, "\t|\n\t| {}", line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/lexer/src/errors.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | writeln!(f, "\t| {}", mask); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir/crates/parser) [INFO] [stdout] warning: unused import: `helpers::*` [INFO] [stdout] --> crates/parser/src/detail/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use helpers::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Params` [INFO] [stdout] --> crates/parser/src/define.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{Op, Expression, Node, Params}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/parser/src/detail/value.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | _ => panic!("Type not yet implemented"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/parser/src/detail/value.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 29 | Value::Number(n) => write!(f, "{}", n), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 30 | Value::String(s) => write!(f, "'{}'", s), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 31 | _ => panic!("Type not yet implemented"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> crates/parser/src/define.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | Token::Assign(loc) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> crates/parser/src/define.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | Token::Semi(loc) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking interpreter v0.1.0 (/opt/rustwide/workdir/crates/interpreter) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> crates/interpreter/src/lib.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 150 | return compute(node.children.get(1).unwrap(), context); [INFO] [stdout] | ------------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 157 | let mut last = VType::Undefined; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/interpreter/src/vtype.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | _ => panic!("Type not yet implemented {}", n), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/interpreter/src/vtype.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 21 | Value::Number(n) => VType::Number(n), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 22 | Value::String(s) => VType::String(s), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 23 | _ => panic!("Type not yet implemented {}", n), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/interpreter/src/vtype.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | _ => panic!("Type not yet implemented"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/interpreter/src/vtype.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 48 | VType::Number(n) => write!(f, "{}", n), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 49 | VType::String(s) => write!(f, "{}", s), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 50 | VType::Undefined => write!(f, "undefined"), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 51 | VType::Bool(b) => write!(f, "{}", b), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 67 | _ => panic!("Type not yet implemented"), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> crates/interpreter/src/builtins.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let mut first = true; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/interpreter/src/builtins.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut first = true; [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: unreachable pattern [INFO] [stdout] --> crates/interpreter/src/builtins.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | _ => Err(PError::new(lexer::Location::zero(), "Not yet implemented")), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/interpreter/src/builtins.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 47 | Self::Print => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 51 | Self::Pow => { [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 62 | Self::Assert => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | _ => Err(PError::new(lexer::Location::zero(), "Not yet implemented")), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/interpreter/src/lib.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/interpreter/src/lib.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 57 | Op::Return => { [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 62 | Op::DefineFunc => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 72 | Op::DefineVar => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 79 | Op::While => { [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 219 | _ => { [INFO] [stdout] | ^ ...and 19 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extractNames` should have a snake case name [INFO] [stdout] --> crates/interpreter/src/lib.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn extractNames(node: &Node) -> Result,PError> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `extract_names` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `argNames` should have a snake case name [INFO] [stdout] --> crates/interpreter/src/lib.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let argNames = extractNames(args)?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `arg_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `argNames` should have a snake case name [INFO] [stdout] --> crates/interpreter/src/lib.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | VType::Func(argNames, body) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `arg_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `childContext` should have a snake case name [INFO] [stdout] --> crates/interpreter/src/lib.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | ... let mut childContext = Context::new_child(&name, node.location, context); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `child_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `argNames` should have a snake case name [INFO] [stdout] --> crates/interpreter/src/lib.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | VType::Func(argNames, body) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `arg_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `childContext` should have a snake case name [INFO] [stdout] --> crates/interpreter/src/lib.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | let mut childContext = Context::new_child(node.id.as_ref().unwrap_or(&"".to_string()).as_str(), node.location, context); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `child_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Compiling tree-sitter-loom v0.0.1 (/opt/rustwide/workdir/tree-sitter-loom) [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stdout] warning: unused import: `helpers::*` [INFO] [stdout] --> crates/parser/src/detail/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use helpers::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Params` [INFO] [stdout] --> crates/parser/src/define.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{Op, Expression, Node, Params}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> crates/interpreter/src/lib.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 150 | return compute(node.children.get(1).unwrap(), context); [INFO] [stdout] | ------------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 157 | let mut last = VType::Undefined; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/interpreter/src/vtype.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | _ => panic!("Type not yet implemented {}", n), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/interpreter/src/vtype.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 21 | Value::Number(n) => VType::Number(n), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 22 | Value::String(s) => VType::String(s), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 23 | _ => panic!("Type not yet implemented {}", n), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/interpreter/src/vtype.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | _ => panic!("Type not yet implemented"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/interpreter/src/vtype.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 48 | VType::Number(n) => write!(f, "{}", n), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 49 | VType::String(s) => write!(f, "{}", s), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 50 | VType::Undefined => write!(f, "undefined"), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 51 | VType::Bool(b) => write!(f, "{}", b), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 67 | _ => panic!("Type not yet implemented"), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> crates/interpreter/src/builtins.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let mut first = true; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/interpreter/src/builtins.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut first = true; [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: unreachable pattern [INFO] [stdout] --> crates/interpreter/src/builtins.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | _ => Err(PError::new(lexer::Location::zero(), "Not yet implemented")), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/interpreter/src/builtins.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 47 | Self::Print => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 51 | Self::Pow => { [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 62 | Self::Assert => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | _ => Err(PError::new(lexer::Location::zero(), "Not yet implemented")), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/parser/src/detail/value.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | _ => panic!("Type not yet implemented"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/parser/src/detail/value.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 29 | Value::Number(n) => write!(f, "{}", n), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 30 | Value::String(s) => write!(f, "'{}'", s), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 31 | _ => panic!("Type not yet implemented"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/interpreter/src/lib.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/interpreter/src/lib.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 57 | Op::Return => { [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 62 | Op::DefineFunc => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 72 | Op::DefineVar => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 79 | Op::While => { [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 219 | _ => { [INFO] [stdout] | ^ ...and 19 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> crates/parser/src/define.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | Token::Assign(loc) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> crates/parser/src/define.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | Token::Semi(loc) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stdout] warning: function `extractNames` should have a snake case name [INFO] [stdout] --> crates/interpreter/src/lib.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn extractNames(node: &Node) -> Result,PError> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `extract_names` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `argNames` should have a snake case name [INFO] [stdout] --> crates/interpreter/src/lib.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let argNames = extractNames(args)?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `arg_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `argNames` should have a snake case name [INFO] [stdout] --> crates/interpreter/src/lib.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | VType::Func(argNames, body) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `arg_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `childContext` should have a snake case name [INFO] [stdout] --> crates/interpreter/src/lib.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | ... let mut childContext = Context::new_child(&name, node.location, context); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `child_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `argNames` should have a snake case name [INFO] [stdout] --> crates/interpreter/src/lib.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | VType::Func(argNames, body) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `arg_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `childContext` should have a snake case name [INFO] [stdout] --> crates/interpreter/src/lib.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | let mut childContext = Context::new_child(node.id.as_ref().unwrap_or(&"".to_string()).as_str(), node.location, context); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `child_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err_pos` [INFO] [stdout] --> crates/lexer/src/errors.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let err_pos = "";//format!("[ pos: {}, line: {}, line_pos: {}, length: {} ]", pos, l, line_pos, length); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_err_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/lexer/src/errors.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut line = text.chars() [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: unreachable pattern [INFO] [stdout] --> crates/lexer/src/token.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 56 | Token::Colon(pos) => write!(f, "Colon {}", pos), [INFO] [stdout] | ----------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 63 | Token::Colon(pos) => write!(f, "Colon {}", pos), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/lexer/src/token.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 97 | Token::Colon(pos) => *pos, [INFO] [stdout] | ----------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 104 | Token::Colon(pos) => *pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/lexer/src/id.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut size = 0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/lexer/src/errors.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | writeln!(f, "{} {}\n {}--> {}", "error:".red().bold(), self.message.bold(), space, self.location); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/lexer/src/errors.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | writeln!(f," {} |\n {} | {}", space, line_number, line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/lexer/src/errors.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | writeln!(f, " {} | {}", space, mask.red()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/lexer/src/errors.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | writeln!(f, "{} {}\n --> {}", "error:".red().bold(), self.message.bold(), self.location.yellow()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/lexer/src/errors.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | write!(f, "error: {}\n --> {}", self.message, self.location); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/lexer/src/errors.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | writeln!(f, "\t|\n\t| {}", line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/lexer/src/errors.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | writeln!(f, "\t| {}", mask); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_repr v0.1.17 [INFO] [stderr] Compiling enum-display-macro v0.1.3 [INFO] [stderr] Compiling auto_impl v1.1.0 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking enum-display v0.1.3 [INFO] [stderr] Checking vm v0.1.0 (/opt/rustwide/workdir/crates/vm) [INFO] [stdout] warning: unused imports: `Instrs` and `OpCode` [INFO] [stdout] --> crates/vm/src/vm.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{OpCode, Instr, Instrs}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `parse_instr` [INFO] [stdout] --> crates/vm/src/vm.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | macro_rules! parse_instr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/vm/src/op_code.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Copy, FromPrimitive, EnumDisplay)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpCode` [INFO] [stdout] 2 | #[repr(u8)] [INFO] [stdout] 3 | pub enum OpCode { [INFO] [stdout] | ------ `OpCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir/crates/compiler) [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stdout] warning: unused import: `OpCode` [INFO] [stdout] --> crates/compiler/src/lib.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use vm::{Instr, Instrs, OpCode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> crates/compiler/src/lib.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn push(&mut self, val: u32) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Code` is more private than the item `Compiler::compile_node` [INFO] [stdout] --> crates/compiler/src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn compile_node(&mut self, node: &Node) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Compiler::compile_node` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Code` is only usable at visibility `pub(crate)` [INFO] [stdout] --> crates/compiler/src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Code { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `memptr` is never read [INFO] [stdout] --> crates/compiler/src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct Mem { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 36 | data: Vec, [INFO] [stdout] 37 | memptr: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write` and `to_bytes` are never used [INFO] [stdout] --> crates/compiler/src/lib.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Mem { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn write(&mut self, val: u32) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stackptr` is never read [INFO] [stdout] --> crates/compiler/src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct Stack { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 69 | stackptr: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push` and `pop` are never used [INFO] [stdout] --> crates/compiler/src/lib.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Stack { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn push(&mut self, val: u32) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn pop(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stack` and `mem` are never read [INFO] [stdout] --> crates/compiler/src/lib.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Compiler { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 96 | stack: Stack, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 97 | mem: Mem, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmetaKL6oJf" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tower-lsp-macros` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustcldmUMT/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcldmUMT/symbols.o" "<12 object files omitted>" "/opt/rustwide/target/debug/deps/auto_impl-db773cd5a399bf3d.4vq0nb3gyjxv17rk0b6llmiv1.rcgu.rmeta" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libproc_macro_error-9ab3ab89d118b7b2.rlib,libsyn-d231ff8e41cb214f.rlib,libquote-76abfdc78efad02b.rlib,libproc_macro2-c506a05697f6e678.rlib,libunicode_ident-f2de522ba645d884.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libproc_macro-*,librustc_literal_escaper-*,librustc_std_workspace_std-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcldmUMT/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libauto_impl-db773cd5a399bf3d.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. [INFO] [stdout] Stack dump: [INFO] [stdout] 0. Program arguments: /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-lld -flavor gnu -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccpbvC6u.res --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -shared -z relro -o /opt/rustwide/target/debug/deps/libauto_impl-db773cd5a399bf3d.so /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/tmp/rustcldmUMT/raw-dylibs -L/opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib -L/opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. --version-script=/tmp/rustcldmUMT/list --no-undefined-version /tmp/rustcldmUMT/symbols.o /opt/rustwide/target/debug/deps/auto_impl-db773cd5a399bf3d.auto_impl.76623df0fe7c9116-cgu.00.rcgu.o /opt/rustwide/target/debug/deps/auto_impl-db773cd5a399bf3d.auto_impl.76623df0fe7c9116-cgu.01.rcgu.o /opt/rustwide/target/debug/deps/auto_impl-db773cd5a399bf3d.auto_impl.76623df0fe7c9116-cgu.02.rcgu.o /opt/rustwide/target/debug/deps/auto_impl-db773cd5a399bf3d.auto_impl.76623df0fe7c9116-cgu.03.rcgu.o /opt/rustwide/target/debug/deps/auto_impl-db773cd5a399bf3d.auto_impl.76623df0fe7c9116-cgu.04.rcgu.o /opt/rustwide/target/debug/deps/auto_impl-db773cd5a399bf3d.auto_impl.76623df0fe7c9116-cgu.05.rcgu.o /opt/rustwide/target/debug/deps/auto_impl-db773cd5a399bf3d.auto_impl.76623df0fe7c9116-cgu.06.rcgu.o /opt/rustwide/target/debug/deps/auto_impl-db773cd5a399bf3d.auto_impl.76623df0fe7c9116-cgu.07.rcgu.o /opt/rustwide/target/debug/deps/auto_impl-db773cd5a399bf3d.auto_impl.76623df0fe7c9116-cgu.08.rcgu.o /opt/rustwide/target/debug/deps/auto_impl-db773cd5a399bf3d.auto_impl.76623df0fe7c9116-cgu.09.rcgu.o /opt/rustwide/target/debug/deps/auto_impl-db773cd5a399bf3d.auto_impl.76623df0fe7c9116-cgu.10.rcgu.o /opt/rustwide/target/debug/deps/auto_impl-db773cd5a399bf3d.auto_impl.76623df0fe7c9116-cgu.11.rcgu.o /opt/rustwide/target/debug/deps/auto_impl-db773cd5a399bf3d.4vq0nb3gyjxv17rk0b6llmiv1.rcgu.rmeta /opt/rustwide/target/debug/deps/auto_impl-db773cd5a399bf3d.0j55siw7zzd3nu34o3pf4xjye.rcgu.o --as-needed -Bstatic /opt/rustwide/target/debug/deps/libproc_macro_error-9ab3ab89d118b7b2.rlib /opt/rustwide/target/debug/deps/libsyn-d231ff8e41cb214f.rlib /opt/rustwide/target/debug/deps/libquote-76abfdc78efad02b.rlib /opt/rustwide/target/debug/deps/libproc_macro2-c506a05697f6e678.rlib /opt/rustwide/target/debug/deps/libunicode_ident-f2de522ba645d884.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libproc_macro-8a0665a7d3247f11.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_literal_escaper-8aee07e5150bf38c.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-fd65d24b2c65b3c9.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37ad24681a4155d6.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-8b3a571ca587c19d.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-526356812707e4b4.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-2cc7fdcc5beb6cd2.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-c3e406d4749a373c.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-76ac5f839ab4cacb.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-ec541aef04cd4e9a.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-ef65e83cae4ffcf7.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-4a8a137426a15f1c.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-51f81ade93f4bf11.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f1c8fbcaa88ee218.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler2-bb3c7c2a18afbe49.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-d9e6d05a7120d916.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b014947fa2b70c04.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-c108d169d7d8a33e.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-2a46ff5b40f20e74.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fc0ad1732fa36810.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-11d9a250f9da47d5.rlib /opt/rustwide/rustup-home/toolchains/18a029cfe8e761533634bda8fe8a14e30280a21b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-48b8f2e75b6ed979.rlib -Bdynamic -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc -znostart-stop-gc --eh-frame-hdr -z noexecstack --gc-sections -z relro -z now /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o [INFO] [stdout] LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `auto_impl` (lib) due to 1 previous error [INFO] [stdout] error: failed to write to `/opt/rustwide/target/debug/deps/rmetaXVKOnc/full.rmeta`: No space left on device (os error 28) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tree-sitter` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "0f851af74bd2c085d664e6bd4fdb97de50d07bd5903b3e839a3b4746a686d4ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f851af74bd2c085d664e6bd4fdb97de50d07bd5903b3e839a3b4746a686d4ea", kill_on_drop: false }` [INFO] [stdout] 0f851af74bd2c085d664e6bd4fdb97de50d07bd5903b3e839a3b4746a686d4ea