[INFO] cloning repository https://github.com/Ecoral360/luz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ecoral360/luz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEcoral360%2Fluz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEcoral360%2Fluz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1118eb236cd62f70cea0f335e01536d11582ed54 [INFO] checking Ecoral360/luz/1118eb236cd62f70cea0f335e01536d11582ed54 against master#c871d09d1cc32a649f4c5177bb819646260ed120 for pr-149291-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEcoral360%2Fluz" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ecoral360/luz [INFO] finished tweaking git repo https://github.com/Ecoral360/luz [INFO] tweaked toml for git repo https://github.com/Ecoral360/luz written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ecoral360/luz on toolchain c871d09d1cc32a649f4c5177bb819646260ed120 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c871d09d1cc32a649f4c5177bb819646260ed120" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ecoral360/luz 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" "+c871d09d1cc32a649f4c5177bb819646260ed120" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive-new v0.7.0 [INFO] [stderr] Downloaded serde_derive v1.0.221 [INFO] [stderr] Downloaded serde_core v1.0.221 [INFO] [stderr] Downloaded clap-verbosity-flag v3.0.4 [INFO] [stderr] Downloaded serde v1.0.221 [INFO] [stderr] Downloaded pest_meta v2.7.13 [INFO] [stderr] Downloaded pest_derive v2.7.13 [INFO] [stderr] Downloaded pest v2.7.13 [INFO] [stderr] Downloaded pest_generator v2.7.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c871d09d1cc32a649f4c5177bb819646260ed120" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82daa05e27033de240d9ec0d653310e05b19e35b56bc4beb7b447d685900d51a [INFO] running `Command { std: "docker" "start" "-a" "82daa05e27033de240d9ec0d653310e05b19e35b56bc4beb7b447d685900d51a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82daa05e27033de240d9ec0d653310e05b19e35b56bc4beb7b447d685900d51a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82daa05e27033de240d9ec0d653310e05b19e35b56bc4beb7b447d685900d51a", kill_on_drop: false }` [INFO] [stdout] 82daa05e27033de240d9ec0d653310e05b19e35b56bc4beb7b447d685900d51a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c871d09d1cc32a649f4c5177bb819646260ed120" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8181082a12e12ad07eb169beac490853fb1a626990eab37f7f895e9ff8d72d37 [INFO] running `Command { std: "docker" "start" "-a" "8181082a12e12ad07eb169beac490853fb1a626990eab37f7f895e9ff8d72d37", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking clap_builder v4.5.47 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive-new v0.7.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking pest v2.7.13 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Checking clap-verbosity-flag v3.0.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Checking luz v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc` [INFO] [stdout] --> src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, fs, rc::Rc}; [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 imports: `LuzType`, `ScopeRef`, `Scope`, `TableRef`, and `Upvalue` [INFO] [stdout] --> src/lib.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | ctx::{CompilerCtx, Scope, ScopeRef, Upvalue}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | obj::{LuzFunction, LuzObj, LuzType, TableRef}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DoStat` [INFO] [stdout] --> src/ast/exp.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | ast::{DoStat, Stat}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iterators::Pair` [INFO] [stdout] --> src/ast/stat.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use pest::{iterators::Pair, Span}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rule` [INFO] [stdout] --> src/ast/stat.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{ast::LineInfo, luz::err::LuzError, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/compiler/ctx.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | instructions::{self, Instruction}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Upvalue` [INFO] [stdout] --> src/luz/function.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | compiler::ctx::{Scope, ScopeRef, Upvalue}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_op` [INFO] [stdout] --> src/luz/numeral.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | macro_rules! impl_op { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LuzFunction`, `LuzType`, and `Upvalue` [INFO] [stdout] --> src/luz/lib/env.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | ctx::{RegisterBuilder, Scope, Upvalue}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | obj::{AsUTF8Unchecked, LuzFunction, LuzObj, LuzType, Numeral, TableRef}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_lib` [INFO] [stdout] --> src/luz/lib/require.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | lib::{add_lib, debug::debug_lib, LuzNativeLib}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::Ordering` and `collections::HashMap` [INFO] [stdout] --> src/luz/lib/io.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, cmp::Ordering, collections::HashMap, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Numeral`, `Table`, `borrowed`, and `luz_let` [INFO] [stdout] --> src/luz/lib/io.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | borrowed, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | obj::{LuzObj, Numeral, Table, TableRef}, [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | luz_fn, luz_let, luz_table, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Prefix` [INFO] [stdout] --> src/runner/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | path::Prefix, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/runner/mod.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | instructions::{self, iABC, iABx, iAsBx, isJ, Instruction, MAX_HALF_sBx, MAX_HALF_sJ}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc` [INFO] [stdout] --> src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, fs, rc::Rc}; [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 imports: `LuzType`, `ScopeRef`, `Scope`, `TableRef`, and `Upvalue` [INFO] [stdout] --> src/lib.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | ctx::{CompilerCtx, Scope, ScopeRef, Upvalue}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | obj::{LuzFunction, LuzObj, LuzType, TableRef}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DoStat` [INFO] [stdout] --> src/ast/exp.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | ast::{DoStat, Stat}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iterators::Pair` [INFO] [stdout] --> src/ast/stat.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use pest::{iterators::Pair, Span}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rule` [INFO] [stdout] --> src/ast/stat.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{ast::LineInfo, luz::err::LuzError, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/compiler/ctx.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | instructions::{self, Instruction}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Upvalue` [INFO] [stdout] --> src/luz/function.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | compiler::ctx::{Scope, ScopeRef, Upvalue}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_op` [INFO] [stdout] --> src/luz/numeral.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | macro_rules! impl_op { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LuzFunction`, `LuzType`, and `Upvalue` [INFO] [stdout] --> src/luz/lib/env.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | ctx::{RegisterBuilder, Scope, Upvalue}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | obj::{AsUTF8Unchecked, LuzFunction, LuzObj, LuzType, Numeral, TableRef}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_lib` [INFO] [stdout] --> src/luz/lib/require.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | lib::{add_lib, debug::debug_lib, LuzNativeLib}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::Ordering` and `collections::HashMap` [INFO] [stdout] --> src/luz/lib/io.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, cmp::Ordering, collections::HashMap, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Numeral`, `Table`, `borrowed`, and `luz_let` [INFO] [stdout] --> src/luz/lib/io.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | borrowed, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | obj::{LuzObj, Numeral, Table, TableRef}, [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | luz_fn, luz_let, luz_table, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Prefix` [INFO] [stdout] --> src/runner/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | path::Prefix, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/runner/mod.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | instructions::{self, iABC, iABx, iAsBx, isJ, Instruction, MAX_HALF_sBx, MAX_HALF_sJ}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/ctx.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | let mut scope = Self { [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: unused variable: `scope` [INFO] [stdout] --> src/compiler/instructions.rs:1134:25 [INFO] [stdout] | [INFO] [stdout] 1134 | pub fn debug(&self, scope: &Scope) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/compiler/instructions.rs:1250:25 [INFO] [stdout] | [INFO] [stdout] 1250 | pub fn debug(&self, scope: &Scope) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut jmps = vec![]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/mod.rs:1666:13 [INFO] [stdout] | [INFO] [stdout] 1666 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/mod.rs:1666:13 [INFO] [stdout] | [INFO] [stdout] 1650 | ExpEval::InImmediate(i) => (None, i), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 1651 | ExpEval::InRegister(i) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1658 | ExpEval::InConstant(c) => (None, c), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 1659 | / ExpEval::InUpvalue { [INFO] [stdout] 1660 | | in_table, upvalue, .. [INFO] [stdout] 1661 | | } => { [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1666 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/mod.rs:2355:13 [INFO] [stdout] | [INFO] [stdout] 2355 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/mod.rs:2355:13 [INFO] [stdout] | [INFO] [stdout] 2345 | ExpEval::InRegister(r) => (None, r), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 2346 | ExpEval::InImmediate(i) => (None, i), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 2347 | ExpEval::InConstant(c) => (None, c), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 2348 | / ExpEval::InUpvalue { [INFO] [stdout] 2349 | | in_table, upvalue, .. [INFO] [stdout] 2350 | | } => { [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2355 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/ctx.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | let mut scope = Self { [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: unused variable: `mutex` [INFO] [stdout] --> src/luz/obj.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | LuzObj::Thread(mutex) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutex` [INFO] [stdout] --> src/luz/obj.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | LuzObj::Userdata(mutex) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/compiler/instructions.rs:1134:25 [INFO] [stdout] | [INFO] [stdout] 1134 | pub fn debug(&self, scope: &Scope) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [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] --> src/luz/fn_dump.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let mut upval = Upvalue::new( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/compiler/instructions.rs:1250:25 [INFO] [stdout] | [INFO] [stdout] 1250 | pub fn debug(&self, scope: &Scope) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut jmps = vec![]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/mod.rs:1666:13 [INFO] [stdout] | [INFO] [stdout] 1666 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/mod.rs:1666:13 [INFO] [stdout] | [INFO] [stdout] 1650 | ExpEval::InImmediate(i) => (None, i), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 1651 | ExpEval::InRegister(i) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1658 | ExpEval::InConstant(c) => (None, c), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 1659 | / ExpEval::InUpvalue { [INFO] [stdout] 1660 | | in_table, upvalue, .. [INFO] [stdout] 1661 | | } => { [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1666 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/mod.rs:2355:13 [INFO] [stdout] | [INFO] [stdout] 2355 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/mod.rs:2355:13 [INFO] [stdout] | [INFO] [stdout] 2345 | ExpEval::InRegister(r) => (None, r), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 2346 | ExpEval::InImmediate(i) => (None, i), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 2347 | ExpEval::InConstant(c) => (None, c), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 2348 | / ExpEval::InUpvalue { [INFO] [stdout] 2349 | | in_table, upvalue, .. [INFO] [stdout] 2350 | | } => { [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2355 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/luz/lib/env.rs:413:34 [INFO] [stdout] | [INFO] [stdout] 413 | tonumber: luz_fn!([1](e, base @ (LuzObj::Numeral(Numeral::Int(..)) | LuzObj::Nil)) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/luz/lib/env.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutex` [INFO] [stdout] --> src/luz/obj.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | LuzObj::Thread(mutex) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutex` [INFO] [stdout] --> src/luz/obj.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | LuzObj::Userdata(mutex) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain` [INFO] [stdout] --> src/luz/lib/string.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | plain @ (LuzObj::Boolean(..) | LuzObj::Nil)) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_plain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/luz/lib/string.rs:250:58 [INFO] [stdout] | [INFO] [stdout] 250 | if let Some(LuzObj::Numeral(Numeral::Int(i))) = vals.next() {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/luz/fn_dump.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let mut upval = Upvalue::new( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/luz/lib/env.rs:413:34 [INFO] [stdout] | [INFO] [stdout] 413 | tonumber: luz_fn!([1](e, base @ (LuzObj::Numeral(Numeral::Int(..)) | LuzObj::Nil)) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/luz/lib/env.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain` [INFO] [stdout] --> src/luz/lib/string.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | plain @ (LuzObj::Boolean(..) | LuzObj::Nil)) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_plain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/luz/lib/string.rs:250:58 [INFO] [stdout] | [INFO] [stdout] 250 | if let Some(LuzObj::Numeral(Numeral::Int(i))) = vals.next() {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let mut ctx = CompilerCtx::new_main("stdin".to_string()); [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] --> src/lib.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let mut runner = Runner::new( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/lib.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let mut runner = Runner::new( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visit_inner_logicop` is never used [INFO] [stdout] --> src/compiler/mod.rs:1982:8 [INFO] [stdout] | [INFO] [stdout] 614 | impl<'a> Compiler<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1982 | fn visit_inner_logicop( [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 `pack_string` is never used [INFO] [stdout] --> src/luz/lib/string.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn pack_string(fmt: &str, values: VecDeque) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compiler/ctx.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | pub(crate) fn scope(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | pub(crate) fn scope(&self) -> Ref<'_, Scope> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compiler/ctx.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | pub(crate) fn scope_mut(&mut self) -> RefMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | pub(crate) fn scope_mut(&mut self) -> RefMut<'_, Scope> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/luz/obj.rs:339:45 [INFO] [stdout] | [INFO] [stdout] 339 | ... string.push(transmute(code)); [INFO] [stdout] | ---------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runner/mod.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn scope(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | pub fn scope(&self) -> Ref<'_, Scope> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runner/mod.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | fn scope_mut(&mut self) -> RefMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | fn scope_mut(&mut self) -> RefMut<'_, Scope> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let mut ctx = CompilerCtx::new_main("stdin".to_string()); [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] --> src/lib.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let mut runner = Runner::new( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/lib.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let mut runner = Runner::new( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visit_inner_logicop` is never used [INFO] [stdout] --> src/compiler/mod.rs:1982:8 [INFO] [stdout] | [INFO] [stdout] 614 | impl<'a> Compiler<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1982 | fn visit_inner_logicop( [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 `pack_string` is never used [INFO] [stdout] --> src/luz/lib/string.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn pack_string(fmt: &str, values: VecDeque) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compiler/ctx.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | pub(crate) fn scope(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | pub(crate) fn scope(&self) -> Ref<'_, Scope> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compiler/ctx.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | pub(crate) fn scope_mut(&mut self) -> RefMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | pub(crate) fn scope_mut(&mut self) -> RefMut<'_, Scope> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/luz/obj.rs:339:45 [INFO] [stdout] | [INFO] [stdout] 339 | ... string.push(transmute(code)); [INFO] [stdout] | ---------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runner/mod.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn scope(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | pub fn scope(&self) -> Ref<'_, Scope> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runner/mod.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | fn scope_mut(&mut self) -> RefMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | fn scope_mut(&mut self) -> RefMut<'_, Scope> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.14s [INFO] running `Command { std: "docker" "inspect" "8181082a12e12ad07eb169beac490853fb1a626990eab37f7f895e9ff8d72d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8181082a12e12ad07eb169beac490853fb1a626990eab37f7f895e9ff8d72d37", kill_on_drop: false }` [INFO] [stdout] 8181082a12e12ad07eb169beac490853fb1a626990eab37f7f895e9ff8d72d37