[INFO] fetching crate som 0.61.0... [INFO] checking som-0.61.0 against try#4907eac94165faff6c5e5e015670b1c584275f7b for pr-154149 [INFO] extracting crate som 0.61.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate som 0.61.0 [INFO] finished tweaking crates.io crate som 0.61.0 [INFO] tweaked toml for crates.io crate som 0.61.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate som 0.61.0 on toolchain 4907eac94165faff6c5e5e015670b1c584275f7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate som 0.61.0 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" "+4907eac94165faff6c5e5e015670b1c584275f7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d7076d6e6b22082810d2a0fb7d3f05463509c7108f41013210f62c24b8ee29e [INFO] running `Command { std: "docker" "start" "-a" "2d7076d6e6b22082810d2a0fb7d3f05463509c7108f41013210f62c24b8ee29e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d7076d6e6b22082810d2a0fb7d3f05463509c7108f41013210f62c24b8ee29e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d7076d6e6b22082810d2a0fb7d3f05463509c7108f41013210f62c24b8ee29e", kill_on_drop: false }` [INFO] [stdout] 2d7076d6e6b22082810d2a0fb7d3f05463509c7108f41013210f62c24b8ee29e [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a322196cc42fecc87d3df6bbcdf60bd7dc3fff1b610c2b0c2ee4e6b6e9ab7ba [INFO] running `Command { std: "docker" "start" "-a" "1a322196cc42fecc87d3df6bbcdf60bd7dc3fff1b610c2b0c2ee4e6b6e9ab7ba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling cranelift-srcgen v0.121.1 [INFO] [stderr] Compiling cranelift-isle v0.121.1 [INFO] [stderr] Compiling cranelift-codegen-shared v0.121.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking cranelift-bitset v0.121.1 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Checking bumpalo v3.17.0 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Checking wasmtime-math v34.0.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking cranelift-entity v0.121.1 [INFO] [stderr] Checking regalloc2 v0.12.2 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking cranelift-bforest v0.121.1 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.121.1 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking cranelift-control v0.121.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking supports-color v3.0.1 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking terminal_size v0.4.1 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v34.0.1 [INFO] [stderr] Checking region v3.0.2 [INFO] [stderr] Checking supports-hyperlinks v3.0.0 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.121.1 [INFO] [stderr] Checking nucleo-matcher v0.3.1 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking clap-file v0.2.0 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.121.1 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking plist v1.7.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Compiling cranelift-codegen v0.121.1 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking miette v7.6.0 [INFO] [stderr] Checking cranelift-frontend v0.121.1 [INFO] [stderr] Checking cranelift-module v0.121.1 [INFO] [stderr] Checking cranelift-native v0.121.1 [INFO] [stderr] Checking cranelift-jit v0.121.1 [INFO] [stderr] Checking cranelift v0.121.1 [INFO] [stderr] Checking som v0.61.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `miette::SourceCode` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use miette::SourceCode; [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: `BufRead` and `PathBuf` [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | io::{BufRead, Read}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JITBuilder` [INFO] [stdout] --> src/compiler/mod.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use cranelift_jit::{JITBuilder, JITModule}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::Identifier` [INFO] [stdout] --> src/compiler/environment.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::lexer::Identifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compiler` [INFO] [stdout] --> src/expressions/binary/subtract.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{compiler, expressions::TypedExpressionValue, prelude::*}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/expressions/binary/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserFuncName` [INFO] [stdout] --> src/expressions/function.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | codegen::ir::{Function, UserFuncName}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Linkage` [INFO] [stdout] --> src/expressions/function.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use cranelift_module::{FuncId, Linkage, Module}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InstBuilder` [INFO] [stdout] --> src/expressions/group.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use cranelift::prelude::{FunctionBuilder, InstBuilder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miette::SourceSpan` [INFO] [stdout] --> src/lexer/token.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use miette::SourceSpan; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub(in crate::compiler::environment) or pub(in crate::lexer) [INFO] [stdout] --> src/compiler/environment.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::lexer::Identifier; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Identifier` could refer to the struct imported here [INFO] [stdout] --> src/lexer/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use token::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Identifier` to disambiguate [INFO] [stdout] note: `Identifier` could also refer to the struct imported here [INFO] [stdout] --> src/lexer/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Identifier` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] = note: `#[deny(ambiguous_import_visibilities)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub or pub(in crate::lexer) [INFO] [stdout] --> src/prelude.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub use crate::lexer::Identifier; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Identifier` could refer to the struct imported here [INFO] [stdout] --> src/lexer/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use token::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Identifier` to disambiguate [INFO] [stdout] note: `Identifier` could also refer to the struct imported here [INFO] [stdout] --> src/lexer/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Identifier` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub or pub(in crate::lexer) [INFO] [stdout] --> src/prelude.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | lexer::{Lexer, Token, TokenKind, TokenValue}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Token` could refer to the struct imported here [INFO] [stdout] --> src/lexer/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use token::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Token` to disambiguate [INFO] [stdout] note: `Token` could also refer to the struct imported here [INFO] [stdout] --> src/lexer/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Token` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub or pub(in crate::lexer) [INFO] [stdout] --> src/prelude.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | lexer::{Lexer, Token, TokenKind, TokenValue}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `TokenKind` could refer to the enum imported here [INFO] [stdout] --> src/lexer/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use token::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `TokenKind` to disambiguate [INFO] [stdout] note: `TokenKind` could also refer to the enum imported here [INFO] [stdout] --> src/lexer/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `TokenKind` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub or pub(in crate::lexer) [INFO] [stdout] --> src/prelude.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | lexer::{Lexer, Token, TokenKind, TokenValue}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `TokenValue` could refer to the enum imported here [INFO] [stdout] --> src/lexer/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use token::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `TokenValue` to disambiguate [INFO] [stdout] note: `TokenValue` could also refer to the enum imported here [INFO] [stdout] --> src/lexer/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `TokenValue` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub(in crate::type_checker::environment) or pub(in crate::lexer) [INFO] [stdout] --> src/type_checker/environment.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexer::Identifier; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Identifier` could refer to the struct imported here [INFO] [stdout] --> src/lexer/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use token::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Identifier` to disambiguate [INFO] [stdout] note: `Identifier` could also refer to the struct imported here [INFO] [stdout] --> src/lexer/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Identifier` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExternFunctionSignature` [INFO] [stdout] --> src/statements/mod.rs:5:66 [INFO] [stdout] | [INFO] [stdout] 5 | statements::extern_declaration::{ExternDeclarationStatement, ExternFunctionSignature}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/types/mod.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{write, Display}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miette::SourceCode` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use miette::SourceCode; [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: `BufRead` and `PathBuf` [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | io::{BufRead, Read}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JITBuilder` [INFO] [stdout] --> src/compiler/mod.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use cranelift_jit::{JITBuilder, JITModule}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::Identifier` [INFO] [stdout] --> src/compiler/environment.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::lexer::Identifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compiler` [INFO] [stdout] --> src/expressions/binary/subtract.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{compiler, expressions::TypedExpressionValue, prelude::*}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/expressions/binary/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserFuncName` [INFO] [stdout] --> src/expressions/function.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | codegen::ir::{Function, UserFuncName}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Linkage` [INFO] [stdout] --> src/expressions/function.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use cranelift_module::{FuncId, Linkage, Module}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InstBuilder` [INFO] [stdout] --> src/expressions/group.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use cranelift::prelude::{FunctionBuilder, InstBuilder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miette::SourceSpan` [INFO] [stdout] --> src/lexer/token.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use miette::SourceSpan; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub(in crate::compiler::environment) or pub(in crate::lexer) [INFO] [stdout] --> src/compiler/environment.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::lexer::Identifier; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Identifier` could refer to the struct imported here [INFO] [stdout] --> src/lexer/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use token::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Identifier` to disambiguate [INFO] [stdout] note: `Identifier` could also refer to the struct imported here [INFO] [stdout] --> src/lexer/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Identifier` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] = note: `#[deny(ambiguous_import_visibilities)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub or pub(in crate::lexer) [INFO] [stdout] --> src/prelude.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub use crate::lexer::Identifier; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Identifier` could refer to the struct imported here [INFO] [stdout] --> src/lexer/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use token::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Identifier` to disambiguate [INFO] [stdout] note: `Identifier` could also refer to the struct imported here [INFO] [stdout] --> src/lexer/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Identifier` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub or pub(in crate::lexer) [INFO] [stdout] --> src/prelude.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | lexer::{Lexer, Token, TokenKind, TokenValue}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Token` could refer to the struct imported here [INFO] [stdout] --> src/lexer/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use token::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Token` to disambiguate [INFO] [stdout] note: `Token` could also refer to the struct imported here [INFO] [stdout] --> src/lexer/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Token` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub or pub(in crate::lexer) [INFO] [stdout] --> src/prelude.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | lexer::{Lexer, Token, TokenKind, TokenValue}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `TokenKind` could refer to the enum imported here [INFO] [stdout] --> src/lexer/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use token::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `TokenKind` to disambiguate [INFO] [stdout] note: `TokenKind` could also refer to the enum imported here [INFO] [stdout] --> src/lexer/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `TokenKind` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub or pub(in crate::lexer) [INFO] [stdout] --> src/prelude.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | lexer::{Lexer, Token, TokenKind, TokenValue}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `TokenValue` could refer to the enum imported here [INFO] [stdout] --> src/lexer/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use token::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `TokenValue` to disambiguate [INFO] [stdout] note: `TokenValue` could also refer to the enum imported here [INFO] [stdout] --> src/lexer/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `TokenValue` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub(in crate::type_checker::environment) or pub(in crate::lexer) [INFO] [stdout] --> src/type_checker/environment.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexer::Identifier; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Identifier` could refer to the struct imported here [INFO] [stdout] --> src/lexer/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use token::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Identifier` to disambiguate [INFO] [stdout] note: `Identifier` could also refer to the struct imported here [INFO] [stdout] --> src/lexer/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Identifier` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExternFunctionSignature` [INFO] [stdout] --> src/statements/mod.rs:5:66 [INFO] [stdout] | [INFO] [stdout] 5 | statements::extern_declaration::{ExternDeclarationStatement, ExternFunctionSignature}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/types/mod.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{write, Display}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift_module::Module` [INFO] [stdout] --> src/compiler/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cranelift_module::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift_module::Module` [INFO] [stdout] --> src/compiler/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cranelift_module::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr_t` [INFO] [stdout] --> src/compiler/external.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let ptr_t = module.isa().pointer_type(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ptr_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr_t` [INFO] [stdout] --> src/compiler/external.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let ptr_t = module.isa().pointer_type(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ptr_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bp` [INFO] [stdout] --> src/expressions/call.rs:13:59 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse(parser: &mut Parser, expression: Expression, bp: BindingPower) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binding_power` [INFO] [stdout] --> src/expressions/conditional.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | binding_power: BindingPower, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bp` [INFO] [stdout] --> src/expressions/call.rs:13:59 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse(parser: &mut Parser, expression: Expression, bp: BindingPower) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/expressions/group.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn compile(expression: &TypedExpression, function: &mut FunctionBuilder) -> CompileValue { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/expressions/group.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn compile(expression: &TypedExpression, function: &mut FunctionBuilder) -> CompileValue { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/identifier.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/boolean.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/boolean.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binding_power` [INFO] [stdout] --> src/expressions/conditional.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | binding_power: BindingPower, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/integer.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/integer.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/integer.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/integer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/unit.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/expressions/primary/unit.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | expression: &TypedExpression, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/unit.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | env: &mut crate::compiler::Environment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/expressions/group.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn compile(expression: &TypedExpression, function: &mut FunctionBuilder) -> CompileValue { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/lexer/mod.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/expressions/group.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn compile(expression: &TypedExpression, function: &mut FunctionBuilder) -> CompileValue { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/identifier.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/boolean.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/boolean.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/integer.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/integer.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/integer.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/integer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/unit.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/expressions/primary/unit.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | expression: &TypedExpression, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/unit.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | env: &mut crate::compiler::Environment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/lexer/mod.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/prelude.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | expected: &TokenKind, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `help` [INFO] [stdout] --> src/prelude.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | help: impl Into, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_help` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_checker` [INFO] [stdout] --> src/statements/extern_declaration.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | type_checker: &mut TypeChecker, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_checker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/statements/extern_declaration.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statement` [INFO] [stdout] --> src/statements/extern_declaration.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | statement: &TypedStatement, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/statements/extern_declaration.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | body: &mut FunctionBuilder, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/statements/extern_declaration.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/types/mod.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | TypeValue::Function(function) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/prelude.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | expected: &TokenKind, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `help` [INFO] [stdout] --> src/prelude.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | help: impl Into, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_help` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Argument` is never constructed [INFO] [stdout] --> src/expressions/function.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Argument { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/expressions/group.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn compile(expression: &TypedExpression, function: &mut FunctionBuilder) -> CompileValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupExpression` is never constructed [INFO] [stdout] --> src/expressions/identifier.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GroupExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/parser/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'source> Parser<'source> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn next(&mut self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Comma`, `Relational`, `Unary`, `Member`, and `Primary` are never constructed [INFO] [stdout] --> src/parser/lookup.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum BindingPower { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 7 | None = 0, [INFO] [stdout] 8 | Comma = 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | Relational = 4, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | Unary = 7, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | Call = 8, [INFO] [stdout] 16 | Member = 9, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Primary = 10, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindingPower` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_left_type_handler` is never used [INFO] [stdout] --> src/parser/lookup.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Lookup { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn add_left_type_handler(mut self, token: TokenKind, handler: LeftTypeHandler) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_checker` [INFO] [stdout] --> src/statements/extern_declaration.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | type_checker: &mut TypeChecker, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_checker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/statements/extern_declaration.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statement` [INFO] [stdout] --> src/statements/extern_declaration.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | statement: &TypedStatement, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/statements/extern_declaration.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | body: &mut FunctionBuilder, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/statements/extern_declaration.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/types/mod.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | TypeValue::Function(function) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Argument` is never constructed [INFO] [stdout] --> src/expressions/function.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Argument { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/expressions/group.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn compile(expression: &TypedExpression, function: &mut FunctionBuilder) -> CompileValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupExpression` is never constructed [INFO] [stdout] --> src/expressions/identifier.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GroupExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/parser/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'source> Parser<'source> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn next(&mut self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Comma`, `Relational`, `Unary`, `Member`, and `Primary` are never constructed [INFO] [stdout] --> src/parser/lookup.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum BindingPower { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 7 | None = 0, [INFO] [stdout] 8 | Comma = 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | Relational = 4, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | Unary = 7, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | Call = 8, [INFO] [stdout] 16 | Member = 9, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Primary = 10, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindingPower` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_left_type_handler` is never used [INFO] [stdout] --> src/parser/lookup.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Lookup { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn add_left_type_handler(mut self, token: TokenKind, handler: LeftTypeHandler) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `som` (bin "som") due to 6 previous errors; 43 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `som` (bin "som" test) due to 6 previous errors; 43 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1a322196cc42fecc87d3df6bbcdf60bd7dc3fff1b610c2b0c2ee4e6b6e9ab7ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a322196cc42fecc87d3df6bbcdf60bd7dc3fff1b610c2b0c2ee4e6b6e9ab7ba", kill_on_drop: false }` [INFO] [stdout] 1a322196cc42fecc87d3df6bbcdf60bd7dc3fff1b610c2b0c2ee4e6b6e9ab7ba