[INFO] cloning repository https://github.com/Bangboom030518/M-Compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bangboom030518/M-Compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBangboom030518%2FM-Compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBangboom030518%2FM-Compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 912b3f32e675b805bc6273947c7a238e38f63a53 [INFO] checking Bangboom030518/M-Compiler/912b3f32e675b805bc6273947c7a238e38f63a53 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBangboom030518%2FM-Compiler" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bangboom030518/M-Compiler on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bangboom030518/M-Compiler [INFO] finished tweaking git repo https://github.com/Bangboom030518/M-Compiler [INFO] tweaked toml for git repo https://github.com/Bangboom030518/M-Compiler written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Bangboom030518/M-Compiler 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-5-tc1/source/Cargo.toml: unused manifest key: workspace.default-run [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cranelift-module v0.111.0 [INFO] [stderr] Downloaded cranelift-isle v0.111.0 [INFO] [stderr] Downloaded cranelift v0.111.0 [INFO] [stderr] Downloaded wasmtime-jit-icache-coherence v24.0.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.111.0 [INFO] [stderr] Downloaded cranelift-entity v0.111.0 [INFO] [stderr] Downloaded cranelift-bitset v0.111.0 [INFO] [stderr] Downloaded cranelift-control v0.111.0 [INFO] [stderr] Downloaded cranelift-native v0.111.0 [INFO] [stderr] Downloaded cranelift-jit v0.111.0 [INFO] [stderr] Downloaded cranelift-reader v0.111.0 [INFO] [stderr] Downloaded cranelift-frontend v0.111.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.111.0 [INFO] [stderr] Downloaded cranelift-bforest v0.111.0 [INFO] [stderr] Downloaded cranelift-codegen v0.111.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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21c5a4c4e47e07fb0004eaa75f116796f2c6d625d4485735953d5b5e25f752ec [INFO] running `Command { std: "docker" "start" "-a" "21c5a4c4e47e07fb0004eaa75f116796f2c6d625d4485735953d5b5e25f752ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21c5a4c4e47e07fb0004eaa75f116796f2c6d625d4485735953d5b5e25f752ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21c5a4c4e47e07fb0004eaa75f116796f2c6d625d4485735953d5b5e25f752ec", kill_on_drop: false }` [INFO] [stdout] 21c5a4c4e47e07fb0004eaa75f116796f2c6d625d4485735953d5b5e25f752ec [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a076bad826a20fd4421bd9d9710bf70b03bfda49ccaf5356558878bdababd426 [INFO] running `Command { std: "docker" "start" "-a" "a076bad826a20fd4421bd9d9710bf70b03bfda49ccaf5356558878bdababd426", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.default-run [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling cranelift-isle v0.111.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.111.0 [INFO] [stderr] Checking hashbrown v0.14.1 [INFO] [stderr] Checking cranelift-bitset v0.111.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking bumpalo v3.13.0 [INFO] [stderr] Checking cranelift-control v0.111.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.111.0 [INFO] [stderr] Checking cranelift-entity v0.111.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking proc-macro2 v1.0.78 [INFO] [stderr] Checking cranelift-bforest v0.111.0 [INFO] [stderr] Checking indexmap v2.0.2 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v24.0.0 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling cranelift-codegen v0.111.0 [INFO] [stderr] Compiling bitfields v0.1.0 (/opt/rustwide/workdir/bitfields) [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Checking regalloc2 v0.9.3 [INFO] [stderr] Checking tokenizer v0.1.0 (/opt/rustwide/workdir/tokenizer) [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> tokenizer/src/lib.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | .intersperse_with(|| ", ".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse_with(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse_with` [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(iter_intersperse)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> tokenizer/src/lib.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | .intersperse_with(|| ", ".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse_with(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse_with` [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(iter_intersperse)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cranelift-frontend v0.111.0 [INFO] [stderr] Checking cranelift-native v0.111.0 [INFO] [stderr] Checking cranelift-module v0.111.0 [INFO] [stderr] Checking cranelift-reader v0.111.0 [INFO] [stderr] Checking cranelift-jit v0.111.0 [INFO] [stderr] Checking cranelift v0.111.0 [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir/parser) [INFO] [stdout] warning: unexpected `cfg` condition name: `ignore` [INFO] [stdout] --> parser/src/lib.rs:191:7 [INFO] [stdout] | [INFO] [stdout] 191 | #[cfg(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ignore)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ignore)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericArgument` [INFO] [stdout] --> parser/src/expression.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Error, GenericArgument, Ident, Parse, Type}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ignore` [INFO] [stdout] --> parser/src/expression/control_flow.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ignore)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ignore)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ignore` [INFO] [stdout] --> parser/src/top_level.rs:497:7 [INFO] [stdout] | [INFO] [stdout] 497 | #[cfg(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ignore)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ignore)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ignore` [INFO] [stdout] --> parser/src/lib.rs:191:7 [INFO] [stdout] | [INFO] [stdout] 191 | #[cfg(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ignore)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ignore)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericArgument` [INFO] [stdout] --> parser/src/expression.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Error, GenericArgument, Ident, Parse, Type}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ignore` [INFO] [stdout] --> parser/src/expression/control_flow.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ignore)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ignore)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ignore` [INFO] [stdout] --> parser/src/top_level.rs:497:7 [INFO] [stdout] | [INFO] [stdout] 497 | #[cfg(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ignore)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ignore)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> compiler/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> compiler/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> compiler/src/declarations.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | SemanticError::DeclarationNotFound(todo!("'{name}' not found error")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> compiler/src/declarations.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | SemanticError::DeclarationNotFound(todo!("'{name}' not found error")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> compiler/src/translate.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | layout: &Layout, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> compiler/src/translate.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | layout: &Layout, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> compiler/src/main.rs:164:52 [INFO] [stdout] | [INFO] [stdout] 164 | ParseError::UnexpectedIdentifier { expected, found } => todo!("unexpected ident"), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `expected: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found` [INFO] [stdout] --> compiler/src/main.rs:164:62 [INFO] [stdout] | [INFO] [stdout] 164 | ParseError::UnexpectedIdentifier { expected, found } => todo!("unexpected ident"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `found: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> compiler/src/main.rs:164:52 [INFO] [stdout] | [INFO] [stdout] 164 | ParseError::UnexpectedIdentifier { expected, found } => todo!("unexpected ident"), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `expected: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found` [INFO] [stdout] --> compiler/src/main.rs:164:62 [INFO] [stdout] | [INFO] [stdout] 164 | ParseError::UnexpectedIdentifier { expected, found } => todo!("unexpected ident"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `found: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FunctionCompiler` is more private than the item `Internal::compile` [INFO] [stdout] --> compiler/src/function.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | / pub fn compile( [INFO] [stdout] 208 | | &self, [INFO] [stdout] 209 | | declarations: &mut Declarations, [INFO] [stdout] 210 | | cranelift_context: &mut CraneliftContext, [INFO] [stdout] 211 | | function_compiler: &mut crate::FunctionCompiler, [INFO] [stdout] 212 | | ) -> Result<(), SemanticError> { [INFO] [stdout] | |__________________________________^ method `Internal::compile` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `FunctionCompiler` is only usable at visibility `pub(crate)` [INFO] [stdout] --> compiler/src/main.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | struct FunctionCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expect_type` and `expect_type_alias` are never used [INFO] [stdout] --> compiler/src/declarations.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 169 | impl Declaration { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub const fn expect_type(&self) -> Result<&Type, SemanticError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn expect_type_alias(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FunctionCompiler` is more private than the item `Internal::compile` [INFO] [stdout] --> compiler/src/function.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | / pub fn compile( [INFO] [stdout] 208 | | &self, [INFO] [stdout] 209 | | declarations: &mut Declarations, [INFO] [stdout] 210 | | cranelift_context: &mut CraneliftContext, [INFO] [stdout] 211 | | function_compiler: &mut crate::FunctionCompiler, [INFO] [stdout] 212 | | ) -> Result<(), SemanticError> { [INFO] [stdout] | |__________________________________^ method `Internal::compile` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `FunctionCompiler` is only usable at visibility `pub(crate)` [INFO] [stdout] --> compiler/src/main.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | struct FunctionCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expect_type` and `expect_type_alias` are never used [INFO] [stdout] --> compiler/src/declarations.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 169 | impl Declaration { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub const fn expect_type(&self) -> Result<&Type, SemanticError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn expect_type_alias(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.65s [INFO] running `Command { std: "docker" "inspect" "a076bad826a20fd4421bd9d9710bf70b03bfda49ccaf5356558878bdababd426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a076bad826a20fd4421bd9d9710bf70b03bfda49ccaf5356558878bdababd426", kill_on_drop: false }` [INFO] [stdout] a076bad826a20fd4421bd9d9710bf70b03bfda49ccaf5356558878bdababd426