[INFO] cloning repository https://github.com/bem130/NEPLg2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bem130/NEPLg2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbem130%2FNEPLg2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbem130%2FNEPLg2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ec33d8198a6ef63d9bdc0e523350b368bb0e62c [INFO] testing bem130/NEPLg2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbem130%2FNEPLg2" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/bem130/NEPLg2 [INFO] finished tweaking git repo https://github.com/bem130/NEPLg2 [INFO] tweaked toml for git repo https://github.com/bem130/NEPLg2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bem130/NEPLg2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bem130/NEPLg2 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b04fd3d038ec8201e6eacc73ffbe2b987270aef3d1fe85c9b784a861ab3cde38 [INFO] running `Command { std: "docker" "start" "-a" "b04fd3d038ec8201e6eacc73ffbe2b987270aef3d1fe85c9b784a861ab3cde38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b04fd3d038ec8201e6eacc73ffbe2b987270aef3d1fe85c9b784a861ab3cde38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b04fd3d038ec8201e6eacc73ffbe2b987270aef3d1fe85c9b784a861ab3cde38", kill_on_drop: false }` [INFO] [stdout] b04fd3d038ec8201e6eacc73ffbe2b987270aef3d1fe85c9b784a861ab3cde38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc4d0490961720d014d5bc456d21021b0b06d36dabb3e08bed36cee5afbd9920 [INFO] running `Command { std: "docker" "start" "-a" "cc4d0490961720d014d5bc456d21021b0b06d36dabb3e08bed36cee5afbd9920", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling indexmap-nostd v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling clap_builder v4.5.56 [INFO] [stderr] Compiling wasmi_arena v0.4.1 [INFO] [stderr] Compiling nepl-cli v0.1.0 (/opt/rustwide/workdir/nepl-cli) [INFO] [stderr] Compiling wasm-encoder v0.244.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling wasmparser-nostd v0.100.2 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling wasmi_core v0.13.0 [INFO] [stderr] Compiling wasmi v0.31.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling clap v4.5.56 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling wasmparser v0.244.0 [INFO] [stderr] Compiling nepl-core v0.1.0 (/opt/rustwide/workdir/nepl-core) [INFO] [stderr] Compiling wasmprinter v0.244.0 [INFO] [stdout] warning: unused import: `alloc::string::String` [INFO] [stdout] --> nepl-core/src/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToString` [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use alloc::string::{String, ToString}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::collections::BTreeMap` [INFO] [stdout] --> nepl-core/src/hir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use alloc::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> nepl-core/src/module_graph.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | use alloc::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::boxed::Box` [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec` [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use alloc::vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HirLine` [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:12:59 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::hir::{FuncRef, HirBlock, HirExpr, HirExprKind, HirLine, HirModule}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::TypeId` [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::types::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExportEntry` and `ExportKind` [INFO] [stdout] --> nepl-core/src/resolve.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::module_graph::{ExportEntry, ExportKind, ExportTable, ModuleGraph, ModuleId}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/ast.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/builtins.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/compiler.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/hir.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/monomorphize.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/nm.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/parser.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/passes/drop_insertion.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/typecheck.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/types.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:875:9 [INFO] [stdout] | [INFO] [stdout] 875 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/compiler.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | let mut hir_module = monomorphize::monomorphize(&mut types, tc.module); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/parser.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let mut start_span = self.peek_span().unwrap_or_else(Span::dummy); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/parser.rs:368:37 [INFO] [stdout] | [INFO] [stdout] 368 | ... let mut curr_items = core::mem::take(&mut curr_e.items); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/parser.rs:481:17 [INFO] [stdout] | [INFO] [stdout] 481 | let mut c = r.trim(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/parser.rs:556:13 [INFO] [stdout] | [INFO] [stdout] 556 | let mut out = (|| match self.peek_kind()? { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kw_span` [INFO] [stdout] --> nepl-core/src/parser.rs:877:13 [INFO] [stdout] | [INFO] [stdout] 877 | let kw_span = self.expect_with_span(&TokenKind::KwStruct)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kw_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kw_span` [INFO] [stdout] --> nepl-core/src/parser.rs:931:13 [INFO] [stdout] | [INFO] [stdout] 931 | let kw_span = self.expect_with_span(&TokenKind::KwEnum)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kw_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bn` [INFO] [stdout] --> nepl-core/src/parser.rs:3150:53 [INFO] [stdout] | [INFO] [stdout] 3150 | let bind = if let Some(TokenKind::Ident(bn)) = self.peek_kind() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot_span` [INFO] [stdout] --> nepl-core/src/parser.rs:3326:21 [INFO] [stdout] | [INFO] [stdout] 3326 | let dot_span = self.next().unwrap().span; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dot_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> nepl-core/src/parser.rs:3328:25 [INFO] [stdout] | [INFO] [stdout] 3328 | let tok = self.next().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rp_span` [INFO] [stdout] --> nepl-core/src/parser.rs:3338:25 [INFO] [stdout] | [INFO] [stdout] 3338 | let rp_span = self.next().unwrap().span; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rp_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> nepl-core/src/parser.rs:3607:35 [INFO] [stdout] | [INFO] [stdout] 3607 | Some(TokenKind::Ident(name)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> nepl-core/src/resolve.rs:252:33 [INFO] [stdout] | [INFO] [stdout] 252 | if let Some(prev) = seen_open.get(n) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/typecheck.rs:1244:18 [INFO] [stdout] | [INFO] [stdout] 1244 | let (mut tps, _bounds_vec, bounds_map) = [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> nepl-core/src/typecheck.rs:756:22 [INFO] [stdout] | [INFO] [stdout] 756 | for (i, v) in vars.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tps` [INFO] [stdout] --> nepl-core/src/typecheck.rs:904:22 [INFO] [stdout] | [INFO] [stdout] 904 | let (tps, _bounds_vec, _bounds_map) = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tps` [INFO] [stdout] --> nepl-core/src/typecheck.rs:1068:18 [INFO] [stdout] | [INFO] [stdout] 1068 | let (tps, _bounds_vec, impl_bounds_map) = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `impl_bounds_map` [INFO] [stdout] --> nepl-core/src/typecheck.rs:1068:36 [INFO] [stdout] | [INFO] [stdout] 1068 | let (tps, _bounds_vec, impl_bounds_map) = [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_impl_bounds_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> nepl-core/src/typecheck.rs:1263:17 [INFO] [stdout] | [INFO] [stdout] 1263 | params, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> nepl-core/src/typecheck.rs:3411:14 [INFO] [stdout] | [INFO] [stdout] 3411 | for (i, stmt) in block.items.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fresh_args` [INFO] [stdout] --> nepl-core/src/typecheck.rs:5587:27 [INFO] [stdout] | [INFO] [stdout] 5587 | let (inst_ty, fresh_args) = if !stack[func_pos].type_args.is_empty() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fresh_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fresh_args` [INFO] [stdout] --> nepl-core/src/typecheck.rs:5777:27 [INFO] [stdout] | [INFO] [stdout] 5777 | let (inst_ty, fresh_args) = if !stack[func_pos].type_args.is_empty() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fresh_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `applied_trait_name` [INFO] [stdout] --> nepl-core/src/typecheck.rs:7271:37 [INFO] [stdout] | [INFO] [stdout] 7271 | ... let applied_trait_name = self.infer_trait_application_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_applied_trait_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_callable` [INFO] [stdout] --> nepl-core/src/typecheck.rs:7829:17 [INFO] [stdout] | [INFO] [stdout] 7829 | let has_callable = scope.callables.iter().any(|b| b.name == binding.name); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_callable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> nepl-core/src/typecheck.rs:8006:9 [INFO] [stdout] | [INFO] [stdout] 8006 | ctx: &TypeCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> nepl-core/src/types.rs:1116:13 [INFO] [stdout] | [INFO] [stdout] 1054 | (TypeKind::Tuple { items: ta }, TypeKind::Tuple { items: tb }) => { [INFO] [stdout] | -------------------------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1116 | (TypeKind::Tuple { items: ta }, TypeKind::Tuple { items: tb }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ll_storage_size` is never used [INFO] [stdout] --> nepl-core/src/codegen_llvm.rs:2939:4 [INFO] [stdout] | [INFO] [stdout] 2939 | fn ll_storage_size(ty: LlTy) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl StringLower { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_skip_wasm_codegen_for_generic` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:660:15 [INFO] [stdout] | [INFO] [stdout] 660 | pub(crate) fn should_skip_wasm_codegen_for_generic(ctx: &TypeCtx, f: &HirFunction) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_unbound_type_var` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:664:4 [INFO] [stdout] | [INFO] [stdout] 664 | fn has_unbound_type_var(ctx: &TypeCtx, ty: TypeId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_called_functions_from_expr` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:697:4 [INFO] [stdout] | [INFO] [stdout] 697 | fn collect_called_functions_from_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_reachable_wasm_functions` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:780:15 [INFO] [stdout] | [INFO] [stdout] 780 | pub(crate) fn collect_reachable_wasm_functions(module: &HirModule) -> BTreeSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_wasm_signature_set` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:890:15 [INFO] [stdout] | [INFO] [stdout] 890 | pub(crate) fn collect_wasm_signature_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `idx`, `ty`, and `is_param` are never read [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:2237:5 [INFO] [stdout] | [INFO] [stdout] 2236 | struct LocalInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 2237 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2238 | idx: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 2239 | ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 2240 | is_param: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `valtype_of` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:2322:8 [INFO] [stdout] | [INFO] [stdout] 2253 | impl LocalMap { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2322 | fn valtype_of(&self, idx: u32, ctx: &TypeCtx) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_supported_wasm_intrinsic` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:2374:15 [INFO] [stdout] | [INFO] [stdout] 2374 | pub(crate) fn is_supported_wasm_intrinsic(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Section` is never constructed [INFO] [stdout] --> nepl-core/src/nm.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 287 | enum Container { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 288 | Document(Document), [INFO] [stdout] 289 | Section(SectionNode), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_id` is never read [INFO] [stdout] --> nepl-core/src/parser.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 59 | file_id: FileId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_history` is never used [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl MoveCheckContext { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | fn apply_history(&mut self, history: BTreeMap) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_top` is never used [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:700:4 [INFO] [stdout] | [INFO] [stdout] 700 | fn get_top(map: &BTreeMap>, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `doc` is never read [INFO] [stdout] --> nepl-core/src/typecheck.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct EnumInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 72 | doc: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `doc` is never read [INFO] [stdout] --> nepl-core/src/typecheck.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct StructInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 80 | doc: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> nepl-core/src/typecheck.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 88 | struct TraitInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 89 | doc: Option, [INFO] [stdout] 90 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraitInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `doc` and `methods` are never read [INFO] [stdout] --> nepl-core/src/typecheck.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 167 | struct ImplInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 168 | doc: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | methods: BTreeMap, // name -> (mangled_name, type) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `type_param_has_bound` and `split_if_then_else_block_ast` are never used [INFO] [stdout] --> nepl-core/src/typecheck.rs:2962:8 [INFO] [stdout] | [INFO] [stdout] 2277 | impl<'a> BlockChecker<'a> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 2962 | fn type_param_has_bound(&self, ty: TypeId, trait_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6051 | fn split_if_then_else_block_ast(b: &Block) -> Option<(Block, Block)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `moved` is never read [INFO] [stdout] --> nepl-core/src/typecheck.rs:7630:5 [INFO] [stdout] | [INFO] [stdout] 7624 | struct Binding { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7630 | moved: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Binding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lookup_current`, `lookup_current_mut`, and `lookup_callable` are never used [INFO] [stdout] --> nepl-core/src/typecheck.rs:7845:8 [INFO] [stdout] | [INFO] [stdout] 7786 | impl Env { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 7845 | fn lookup_current(&self, name: &str) -> Option<&Binding> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7862 | fn lookup_current_mut(&mut self, name: &str) -> Option<&mut Binding> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8000 | fn lookup_callable(&self, name: &str) -> Option<&Binding> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function_type_param_count` is never used [INFO] [stdout] --> nepl-core/src/typecheck.rs:8206:4 [INFO] [stdout] | [INFO] [stdout] 8206 | fn function_type_param_count(ctx: &TypeCtx, ty: TypeId) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_arity` is never used [INFO] [stdout] --> nepl-core/src/typecheck.rs:8470:4 [INFO] [stdout] | [INFO] [stdout] 8470 | fn func_arity(ctx: &TypeCtx, ty: TypeId) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Store` is never constructed [INFO] [stdout] --> nepl-core/src/typecheck.rs:9005:5 [INFO] [stdout] | [INFO] [stdout] 9002 | enum AssignKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9005 | Store(HirExpr), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nepl-language v0.1.0 (/opt/rustwide/workdir/nepl-language) [INFO] [stderr] Compiling nepl-lsp v0.1.0 (/opt/rustwide/workdir/nepl-lsp) [INFO] [stdout] warning: unused import: `compile_module` [INFO] [stdout] --> nepl-cli/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | compile_module, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uri` and `path` are never read [INFO] [stdout] --> nepl-lsp/src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct DocumentState { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 23 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `free_head` is never read [INFO] [stdout] --> nepl-cli/src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct AllocState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 25 | // head of free list (address in linear memory), 0 == null [INFO] [stdout] 26 | free_head: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.35s [INFO] running `Command { std: "docker" "inspect" "cc4d0490961720d014d5bc456d21021b0b06d36dabb3e08bed36cee5afbd9920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc4d0490961720d014d5bc456d21021b0b06d36dabb3e08bed36cee5afbd9920", kill_on_drop: false }` [INFO] [stdout] cc4d0490961720d014d5bc456d21021b0b06d36dabb3e08bed36cee5afbd9920 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aea3dc9eb7c3a1d6c60d0ba45fa09ab1f16e16b3d3f082ea71ecad7aaecba58c [INFO] running `Command { std: "docker" "start" "-a" "aea3dc9eb7c3a1d6c60d0ba45fa09ab1f16e16b3d3f082ea71ecad7aaecba58c", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling nepl-cli v0.1.0 (/opt/rustwide/workdir/nepl-cli) [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling wasmparser v0.244.0 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nepl-core v0.1.0 (/opt/rustwide/workdir/nepl-core) [INFO] [stderr] Compiling wasmprinter v0.244.0 [INFO] [stdout] warning: unused import: `alloc::string::String` [INFO] [stdout] --> nepl-core/src/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToString` [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use alloc::string::{String, ToString}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::collections::BTreeMap` [INFO] [stdout] --> nepl-core/src/hir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use alloc::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> nepl-core/src/module_graph.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | use alloc::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::boxed::Box` [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec` [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use alloc::vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HirLine` [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:12:59 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::hir::{FuncRef, HirBlock, HirExpr, HirExprKind, HirLine, HirModule}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::TypeId` [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::types::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExportEntry` and `ExportKind` [INFO] [stdout] --> nepl-core/src/resolve.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::module_graph::{ExportEntry, ExportKind, ExportTable, ModuleGraph, ModuleId}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/ast.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/builtins.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/compiler.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/hir.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/monomorphize.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/nm.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/parser.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/passes/drop_insertion.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/typecheck.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/types.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:875:9 [INFO] [stdout] | [INFO] [stdout] 875 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/compiler.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | let mut hir_module = monomorphize::monomorphize(&mut types, tc.module); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/parser.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let mut start_span = self.peek_span().unwrap_or_else(Span::dummy); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/parser.rs:368:37 [INFO] [stdout] | [INFO] [stdout] 368 | ... let mut curr_items = core::mem::take(&mut curr_e.items); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/parser.rs:481:17 [INFO] [stdout] | [INFO] [stdout] 481 | let mut c = r.trim(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/parser.rs:556:13 [INFO] [stdout] | [INFO] [stdout] 556 | let mut out = (|| match self.peek_kind()? { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kw_span` [INFO] [stdout] --> nepl-core/src/parser.rs:877:13 [INFO] [stdout] | [INFO] [stdout] 877 | let kw_span = self.expect_with_span(&TokenKind::KwStruct)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kw_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kw_span` [INFO] [stdout] --> nepl-core/src/parser.rs:931:13 [INFO] [stdout] | [INFO] [stdout] 931 | let kw_span = self.expect_with_span(&TokenKind::KwEnum)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kw_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bn` [INFO] [stdout] --> nepl-core/src/parser.rs:3150:53 [INFO] [stdout] | [INFO] [stdout] 3150 | let bind = if let Some(TokenKind::Ident(bn)) = self.peek_kind() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot_span` [INFO] [stdout] --> nepl-core/src/parser.rs:3326:21 [INFO] [stdout] | [INFO] [stdout] 3326 | let dot_span = self.next().unwrap().span; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dot_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> nepl-core/src/parser.rs:3328:25 [INFO] [stdout] | [INFO] [stdout] 3328 | let tok = self.next().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rp_span` [INFO] [stdout] --> nepl-core/src/parser.rs:3338:25 [INFO] [stdout] | [INFO] [stdout] 3338 | let rp_span = self.next().unwrap().span; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rp_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> nepl-core/src/parser.rs:3607:35 [INFO] [stdout] | [INFO] [stdout] 3607 | Some(TokenKind::Ident(name)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::string::String` [INFO] [stdout] --> nepl-core/src/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToString` [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use alloc::string::{String, ToString}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::collections::BTreeMap` [INFO] [stdout] --> nepl-core/src/hir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use alloc::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> nepl-core/src/module_graph.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | use alloc::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::boxed::Box` [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec` [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use alloc::vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HirLine` [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:12:59 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::hir::{FuncRef, HirBlock, HirExpr, HirExprKind, HirLine, HirModule}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::TypeId` [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::types::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExportEntry` and `ExportKind` [INFO] [stdout] --> nepl-core/src/resolve.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::module_graph::{ExportEntry, ExportKind, ExportTable, ModuleGraph, ModuleId}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> nepl-core/src/resolve.rs:252:33 [INFO] [stdout] | [INFO] [stdout] 252 | if let Some(prev) = seen_open.get(n) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/typecheck.rs:1244:18 [INFO] [stdout] | [INFO] [stdout] 1244 | let (mut tps, _bounds_vec, bounds_map) = [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> nepl-core/src/typecheck.rs:756:22 [INFO] [stdout] | [INFO] [stdout] 756 | for (i, v) in vars.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tps` [INFO] [stdout] --> nepl-core/src/typecheck.rs:904:22 [INFO] [stdout] | [INFO] [stdout] 904 | let (tps, _bounds_vec, _bounds_map) = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tps` [INFO] [stdout] --> nepl-core/src/typecheck.rs:1068:18 [INFO] [stdout] | [INFO] [stdout] 1068 | let (tps, _bounds_vec, impl_bounds_map) = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `impl_bounds_map` [INFO] [stdout] --> nepl-core/src/typecheck.rs:1068:36 [INFO] [stdout] | [INFO] [stdout] 1068 | let (tps, _bounds_vec, impl_bounds_map) = [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_impl_bounds_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> nepl-core/src/typecheck.rs:1263:17 [INFO] [stdout] | [INFO] [stdout] 1263 | params, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/ast.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/builtins.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/compiler.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/hir.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/monomorphize.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/nm.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/parser.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/passes/drop_insertion.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/typecheck.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> nepl-core/src/types.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> nepl-core/src/typecheck.rs:3411:14 [INFO] [stdout] | [INFO] [stdout] 3411 | for (i, stmt) in block.items.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fresh_args` [INFO] [stdout] --> nepl-core/src/typecheck.rs:5587:27 [INFO] [stdout] | [INFO] [stdout] 5587 | let (inst_ty, fresh_args) = if !stack[func_pos].type_args.is_empty() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fresh_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fresh_args` [INFO] [stdout] --> nepl-core/src/typecheck.rs:5777:27 [INFO] [stdout] | [INFO] [stdout] 5777 | let (inst_ty, fresh_args) = if !stack[func_pos].type_args.is_empty() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fresh_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `applied_trait_name` [INFO] [stdout] --> nepl-core/src/typecheck.rs:7271:37 [INFO] [stdout] | [INFO] [stdout] 7271 | ... let applied_trait_name = self.infer_trait_application_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_applied_trait_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_callable` [INFO] [stdout] --> nepl-core/src/typecheck.rs:7829:17 [INFO] [stdout] | [INFO] [stdout] 7829 | let has_callable = scope.callables.iter().any(|b| b.name == binding.name); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_callable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> nepl-core/src/typecheck.rs:8006:9 [INFO] [stdout] | [INFO] [stdout] 8006 | ctx: &TypeCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> nepl-core/src/types.rs:1116:13 [INFO] [stdout] | [INFO] [stdout] 1054 | (TypeKind::Tuple { items: ta }, TypeKind::Tuple { items: tb }) => { [INFO] [stdout] | -------------------------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1116 | (TypeKind::Tuple { items: ta }, TypeKind::Tuple { items: tb }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ll_storage_size` is never used [INFO] [stdout] --> nepl-core/src/codegen_llvm.rs:2939:4 [INFO] [stdout] | [INFO] [stdout] 2939 | fn ll_storage_size(ty: LlTy) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl StringLower { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_skip_wasm_codegen_for_generic` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:660:15 [INFO] [stdout] | [INFO] [stdout] 660 | pub(crate) fn should_skip_wasm_codegen_for_generic(ctx: &TypeCtx, f: &HirFunction) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_unbound_type_var` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:664:4 [INFO] [stdout] | [INFO] [stdout] 664 | fn has_unbound_type_var(ctx: &TypeCtx, ty: TypeId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_called_functions_from_expr` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:697:4 [INFO] [stdout] | [INFO] [stdout] 697 | fn collect_called_functions_from_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_reachable_wasm_functions` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:780:15 [INFO] [stdout] | [INFO] [stdout] 780 | pub(crate) fn collect_reachable_wasm_functions(module: &HirModule) -> BTreeSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_wasm_signature_set` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:890:15 [INFO] [stdout] | [INFO] [stdout] 890 | pub(crate) fn collect_wasm_signature_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `idx`, `ty`, and `is_param` are never read [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:2237:5 [INFO] [stdout] | [INFO] [stdout] 2236 | struct LocalInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 2237 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2238 | idx: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 2239 | ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 2240 | is_param: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `valtype_of` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:2322:8 [INFO] [stdout] | [INFO] [stdout] 2253 | impl LocalMap { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2322 | fn valtype_of(&self, idx: u32, ctx: &TypeCtx) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_supported_wasm_intrinsic` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:2374:15 [INFO] [stdout] | [INFO] [stdout] 2374 | pub(crate) fn is_supported_wasm_intrinsic(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Section` is never constructed [INFO] [stdout] --> nepl-core/src/nm.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 287 | enum Container { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 288 | Document(Document), [INFO] [stdout] 289 | Section(SectionNode), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_id` is never read [INFO] [stdout] --> nepl-core/src/parser.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 59 | file_id: FileId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_history` is never used [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl MoveCheckContext { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | fn apply_history(&mut self, history: BTreeMap) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_top` is never used [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:700:4 [INFO] [stdout] | [INFO] [stdout] 700 | fn get_top(map: &BTreeMap>, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `doc` is never read [INFO] [stdout] --> nepl-core/src/typecheck.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct EnumInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 72 | doc: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `doc` is never read [INFO] [stdout] --> nepl-core/src/typecheck.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct StructInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 80 | doc: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> nepl-core/src/typecheck.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 88 | struct TraitInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 89 | doc: Option, [INFO] [stdout] 90 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraitInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `doc` and `methods` are never read [INFO] [stdout] --> nepl-core/src/typecheck.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 167 | struct ImplInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 168 | doc: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | methods: BTreeMap, // name -> (mangled_name, type) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `type_param_has_bound` and `split_if_then_else_block_ast` are never used [INFO] [stdout] --> nepl-core/src/typecheck.rs:2962:8 [INFO] [stdout] | [INFO] [stdout] 2277 | impl<'a> BlockChecker<'a> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 2962 | fn type_param_has_bound(&self, ty: TypeId, trait_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6051 | fn split_if_then_else_block_ast(b: &Block) -> Option<(Block, Block)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `moved` is never read [INFO] [stdout] --> nepl-core/src/typecheck.rs:7630:5 [INFO] [stdout] | [INFO] [stdout] 7624 | struct Binding { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7630 | moved: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Binding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lookup_current`, `lookup_current_mut`, and `lookup_callable` are never used [INFO] [stdout] --> nepl-core/src/typecheck.rs:7845:8 [INFO] [stdout] | [INFO] [stdout] 7786 | impl Env { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 7845 | fn lookup_current(&self, name: &str) -> Option<&Binding> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7862 | fn lookup_current_mut(&mut self, name: &str) -> Option<&mut Binding> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8000 | fn lookup_callable(&self, name: &str) -> Option<&Binding> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function_type_param_count` is never used [INFO] [stdout] --> nepl-core/src/typecheck.rs:8206:4 [INFO] [stdout] | [INFO] [stdout] 8206 | fn function_type_param_count(ctx: &TypeCtx, ty: TypeId) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_arity` is never used [INFO] [stdout] --> nepl-core/src/typecheck.rs:8470:4 [INFO] [stdout] | [INFO] [stdout] 8470 | fn func_arity(ctx: &TypeCtx, ty: TypeId) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Store` is never constructed [INFO] [stdout] --> nepl-core/src/typecheck.rs:9005:5 [INFO] [stdout] | [INFO] [stdout] 9002 | enum AssignKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9005 | Store(HirExpr), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nepl-language v0.1.0 (/opt/rustwide/workdir/nepl-language) [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:875:9 [INFO] [stdout] | [INFO] [stdout] 875 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/compiler.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | let mut hir_module = monomorphize::monomorphize(&mut types, tc.module); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/parser.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let mut start_span = self.peek_span().unwrap_or_else(Span::dummy); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/parser.rs:368:37 [INFO] [stdout] | [INFO] [stdout] 368 | ... let mut curr_items = core::mem::take(&mut curr_e.items); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/parser.rs:481:17 [INFO] [stdout] | [INFO] [stdout] 481 | let mut c = r.trim(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/parser.rs:556:13 [INFO] [stdout] | [INFO] [stdout] 556 | let mut out = (|| match self.peek_kind()? { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kw_span` [INFO] [stdout] --> nepl-core/src/parser.rs:877:13 [INFO] [stdout] | [INFO] [stdout] 877 | let kw_span = self.expect_with_span(&TokenKind::KwStruct)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kw_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kw_span` [INFO] [stdout] --> nepl-core/src/parser.rs:931:13 [INFO] [stdout] | [INFO] [stdout] 931 | let kw_span = self.expect_with_span(&TokenKind::KwEnum)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kw_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bn` [INFO] [stdout] --> nepl-core/src/parser.rs:3150:53 [INFO] [stdout] | [INFO] [stdout] 3150 | let bind = if let Some(TokenKind::Ident(bn)) = self.peek_kind() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot_span` [INFO] [stdout] --> nepl-core/src/parser.rs:3326:21 [INFO] [stdout] | [INFO] [stdout] 3326 | let dot_span = self.next().unwrap().span; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dot_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> nepl-core/src/parser.rs:3328:25 [INFO] [stdout] | [INFO] [stdout] 3328 | let tok = self.next().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rp_span` [INFO] [stdout] --> nepl-core/src/parser.rs:3338:25 [INFO] [stdout] | [INFO] [stdout] 3338 | let rp_span = self.next().unwrap().span; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rp_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> nepl-core/src/parser.rs:3607:35 [INFO] [stdout] | [INFO] [stdout] 3607 | Some(TokenKind::Ident(name)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> nepl-core/src/resolve.rs:252:33 [INFO] [stdout] | [INFO] [stdout] 252 | if let Some(prev) = seen_open.get(n) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/src/typecheck.rs:1244:18 [INFO] [stdout] | [INFO] [stdout] 1244 | let (mut tps, _bounds_vec, bounds_map) = [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> nepl-core/src/typecheck.rs:756:22 [INFO] [stdout] | [INFO] [stdout] 756 | for (i, v) in vars.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tps` [INFO] [stdout] --> nepl-core/src/typecheck.rs:904:22 [INFO] [stdout] | [INFO] [stdout] 904 | let (tps, _bounds_vec, _bounds_map) = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tps` [INFO] [stdout] --> nepl-core/src/typecheck.rs:1068:18 [INFO] [stdout] | [INFO] [stdout] 1068 | let (tps, _bounds_vec, impl_bounds_map) = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `impl_bounds_map` [INFO] [stdout] --> nepl-core/src/typecheck.rs:1068:36 [INFO] [stdout] | [INFO] [stdout] 1068 | let (tps, _bounds_vec, impl_bounds_map) = [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_impl_bounds_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> nepl-core/src/typecheck.rs:1263:17 [INFO] [stdout] | [INFO] [stdout] 1263 | params, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> nepl-core/src/typecheck.rs:3411:14 [INFO] [stdout] | [INFO] [stdout] 3411 | for (i, stmt) in block.items.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fresh_args` [INFO] [stdout] --> nepl-core/src/typecheck.rs:5587:27 [INFO] [stdout] | [INFO] [stdout] 5587 | let (inst_ty, fresh_args) = if !stack[func_pos].type_args.is_empty() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fresh_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fresh_args` [INFO] [stdout] --> nepl-core/src/typecheck.rs:5777:27 [INFO] [stdout] | [INFO] [stdout] 5777 | let (inst_ty, fresh_args) = if !stack[func_pos].type_args.is_empty() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fresh_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `applied_trait_name` [INFO] [stdout] --> nepl-core/src/typecheck.rs:7271:37 [INFO] [stdout] | [INFO] [stdout] 7271 | ... let applied_trait_name = self.infer_trait_application_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_applied_trait_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_callable` [INFO] [stdout] --> nepl-core/src/typecheck.rs:7829:17 [INFO] [stdout] | [INFO] [stdout] 7829 | let has_callable = scope.callables.iter().any(|b| b.name == binding.name); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_callable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> nepl-core/src/typecheck.rs:8006:9 [INFO] [stdout] | [INFO] [stdout] 8006 | ctx: &TypeCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> nepl-core/src/types.rs:1116:13 [INFO] [stdout] | [INFO] [stdout] 1054 | (TypeKind::Tuple { items: ta }, TypeKind::Tuple { items: tb }) => { [INFO] [stdout] | -------------------------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1116 | (TypeKind::Tuple { items: ta }, TypeKind::Tuple { items: tb }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ll_storage_size` is never used [INFO] [stdout] --> nepl-core/src/codegen_llvm.rs:2939:4 [INFO] [stdout] | [INFO] [stdout] 2939 | fn ll_storage_size(ty: LlTy) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl StringLower { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_skip_wasm_codegen_for_generic` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:660:15 [INFO] [stdout] | [INFO] [stdout] 660 | pub(crate) fn should_skip_wasm_codegen_for_generic(ctx: &TypeCtx, f: &HirFunction) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_unbound_type_var` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:664:4 [INFO] [stdout] | [INFO] [stdout] 664 | fn has_unbound_type_var(ctx: &TypeCtx, ty: TypeId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_called_functions_from_expr` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:697:4 [INFO] [stdout] | [INFO] [stdout] 697 | fn collect_called_functions_from_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_reachable_wasm_functions` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:780:15 [INFO] [stdout] | [INFO] [stdout] 780 | pub(crate) fn collect_reachable_wasm_functions(module: &HirModule) -> BTreeSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_wasm_signature_set` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:890:15 [INFO] [stdout] | [INFO] [stdout] 890 | pub(crate) fn collect_wasm_signature_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `idx`, `ty`, and `is_param` are never read [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:2237:5 [INFO] [stdout] | [INFO] [stdout] 2236 | struct LocalInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 2237 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2238 | idx: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 2239 | ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 2240 | is_param: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `valtype_of` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:2322:8 [INFO] [stdout] | [INFO] [stdout] 2253 | impl LocalMap { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2322 | fn valtype_of(&self, idx: u32, ctx: &TypeCtx) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_supported_wasm_intrinsic` is never used [INFO] [stdout] --> nepl-core/src/codegen_wasm.rs:2374:15 [INFO] [stdout] | [INFO] [stdout] 2374 | pub(crate) fn is_supported_wasm_intrinsic(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Section` is never constructed [INFO] [stdout] --> nepl-core/src/nm.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 287 | enum Container { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 288 | Document(Document), [INFO] [stdout] 289 | Section(SectionNode), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_id` is never read [INFO] [stdout] --> nepl-core/src/parser.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 59 | file_id: FileId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_history` is never used [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl MoveCheckContext { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | fn apply_history(&mut self, history: BTreeMap) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_top` is never used [INFO] [stdout] --> nepl-core/src/passes/move_check.rs:700:4 [INFO] [stdout] | [INFO] [stdout] 700 | fn get_top(map: &BTreeMap>, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `doc` is never read [INFO] [stdout] --> nepl-core/src/typecheck.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct EnumInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 72 | doc: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `doc` is never read [INFO] [stdout] --> nepl-core/src/typecheck.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct StructInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 80 | doc: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> nepl-core/src/typecheck.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 88 | struct TraitInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 89 | doc: Option, [INFO] [stdout] 90 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraitInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `doc` and `methods` are never read [INFO] [stdout] --> nepl-core/src/typecheck.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 167 | struct ImplInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 168 | doc: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | methods: BTreeMap, // name -> (mangled_name, type) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `type_param_has_bound` and `split_if_then_else_block_ast` are never used [INFO] [stdout] --> nepl-core/src/typecheck.rs:2962:8 [INFO] [stdout] | [INFO] [stdout] 2277 | impl<'a> BlockChecker<'a> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 2962 | fn type_param_has_bound(&self, ty: TypeId, trait_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6051 | fn split_if_then_else_block_ast(b: &Block) -> Option<(Block, Block)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `moved` is never read [INFO] [stdout] --> nepl-core/src/typecheck.rs:7630:5 [INFO] [stdout] | [INFO] [stdout] 7624 | struct Binding { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7630 | moved: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Binding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lookup_current`, `lookup_current_mut`, and `lookup_callable` are never used [INFO] [stdout] --> nepl-core/src/typecheck.rs:7845:8 [INFO] [stdout] | [INFO] [stdout] 7786 | impl Env { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 7845 | fn lookup_current(&self, name: &str) -> Option<&Binding> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7862 | fn lookup_current_mut(&mut self, name: &str) -> Option<&mut Binding> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8000 | fn lookup_callable(&self, name: &str) -> Option<&Binding> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function_type_param_count` is never used [INFO] [stdout] --> nepl-core/src/typecheck.rs:8206:4 [INFO] [stdout] | [INFO] [stdout] 8206 | fn function_type_param_count(ctx: &TypeCtx, ty: TypeId) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_arity` is never used [INFO] [stdout] --> nepl-core/src/typecheck.rs:8470:4 [INFO] [stdout] | [INFO] [stdout] 8470 | fn func_arity(ctx: &TypeCtx, ty: TypeId) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Store` is never constructed [INFO] [stdout] --> nepl-core/src/typecheck.rs:9005:5 [INFO] [stdout] | [INFO] [stdout] 9002 | enum AssignKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9005 | Store(HirExpr), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn compile_src(src: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn run_main_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stdlib_root` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:1336:4 [INFO] [stdout] | [INFO] [stdout] 1336 | fn stdlib_root() -> std::path::PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn run_main_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn compile_src(src: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn run_main_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stdlib_root` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:1336:4 [INFO] [stdout] | [INFO] [stdout] 1336 | fn stdlib_root() -> std::path::PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn compile_src(src: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn run_main_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stdlib_root` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:1336:4 [INFO] [stdout] | [INFO] [stdout] 1336 | fn stdlib_root() -> std::path::PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compile_module` [INFO] [stdout] --> nepl-cli/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | compile_module, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompileTarget` [INFO] [stdout] --> nepl-core/tests/functions.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use nepl_core::{compile_wasm, CompileOptions, CompileTarget}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn compile_src(src: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn run_main_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `free_head` is never read [INFO] [stdout] --> nepl-cli/src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct AllocState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 25 | // head of free list (address in linear memory), 0 == null [INFO] [stdout] 26 | free_head: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_target` is never used [INFO] [stdout] --> nepl-core/tests/overload.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn compile_src_with_target(src: &str, target: CompileTarget) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compile_module` [INFO] [stdout] --> nepl-cli/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | compile_module, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn compile_src(src: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn run_main_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn compile_src(src: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn run_main_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn compile_src(src: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn run_main_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stdlib_root` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:1336:4 [INFO] [stdout] | [INFO] [stdout] 1336 | fn stdlib_root() -> std::path::PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nepl-lsp v0.1.0 (/opt/rustwide/workdir/nepl-lsp) [INFO] [stdout] warning: field `free_head` is never read [INFO] [stdout] --> nepl-cli/src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct AllocState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 25 | // head of free list (address in linear memory), 0 == null [INFO] [stdout] 26 | free_head: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn compile_src(src: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn run_main_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uri` and `path` are never read [INFO] [stdout] --> nepl-lsp/src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct DocumentState { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 23 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_ok` is never used [INFO] [stdout] --> nepl-core/tests/block_if_semantics.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn compile_ok(src: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nepl-core/tests/harness.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_src_with_options` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiFile` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct WasiFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasiState` is never constructed [INFO] [stdout] --> nepl-core/tests/harness.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct WasiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_wasi_i32` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stdout] --> nepl-core/tests/harness.rs:992:8 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 52.65s [INFO] running `Command { std: "docker" "inspect" "aea3dc9eb7c3a1d6c60d0ba45fa09ab1f16e16b3d3f082ea71ecad7aaecba58c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aea3dc9eb7c3a1d6c60d0ba45fa09ab1f16e16b3d3f082ea71ecad7aaecba58c", kill_on_drop: false }` [INFO] [stdout] aea3dc9eb7c3a1d6c60d0ba45fa09ab1f16e16b3d3f082ea71ecad7aaecba58c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d96f69c4cf97f21b5d832784f0f2ab15eae691fa0222cd534dd76e827cc7c17d [INFO] running `Command { std: "docker" "start" "-a" "d96f69c4cf97f21b5d832784f0f2ab15eae691fa0222cd534dd76e827cc7c17d", kill_on_drop: false }` [INFO] [stderr] Compiling nepl-cli v0.1.0 (/opt/rustwide/workdir/nepl-cli) [INFO] [stderr] warning: unused import: `alloc::string::String` [INFO] [stderr] --> nepl-core/src/error.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use alloc::string::String; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ToString` [INFO] [stderr] --> nepl-core/src/codegen_wasm.rs:9:29 [INFO] [stderr] | [INFO] [stderr] 9 | use alloc::string::{String, ToString}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `alloc::collections::BTreeMap` [INFO] [stderr] --> nepl-core/src/hir.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use alloc::collections::BTreeMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BTreeSet` [INFO] [stderr] --> nepl-core/src/module_graph.rs:13:36 [INFO] [stderr] | [INFO] [stderr] 13 | use alloc::collections::{BTreeMap, BTreeSet}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `alloc::boxed::Box` [INFO] [stderr] --> nepl-core/src/passes/move_check.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use alloc::boxed::Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `alloc::vec` [INFO] [stderr] --> nepl-core/src/passes/move_check.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use alloc::vec; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HirLine` [INFO] [stderr] --> nepl-core/src/passes/move_check.rs:12:59 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::hir::{FuncRef, HirBlock, HirExpr, HirExprKind, HirLine, HirModule}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::types::TypeId` [INFO] [stderr] --> nepl-core/src/passes/move_check.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::types::TypeId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ExportEntry` and `ExportKind` [INFO] [stderr] --> nepl-core/src/resolve.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::module_graph::{ExportEntry, ExportKind, ExportTable, ModuleGraph, ModuleId}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stderr] --> nepl-core/src/ast.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![no_std] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stderr] --> nepl-core/src/builtins.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![no_std] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stderr] --> nepl-core/src/codegen_wasm.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #![no_std] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stderr] --> nepl-core/src/compiler.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![no_std] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stderr] --> nepl-core/src/hir.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![no_std] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stderr] --> nepl-core/src/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #![no_std] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stderr] --> nepl-core/src/monomorphize.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![no_std] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stderr] --> nepl-core/src/nm.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | #![no_std] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stderr] --> nepl-core/src/parser.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #![no_std] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stderr] --> nepl-core/src/passes/drop_insertion.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![no_std] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stderr] --> nepl-core/src/passes/move_check.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![no_std] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stderr] --> nepl-core/src/typecheck.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![no_std] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stderr] --> nepl-core/src/types.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![no_std] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> nepl-core/src/codegen_wasm.rs:875:9 [INFO] [stderr] | [INFO] [stderr] 875 | other => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> nepl-core/src/compiler.rs:382:9 [INFO] [stderr] | [INFO] [stderr] 382 | let mut hir_module = monomorphize::monomorphize(&mut types, tc.module); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> nepl-core/src/parser.rs:284:13 [INFO] [stderr] | [INFO] [stderr] 284 | let mut start_span = self.peek_span().unwrap_or_else(Span::dummy); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> nepl-core/src/parser.rs:368:37 [INFO] [stderr] | [INFO] [stderr] 368 | ... let mut curr_items = core::mem::take(&mut curr_e.items); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> nepl-core/src/parser.rs:481:17 [INFO] [stderr] | [INFO] [stderr] 481 | let mut c = r.trim(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> nepl-core/src/parser.rs:556:13 [INFO] [stderr] | [INFO] [stderr] 556 | let mut out = (|| match self.peek_kind()? { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `kw_span` [INFO] [stderr] --> nepl-core/src/parser.rs:877:13 [INFO] [stderr] | [INFO] [stderr] 877 | let kw_span = self.expect_with_span(&TokenKind::KwStruct)?; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kw_span` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `kw_span` [INFO] [stderr] --> nepl-core/src/parser.rs:931:13 [INFO] [stderr] | [INFO] [stderr] 931 | let kw_span = self.expect_with_span(&TokenKind::KwEnum)?; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kw_span` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bn` [INFO] [stderr] --> nepl-core/src/parser.rs:3150:53 [INFO] [stderr] | [INFO] [stderr] 3150 | let bind = if let Some(TokenKind::Ident(bn)) = self.peek_kind() { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_bn` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dot_span` [INFO] [stderr] --> nepl-core/src/parser.rs:3326:21 [INFO] [stderr] | [INFO] [stderr] 3326 | let dot_span = self.next().unwrap().span; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dot_span` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tok` [INFO] [stderr] --> nepl-core/src/parser.rs:3328:25 [INFO] [stderr] | [INFO] [stderr] 3328 | let tok = self.next().unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rp_span` [INFO] [stderr] --> nepl-core/src/parser.rs:3338:25 [INFO] [stderr] | [INFO] [stderr] 3338 | let rp_span = self.next().unwrap().span; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rp_span` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> nepl-core/src/parser.rs:3607:35 [INFO] [stderr] | [INFO] [stderr] 3607 | Some(TokenKind::Ident(name)) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prev` [INFO] [stderr] --> nepl-core/src/resolve.rs:252:33 [INFO] [stderr] | [INFO] [stderr] 252 | if let Some(prev) = seen_open.get(n) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> nepl-core/src/typecheck.rs:1244:18 [INFO] [stderr] | [INFO] [stderr] 1244 | let (mut tps, _bounds_vec, bounds_map) = [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> nepl-core/src/typecheck.rs:756:22 [INFO] [stderr] | [INFO] [stderr] 756 | for (i, v) in vars.iter().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tps` [INFO] [stderr] --> nepl-core/src/typecheck.rs:904:22 [INFO] [stderr] | [INFO] [stderr] 904 | let (tps, _bounds_vec, _bounds_map) = [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tps` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tps` [INFO] [stderr] --> nepl-core/src/typecheck.rs:1068:18 [INFO] [stderr] | [INFO] [stderr] 1068 | let (tps, _bounds_vec, impl_bounds_map) = [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tps` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `impl_bounds_map` [INFO] [stderr] --> nepl-core/src/typecheck.rs:1068:36 [INFO] [stderr] | [INFO] [stderr] 1068 | let (tps, _bounds_vec, impl_bounds_map) = [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_impl_bounds_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> nepl-core/src/typecheck.rs:1263:17 [INFO] [stderr] | [INFO] [stderr] 1263 | params, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> nepl-core/src/typecheck.rs:3411:14 [INFO] [stderr] | [INFO] [stderr] 3411 | for (i, stmt) in block.items.iter().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fresh_args` [INFO] [stderr] --> nepl-core/src/typecheck.rs:5587:27 [INFO] [stderr] | [INFO] [stderr] 5587 | let (inst_ty, fresh_args) = if !stack[func_pos].type_args.is_empty() { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fresh_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fresh_args` [INFO] [stderr] --> nepl-core/src/typecheck.rs:5777:27 [INFO] [stderr] | [INFO] [stderr] 5777 | let (inst_ty, fresh_args) = if !stack[func_pos].type_args.is_empty() { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fresh_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `applied_trait_name` [INFO] [stderr] --> nepl-core/src/typecheck.rs:7271:37 [INFO] [stderr] | [INFO] [stderr] 7271 | ... let applied_trait_name = self.infer_trait_application_name( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_applied_trait_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `has_callable` [INFO] [stderr] --> nepl-core/src/typecheck.rs:7829:17 [INFO] [stderr] | [INFO] [stderr] 7829 | let has_callable = scope.callables.iter().any(|b| b.name == binding.name); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_callable` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> nepl-core/src/typecheck.rs:8006:9 [INFO] [stderr] | [INFO] [stderr] 8006 | ctx: &TypeCtx, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> nepl-core/src/types.rs:1116:13 [INFO] [stderr] | [INFO] [stderr] 1054 | (TypeKind::Tuple { items: ta }, TypeKind::Tuple { items: tb }) => { [INFO] [stderr] | -------------------------------------------------------------- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 1116 | (TypeKind::Tuple { items: ta }, TypeKind::Tuple { items: tb }) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `ll_storage_size` is never used [INFO] [stderr] --> nepl-core/src/codegen_llvm.rs:2939:4 [INFO] [stderr] | [INFO] [stderr] 2939 | fn ll_storage_size(ty: LlTy) -> i64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `is_empty` is never used [INFO] [stderr] --> nepl-core/src/codegen_wasm.rs:46:8 [INFO] [stderr] | [INFO] [stderr] 41 | impl StringLower { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 46 | fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `should_skip_wasm_codegen_for_generic` is never used [INFO] [stderr] --> nepl-core/src/codegen_wasm.rs:660:15 [INFO] [stderr] | [INFO] [stderr] 660 | pub(crate) fn should_skip_wasm_codegen_for_generic(ctx: &TypeCtx, f: &HirFunction) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `has_unbound_type_var` is never used [INFO] [stderr] --> nepl-core/src/codegen_wasm.rs:664:4 [INFO] [stderr] | [INFO] [stderr] 664 | fn has_unbound_type_var(ctx: &TypeCtx, ty: TypeId) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `collect_called_functions_from_expr` is never used [INFO] [stderr] --> nepl-core/src/codegen_wasm.rs:697:4 [INFO] [stderr] | [INFO] [stderr] 697 | fn collect_called_functions_from_expr( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `collect_reachable_wasm_functions` is never used [INFO] [stderr] --> nepl-core/src/codegen_wasm.rs:780:15 [INFO] [stderr] | [INFO] [stderr] 780 | pub(crate) fn collect_reachable_wasm_functions(module: &HirModule) -> BTreeSet { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `collect_wasm_signature_set` is never used [INFO] [stderr] --> nepl-core/src/codegen_wasm.rs:890:15 [INFO] [stderr] | [INFO] [stderr] 890 | pub(crate) fn collect_wasm_signature_set( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `idx`, `ty`, and `is_param` are never read [INFO] [stderr] --> nepl-core/src/codegen_wasm.rs:2237:5 [INFO] [stderr] | [INFO] [stderr] 2236 | struct LocalInfo { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 2237 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 2238 | idx: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] 2239 | ty: Option, [INFO] [stderr] | ^^ [INFO] [stderr] 2240 | is_param: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LocalInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `valtype_of` is never used [INFO] [stderr] --> nepl-core/src/codegen_wasm.rs:2322:8 [INFO] [stderr] | [INFO] [stderr] 2253 | impl LocalMap { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 2322 | fn valtype_of(&self, idx: u32, ctx: &TypeCtx) -> Option { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_supported_wasm_intrinsic` is never used [INFO] [stderr] --> nepl-core/src/codegen_wasm.rs:2374:15 [INFO] [stderr] | [INFO] [stderr] 2374 | pub(crate) fn is_supported_wasm_intrinsic(name: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Section` is never constructed [INFO] [stderr] --> nepl-core/src/nm.rs:289:5 [INFO] [stderr] | [INFO] [stderr] 287 | enum Container { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] 288 | Document(Document), [INFO] [stderr] 289 | Section(SectionNode), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `file_id` is never read [INFO] [stderr] --> nepl-core/src/parser.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 58 | struct Parser { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 59 | file_id: FileId, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `apply_history` is never used [INFO] [stderr] --> nepl-core/src/passes/move_check.rs:111:8 [INFO] [stderr] | [INFO] [stderr] 44 | impl MoveCheckContext { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 111 | fn apply_history(&mut self, history: BTreeMap) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_top` is never used [INFO] [stderr] --> nepl-core/src/passes/move_check.rs:700:4 [INFO] [stderr] | [INFO] [stderr] 700 | fn get_top(map: &BTreeMap>, name: &str) -> Option { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `doc` is never read [INFO] [stderr] --> nepl-core/src/typecheck.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 71 | struct EnumInfo { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 72 | doc: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EnumInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `doc` is never read [INFO] [stderr] --> nepl-core/src/typecheck.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 79 | struct StructInfo { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 80 | doc: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StructInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> nepl-core/src/typecheck.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 88 | struct TraitInfo { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 89 | doc: Option, [INFO] [stderr] 90 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TraitInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `doc` and `methods` are never read [INFO] [stderr] --> nepl-core/src/typecheck.rs:168:5 [INFO] [stderr] | [INFO] [stderr] 167 | struct ImplInfo { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 168 | doc: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 174 | methods: BTreeMap, // name -> (mangled_name, type) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ImplInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `type_param_has_bound` and `split_if_then_else_block_ast` are never used [INFO] [stderr] --> nepl-core/src/typecheck.rs:2962:8 [INFO] [stderr] | [INFO] [stderr] 2277 | impl<'a> BlockChecker<'a> { [INFO] [stderr] | ------------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 2962 | fn type_param_has_bound(&self, ty: TypeId, trait_name: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 6051 | fn split_if_then_else_block_ast(b: &Block) -> Option<(Block, Block)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `moved` is never read [INFO] [stderr] --> nepl-core/src/typecheck.rs:7630:5 [INFO] [stderr] | [INFO] [stderr] 7624 | struct Binding { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 7630 | moved: bool, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Binding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `lookup_current`, `lookup_current_mut`, and `lookup_callable` are never used [INFO] [stderr] --> nepl-core/src/typecheck.rs:7845:8 [INFO] [stderr] | [INFO] [stderr] 7786 | impl Env { [INFO] [stderr] | -------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 7845 | fn lookup_current(&self, name: &str) -> Option<&Binding> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 7862 | fn lookup_current_mut(&mut self, name: &str) -> Option<&mut Binding> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 8000 | fn lookup_callable(&self, name: &str) -> Option<&Binding> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `function_type_param_count` is never used [INFO] [stderr] --> nepl-core/src/typecheck.rs:8206:4 [INFO] [stderr] | [INFO] [stderr] 8206 | fn function_type_param_count(ctx: &TypeCtx, ty: TypeId) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `func_arity` is never used [INFO] [stderr] --> nepl-core/src/typecheck.rs:8470:4 [INFO] [stderr] | [INFO] [stderr] 8470 | fn func_arity(ctx: &TypeCtx, ty: TypeId) -> usize { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Store` is never constructed [INFO] [stderr] --> nepl-core/src/typecheck.rs:9005:5 [INFO] [stderr] | [INFO] [stderr] 9002 | enum AssignKind { [INFO] [stderr] | ---------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 9005 | Store(HirExpr), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AssignKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `nepl-core` (lib) generated 73 warnings (run `cargo fix --lib -p nepl-core` to apply 35 suggestions) [INFO] [stderr] warning: `nepl-core` (lib test) generated 73 warnings (73 duplicates) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> nepl-core/tests/harness.rs:62:14 [INFO] [stderr] | [INFO] [stderr] 62 | |mut caller: Caller<'_, ()>, ptr: i32| { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `compile_src` is never used [INFO] [stderr] --> nepl-core/tests/harness.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn compile_src(src: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `WasiFile` is never constructed [INFO] [stderr] --> nepl-core/tests/harness.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | struct WasiFile { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `WasiState` is never constructed [INFO] [stderr] --> nepl-core/tests/harness.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | struct WasiState { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_main_i32` is never used [INFO] [stderr] --> nepl-core/tests/harness.rs:47:8 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn run_main_i32(src: &str) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_main_wasi_i32` is never used [INFO] [stderr] --> nepl-core/tests/harness.rs:264:8 [INFO] [stderr] | [INFO] [stderr] 264 | pub fn run_main_wasi_i32(src: &str) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_main_capture_stdout` is never used [INFO] [stderr] --> nepl-core/tests/harness.rs:729:8 [INFO] [stderr] | [INFO] [stderr] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_main_capture_stdout_with_stdin` is never used [INFO] [stderr] --> nepl-core/tests/harness.rs:992:8 [INFO] [stderr] | [INFO] [stderr] 992 | pub fn run_main_capture_stdout_with_stdin(src: &str, stdin: &[u8]) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `compile_src_with_options` is never used [INFO] [stderr] --> nepl-core/tests/harness.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `CompileTarget` [INFO] [stderr] --> nepl-core/tests/functions.rs:5:47 [INFO] [stderr] | [INFO] [stderr] 5 | use nepl_core::{compile_wasm, CompileOptions, CompileTarget}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `run_main_capture_stdout` is never used [INFO] [stderr] --> nepl-core/tests/harness.rs:729:8 [INFO] [stderr] | [INFO] [stderr] 729 | pub fn run_main_capture_stdout(src: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `compile_src_with_options` is never used [INFO] [stderr] --> nepl-core/tests/harness.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn compile_src_with_options(src: &str, options: CompileOptions) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `stdlib_root` is never used [INFO] [stderr] --> nepl-core/tests/harness.rs:1336:4 [INFO] [stderr] | [INFO] [stderr] 1336 | fn stdlib_root() -> std::path::PathBuf { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nepl-core` (test "drop") generated 8 warnings (run `cargo fix --test "drop" -p nepl-core` to apply 1 suggestion) [INFO] [stderr] warning: `nepl-core` (test "pipe_operator") generated 7 warnings (6 duplicates) [INFO] [stderr] warning: `nepl-core` (test "string") generated 8 warnings (8 duplicates) [INFO] [stderr] warning: `nepl-core` (test "stdlib") generated 7 warnings (7 duplicates) [INFO] [stderr] warning: `nepl-core` (test "typeannot") generated 7 warnings (7 duplicates) [INFO] [stderr] warning: `nepl-core` (test "functions") generated 4 warnings (2 duplicates) (run `cargo fix --test "functions" -p nepl-core` to apply 1 suggestion) [INFO] [stderr] warning: `nepl-core` (test "tuple_new_syntax") generated 7 warnings (7 duplicates) [INFO] [stderr] warning: `nepl-core` (test "neplg2") generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `nepl-core` (test "numerics") generated 7 warnings (7 duplicates) [INFO] [stderr] warning: `nepl-core` (test "harness") generated 1 warning (1 duplicate) [INFO] [stderr] warning: `nepl-core` (test "selfhost_req") generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `nepl-core` (test "stdout") generated 7 warnings (7 duplicates) [INFO] [stderr] warning: `nepl-core` (test "recursive_type") generated 10 warnings (8 duplicates) [INFO] [stderr] warning: `nepl-core` (test "kp") generated 7 warnings (7 duplicates) [INFO] [stderr] warning: fields `uri` and `path` are never read [INFO] [stderr] --> nepl-lsp/src/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 22 | struct DocumentState { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 23 | uri: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 24 | path: PathBuf, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DocumentState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `compile_ok` is never used [INFO] [stderr] --> nepl-core/tests/block_if_semantics.rs:20:4 [INFO] [stderr] | [INFO] [stderr] 20 | fn compile_ok(src: &str) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `nepl-lsp` (bin "nepl-lsp" test) generated 1 warning [INFO] [stderr] warning: `nepl-core` (test "plan") generated 7 warnings (7 duplicates) [INFO] [stderr] warning: `nepl-core` (test "intrinsic") generated 7 warnings (7 duplicates) [INFO] [stderr] warning: `nepl-core` (test "generics") generated 7 warnings (7 duplicates) [INFO] [stderr] warning: `nepl-core` (test "block_if_semantics") generated 8 warnings (7 duplicates) [INFO] [stderr] warning: `nepl-core` (test "if") generated 7 warnings (7 duplicates) [INFO] [stderr] warning: `nepl-core` (test "block_single_line") generated 7 warnings (7 duplicates) [INFO] [stderr] warning: function `compile_src_with_target` is never used [INFO] [stderr] --> nepl-core/tests/overload.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | fn compile_src_with_target(src: &str, target: CompileTarget) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `nepl-core` (test "tuple_old_syntax") generated 10 warnings (10 duplicates) [INFO] [stderr] warning: `nepl-core` (test "proptest") generated 7 warnings (7 duplicates) [INFO] [stderr] warning: `nepl-core` (test "repro_recursive") generated 10 warnings (10 duplicates) [INFO] [stderr] warning: `nepl-core` (test "stdin") generated 7 warnings (7 duplicates) [INFO] [stderr] warning: `nepl-core` (test "move_check") generated 10 warnings (10 duplicates) [INFO] [stderr] warning: `nepl-core` (test "overload") generated 8 warnings (7 duplicates) [INFO] [stderr] warning: unused import: `compile_module` [INFO] [stderr] --> nepl-cli/src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | compile_module, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `free_head` is never read [INFO] [stderr] --> nepl-cli/src/main.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 24 | struct AllocState { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 25 | // head of free list (address in linear memory), 0 == null [INFO] [stderr] 26 | free_head: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `nepl-cli` (bin "nepl-cli" test) generated 2 warnings (1 duplicate) [INFO] [stderr] warning: `nepl-cli` (bin "nepl-cli") generated 2 warnings (1 duplicate) (run `cargo fix --bin "nepl-cli" -p nepl-cli` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.31s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nepl_cli-b7c98b4bf3ff94ab) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::minify_wat_removes_comments_and_whitespace ... ok [INFO] [stdout] test tests::output_base_handles_extensions ... ok [INFO] [stdout] test tests::cli_parses_emit_list ... ok [INFO] [stdout] test tests::cli_parses_profile ... ok [INFO] [stdout] test tests::cli_parses_defaults ... ok [INFO] [stdout] test tests::write_outputs_creates_files ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/deploy_script.rs (/opt/rustwide/target/debug/deps/deploy_script-52fc1bfe30e9f63e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test clones_editor_sample_into_custom_destination ... ignored, editor sample fetch script not required for NEPLG2 [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nepl_core-79eaec7cd5e57e36) [INFO] [stdout] test updates_existing_clone_after_remote_change ... ignored, editor sample fetch script not required for NEPLG2 [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test nm::tests::parse_heading_and_paragraph ... ok [INFO] [stdout] test nm::tests::render_document_preserves_structure ... ok [INFO] [stdout] test codegen_llvm::tests::emit_ll_rejects_entry_with_wasm_body ... ok [INFO] [stdout] test module_graph::tests::missing_dependency_is_error ... ok [INFO] [stdout] test module_graph::tests::invalid_import_path_is_error ... ok [INFO] [stdout] test module_graph::tests::pub_selective_reexport_respects_alias ... ok [INFO] [stdout] test module_graph::tests::duplicate_export_is_error ... ok [INFO] [stdout] test module_graph::tests::non_pub_import_does_not_reexport ... ok [INFO] [stdout] test nm::tests::parse_gloss_and_ruby ... ok [INFO] [stdout] test runtime_helpers::tests::find_runtime_helper_key_prefers_raw_allocator_for_internal_codegen ... ok [INFO] [stdout] test module_graph::tests::builds_simple_graph_and_exports ... ok [INFO] [stdout] test runtime_helpers::tests::helper_base_name_handles_namespaced_and_mangled_symbols ... ok [INFO] [stdout] test runtime_helpers::tests::find_runtime_helper_index_skips_current_function_index ... ok [INFO] [stdout] test codegen_llvm::tests::emit_ll_respects_if_target_gate ... ok [INFO] [stdout] test codegen_llvm::tests::emit_ll_supports_parsed_const_i32_function ... ok [INFO] [stdout] test module_graph::tests::pub_selective_reexport_with_glob_includes_all ... ok [INFO] [stdout] test codegen_llvm::tests::emit_ll_generates_main_bridge_from_entry ... ok [INFO] [stdout] test codegen_llvm::tests::emit_ll_supports_function_body_if_target_raw ... ok [INFO] [stdout] test codegen_llvm::tests::emit_ll_collects_top_and_fn_blocks ... ok [INFO] [stdout] test codegen_llvm::tests::emit_ll_skips_unsupported_parsed_function_body ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/block_if_semantics.rs (/opt/rustwide/target/debug/deps/block_if_semantics-fc9e0b3c14b6ddc0) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test trailing_semicolon_makes_block_unit_and_errors_for_return ... ok [INFO] [stdout] test multiple_semicolons_on_line_allowed ... ok [INFO] [stdout] test no_semicolons_on_line_allowed ... ok [INFO] [stdout] test epilogue_drop_preserves_return_value ... ok [INFO] [stdout] test match_arm_local_drop_preserves_return ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.69s [INFO] [stdout] [INFO] [stderr] Running tests/block_single_line.rs (/opt/rustwide/target/debug/deps/block_single_line-ce7f423eba2513a1) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test block_sl_nested ... ok [INFO] [stdout] test block_sl_nested_in_multiline ... ok [INFO] [stdout] test block_sl_pipe_source ... ok [INFO] [stdout] test block_sl_mutation ... ok [INFO] [stdout] test block_sl_arg_position_complex ... ok [INFO] [stdout] test block_sl_if_branch ... ok [INFO] [stdout] test block_sl_basic_arithmetic ... ok [INFO] [stdout] test block_sl_arg_position ... ok [INFO] [stdout] test block_sl_deeply_nested ... ok [INFO] [stdout] test block_sl_semicolon_unit ... ok [INFO] [stdout] test block_sl_empty_ish ... ok [INFO] [stdout] test block_sl_trailing_comment ... ok [INFO] [stdout] test block_sl_multiple_stmts ... ok [INFO] [stdout] test block_sl_match_arm ... ok [INFO] [stdout] test block_sl_shadowing ... ok [INFO] [stdout] test block_sl_with_let ... ok [INFO] [stdout] test block_sl_basic_literal ... ok [INFO] [stdout] test block_sl_type_annotated ... ok [INFO] [stdout] test block_sl_tuple_element ... ok [INFO] [stdout] test block_sl_while_body ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.16s [INFO] [stdout] [INFO] [stderr] Running tests/debug_loader.rs (/opt/rustwide/target/debug/deps/debug_loader-11a0f54b7dfde6d9) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/doc_comments.rs (/opt/rustwide/target/debug/deps/doc_comments-4bb0b3f18511d4ea) [INFO] [stdout] test show_loaded_files ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.21s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test slash_colon_doc_comment_attaches_to_defs ... ok [INFO] [stdout] test stdlib_hashmap_struct_has_doc_comment ... ok [INFO] [stderr] Running tests/drop.rs (/opt/rustwide/target/debug/deps/drop-88da38ca7078a1fe) [INFO] [stdout] test stdlib_fenwick_module_doc_is_separate_from_struct_doc ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test auto_drop_handles_shadowing_as_distinct_bindings ... ok [INFO] [stdout] test auto_drop_runs_at_scope_end ... ok [INFO] [stdout] test auto_drop_only_runs_taken_branch_locals ... ok [INFO] [stdout] test drop_capability_parses_and_compiles ... ok [INFO] [stdout] test drop_trait_requires_loader_visible_stdlib ... ok [INFO] [stdout] test auto_drop_uses_lifo_order_in_nested_scope ... ok [INFO] [stdout] test conditionally_moved_value_does_not_force_drop_error ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/functions.rs (/opt/rustwide/target/debug/deps/functions-1c80dde008a16b05) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test function_nested ... ignored [INFO] [stdout] test function_purity_check_pure_calls_impure ... ok [INFO] [stdout] test function_first_class ... ok [INFO] [stdout] test function_complex_call_precedence ... ok [INFO] [stdout] test function_return ... ok [INFO] [stdout] test function_first_class_literal ... ok [INFO] [stdout] test function_literal_no_args ... ok [INFO] [stdout] test function_recursive_factorial ... ok [INFO] [stdout] test function_nested_capture_variable ... ok [INFO] [stdout] test function_literal ... ok [INFO] [stdout] test function_basic_def_and_call ... ok [INFO] [stdout] test function_alias ... ok [INFO] [stdout] 50 [INFO] [stdout] test function_purity_check_impure_calls_pure ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 13.27s [INFO] [stdout] [INFO] [stderr] Running tests/generics.rs (/opt/rustwide/target/debug/deps/generics-b43f8a1a33cf75b5) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test generics_enum_param_requires_dot ... ok [INFO] [stdout] test generics_nested_apply_payload_mismatch_is_error ... ok [INFO] [stdout] test generics_ascription_mismatch_is_error ... ok [INFO] [stdout] test generics_param_requires_dot ... ok [INFO] [stdout] test generics_enum_payload_mismatch_is_error ... ok [INFO] [stdout] test generics_same_type_param_mismatch_is_error ... ok [INFO] [stdout] test generics_option_none_inferred_by_param ... ok [INFO] [stdout] test generics_enum_option_and_match ... ok [INFO] [stdout] test generics_struct_param_requires_dot ... ok [INFO] [stdout] test generics_wrong_arg_count_is_error ... ok [INFO] [stdout] test generics_multi_type_params_function ... ok [INFO] [stdout] test generics_nested_option_match ... FAILED [INFO] [stdout] test generics_nested_apply_in_payload ... ok [INFO] [stdout] test generics_enum_none_typed_by_ascription ... ok [INFO] [stdout] test generics_make_pair_wrapper ... ok [INFO] [stdout] test generics_make_none_from_context ... ok [INFO] [stdout] test generics_struct_pair_construction ... ok [INFO] [stdout] test generics_pair_inferred_by_param ... ok [INFO] [stdout] test generics_enum_two_params_match_payloads ... ok [INFO] [stdout] test generics_enum_payload_arithmetic ... ok [INFO] [stdout] test generics_fn_identity_multi_instantiation ... ok [INFO] [stdout] test generics_pipe_into_generic ... ok [INFO] [stdout] test generics_generic_calls_generic ... ok [INFO] [stdout] test generics_make_some_wrapper ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- generics_nested_option_match stdout ---- [INFO] [stdout] [Loader] resolve_path: base="", spec="std/prelude_base" -> "/opt/rustwide/workdir/nepl-core/../stdlib/std/prelude_base.nepl" [INFO] [stdout] [Loader] Loading file: "/opt/rustwide/workdir/stdlib/std/prelude_base.nepl" [INFO] [stdout] [Loader] Parsing module: "/opt/rustwide/workdir/stdlib/std/prelude_base.nepl" [INFO] [stdout] [Loader] Processing directives for: "/opt/rustwide/workdir/stdlib/std/prelude_base.nepl" [INFO] [stdout] [Loader] resolve_path: base="/opt/rustwide/workdir/stdlib/std/prelude_base.nepl", spec="core/traits/copy" -> "/opt/rustwide/workdir/nepl-core/../stdlib/core/traits/copy.nepl" [INFO] [stdout] [Loader] Loading file: "/opt/rustwide/workdir/stdlib/core/traits/copy.nepl" [INFO] [stdout] [Loader] Parsing module: "/opt/rustwide/workdir/stdlib/core/traits/copy.nepl" [INFO] [stdout] [Loader] Processing directives for: "/opt/rustwide/workdir/stdlib/core/traits/copy.nepl" [INFO] [stdout] [Loader] resolve_path: base="/opt/rustwide/workdir/stdlib/core/traits/copy.nepl", spec="core/mem" -> "/opt/rustwide/workdir/nepl-core/../stdlib/core/mem.nepl" [INFO] [stdout] [Loader] Loading file: "/opt/rustwide/workdir/stdlib/core/mem.nepl" [INFO] [stdout] [Loader] Parsing module: "/opt/rustwide/workdir/stdlib/core/mem.nepl" [INFO] [stdout] [Loader] Processing directives for: "/opt/rustwide/workdir/stdlib/core/mem.nepl" [INFO] [stdout] [Loader] resolve_path: base="/opt/rustwide/workdir/stdlib/core/mem.nepl", spec="core/math" -> "/opt/rustwide/workdir/nepl-core/../stdlib/core/math.nepl" [INFO] [stdout] [Loader] Loading file: "/opt/rustwide/workdir/stdlib/core/math.nepl" [INFO] [stdout] [Loader] Parsing module: "/opt/rustwide/workdir/stdlib/core/math.nepl" [INFO] [stdout] [Loader] Processing directives for: "/opt/rustwide/workdir/stdlib/core/math.nepl" [INFO] [stdout] [Loader] resolve_path: base="/opt/rustwide/workdir/stdlib/core/math.nepl", spec="core/field" -> "/opt/rustwide/workdir/nepl-core/../stdlib/core/field.nepl" [INFO] [stdout] [Loader] Loading file: "/opt/rustwide/workdir/stdlib/core/field.nepl" [INFO] [stdout] [Loader] Parsing module: "/opt/rustwide/workdir/stdlib/core/field.nepl" [INFO] [stdout] [Loader] Processing directives for: "/opt/rustwide/workdir/stdlib/core/field.nepl" [INFO] [stdout] [Loader] resolve_path: base="/opt/rustwide/workdir/stdlib/core/field.nepl", spec="core/mem" -> "/opt/rustwide/workdir/nepl-core/../stdlib/core/mem.nepl" [INFO] [stdout] [Loader] Finished loading: "/opt/rustwide/workdir/stdlib/core/field.nepl" [INFO] [stdout] [Loader] Finished loading: "/opt/rustwide/workdir/stdlib/core/math.nepl" [INFO] [stdout] [Loader] resolve_path: base="/opt/rustwide/workdir/stdlib/core/mem.nepl", spec="core/result" -> "/opt/rustwide/workdir/nepl-core/../stdlib/core/result.nepl" [INFO] [stdout] [Loader] Loading file: "/opt/rustwide/workdir/stdlib/core/result.nepl" [INFO] [stdout] [Loader] Parsing module: "/opt/rustwide/workdir/stdlib/core/result.nepl" [INFO] [stdout] [Loader] Processing directives for: "/opt/rustwide/workdir/stdlib/core/result.nepl" [INFO] [stdout] [Loader] Finished loading: "/opt/rustwide/workdir/stdlib/core/result.nepl" [INFO] [stdout] [Loader] resolve_path: base="/opt/rustwide/workdir/stdlib/core/mem.nepl", spec="core/option" -> "/opt/rustwide/workdir/nepl-core/../stdlib/core/option.nepl" [INFO] [stdout] [Loader] Loading file: "/opt/rustwide/workdir/stdlib/core/option.nepl" [INFO] [stdout] [Loader] Parsing module: "/opt/rustwide/workdir/stdlib/core/option.nepl" [INFO] [stdout] [Loader] Processing directives for: "/opt/rustwide/workdir/stdlib/core/option.nepl" [INFO] [stdout] [Loader] resolve_path: base="/opt/rustwide/workdir/stdlib/core/option.nepl", spec="core/mem" -> "/opt/rustwide/workdir/nepl-core/../stdlib/core/mem.nepl" [INFO] [stdout] [Loader] Finished loading: "/opt/rustwide/workdir/stdlib/core/option.nepl" [INFO] [stdout] [Loader] Finished loading: "/opt/rustwide/workdir/stdlib/core/mem.nepl" [INFO] [stdout] [Loader] Finished loading: "/opt/rustwide/workdir/stdlib/core/traits/copy.nepl" [INFO] [stdout] [Loader] Finished loading: "/opt/rustwide/workdir/stdlib/std/prelude_base.nepl" [INFO] [stdout] [Loader] resolve_path: base="", spec="core/mem" -> "/opt/rustwide/workdir/nepl-core/../stdlib/core/mem.nepl" [INFO] [stdout] [INFO] [stdout] thread 'generics_nested_option_match' (223) panicked at nepl-core/tests/harness.rs:23:6: [INFO] [stdout] compile failure: Diagnostics([Diagnostic { severity: Error, id: Some(TypeNoMatchingOverload), code: None, message: "no matching overload found", primary: Label { span: Span { file_id: FileId(0), start: 385, end: 398 }, message: None }, secondary: [] }, Diagnostic { severity: Error, id: Some(TypeReturnTypeMismatch), code: None, message: "return type does not match signature", primary: Label { span: Span { file_id: FileId(0), start: 362, end: 366 }, message: None }, secondary: [] }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x63df0652fb3a - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x63df0652fb3a - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x63df0652fb3a - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x63df0652fb3a - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x63df0654566a - ::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x63df0654566a - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stdout] 6: 0x63df06534472 - std[e72de78501789eb0]::io::default_write_fmt::> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x63df06534472 - as std[e72de78501789eb0]::io::Write>::write_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x63df0650e07f - ::print [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x63df0650e07f - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x63df06527cf9 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x63df05dcf4ac - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x63df05dcf4ac - test[4f12b380f1fb68c5]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x63df06527eb2 - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x63df06527eb2 - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x63df0650e138 - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x63df06505959 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x63df0650ee4d - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x63df06545dfc - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x63df06545b72 - core[6aaeda2c7ad07a48]::result::unwrap_failed [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x63df05da4475 - >::expect [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/result.rs:1185:23 [INFO] [stdout] 21: 0x63df05da4a6b - generics[8fce3b31d1e03fec]::harness::compile_src [INFO] [stdout] at /opt/rustwide/workdir/nepl-core/tests/harness.rs:23:6 [INFO] [stdout] 22: 0x63df05da4c3a - generics[8fce3b31d1e03fec]::harness::run_main_i32 [INFO] [stdout] at /opt/rustwide/workdir/nepl-core/tests/harness.rs:48:16 [INFO] [stdout] 23: 0x63df05dc183a - generics[8fce3b31d1e03fec]::generics_nested_option_match [INFO] [stdout] at /opt/rustwide/workdir/nepl-core/tests/generics.rs:457:13 [INFO] [stdout] 24: 0x63df05dc0627 - generics[8fce3b31d1e03fec]::generics_nested_option_match::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/nepl-core/tests/generics.rs:431:34 [INFO] [stdout] 25: 0x63df05dbe3f6 - >::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x63df05dc358b - core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x63df05dc358b - test[4f12b380f1fb68c5]::__rust_begin_short_backtrace::, fn() -> core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x63df05dcff7b - test[4f12b380f1fb68c5]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x63df05dcff7b - as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 30: 0x63df05dcff7b - std[e72de78501789eb0]::panicking::catch_unwind::do_call::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 31: 0x63df05dcff7b - std[e72de78501789eb0]::panicking::catch_unwind::, core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 32: 0x63df05dcff7b - std[e72de78501789eb0]::panic::catch_unwind::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x63df05dcff7b - test[4f12b380f1fb68c5]::run_test_in_process [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x63df05dcff7b - test[4f12b380f1fb68c5]::run_test::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x63df05dcb694 - test[4f12b380f1fb68c5]::run_test::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x63df05dcb694 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 37: 0x63df05dd2b82 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 38: 0x63df05dd2b82 - ::{closure#1}::{closure#0}> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 39: 0x63df05dd2b82 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 40: 0x63df05dd2b82 - std[e72de78501789eb0]::panicking::catch_unwind::<(), core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 41: 0x63df05dd2b82 - std[e72de78501789eb0]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x63df05dd2b82 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 43: 0x63df05dd2b82 - ::{closure#1} as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x63df0652f0ef - + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 45: 0x63df0652f0ef - ::new::thread_start [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 46: 0x78f31cc5aaa4 - [INFO] [stdout] 47: 0x78f31cce7a64 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] generics_nested_option_match [INFO] [stdout] [INFO] [stdout] test result: FAILED. 23 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.60s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p nepl-core --test generics` [INFO] running `Command { std: "docker" "inspect" "d96f69c4cf97f21b5d832784f0f2ab15eae691fa0222cd534dd76e827cc7c17d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d96f69c4cf97f21b5d832784f0f2ab15eae691fa0222cd534dd76e827cc7c17d", kill_on_drop: false }` [INFO] [stdout] d96f69c4cf97f21b5d832784f0f2ab15eae691fa0222cd534dd76e827cc7c17d