[INFO] cloning repository https://github.com/MatthewMacomber/aetherlang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MatthewMacomber/aetherlang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthewMacomber%2Faetherlang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthewMacomber%2Faetherlang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b36cf17b3fa57663b004d1e4cb17e2cc273f355d [INFO] testing MatthewMacomber/aetherlang against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthewMacomber%2Faetherlang" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MatthewMacomber/aetherlang [INFO] finished tweaking git repo https://github.com/MatthewMacomber/aetherlang [INFO] tweaked toml for git repo https://github.com/MatthewMacomber/aetherlang written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MatthewMacomber/aetherlang on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MatthewMacomber/aetherlang 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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mlir-sys v0.2.2 [INFO] [stderr] Downloaded melior v0.18.6 [INFO] [stderr] Downloaded tblgen-alt v0.3.6 [INFO] [stderr] Downloaded melior-macro v0.11.6 [INFO] [stderr] Downloaded comrak v0.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7df32bcdad924e17528fe2f27c1251d9f013024a3fb12e436c4675c00ed66cbe [INFO] running `Command { std: "docker" "start" "-a" "7df32bcdad924e17528fe2f27c1251d9f013024a3fb12e436c4675c00ed66cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7df32bcdad924e17528fe2f27c1251d9f013024a3fb12e436c4675c00ed66cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7df32bcdad924e17528fe2f27c1251d9f013024a3fb12e436c4675c00ed66cbe", kill_on_drop: false }` [INFO] [stdout] 7df32bcdad924e17528fe2f27c1251d9f013024a3fb12e436c4675c00ed66cbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e228a5743b53b9d70fcf4533a4d533160e8897453dad60c5bc4593584416cbe [INFO] running `Command { std: "docker" "start" "-a" "7e228a5743b53b9d70fcf4533a4d533160e8897453dad60c5bc4593584416cbe", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling is-docker v0.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling is-wsl v0.4.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling open v5.3.2 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling aether-language v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stdout] error[E0412]: cannot find type `AetherType` in this scope [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:540:52 [INFO] [stdout] | [INFO] [stdout] 540 | pub fn verify_type_compatibility(&self, from: &AetherType, to: &AetherType) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AetherType` in this scope [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:540:69 [INFO] [stdout] | [INFO] [stdout] 540 | pub fn verify_type_compatibility(&self, from: &AetherType, to: &AetherType) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MLIRError` in this scope [INFO] [stdout] --> src/compiler/mlir/error_handling.rs:504:44 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn attempt_recovery(&self, error: &MLIRError) -> Result<(), MLIRError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 4 + use crate::MLIRError; [INFO] [stdout] | [INFO] [stdout] 4 + use crate::compiler::mlir::mlir_context::MLIRError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MLIRError` in this scope [INFO] [stdout] --> src/compiler/mlir/error_handling.rs:504:69 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn attempt_recovery(&self, error: &MLIRError) -> Result<(), MLIRError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 4 + use crate::MLIRError; [INFO] [stdout] | [INFO] [stdout] 4 + use crate::compiler::mlir::mlir_context::MLIRError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RecoveryStrategy::Fallback` [INFO] [stdout] --> src/compiler/mlir/error_handling.rs:514:13 [INFO] [stdout] | [INFO] [stdout] 461 | Fallback(String), [INFO] [stdout] | ---------------- `RecoveryStrategy::Fallback` defined here [INFO] [stdout] ... [INFO] [stdout] 514 | RecoveryStrategy::Fallback => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RecoveryStrategy::Fallback(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RecoveryStrategy::Retry` [INFO] [stdout] --> src/compiler/mlir/error_handling.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 463 | Retry(HashMap), [INFO] [stdout] | ------------------------------ `RecoveryStrategy::Retry` defined here [INFO] [stdout] ... [INFO] [stdout] 522 | RecoveryStrategy::Retry => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the tuple variant pattern syntax instead [INFO] [stdout] | [INFO] [stdout] 522 | RecoveryStrategy::Retry(_) => { [INFO] [stdout] | +++ [INFO] [stdout] help: consider importing this unit variant instead [INFO] [stdout] | [INFO] [stdout] 4 + use crate::runtime::RecoveryAction::Retry; [INFO] [stdout] | [INFO] [stdout] help: if you import `Retry`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 522 - RecoveryStrategy::Retry => { [INFO] [stdout] 522 + Retry => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MLIRError` in this scope [INFO] [stdout] --> src/compiler/mlir/enhanced_mlir_integration.rs:29:48 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn recover_from_failure(&self, error: &MLIRError) -> Result<(), MLIRError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 4 + use crate::MLIRError; [INFO] [stdout] | [INFO] [stdout] 4 + use crate::compiler::mlir::mlir_context::MLIRError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MLIRError` in this scope [INFO] [stdout] --> src/compiler/mlir/enhanced_mlir_integration.rs:29:73 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn recover_from_failure(&self, error: &MLIRError) -> Result<(), MLIRError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 4 + use crate::MLIRError; [INFO] [stdout] | [INFO] [stdout] 4 + use crate::compiler::mlir::mlir_context::MLIRError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomValue` [INFO] [stdout] --> src/compiler/parser.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::compiler::ast::{AST, ASTNode, ASTNodeRef, NodeId, AtomValue}; [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: `AetherMLIRType` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::compiler::mlir::aether_types::{AetherMLIRType, AetherTypeConverter, TypeVerifier}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SymbolId` and `Symbol` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::compiler::symbol_table::{SymbolTable, Symbol, SymbolType, SymbolId}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MLIRType` [INFO] [stdout] --> src/compiler/mlir/optimization.rs:5:94 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::compiler::mlir::mlir_context::{MLIRContext, MLIRModule, MLIROperation, MLIRValue, MLIRType, MLIRAttribute}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/compiler/mlir/optimization.rs:1105:13 [INFO] [stdout] | [INFO] [stdout] 1105 | (operations_removed as f64 * 32.0)); // Estimate 32MB savings per fused op [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1105 - (operations_removed as f64 * 32.0)); // Estimate 32MB savings per fused op [INFO] [stdout] 1105 + operations_removed as f64 * 32.0); // Estimate 32MB savings per fused op [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/compiler/mlir/optimization.rs:1315:13 [INFO] [stdout] | [INFO] [stdout] 1315 | (operations_removed as f64 * 16.0)); // Estimate 16MB per removed gradient [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1315 - (operations_removed as f64 * 16.0)); // Estimate 16MB per removed gradient [INFO] [stdout] 1315 + operations_removed as f64 * 16.0); // Estimate 16MB per removed gradient [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/compiler/mlir/optimization.rs:1810:13 [INFO] [stdout] | [INFO] [stdout] 1810 | (reuse_opportunities as f64 * 8.0)); // Estimate 8MB per reuse opportunity [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1810 - (reuse_opportunities as f64 * 8.0)); // Estimate 8MB per reuse opportunity [INFO] [stdout] 1810 + reuse_opportunities as f64 * 8.0); // Estimate 8MB per reuse opportunity [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/compiler/mlir/mlir_context.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MlirAttribute as RawMlirAttribute` [INFO] [stdout] --> src/compiler/mlir/mlir_context.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | use super::bindings::{SafeMlirContext, SafeMlirModule, MlirType, MlirAttribute as RawMlirAttribute}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MLIRAttribute` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::mlir::{MLIRError, MLIRType, MLIRAttribute}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MLIRAttribute`, `MLIRError`, `MLIRType`, and `MLIRValue` [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::mlir::{MLIRError, MLIRModule, MLIROperation, MLIRValue, MLIRType, MLIRAttribute}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LLVMRelocROPI_RWPI` should have an upper camel case name [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | LLVMRelocROPI_RWPI = 6, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LlvmrelocRopiRwpi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ROPI_RWPI` should have an upper camel case name [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 466 | ROPI_RWPI, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `RopiRwpi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ASTNode` [INFO] [stdout] --> src/compiler/mlir/error_handling.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::compiler::ast::{NodeId, ASTNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SourceLocation` [INFO] [stdout] --> src/compiler/mlir/error_recovery.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | MLIRCompilationError, RecoveryStrategy, RecoveryContext, ErrorSeverity, SourceLocation [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MLIRModule` [INFO] [stdout] --> src/compiler/mlir/error_recovery.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::compiler::mlir::{MLIRModule, MLIROperation, MLIRError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MLIRError` [INFO] [stdout] --> src/compiler/mlir/debug_utils.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::compiler::mlir::{MLIRModule, MLIROperation, MLIRError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SourceLocation` [INFO] [stdout] --> src/compiler/mlir/debug_utils.rs:10:67 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::compiler::mlir::error_handling::{MLIRCompilationError, SourceLocation}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/compiler/mlir/minimal_mlir.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VerificationErrorType` and `VerificationError` [INFO] [stdout] --> src/compiler/mlir/minimal_mlir.rs:8:83 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::compiler::mlir::error_handling::{MLIRCompilationError, SourceLocation, VerificationError, VerificationErrorType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/compiler/mlir/enhanced_mlir_integration.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MinimalMLIRType` and `MinimalMLIRValue` [INFO] [stdout] --> src/compiler/mlir/enhanced_mlir_integration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | MinimalMLIRType, MinimalMLIRAttribute, MinimalMLIRValue [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/compiler/mlir/mod.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub use dialect::*; [INFO] [stdout] | ^^^^^^^^^^ the name `AetherDialect` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 73 | pub use minimal_mlir::*; [INFO] [stdout] | --------------- but the name `AetherDialect` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/compiler/mlir/mod.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub use dialect::*; [INFO] [stdout] | ^^^^^^^^^^ the name `AetherMLIRType` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 68 | pub use aether_types::*; [INFO] [stdout] | --------------- but the name `AetherMLIRType` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/compiler/mlir/mod.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub use dialect::*; [INFO] [stdout] | ^^^^^^^^^^ the name `DistributionType` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 68 | pub use aether_types::*; [INFO] [stdout] | --------------- but the name `DistributionType` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/compiler/mlir/mod.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub use dialect::*; [INFO] [stdout] | ^^^^^^^^^^ the name `LinearOwnershipInfo` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 68 | pub use aether_types::*; [INFO] [stdout] | --------------- but the name `LinearOwnershipInfo` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/compiler/mlir/mod.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub use dialect::*; [INFO] [stdout] | ^^^^^^^^^^ the name `AetherFunctionAttributes` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 68 | pub use aether_types::*; [INFO] [stdout] | --------------- but the name `AetherFunctionAttributes` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/compiler/mlir/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub use lowering::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `TypeConverter` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 66 | pub use mlir_context::*; [INFO] [stdout] | --------------- but the name `TypeConverter` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkingResult` [INFO] [stdout] --> src/compiler/compilation_pipeline.rs:6:59 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::runtime::executable_linker::{ExecutableLinker, LinkingResult, LinkingError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/compiler/compilation_pipeline.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeCheckContext` [INFO] [stdout] --> src/compiler/mlir_integration.rs:6:49 [INFO] [stdout] | [INFO] [stdout] 6 | type_checker::{TypeChecker, TypeCheckError, TypeCheckContext}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::types::Type` [INFO] [stdout] --> src/runtime/tensor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::compiler::types::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AutodiffRuntime`, `MemoryManager`, `ProbabilisticRuntime`, and `TensorRuntime` [INFO] [stdout] --> src/runtime/runtime_library.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::runtime::{AetherRuntime, RuntimeError, MemoryManager, TensorRuntime, AutodiffRuntime, ProbabilisticRuntime}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TensorDevice`, `TensorError`, `TensorResult`, and `Tensor` [INFO] [stdout] --> src/runtime/runtime_library.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::runtime::tensor::{Tensor, TensorResult, TensorError, TensorDType, TensorDevice}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OperationParam` and `OperationParams` [INFO] [stdout] --> src/runtime/runtime_library.rs:6:53 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::runtime::tensor_ops::{TensorOpsRegistry, OperationParams, OperationParam}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CString` [INFO] [stdout] --> src/runtime/runtime_library.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_float` [INFO] [stdout] --> src/runtime/runtime_library.rs:9:43 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::raw::{c_char, c_void, c_int, c_float, c_double}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DebugConfig` and `LTOConfig` [INFO] [stdout] --> src/runtime/executable_linker.rs:4:61 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::runtime::runtime_linking::{RuntimeLinkingConfig, LTOConfig, DebugConfig}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/runtime/executable_linker.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/runtime/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use native_runtime::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the name `AllocationInfo` in the type namespace is first re-exported here [INFO] [stdout] 21 | pub use error_handling::*; [INFO] [stdout] | ----------------- but the name `AllocationInfo` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TestStatus` [INFO] [stdout] --> src/testing/mlir_test_runner.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::testing::{TestResult, TestStatus, TestContext, TestCase, TestSuite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/testing/file_compilation_testing.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/testing/cargo_integration.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CacheError` [INFO] [stdout] --> src/testing/cargo_integration.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | use super::test_cache::{TestCache, CacheConfig, CacheError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/testing/test_cache.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/testing/test_cache.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aether_compiler_helpers` [INFO] [stdout] --> src/cli/workflow_cli.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | aether_compiler_helpers, ErrorType, ErrorSeverity [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `failed_count` is assigned to, but never used [INFO] [stdout] --> src/testing/file_compilation_testing.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 528 | let mut failed_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_failed_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `failed_count` is assigned to, but never used [INFO] [stdout] --> src/testing/file_compilation_testing.rs:617:17 [INFO] [stdout] | [INFO] [stdout] 617 | let mut failed_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_failed_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_memory` [INFO] [stdout] --> src/testing/file_compilation_testing.rs:4695:25 [INFO] [stdout] | [INFO] [stdout] 4695 | if let Some(max_memory) = self.max_memory_mb { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/testing/file_compilation_testing.rs:4703:13 [INFO] [stdout] | [INFO] [stdout] 4703 | let mut child = command.spawn().map_err(|e| { [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: variable does not need to be mutable [INFO] [stdout] --> src/testing/cargo_integration.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut modified_config = testing_config; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `verify_operation` [INFO] [stdout] --> src/compiler/mlir/minimal_mlir.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn verify_operation(&self, op: &MinimalMLIROperation) -> Result<(), MinimalMLIRError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `verify_operation` [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn verify_operation(&self, op: &MinimalMLIROperation) -> Result<(), MinimalMLIRError> { [INFO] [stdout] | ----------------------------------------------------------------------------------------- other definition for `verify_operation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `aether_to_mlir_type` found for struct `AetherTypeConverter` in the current scope [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:542:40 [INFO] [stdout] | [INFO] [stdout] 254 | pub struct AetherTypeConverter { [INFO] [stdout] | ------------------------------ method `aether_to_mlir_type` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 542 | let from_mlir = self.converter.aether_to_mlir_type(from)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `mlir_to_mlir_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 542 - let from_mlir = self.converter.aether_to_mlir_type(from)?; [INFO] [stdout] 542 + let from_mlir = self.converter.mlir_to_mlir_type(from)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `aether_to_mlir_type` found for struct `AetherTypeConverter` in the current scope [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:543:38 [INFO] [stdout] | [INFO] [stdout] 254 | pub struct AetherTypeConverter { [INFO] [stdout] | ------------------------------ method `aether_to_mlir_type` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 543 | let to_mlir = self.converter.aether_to_mlir_type(to)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `mlir_to_mlir_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 543 - let to_mlir = self.converter.aether_to_mlir_type(to)?; [INFO] [stdout] 543 + let to_mlir = self.converter.mlir_to_mlir_type(to)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0533]: expected value, found struct variant `MinimalMLIRType::Integer` [INFO] [stdout] --> src/compiler/mlir/minimal_mlir.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | "i32" => Some(MinimalMLIRType::Integer(32)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: you might have meant to create a new value of the struct [INFO] [stdout] | [INFO] [stdout] 168 - "i32" => Some(MinimalMLIRType::Integer(32)), [INFO] [stdout] 168 + "i32" => Some(MinimalMLIRType::Integer { width: /* value */, signed: /* value */ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0533]: expected value, found struct variant `MinimalMLIRType::Float` [INFO] [stdout] --> src/compiler/mlir/minimal_mlir.rs:169:27 [INFO] [stdout] | [INFO] [stdout] 169 | "f32" => Some(MinimalMLIRType::Float(32)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: you might have meant to create a new value of the struct [INFO] [stdout] | [INFO] [stdout] 169 - "f32" => Some(MinimalMLIRType::Float(32)), [INFO] [stdout] 169 + "f32" => Some(MinimalMLIRType::Float { width: /* value */ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidOperation` found for enum `MinimalMLIRError` in the current scope [INFO] [stdout] --> src/compiler/mlir/minimal_mlir.rs:186:42 [INFO] [stdout] | [INFO] [stdout] 186 | return Err(MinimalMLIRError::InvalidOperation("Empty operation name".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `MinimalMLIRError` [INFO] [stdout] ... [INFO] [stdout] 194 | pub enum MinimalMLIRError { [INFO] [stdout] | ------------------------- variant or associated item `InvalidOperation` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/compiler/mlir/minimal_mlir.rs:352:18 [INFO] [stdout] | [INFO] [stdout] 352 | self.verify_operation(op)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `verify_operation` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `MinimalMLIRContext` [INFO] [stdout] --> src/compiler/mlir/minimal_mlir.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn verify_operation(&self, op: &MinimalMLIROperation) -> Result<(), MinimalMLIRError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `MinimalMLIRContext` [INFO] [stdout] --> src/compiler/mlir/minimal_mlir.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn verify_operation(&self, op: &MinimalMLIROperation) -> Result<(), MinimalMLIRError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/compiler/mlir/enhanced_mlir_integration.rs:169:22 [INFO] [stdout] | [INFO] [stdout] 169 | self.context.verify_operation(op).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `verify_operation` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `MinimalMLIRContext` [INFO] [stdout] --> src/compiler/mlir/minimal_mlir.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn verify_operation(&self, op: &MinimalMLIROperation) -> Result<(), MinimalMLIRError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `MinimalMLIRContext` [INFO] [stdout] --> src/compiler/mlir/minimal_mlir.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn verify_operation(&self, op: &MinimalMLIROperation) -> Result<(), MinimalMLIRError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_current_operation` found for struct `ValidationContext` in the current scope [INFO] [stdout] --> src/compiler/validation.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ValidationContext { [INFO] [stdout] | ---------------------------- method `set_current_operation` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 167 | self.context.set_current_operation("balanced_parens_check"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `in_current_span` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.41/src/instrument.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | fn in_current_span(self) -> Instrumented { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accepted` is assigned to, but never used [INFO] [stdout] --> src/compiler/probabilistic.rs:670:17 [INFO] [stdout] | [INFO] [stdout] 670 | let mut accepted = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_accepted` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/bindings.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | unsafe { mlirLocationUnknownGet(self.context) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/bindings.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | unsafe { mlirLocationFileLineColGet(self.context, filename_ref, line, col) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/bindings.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | unsafe { mlirIntegerTypeGet(self.context, 32) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/bindings.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | unsafe { mlirIntegerTypeGet(self.context, 64) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/bindings.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | unsafe { mlirFloat32TypeGet(self.context) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/bindings.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe { mlirFloat64TypeGet(self.context) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/bindings.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | unsafe { mlirIndexTypeGet(self.context) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/bindings.rs:410:25 [INFO] [stdout] | [INFO] [stdout] 410 | let null_attr = unsafe { mlirAttributeGetNull() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/bindings.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/bindings.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | unsafe { mlirStringAttrGet(self.context, str_ref) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/bindings.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | unsafe { mlirBoolAttrGet(self.context, value) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/bindings.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | unsafe { mlirContextDestroy(self.context) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/bindings.rs:446:22 [INFO] [stdout] | [INFO] [stdout] 446 | let module = unsafe { mlirModuleCreateEmpty(location) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/bindings.rs:469:24 [INFO] [stdout] | [INFO] [stdout] 469 | let is_valid = unsafe { mlirModuleVerify(self.module) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/bindings.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | unsafe { mlirModuleGetOperation(self.module) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/bindings.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | unsafe { mlirModuleDestroy(self.module) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(node) = ast.nodes.get(id) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:202:96 [INFO] [stdout] | [INFO] [stdout] 202 | ...::compiler::ast::GraphEdge], labels: &HashMap, module: &mut MLIRModule) -> Result, MLIRError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_value` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | let initial_value = self.traverse_node_ref(&args[1], module)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_id` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | let var_id = self.symbol_table.add_symbol(name.clone(), SymbolType::Variable); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `then_result` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | let then_result = self.traverse_node_ref(&args[1], module)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_then_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_result` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | let else_result = if args.len() > 2 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | let condition = self.traverse_node_ref(&args[0], module)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_result` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | let body_result = self.traverse_node_ref(&args[1], module)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/mlir/frontend.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | let mut while_op = MLIROperation::new("scf.while".to_string()); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loop_var` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | let loop_var = if let Some(ASTNode::Atom(AtomValue::Symbol(name))) = self.resolve_node_ref(&args[0]) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_result` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:486:13 [INFO] [stdout] | [INFO] [stdout] 486 | let body_result = self.traverse_node_ref(&args[3], module)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_name` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:2137:50 [INFO] [stdout] | [INFO] [stdout] 2137 | Some(ASTNode::Atom(AtomValue::Symbol(type_name))) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:2373:13 [INFO] [stdout] | [INFO] [stdout] 2373 | let context = &self.context; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_value` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:2399:13 [INFO] [stdout] | [INFO] [stdout] 2399 | let initial_value = if let Some(value_node) = self.resolve_node_ref(&args[1]) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:2406:13 [INFO] [stdout] | [INFO] [stdout] 2406 | let context = &self.context; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand_refs` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:2442:13 [INFO] [stdout] | [INFO] [stdout] 2442 | let operand_refs: Vec<&str> = operands.iter().map(|s| s.as_str()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand_refs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:2444:13 [INFO] [stdout] | [INFO] [stdout] 2444 | let context = &self.context; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_type` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:2446:13 [INFO] [stdout] | [INFO] [stdout] 2446 | let result_type = MLIRType::AetherTensor { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_refs` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:2512:13 [INFO] [stdout] | [INFO] [stdout] 2512 | let param_refs: Vec<&str> = parameters.iter().map(|s| s.as_str()).collect(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_refs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:2514:13 [INFO] [stdout] | [INFO] [stdout] 2514 | let context = &self.context; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_type` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:2516:13 [INFO] [stdout] | [INFO] [stdout] 2516 | let result_type = MLIRType::AetherProbabilistic { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compiler/mlir/frontend.rs:2544:13 [INFO] [stdout] | [INFO] [stdout] 2544 | let context = &self.context; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand` [INFO] [stdout] --> src/compiler/mlir/lowering.rs:1226:17 [INFO] [stdout] | [INFO] [stdout] 1226 | for (i, operand) in op.operands.iter().skip(1).enumerate() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/mlir/lowering.rs:1553:21 [INFO] [stdout] | [INFO] [stdout] 1553 | let mut free_call = self.lower_memref_dealloc(op)?; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand` [INFO] [stdout] --> src/compiler/mlir/lowering.rs:1734:17 [INFO] [stdout] | [INFO] [stdout] 1734 | for (i, operand) in op.operands.iter().skip(1).enumerate() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/compiler/mlir/lowering.rs:1941:35 [INFO] [stdout] | [INFO] [stdout] 1941 | fn lower_scf_while(&mut self, op: &MLIROperation) -> Result, LoweringError> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `operations_modified` is never read [INFO] [stdout] --> src/compiler/mlir/optimization.rs:1277:17 [INFO] [stdout] | [INFO] [stdout] 1277 | let mut operations_modified = 0; [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 `operations_modified` is never read [INFO] [stdout] --> src/compiler/mlir/optimization.rs:1498:17 [INFO] [stdout] | [INFO] [stdout] 1498 | let mut operations_modified = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alloc_pos` [INFO] [stdout] --> src/compiler/mlir/optimization.rs:1683:24 [INFO] [stdout] | [INFO] [stdout] 1683 | for (var_name, alloc_pos) in &analysis.allocations { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alloc_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `operations_modified` is never read [INFO] [stdout] --> src/compiler/mlir/optimization.rs:1763:17 [INFO] [stdout] | [INFO] [stdout] 1763 | let mut operations_modified = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/compiler/mlir/mlir_context.rs:263:40 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn register_dialect(&mut self, name: &str) -> Result<(), MLIRError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/compiler/mlir/mlir_context.rs:292:16 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/compiler/mlir/mlir_context.rs:717:33 [INFO] [stdout] | [INFO] [stdout] 717 | MLIRType::Integer { width, .. } => { [INFO] [stdout] | ^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_differentiable` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:273:59 [INFO] [stdout] | [INFO] [stdout] 273 | AetherMLIRType::Tensor { element_type, shape, is_differentiable, device, memory_layout } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try ignoring the field: `is_differentiable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_layout` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:273:86 [INFO] [stdout] | [INFO] [stdout] 273 | AetherMLIRType::Tensor { element_type, shape, is_differentiable, device, memory_layout } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `memory_layout: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inference_method` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:290:79 [INFO] [stdout] | [INFO] [stdout] 290 | AetherMLIRType::ProbabilisticVariable { distribution, value_type, inference_method } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `inference_method: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ownership_info` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:301:54 [INFO] [stdout] | [INFO] [stdout] 301 | AetherMLIRType::LinearType { inner_type, ownership_info, lifetime_info } => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `ownership_info: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lifetime_info` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:301:70 [INFO] [stdout] | [INFO] [stdout] 301 | AetherMLIRType::LinearType { inner_type, ownership_info, lifetime_info } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `lifetime_info: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mailbox_capacity` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:311:67 [INFO] [stdout] | [INFO] [stdout] 311 | AetherMLIRType::ActorType { message_type, state_type, mailbox_capacity } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `mailbox_capacity: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:323:57 [INFO] [stdout] | [INFO] [stdout] 323 | AetherMLIRType::Function { inputs, outputs, attributes } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `attributes: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:339:52 [INFO] [stdout] | [INFO] [stdout] 339 | AetherMLIRType::Dependent { base_type, parameters, constraints } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | AetherMLIRType::Union { name, variants, tag_type } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag_type` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:351:53 [INFO] [stdout] | [INFO] [stdout] 351 | AetherMLIRType::Union { name, variants, tag_type } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `tag_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:361:38 [INFO] [stdout] | [INFO] [stdout] 361 | AetherMLIRType::Struct { name, fields, is_packed } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_packed` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:361:52 [INFO] [stdout] | [INFO] [stdout] 361 | AetherMLIRType::Struct { name, fields, is_packed } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_packed: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operands` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:591:36 [INFO] [stdout] | [INFO] [stdout] 591 | fn verify_tensor_create(&self, operands: &[AetherMLIRType], results: &[AetherMLIRType]) -> Result<(), MLIRError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:651:60 [INFO] [stdout] | [INFO] [stdout] 651 | fn verify_autodiff(&self, operands: &[AetherMLIRType], results: &[AetherMLIRType]) -> Result<(), MLIRError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operands` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:667:31 [INFO] [stdout] | [INFO] [stdout] 667 | fn verify_prob_var(&self, operands: &[AetherMLIRType], results: &[AetherMLIRType]) -> Result<(), MLIRError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operands` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:697:35 [INFO] [stdout] | [INFO] [stdout] 697 | fn verify_linear_alloc(&self, operands: &[AetherMLIRType], results: &[AetherMLIRType]) -> Result<(), MLIRError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operands` [INFO] [stdout] --> src/compiler/mlir/aether_types.rs:722:34 [INFO] [stdout] | [INFO] [stdout] 722 | fn verify_spawn_actor(&self, operands: &[AetherMLIRType], results: &[AetherMLIRType]) -> Result<(), MLIRError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:747:9 [INFO] [stdout] | [INFO] [stdout] 747 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:756:28 [INFO] [stdout] | [INFO] [stdout] 756 | let llvm_context = unsafe { LLVMContextCreate() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:764:23 [INFO] [stdout] | [INFO] [stdout] 764 | let builder = unsafe { LLVMCreateBuilderInContext(llvm_context) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:766:13 [INFO] [stdout] | [INFO] [stdout] 766 | unsafe { LLVMContextDispose(llvm_context) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:799:27 [INFO] [stdout] | [INFO] [stdout] 799 | let llvm_module = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:1242:22 [INFO] [stdout] | [INFO] [stdout] 1242 | let result = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:1250:17 [INFO] [stdout] | [INFO] [stdout] 1250 | unsafe { LLVMDisposeMessage(error_message) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:1270:32 [INFO] [stdout] | [INFO] [stdout] 1270 | let pass_manager = unsafe { LLVMCreatePassManager() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:1286:22 [INFO] [stdout] | [INFO] [stdout] 1286 | let result = unsafe { LLVMRunPassManager(pass_manager, llvm_module) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:1305:32 [INFO] [stdout] | [INFO] [stdout] 1305 | let pass_manager = unsafe { LLVMCreatePassManager() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:1320:22 [INFO] [stdout] | [INFO] [stdout] 1320 | let result = unsafe { LLVMRunPassManager(pass_manager, llvm_module) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:1333:9 [INFO] [stdout] | [INFO] [stdout] 1333 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:1402:9 [INFO] [stdout] | [INFO] [stdout] 1402 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:1433:9 [INFO] [stdout] | [INFO] [stdout] 1433 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:1551:22 [INFO] [stdout] | [INFO] [stdout] 1551 | let result = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:1565:17 [INFO] [stdout] | [INFO] [stdout] 1565 | unsafe { LLVMDisposeMessage(error_message) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:1585:23 [INFO] [stdout] | [INFO] [stdout] 1585 | let ir_cstr = unsafe { LLVMPrintModuleToString(llvm_module) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:1973:22 [INFO] [stdout] | [INFO] [stdout] 1973 | let result = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:1987:17 [INFO] [stdout] | [INFO] [stdout] 1987 | unsafe { LLVMDisposeMessage(error_message) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:2019:22 [INFO] [stdout] | [INFO] [stdout] 2019 | let result = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:2033:17 [INFO] [stdout] | [INFO] [stdout] 2033 | unsafe { LLVMDisposeMessage(error_message) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:2255:13 [INFO] [stdout] | [INFO] [stdout] 2255 | unsafe { LLVMDisposePassManager(pass_manager) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:2259:13 [INFO] [stdout] | [INFO] [stdout] 2259 | unsafe { LLVMDisposeTargetMachine(target_machine) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:2263:13 [INFO] [stdout] | [INFO] [stdout] 2263 | unsafe { LLVMDisposeModule(llvm_module) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:2267:13 [INFO] [stdout] | [INFO] [stdout] 2267 | unsafe { LLVMDisposeBuilder(self.builder) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/compiler/mlir/llvm_codegen.rs:2271:13 [INFO] [stdout] | [INFO] [stdout] 2271 | unsafe { LLVMContextDispose(self.llvm_context) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/compiler/mlir/error_recovery.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | error: &MLIRCompilationError [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deserializer` [INFO] [stdout] --> src/compiler/mlir/debug_utils.rs:558:23 [INFO] [stdout] | [INFO] [stdout] 558 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deserializer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deserializer` [INFO] [stdout] --> src/compiler/mlir/debug_utils.rs:619:23 [INFO] [stdout] | [INFO] [stdout] 619 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deserializer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialect_name` [INFO] [stdout] --> src/compiler/mlir/enhanced_mlir_integration.rs:349:29 [INFO] [stdout] | [INFO] [stdout] 349 | if let Some(dialect_name) = name.split('.').next() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialect_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj_path` [INFO] [stdout] --> src/compiler/codegen.rs:620:54 [INFO] [stdout] | [INFO] [stdout] 620 | pub fn link_object_to_executable_with_ast(&self, obj_path: &Path, exe_path: &Path, ast: Option<&AST>) -> Result<(), CodegenError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_obj_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_file` [INFO] [stdout] --> src/compiler/compilation_pipeline.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let ir_file = self.generate_llvm_ir_file(&mut intermediate_files)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asm_file` [INFO] [stdout] --> src/compiler/compilation_pipeline.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let asm_file = self.generate_assembly_file(&mut intermediate_files)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asm_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/compilation_pipeline.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | let mut errors = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/compilation_pipeline.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | let mut warnings = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column` [INFO] [stdout] --> src/compiler/validation.rs:241:21 [INFO] [stdout] | [INFO] [stdout] 241 | let column = col_num + 1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_column` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `suggestion_text` [INFO] [stdout] --> src/compiler/validation.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | let suggestion_text = if suggestions.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_suggestion_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/compiler/validation.rs:769:22 [INFO] [stdout] | [INFO] [stdout] 769 | for (i, elem_ref) in elements.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime/memory_layout.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let mut optimized_tensor = tensor.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime/memory_layout.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let mut optimized_tensor = tensor.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/runtime/runtime_library.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | let shape = unsafe { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tensor_dtype` [INFO] [stdout] --> src/runtime/runtime_library.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | let tensor_dtype = match dtype { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tensor_dtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/runtime/runtime_library.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | params: *const c_void [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_count` [INFO] [stdout] --> src/runtime/runtime_library.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 414 | param_count: usize [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `observed_value` [INFO] [stdout] --> src/runtime/runtime_library.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | observed_value: c_double [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_observed_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evidence` [INFO] [stdout] --> src/runtime/runtime_library.rs:444:5 [INFO] [stdout] | [INFO] [stdout] 444 | evidence: *const c_void, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_evidence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/runtime/runtime_library.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | query: *const c_void [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_fn` [INFO] [stdout] --> src/runtime/runtime_library.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | actor_fn: extern "C" fn(*mut c_void) -> *mut c_void, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_state` [INFO] [stdout] --> src/runtime/runtime_library.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | initial_state: *mut c_void [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/runtime/runtime_library.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 528 | let stats = memory_manager.get_stats(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stdlib/string.rs:632:46 [INFO] [stdout] | [INFO] [stdout] 632 | while let Some((new_pos, mut inner_groups)) = self.match_pattern(inner, chars, current_pos) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_error` is assigned to, but never used [INFO] [stdout] --> src/testing/property_testing.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | let mut current_error = original_error.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_current_error` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_error` is never read [INFO] [stdout] --> src/testing/property_testing.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | current_error = error; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `success` is never read [INFO] [stdout] --> src/build_system/aether_compiler.rs:540:25 [INFO] [stdout] | [INFO] [stdout] 540 | success = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/build_system/windows.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | let mut errors = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0412, E0532, E0533, E0592, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aether-language` (lib) due to 17 previous errors; 175 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7e228a5743b53b9d70fcf4533a4d533160e8897453dad60c5bc4593584416cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e228a5743b53b9d70fcf4533a4d533160e8897453dad60c5bc4593584416cbe", kill_on_drop: false }` [INFO] [stdout] 7e228a5743b53b9d70fcf4533a4d533160e8897453dad60c5bc4593584416cbe