[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#e23ae72ac7a393961886ea62df065ebb6def7d51 for pr-126571 [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 e23ae72ac7a393961886ea62df065ebb6def7d51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "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" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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/interpreter/Cargo.toml: unused manifest key: lib.tests [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/vm/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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-display v0.1.3 [INFO] [stderr] Downloaded enum-display-macro v0.1.3 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df628ef977409df0a7350a8d92e38d6c8e54a6e1511fe0a1dd4271061160ea6d [INFO] running `Command { std: "docker" "start" "-a" "df628ef977409df0a7350a8d92e38d6c8e54a6e1511fe0a1dd4271061160ea6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df628ef977409df0a7350a8d92e38d6c8e54a6e1511fe0a1dd4271061160ea6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df628ef977409df0a7350a8d92e38d6c8e54a6e1511fe0a1dd4271061160ea6d", kill_on_drop: false }` [INFO] [stdout] df628ef977409df0a7350a8d92e38d6c8e54a6e1511fe0a1dd4271061160ea6d [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5754cf4f7c6c77e7d2456a715beaed49a0f4e9465bfc92346f228e49949fdc14 [INFO] running `Command { std: "docker" "start" "-a" "5754cf4f7c6c77e7d2456a715beaed49a0f4e9465bfc92346f228e49949fdc14", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crates/parser/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/compiler/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/vm/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 bitflags v2.4.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking once_cell v1.18.0 [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-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Checking lexer v0.1.0 (/opt/rustwide/workdir/crates/lexer) [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking scopeguard v1.2.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] [stderr] Checking futures-sink v0.3.29 [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] [stderr] Compiling futures-task v0.3.29 [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/lexer/src/token.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Token::Colon(pos) => write!(f, "Colon {}", pos), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] 104 | Token::Colon(pos) => *pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinyvec_macros v0.1.1 [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] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir/crates/parser) [INFO] [stderr] Checking tinyvec v1.6.0 [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] Checking num-complex v0.4.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] | ^ [INFO] [stdout] | [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] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking interpreter v0.1.0 (/opt/rustwide/workdir/crates/interpreter) [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [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] [stderr] Checking num_cpus v1.16.0 [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] | ^ [INFO] [stdout] | [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] | ^ [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] | ^ [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] | ^ [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] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Checking tracing-log v0.2.0 [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 dashmap v5.5.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [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] | ^ [INFO] [stdout] | [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] | ^ [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] | ^ [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] | ^ [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] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] Checking tracing-subscriber v0.3.18 [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] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [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: 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] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/lexer/src/token.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Token::Colon(pos) => write!(f, "Colon {}", pos), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] 104 | Token::Colon(pos) => *pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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: 5 warnings emitted [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] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling enum-display-macro v0.1.3 [INFO] [stderr] Compiling auto_impl v1.1.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking enum-display v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_repr v0.1.17 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [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] [stderr] Compiling clap_derive v4.4.7 [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: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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 [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir/crates/compiler) [INFO] [stderr] Checking pin-project v1.1.3 [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] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] [stderr] Checking loom v0.1.0 (/opt/rustwide/workdir) [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] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stdout] warning: unused import: `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: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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 [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v4.4.8 [INFO] [stderr] Checking cli v0.1.0 (/opt/rustwide/workdir/bins/cli) [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking lsp v0.1.0 (/opt/rustwide/workdir/bins/lsp) [INFO] [stdout] warning: unused import: `TokenVec` [INFO] [stdout] --> bins/lsp/src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use lexer::{Tokenizer, TokenVec, PError, Token}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenVec` [INFO] [stdout] --> bins/lsp/src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use lexer::{Tokenizer, TokenVec, PError, Token}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `runtime-agnostic` [INFO] [stdout] --> bins/lsp/src/main.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg(feature = "runtime-agnostic")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `runtime-agnostic` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `runtime-agnostic` [INFO] [stdout] --> bins/lsp/src/main.rs:181:11 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(feature = "runtime-agnostic")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `runtime-agnostic` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `runtime-agnostic` [INFO] [stdout] --> bins/lsp/src/main.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg(feature = "runtime-agnostic")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `runtime-agnostic` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `runtime-agnostic` [INFO] [stdout] --> bins/lsp/src/main.rs:181:11 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(feature = "runtime-agnostic")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `runtime-agnostic` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bins/lsp/src/main.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | std::fs::read_to_string(path.clone()).unwrap_or_else(|e| { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bins/lsp/src/main.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | std::fs::read_to_string(path.clone()).unwrap_or_else(|e| { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokensResult` should have a snake case name [INFO] [stdout] --> bins/lsp/src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let tokensResult = Tokenizer::new(&text).collect::, PError>>(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `tokens_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokensResult` should have a snake case name [INFO] [stdout] --> bins/lsp/src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let tokensResult = Tokenizer::new(&text).collect::, PError>>(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `tokens_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.01s [INFO] running `Command { std: "docker" "inspect" "5754cf4f7c6c77e7d2456a715beaed49a0f4e9465bfc92346f228e49949fdc14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5754cf4f7c6c77e7d2456a715beaed49a0f4e9465bfc92346f228e49949fdc14", kill_on_drop: false }` [INFO] [stdout] 5754cf4f7c6c77e7d2456a715beaed49a0f4e9465bfc92346f228e49949fdc14 [INFO] checking raaymax/loom against try#397f8958d101b259f6baaf92d107d770c95c3ce0 for pr-126571 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraaymax%2Floom" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raaymax/loom on toolchain 397f8958d101b259f6baaf92d107d770c95c3ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "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-tc2/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" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/crates/lexer/Cargo.toml: unused manifest key: lib.tests [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/crates/compiler/Cargo.toml: unused manifest key: lib.tests [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/crates/vm/Cargo.toml: unused manifest key: lib.tests [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/crates/parser/Cargo.toml: unused manifest key: lib.tests [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/crates/interpreter/Cargo.toml: unused manifest key: lib.tests [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bedbcedd86362b131c1c892b7df3d6b3e2e1d88284cfd384c56c5f15d2f627b [INFO] running `Command { std: "docker" "start" "-a" "9bedbcedd86362b131c1c892b7df3d6b3e2e1d88284cfd384c56c5f15d2f627b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bedbcedd86362b131c1c892b7df3d6b3e2e1d88284cfd384c56c5f15d2f627b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bedbcedd86362b131c1c892b7df3d6b3e2e1d88284cfd384c56c5f15d2f627b", kill_on_drop: false }` [INFO] [stdout] 9bedbcedd86362b131c1c892b7df3d6b3e2e1d88284cfd384c56c5f15d2f627b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43d68baf930bee3a738d2b264f375e522f32fb5761d89152f1658b2229ea41ef [INFO] running `Command { std: "docker" "start" "-a" "43d68baf930bee3a738d2b264f375e522f32fb5761d89152f1658b2229ea41ef", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crates/lexer/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/parser/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/vm/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] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking cfg-if v1.0.0 [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 futures-core v0.3.29 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking lexer v0.1.0 (/opt/rustwide/workdir/crates/lexer) [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [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] [stderr] Compiling serde v1.0.192 [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/lexer/src/token.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Token::Colon(pos) => write!(f, "Colon {}", pos), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] 104 | Token::Colon(pos) => *pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] [stdout] warning: 12 warnings emitted [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] Checking tinyvec v1.6.0 [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] | ^ [INFO] [stdout] | [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] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking pin-utils v0.1.0 [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] [stderr] Checking signal-hook-registry v1.4.1 [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] | ^ [INFO] [stdout] | [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] | ^ [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] | ^ [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] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking num v0.4.1 [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Checking tracing-log v0.2.0 [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 dashmap v5.5.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [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] | ^ [INFO] [stdout] | [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] | ^ [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] | ^ [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] | ^ [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] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [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 pattern [INFO] [stdout] --> crates/parser/src/detail/value.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | _ => panic!("Type not yet implemented"), [INFO] [stdout] | ^ [INFO] [stdout] | [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] [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] 63 | Token::Colon(pos) => write!(f, "Colon {}", pos), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/lexer/src/token.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | Token::Colon(pos) => *pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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: 5 warnings emitted [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] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not parse/generate dep info at: /opt/rustwide/target/debug/deps/clap_builder-d973c1f0b0dd45ae.d [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to write `/opt/rustwide/target/debug/.fingerprint/clap_builder-d973c1f0b0dd45ae/dep-lib-clap_builder` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: failed to write /tmp/rustcy3hGAu/lib.rmeta: No space left on device (os error 28) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to write to `/opt/rustwide/target/debug/deps/rmetaOsgbsH/lib.rmeta`: No space left on device (os error 28) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] error: could not compile `syn` (lib) due to 1 previous error [INFO] [stderr] error: could not compile `regex-automata` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "43d68baf930bee3a738d2b264f375e522f32fb5761d89152f1658b2229ea41ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43d68baf930bee3a738d2b264f375e522f32fb5761d89152f1658b2229ea41ef", kill_on_drop: false }` [INFO] [stdout] 43d68baf930bee3a738d2b264f375e522f32fb5761d89152f1658b2229ea41ef