[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] 99ea2489d8d64405c40389e8bb4094351e3d0f30 [INFO] checking ljp-projects/mosaic against try#5ff93158e08fa2205cd4b86cddf9eae95952cc96 for pr-129543-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljp-projects%2Fmosaic" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ljp-projects/mosaic on toolchain 5ff93158e08fa2205cd4b86cddf9eae95952cc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "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" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking ljp-projects/mosaic against try#5ff93158e08fa2205cd4b86cddf9eae95952cc96 for pr-129543-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljp-projects%2Fmosaic" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ljp-projects/mosaic on toolchain 5ff93158e08fa2205cd4b86cddf9eae95952cc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "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" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v2.6.0 [INFO] [stderr] Downloaded quote v1.0.43 [INFO] [stderr] Downloaded cranelift-bitset v0.127.1 [INFO] [stderr] Downloaded wasmtime-internal-math v40.0.1 [INFO] [stderr] Downloaded anstyle v1.0.13 [INFO] [stderr] Downloaded anstyle-wincon v3.0.11 [INFO] [stderr] Downloaded cranelift-srcgen v0.127.1 [INFO] [stderr] Downloaded cranelift-assembler-x64-meta v0.127.1 [INFO] [stderr] Downloaded cranelift-isle v0.127.1 [INFO] [stderr] Downloaded regalloc2 v0.13.4 [INFO] [stderr] Downloaded anstyle-query v1.1.5 [INFO] [stderr] Downloaded is_terminal_polyfill v1.70.2 [INFO] [stderr] Downloaded cranelift-assembler-x64 v0.127.1 [INFO] [stderr] Downloaded clap v4.5.54 [INFO] [stderr] Downloaded cranelift-object v0.127.1 [INFO] [stderr] Downloaded nix v0.30.1 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.127.1 [INFO] [stderr] Downloaded colored v3.0.0 [INFO] [stderr] Downloaded cranelift-frontend v0.127.1 [INFO] [stderr] Downloaded clap_builder v4.5.54 [INFO] [stderr] Downloaded hashbrown v0.16.1 [INFO] [stderr] Downloaded cranelift-bforest v0.127.1 [INFO] [stderr] Downloaded cranelift-entity v0.127.1 [INFO] [stderr] Downloaded enum-as-inner v0.6.1 [INFO] [stderr] Downloaded object v0.37.3 [INFO] [stderr] Downloaded winapi-util v0.1.11 [INFO] [stderr] Downloaded anstream v0.6.21 [INFO] [stderr] Downloaded clap_lex v0.7.6 [INFO] [stderr] Downloaded stable_deref_trait v1.2.1 [INFO] [stderr] Downloaded windows-future v0.2.1 [INFO] [stderr] Downloaded windows-numerics v0.2.0 [INFO] [stderr] Downloaded bumpalo v3.19.1 [INFO] [stderr] Downloaded once_cell_polyfill v1.70.2 [INFO] [stderr] Downloaded clap_derive v4.5.49 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.127.1 [INFO] [stderr] Downloaded fallible-iterator v0.3.0 [INFO] [stderr] Downloaded cranelift-control v0.127.1 [INFO] [stderr] Downloaded downcast-rs v2.0.2 [INFO] [stderr] Downloaded windows-collections v0.2.0 [INFO] [stderr] Downloaded tokio v1.49.0 [INFO] [stderr] Downloaded cranelift-module v0.127.1 [INFO] [stderr] Downloaded log v0.4.29 [INFO] [stderr] Downloaded gimli v0.32.3 [INFO] [stderr] Downloaded libc v0.2.179 [INFO] [stderr] Downloaded syn v2.0.114 [INFO] [stderr] Downloaded indexmap v2.12.1 [INFO] [stderr] Downloaded widestring v1.2.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.105 [INFO] [stderr] Downloaded arbitrary v1.4.2 [INFO] [stderr] Downloaded homedir v0.3.6 [INFO] [stderr] Downloaded sysctl v0.6.0 [INFO] [stderr] Downloaded target-lexicon v0.13.4 [INFO] [stderr] Downloaded mach2 v0.4.3 [INFO] [stderr] Downloaded mmap-rs v0.7.0 [INFO] [stderr] Downloaded windows-threading v0.1.0 [INFO] [stderr] Downloaded cranelift-codegen v0.127.1 [INFO] [stderr] Downloaded windows v0.61.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0f5ed57b8013d7b8f992e711075a8b45d901a0edc2c37b8c1564f70c9e108eb [INFO] running `Command { std: "docker" "start" "-a" "f0f5ed57b8013d7b8f992e711075a8b45d901a0edc2c37b8c1564f70c9e108eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0f5ed57b8013d7b8f992e711075a8b45d901a0edc2c37b8c1564f70c9e108eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0f5ed57b8013d7b8f992e711075a8b45d901a0edc2c37b8c1564f70c9e108eb", kill_on_drop: false }` [INFO] [stdout] f0f5ed57b8013d7b8f992e711075a8b45d901a0edc2c37b8c1564f70c9e108eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8e2e4e9b096aa410f0dad72b31755615a7b7b84eb83e16f2591df745ffded7b [INFO] running `Command { std: "docker" "start" "-a" "e8e2e4e9b096aa410f0dad72b31755615a7b7b84eb83e16f2591df745ffded7b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling cranelift-srcgen v0.127.1 [INFO] [stderr] Compiling cranelift-isle v0.127.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling cranelift-codegen-shared v0.127.1 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling target-lexicon v0.13.4 [INFO] [stderr] Checking cranelift-bitset v0.127.1 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking arbitrary v1.4.2 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking cranelift-entity v0.127.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.127.1 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking cranelift-bforest v0.127.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking bumpalo v3.19.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking regalloc2 v0.13.4 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking cranelift-control v0.127.1 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking downcast-rs v2.0.2 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking clap_builder v4.5.54 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking wasmtime-internal-math v40.0.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.127.1 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.127.1 [INFO] [stderr] Checking homedir v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling cranelift-codegen v0.127.1 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking sysctl v0.6.0 [INFO] [stderr] Checking clap v4.5.54 [INFO] [stderr] Checking mmap-rs v0.7.0 [INFO] [stderr] Checking cranelift-module v0.127.1 [INFO] [stderr] Checking cranelift-frontend v0.127.1 [INFO] [stderr] Checking cranelift-object v0.127.1 [INFO] [stderr] Checking mosaic-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::alloc::alloc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::alloc::alloc; [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::ptr::null` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::ptr::null; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift_codegen::gimli` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use cranelift_codegen::gimli; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Architecture` [INFO] [stdout] --> src/main.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | use target_lexicon::{Architecture, Triple}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::cranelift::ast::flatten_ast` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::compiler::cranelift::ast::flatten_ast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::TypeBound` [INFO] [stdout] --> src/compiler/cranelift/mangle.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser::TypeBound; [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] [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::rc::Rc` [INFO] [stdout] --> src/compiler/cranelift/meta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::traits::CompilationType` [INFO] [stdout] --> src/compiler/cranelift/meta.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::compiler::traits::CompilationType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompilationType` [INFO] [stdout] --> src/compiler/cranelift/module.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::traits::{CompilationModule, CompilationType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/compiler/cranelift/module.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{BTreeSet, HashMap, HashSet}; [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: `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: `std::rc::Rc` [INFO] [stdout] --> src/compiler/cranelift/types.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::rc::Rc; [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 imports: `ExtFuncData`, `ExternalName`, `FuncRef`, `GlobalValueData`, `UserExternalNameRef`, and `UserExternalName` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | ...g, ExtFuncData, ExternalName, FuncRef, Function, GlobalValue, GlobalValueData, InstBuilder, MemFlags, Signature, StackSlot, StackSlotData, StackSlotKind, UserExternalName, UserExternalNameRef, U... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Init` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:42:72 [INFO] [stdout] | [INFO] [stdout] 42 | use cranelift_module::{default_libcall_names, DataDescription, FuncId, Init, Linkage, Module}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::indexing::FileIndexer` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use crate::compiler::indexing::FileIndexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/compiler/traits.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{BTreeSet, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/compiler/traits.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DowncastSync` [INFO] [stdout] --> src/compiler/traits.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | use downcast_rs::{impl_downcast, Downcast, DowncastSync}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArmArchitecture` [INFO] [stdout] --> src/compiler/align.rs:10:57 [INFO] [stdout] | [INFO] [stdout] 10 | use target_lexicon::{Aarch64Architecture, Architecture, ArmArchitecture, CDataModel, Triple}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `target_lexicon::Triple` [INFO] [stdout] --> src/compiler/align.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | use target_lexicon::Triple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alignment_of_cranelift_type_on_architecture` and `calculate_data_cranelift` [INFO] [stdout] --> src/compiler/align.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | use crate::compiler::align::{alignment_of_cranelift_type_on_architecture, calculate_data_cranelift}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::cranelift::types::CraneliftType` [INFO] [stdout] --> src/compiler/align.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | use crate::compiler::cranelift::types::CraneliftType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::Indirection` [INFO] [stdout] --> src/compiler/align.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | use crate::utils::Indirection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::AstNode` [INFO] [stdout] --> src/compiler/indexing.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::AstNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::alloc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::alloc::alloc; [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::ptr::null` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::ptr::null; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift_codegen::gimli` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use cranelift_codegen::gimli; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Architecture` [INFO] [stdout] --> src/main.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | use target_lexicon::{Architecture, Triple}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::cranelift::ast::flatten_ast` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::compiler::cranelift::ast::flatten_ast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::TypeBound` [INFO] [stdout] --> src/compiler/cranelift/mangle.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser::TypeBound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/compiler/cranelift/meta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::traits::CompilationType` [INFO] [stdout] --> src/compiler/cranelift/meta.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::compiler::traits::CompilationType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompilationType` [INFO] [stdout] --> src/compiler/cranelift/module.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::traits::{CompilationModule, CompilationType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/compiler/cranelift/module.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{BTreeSet, HashMap, HashSet}; [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: `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: `std::rc::Rc` [INFO] [stdout] --> src/compiler/cranelift/types.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::rc::Rc; [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 imports: `ExtFuncData`, `ExternalName`, `FuncRef`, `GlobalValueData`, `UserExternalNameRef`, and `UserExternalName` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | ...g, ExtFuncData, ExternalName, FuncRef, Function, GlobalValue, GlobalValueData, InstBuilder, MemFlags, Signature, StackSlot, StackSlotData, StackSlotKind, UserExternalName, UserExternalNameRef, U... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Init` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:42:72 [INFO] [stdout] | [INFO] [stdout] 42 | use cranelift_module::{default_libcall_names, DataDescription, FuncId, Init, Linkage, Module}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::indexing::FileIndexer` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use crate::compiler::indexing::FileIndexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/compiler/traits.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{BTreeSet, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/compiler/traits.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DowncastSync` [INFO] [stdout] --> src/compiler/traits.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | use downcast_rs::{impl_downcast, Downcast, DowncastSync}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArmArchitecture` [INFO] [stdout] --> src/compiler/align.rs:10:57 [INFO] [stdout] | [INFO] [stdout] 10 | use target_lexicon::{Aarch64Architecture, Architecture, ArmArchitecture, CDataModel, Triple}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::AstNode` [INFO] [stdout] --> src/compiler/indexing.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::AstNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift_codegen::entity::EntityRef` [INFO] [stdout] --> src/compiler/cranelift/builders.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cranelift_codegen::entity::EntityRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/analyser/mod.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 59 | AstNode::MemberExpr(_, r, _) => { [INFO] [stdout] | ---------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 62 | AstNode::MemberExpr(..) => continue, [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: 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 import: `cranelift_codegen::entity::EntityRef` [INFO] [stdout] --> src/compiler/cranelift/builders.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cranelift_codegen::entity::EntityRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/cranelift/mod.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | let mut obj_builder = [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: unreachable pattern [INFO] [stdout] --> src/compiler/analyser/mod.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 59 | AstNode::MemberExpr(_, r, _) => { [INFO] [stdout] | ---------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 62 | AstNode::MemberExpr(..) => continue, [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: unused variable: `ty` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:633:49 [INFO] [stdout] | [INFO] [stdout] 633 | let Some((offset, _, _, ty)) = meta.fields.iter().find(|(_, _, name, _)| name == prop) else { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [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: `line_info` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:732:63 [INFO] [stdout] | [INFO] [stdout] 732 | AstNode::DataInitExpr { name, fields: raw_fields, line_info } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `line_info: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:950:34 [INFO] [stdout] | [INFO] [stdout] 950 | ... 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: `to` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:1284:28 [INFO] [stdout] | [INFO] [stdout] 1284 | (from, to) => Err(Box::new([CompilationError::InvalidCast( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/cranelift/mod.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | let mut obj_builder = [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: `n` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:1763:39 [INFO] [stdout] | [INFO] [stdout] 1763 | AstNode::NumberLiteral(_, n) => Some(Type::Int32), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:1823:22 [INFO] [stdout] | [INFO] [stdout] 1823 | (from, to) => return None, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:1823:28 [INFO] [stdout] | [INFO] [stdout] 1823 | (from, to) => return None, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:633:49 [INFO] [stdout] | [INFO] [stdout] 633 | let Some((offset, _, _, ty)) = meta.fields.iter().find(|(_, _, name, _)| name == prop) else { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_info` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:732:63 [INFO] [stdout] | [INFO] [stdout] 732 | AstNode::DataInitExpr { name, fields: raw_fields, line_info } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `line_info: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:950:34 [INFO] [stdout] | [INFO] [stdout] 950 | ... 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: `to` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:1284:28 [INFO] [stdout] | [INFO] [stdout] 1284 | (from, to) => Err(Box::new([CompilationError::InvalidCast( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trace` [INFO] [stdout] --> src/errors.rs:263:51 [INFO] [stdout] | [INFO] [stdout] 263 | 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:314:55 [INFO] [stdout] | [INFO] [stdout] 314 | 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:338:51 [INFO] [stdout] | [INFO] [stdout] 338 | CompilationError::UndefinedData(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:381:52 [INFO] [stdout] | [INFO] [stdout] 381 | 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:404:55 [INFO] [stdout] | [INFO] [stdout] 404 | 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:420:50 [INFO] [stdout] | [INFO] [stdout] 420 | 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:436:57 [INFO] [stdout] | [INFO] [stdout] 436 | 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:482:49 [INFO] [stdout] | [INFO] [stdout] 482 | 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:501:55 [INFO] [stdout] | [INFO] [stdout] 501 | 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:529:46 [INFO] [stdout] | [INFO] [stdout] 529 | 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: `n` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:1763:39 [INFO] [stdout] | [INFO] [stdout] 1763 | AstNode::NumberLiteral(_, n) => Some(Type::Int32), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:1823:22 [INFO] [stdout] | [INFO] [stdout] 1823 | (from, to) => return None, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/compiler/cranelift/mod.rs:1823:28 [INFO] [stdout] | [INFO] [stdout] 1823 | (from, to) => return None, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:599:27 [INFO] [stdout] | [INFO] [stdout] 599 | pub fn parse_complete(mut self) -> Result> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:920:30 [INFO] [stdout] | [INFO] [stdout] 920 | 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:940:26 [INFO] [stdout] | [INFO] [stdout] 940 | 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: `trace` [INFO] [stdout] --> src/errors.rs:263:51 [INFO] [stdout] | [INFO] [stdout] 263 | 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:314:55 [INFO] [stdout] | [INFO] [stdout] 314 | 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:338:51 [INFO] [stdout] | [INFO] [stdout] 338 | CompilationError::UndefinedData(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:381:52 [INFO] [stdout] | [INFO] [stdout] 381 | 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:404:55 [INFO] [stdout] | [INFO] [stdout] 404 | 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:420:50 [INFO] [stdout] | [INFO] [stdout] 420 | 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:436:57 [INFO] [stdout] | [INFO] [stdout] 436 | 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:482:49 [INFO] [stdout] | [INFO] [stdout] 482 | 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:501:55 [INFO] [stdout] | [INFO] [stdout] 501 | 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:529:46 [INFO] [stdout] | [INFO] [stdout] 529 | 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: method `get_calls_of_func` is never used [INFO] [stdout] --> src/compiler/cranelift/mod.rs:1836:8 [INFO] [stdout] | [INFO] [stdout] 173 | impl CraneliftGenerator { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1836 | fn get_calls_of_func( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [INFO] [stdout] warning: function `modifiers_of` is never used [INFO] [stdout] --> src/parser.rs:2802:4 [INFO] [stdout] | [INFO] [stdout] 2802 | fn modifiers_of(def: &ParsedFunctionDeclaration) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generics_of` is never used [INFO] [stdout] --> src/parser.rs:2806:4 [INFO] [stdout] | [INFO] [stdout] 2806 | fn generics_of(def: &ParsedFunctionDeclaration) -> &HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `argument_types_of` is never used [INFO] [stdout] --> src/parser.rs:2810:4 [INFO] [stdout] | [INFO] [stdout] 2810 | fn argument_types_of(def: &ParsedFunctionDeclaration) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `return_type_of` is never used [INFO] [stdout] --> src/parser.rs:2814:4 [INFO] [stdout] | [INFO] [stdout] 2814 | fn return_type_of(def: &ParsedFunctionDeclaration) -> &ParseType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:599:27 [INFO] [stdout] | [INFO] [stdout] 599 | pub fn parse_complete(mut self) -> Result> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:920:30 [INFO] [stdout] | [INFO] [stdout] 920 | 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:940:26 [INFO] [stdout] | [INFO] [stdout] 940 | 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: method `get_calls_of_func` is never used [INFO] [stdout] --> src/compiler/cranelift/mod.rs:1836:8 [INFO] [stdout] | [INFO] [stdout] 173 | impl CraneliftGenerator { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1836 | fn get_calls_of_func( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [INFO] [stdout] warning: function `modifiers_of` is never used [INFO] [stdout] --> src/parser.rs:2802:4 [INFO] [stdout] | [INFO] [stdout] 2802 | fn modifiers_of(def: &ParsedFunctionDeclaration) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generics_of` is never used [INFO] [stdout] --> src/parser.rs:2806:4 [INFO] [stdout] | [INFO] [stdout] 2806 | fn generics_of(def: &ParsedFunctionDeclaration) -> &HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `argument_types_of` is never used [INFO] [stdout] --> src/parser.rs:2810:4 [INFO] [stdout] | [INFO] [stdout] 2810 | fn argument_types_of(def: &ParsedFunctionDeclaration) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `return_type_of` is never used [INFO] [stdout] --> src/parser.rs:2814:4 [INFO] [stdout] | [INFO] [stdout] 2814 | fn return_type_of(def: &ParsedFunctionDeclaration) -> &ParseType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.50s [INFO] running `Command { std: "docker" "inspect" "e8e2e4e9b096aa410f0dad72b31755615a7b7b84eb83e16f2591df745ffded7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8e2e4e9b096aa410f0dad72b31755615a7b7b84eb83e16f2591df745ffded7b", kill_on_drop: false }` [INFO] [stdout] e8e2e4e9b096aa410f0dad72b31755615a7b7b84eb83e16f2591df745ffded7b