[INFO] cloning repository https://github.com/ljp-projects/mosaic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ljp-projects/mosaic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljp-projects%2Fmosaic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljp-projects%2Fmosaic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91dd99221e6469c5e93851388044b97cd5325d6d [INFO] checking ljp-projects/mosaic against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljp-projects%2Fmosaic" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ljp-projects/mosaic [INFO] finished tweaking git repo https://github.com/ljp-projects/mosaic [INFO] tweaked toml for git repo https://github.com/ljp-projects/mosaic written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ljp-projects/mosaic on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ljp-projects/mosaic 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 123c471a1d938894114dba6257f3f7f3e75f77a892b538ea876e39a6617b69f5 [INFO] running `Command { std: "docker" "start" "-a" "123c471a1d938894114dba6257f3f7f3e75f77a892b538ea876e39a6617b69f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "123c471a1d938894114dba6257f3f7f3e75f77a892b538ea876e39a6617b69f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "123c471a1d938894114dba6257f3f7f3e75f77a892b538ea876e39a6617b69f5", kill_on_drop: false }` [INFO] [stdout] 123c471a1d938894114dba6257f3f7f3e75f77a892b538ea876e39a6617b69f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 128382324e6dd3eecc3edbb01413d6de273a9fad55fd2e05045feea32f7f0821 [INFO] running `Command { std: "docker" "start" "-a" "128382324e6dd3eecc3edbb01413d6de273a9fad55fd2e05045feea32f7f0821", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.118.0 [INFO] [stderr] Compiling pulley-interpreter v31.0.0 [INFO] [stderr] Compiling cranelift-bitset v0.118.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling cranelift-isle v0.118.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.118.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Checking bumpalo v3.17.0 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.118.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking cranelift-control v0.118.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking clap_builder v4.5.32 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling cranelift-codegen-meta v0.118.0 [INFO] [stderr] Checking homedir v0.3.4 [INFO] [stderr] Checking downcast-rs v2.0.1 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking sysctl v0.5.5 [INFO] [stderr] Checking clap v4.5.32 [INFO] [stderr] Compiling cranelift-codegen v0.118.0 [INFO] [stderr] Checking mmap-rs v0.6.1 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking postcard v1.1.1 [INFO] [stderr] Checking cranelift-entity v0.118.0 [INFO] [stderr] Checking regalloc2 v0.11.1 [INFO] [stderr] Checking cranelift-bforest v0.118.0 [INFO] [stderr] Checking cranelift-module v0.118.0 [INFO] [stderr] Checking cranelift-interpreter v0.118.0 [INFO] [stderr] Checking cranelift-frontend v0.118.0 [INFO] [stderr] Checking cranelift-object v0.118.0 [INFO] [stderr] Checking mosaic-lang v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `mangle_function` and `mangle_method` [INFO] [stdout] --> src/compiler/cranelift/mangle.rs:79:46 [INFO] [stdout] | [INFO] [stdout] 79 | use crate::compiler::cranelift::mangle::{mangle_function, mangle_method, mangle_type}; [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: `std::fmt::Debug` [INFO] [stdout] --> src/compiler/cranelift/module.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/compiler/cranelift/module.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AstNode` [INFO] [stdout] --> src/compiler/cranelift/types.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::parser::{AstNode, ParseType, TypeBound}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Indirection` [INFO] [stdout] --> src/compiler/cranelift/value.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::{Indirection, OneOf}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::AstNode` [INFO] [stdout] --> src/compiler/cranelift/indexing.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::AstNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FuncRef` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:35:73 [INFO] [stdout] | [INFO] [stdout] 35 | use cranelift_codegen::ir::{AbiParam, Block, ExtFuncData, ExternalName, FuncRef, Function, GlobalValue, InstBuilder, MemFlags, Signature,... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DowncastSync` [INFO] [stdout] --> src/compiler/traits.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | use downcast_rs::{impl_downcast, Downcast, DowncastSync}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift_codegen::gimli::Pointer::Indirect` [INFO] [stdout] --> src/parser.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use cranelift_codegen::gimli::Pointer::Indirect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mangle_function`, `mangle_method`, and `mangle_type` [INFO] [stdout] --> src/compiler/cranelift/mangle.rs:79:46 [INFO] [stdout] | [INFO] [stdout] 79 | use crate::compiler::cranelift::mangle::{mangle_function, mangle_method, mangle_type}; [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: `crate::compiler::cranelift::types::CraneliftType` [INFO] [stdout] --> src/compiler/cranelift/mangle.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | use crate::compiler::cranelift::types::CraneliftType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::Indirection` [INFO] [stdout] --> src/compiler/cranelift/mangle.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | use crate::utils::Indirection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/compiler/cranelift/module.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/compiler/cranelift/module.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AstNode` [INFO] [stdout] --> src/compiler/cranelift/types.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::parser::{AstNode, ParseType, TypeBound}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Indirection` [INFO] [stdout] --> src/compiler/cranelift/value.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::{Indirection, OneOf}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::AstNode` [INFO] [stdout] --> src/compiler/cranelift/indexing.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::AstNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FuncRef` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:35:73 [INFO] [stdout] | [INFO] [stdout] 35 | use cranelift_codegen::ir::{AbiParam, Block, ExtFuncData, ExternalName, FuncRef, Function, GlobalValue, InstBuilder, MemFlags, Signature,... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DowncastSync` [INFO] [stdout] --> src/compiler/traits.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | use downcast_rs::{impl_downcast, Downcast, DowncastSync}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift_codegen::gimli::Pointer::Indirect` [INFO] [stdout] --> src/parser.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use cranelift_codegen::gimli::Pointer::Indirect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/compiler/cranelift/linker.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | ref file, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `file: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/compiler/cranelift/linker.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | ref target, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:229:47 [INFO] [stdout] | [INFO] [stdout] 229 | if let AstNode::IdxAccess(l, of, idx) = left { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:228:41 [INFO] [stdout] | [INFO] [stdout] 228 | let AstNode::Identifier(l, name) = left else { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:1004:26 [INFO] [stdout] | [INFO] [stdout] 1004 | let (f, fty) = self [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_path` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:1799:21 [INFO] [stdout] | [INFO] [stdout] 1799 | let parent_path = self [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:261:51 [INFO] [stdout] | [INFO] [stdout] 261 | CompilationError::UnknownModule(file, trace, modules) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:312:55 [INFO] [stdout] | [INFO] [stdout] 312 | CompilationError::UndefinedVariable(file, trace, name) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:336:52 [INFO] [stdout] | [INFO] [stdout] 336 | CompilationError::DualDefinition(file, trace, name) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:359:55 [INFO] [stdout] | [INFO] [stdout] 359 | CompilationError::UndefinedOperator(file, trace, op) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:375:50 [INFO] [stdout] | [INFO] [stdout] 375 | CompilationError::CannotMutate(file, trace, name) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:391:57 [INFO] [stdout] | [INFO] [stdout] 391 | CompilationError::MismatchedTypeInDef(file, trace, name, expected, got) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:437:49 [INFO] [stdout] | [INFO] [stdout] 437 | CompilationError::InvalidCast(file, trace, from, to) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:456:55 [INFO] [stdout] | [INFO] [stdout] 456 | CompilationError::CannotMakePointer(file, trace, to) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:484:46 [INFO] [stdout] | [INFO] [stdout] 484 | CompilationError::NotFreed(file, trace, item) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:509:54 [INFO] [stdout] | [INFO] [stdout] 509 | CompilationError::InvalidSignature(file, trace, name, ret, args) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:806:30 [INFO] [stdout] | [INFO] [stdout] 806 | Some(Err(e)) => match self.parse_type() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:826:26 [INFO] [stdout] | [INFO] [stdout] 826 | Some(Err(e)) => match self.parse_type() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `owner` is never read [INFO] [stdout] --> src/compiler/cranelift/value.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OwnershipTrace { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | /// Stores the name of the variable that owns the value, if any [INFO] [stdout] 8 | owner: OneOf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl UseSparingly { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 27 | pub(crate) fn new(t: T) -> UseSparingly { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/cranelift/linker.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | return Err(String::from_utf8_lossy(&r.stderr).parse().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mosaic-lang` (bin "msc" test) due to 1 previous error; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/compiler/cranelift/linker.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | ref file, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `file: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/compiler/cranelift/linker.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | ref target, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:229:47 [INFO] [stdout] | [INFO] [stdout] 229 | if let AstNode::IdxAccess(l, of, idx) = left { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:228:41 [INFO] [stdout] | [INFO] [stdout] 228 | let AstNode::Identifier(l, name) = left else { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:1004:26 [INFO] [stdout] | [INFO] [stdout] 1004 | let (f, fty) = self [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_path` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:1799:21 [INFO] [stdout] | [INFO] [stdout] 1799 | let parent_path = self [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:261:51 [INFO] [stdout] | [INFO] [stdout] 261 | CompilationError::UnknownModule(file, trace, modules) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:312:55 [INFO] [stdout] | [INFO] [stdout] 312 | CompilationError::UndefinedVariable(file, trace, name) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:336:52 [INFO] [stdout] | [INFO] [stdout] 336 | CompilationError::DualDefinition(file, trace, name) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:359:55 [INFO] [stdout] | [INFO] [stdout] 359 | CompilationError::UndefinedOperator(file, trace, op) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:375:50 [INFO] [stdout] | [INFO] [stdout] 375 | CompilationError::CannotMutate(file, trace, name) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:391:57 [INFO] [stdout] | [INFO] [stdout] 391 | CompilationError::MismatchedTypeInDef(file, trace, name, expected, got) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:437:49 [INFO] [stdout] | [INFO] [stdout] 437 | CompilationError::InvalidCast(file, trace, from, to) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:456:55 [INFO] [stdout] | [INFO] [stdout] 456 | CompilationError::CannotMakePointer(file, trace, to) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:484:46 [INFO] [stdout] | [INFO] [stdout] 484 | CompilationError::NotFreed(file, trace, item) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:509:54 [INFO] [stdout] | [INFO] [stdout] 509 | CompilationError::InvalidSignature(file, trace, name, ret, args) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:806:30 [INFO] [stdout] | [INFO] [stdout] 806 | Some(Err(e)) => match self.parse_type() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:826:26 [INFO] [stdout] | [INFO] [stdout] 826 | Some(Err(e)) => match self.parse_type() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `owner` is never read [INFO] [stdout] --> src/compiler/cranelift/value.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OwnershipTrace { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | /// Stores the name of the variable that owns the value, if any [INFO] [stdout] 8 | owner: OneOf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl UseSparingly { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 27 | pub(crate) fn new(t: T) -> UseSparingly { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/cranelift/linker.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | return Err(String::from_utf8_lossy(&r.stderr).parse().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mosaic-lang` (bin "msc") due to 1 previous error; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "128382324e6dd3eecc3edbb01413d6de273a9fad55fd2e05045feea32f7f0821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "128382324e6dd3eecc3edbb01413d6de273a9fad55fd2e05045feea32f7f0821", kill_on_drop: false }` [INFO] [stdout] 128382324e6dd3eecc3edbb01413d6de273a9fad55fd2e05045feea32f7f0821