[INFO] cloning repository https://github.com/brim-rs/brim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brim-rs/brim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrim-rs%2Fbrim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrim-rs%2Fbrim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 487b074fdfb7339515426710e6b7f653045a4b5b [INFO] building brim-rs/brim/487b074fdfb7339515426710e6b7f653045a4b5b against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrim-rs%2Fbrim" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/brim-rs/brim [INFO] finished tweaking git repo https://github.com/brim-rs/brim [INFO] tweaked toml for git repo https://github.com/brim-rs/brim written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/brim-rs/brim on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/brim-rs/brim 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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tinyvec v1.8.1 [INFO] [stderr] Downloaded spinners v4.1.1 [INFO] [stderr] Downloaded which v7.0.2 [INFO] [stderr] Downloaded dashmap v7.0.0-rc2 [INFO] [stderr] Downloaded mintex v0.1.4 [INFO] [stderr] Downloaded gethostname v0.5.0 [INFO] [stderr] Downloaded clap v4.5.35 [INFO] [stderr] Downloaded addr2line v0.24.1 [INFO] [stderr] Downloaded cc v1.2.6 [INFO] [stderr] Downloaded sysinfo v0.33.1 [INFO] [stderr] Downloaded clap_builder v4.5.35 [INFO] [stderr] Downloaded gimli v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56513d3d5337f2e60342861d6288ac3fe0c99ac159b609b747bda95c60ac78c9 [INFO] running `Command { std: "docker" "start" "-a" "56513d3d5337f2e60342861d6288ac3fe0c99ac159b609b747bda95c60ac78c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56513d3d5337f2e60342861d6288ac3fe0c99ac159b609b747bda95c60ac78c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56513d3d5337f2e60342861d6288ac3fe0c99ac159b609b747bda95c60ac78c9", kill_on_drop: false }` [INFO] [stdout] 56513d3d5337f2e60342861d6288ac3fe0c99ac159b609b747bda95c60ac78c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 776cc106ab0105d8a34dcc0f7900a54fdf159c9bcd860ebd94d504775902c5d5 [INFO] running `Command { std: "docker" "start" "-a" "776cc106ab0105d8a34dcc0f7900a54fdf159c9bcd860ebd94d504775902c5d5", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling brim-index v0.1.0 (/opt/rustwide/workdir/crates/brim_index) [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling clap_builder v4.5.35 [INFO] [stderr] Compiling fs-err v3.1.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling brim-fs v0.1.0 (/opt/rustwide/workdir/crates/brim_fs) [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling gimli v0.31.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling brim-lexer v0.1.0 (/opt/rustwide/workdir/crates/brim_lexer) [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling gethostname v0.5.0 [INFO] [stderr] Compiling terminal_size v0.4.1 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling addr2line v0.24.1 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling which v7.0.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling spinners v4.1.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling dashmap v7.0.0-rc2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling thousands v0.2.0 [INFO] [stderr] Compiling mintex v0.1.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling brim-symbols-macro v0.1.0 (/opt/rustwide/workdir/crates/brim_symbols_macro) [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling sysinfo v0.33.1 [INFO] [stderr] Compiling brim-span v0.1.0 (/opt/rustwide/workdir/crates/brim_span) [INFO] [stderr] Compiling brim-diag-macro v0.1.0 (/opt/rustwide/workdir/crates/brim_diag_macro) [INFO] [stdout] warning: unused import: `Sub` [INFO] [stdout] --> crates/brim_span/src/span.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | ops::{Range, Sub}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling brim-diagnostics v0.1.0 (/opt/rustwide/workdir/crates/brim_diagnostics/lib) [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling brim-ast v0.1.0 (/opt/rustwide/workdir/crates/brim_ast) [INFO] [stderr] Compiling diag-playground v0.1.0 (/opt/rustwide/workdir/crates/brim_diagnostics/playground) [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling clap v4.5.35 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling brim-middle v0.1.0 (/opt/rustwide/workdir/crates/brim_middle) [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> crates/brim_middle/src/modules.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling brim-parser v0.1.0 (/opt/rustwide/workdir/crates/brim_parser) [INFO] [stdout] warning: unused import: `PResult` [INFO] [stdout] --> crates/brim_parser/src/parser/expr.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | PResult, PToken, PTokenKind, Parser, ParsingContext, [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: `Block` [INFO] [stdout] --> crates/brim_parser/src/parser/expr.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | item::{Block, Ident}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PResult` [INFO] [stdout] --> crates/brim_parser/src/parser/generics.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | parser::{PResult, PToken, PTokenKind, Parser, errors::ExpectedClosingGenerics}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `brim_span::span::Span` [INFO] [stdout] --> crates/brim_parser/src/parser/generics.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use brim_span::span::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PResult` and `UnknownItem` [INFO] [stdout] --> crates/brim_parser/src/parser/items.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | PResult, PToken, PTokenKind, Parser, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | SelfOutsideMethod, UnknownItem, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PResult` [INFO] [stdout] --> crates/brim_parser/src/parser/stmt.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{PResult, Parser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> crates/brim_parser/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stdout] warning: value assigned to `has_else_arm` is never read [INFO] [stdout] --> crates/brim_parser/src/parser/expr.rs:551:17 [INFO] [stdout] | [INFO] [stdout] 551 | has_else_arm = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keyword` [INFO] [stdout] --> crates/brim_parser/src/parser/items.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let keyword = self.prev().span; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyword` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dhat v0.3.3 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling brim-shell v0.1.0 (/opt/rustwide/workdir/crates/brim_shell) [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling brim-config v0.1.0 (/opt/rustwide/workdir/crates/brim_config) [INFO] [stderr] Compiling brim-hir v0.1.0 (/opt/rustwide/workdir/crates/brim_hir) [INFO] [stderr] Compiling brim-cpp-compiler v0.1.0 (/opt/rustwide/workdir/crates/brim_cpp_compiler) [INFO] [stdout] warning: unused import: `modules::Module` [INFO] [stdout] --> crates/brim_hir/src/lib.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | use brim_middle::{GlobalSymbol, SymbolTable, modules::Module}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeInfo` [INFO] [stdout] --> crates/brim_hir/src/inference/method_resolver.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | scope::{TypeInfo, TypeScopeManager}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `brim_span::span::Span` [INFO] [stdout] --> crates/brim_hir/src/inference/method_resolver.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use brim_span::span::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NoVariableForMethodAccess` [INFO] [stdout] --> crates/brim_hir/src/inference/mod.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | InvalidFunctionArgCount, NoField, NoVariableForMethodAccess, OrelseExpectedOption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Expr` [INFO] [stdout] --> crates/brim_hir/src/inference/mod.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | expr::{BinOpKind, Expr, UnaryOp}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block` and `expr::Expr` [INFO] [stdout] --> crates/brim_hir/src/items.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | expr::Expr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | item::{Block, FunctionContext, Ident, Visibility}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SymbolTable` [INFO] [stdout] --> crates/brim_hir/src/transformer.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | GlobalSymbol, ModuleId, SymbolTable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> crates/brim_cpp_compiler/src/detect.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> crates/brim_cpp_compiler/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> crates/brim_hir/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `detect_gcc_or_clang` in this scope [INFO] [stdout] --> crates/brim_cpp_compiler/src/detect.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | detect_gcc_or_clang() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn detect_clang_or_gcc() -> Result { [INFO] [stdout] | -------------------------------------------- similarly named function `detect_clang_or_gcc` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 30 - detect_gcc_or_clang() [INFO] [stdout] 30 + detect_clang_or_gcc() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `brim-cpp-compiler` (lib) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/brim_hir/src/inference/method_resolver.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut item = self.idents[self.processed as usize].clone().as_member_part(); [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: `ty` [INFO] [stdout] --> crates/brim_hir/src/ty.rs:380:28 [INFO] [stdout] | [INFO] [stdout] 380 | HirTyKind::Mut(ty) => Some(Span::DUMMY), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `check_mutability` is never read [INFO] [stdout] --> crates/brim_hir/src/type_checker/expr.rs:100:44 [INFO] [stdout] | [INFO] [stdout] 100 | let mut check_mutability = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ret_ty` is never read [INFO] [stdout] --> crates/brim_hir/src/type_checker/expr.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | let mut ret_ty = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lint expectation is unfulfilled [INFO] [stdout] --> crates/brim_hir/src/builtin.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | #[expect(unused_mut, unused_variables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | / builtin_function! { [INFO] [stdout] 94 | | fn any_cast(file, a, b) { [INFO] [stdout] 95 | | if let HirExprKind::Type(ty) = &b.kind { [INFO] [stdout] 96 | | a.ty = ty.clone(); [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unfulfilled_lint_expectations)]` on by default [INFO] [stdout] = note: this warning originates in the macro `builtin_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lint expectation is unfulfilled [INFO] [stdout] --> crates/brim_hir/src/builtin.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | #[expect(unused_mut, unused_variables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | / builtin_function! { [INFO] [stdout] 110 | | fn cast(file, a, b) { [INFO] [stdout] 111 | | if let HirExprKind::Type(ty) = &b.kind { [INFO] [stdout] 112 | | a.ty = ty.clone(); [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `builtin_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "776cc106ab0105d8a34dcc0f7900a54fdf159c9bcd860ebd94d504775902c5d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "776cc106ab0105d8a34dcc0f7900a54fdf159c9bcd860ebd94d504775902c5d5", kill_on_drop: false }` [INFO] [stdout] 776cc106ab0105d8a34dcc0f7900a54fdf159c9bcd860ebd94d504775902c5d5