[INFO] cloning repository https://github.com/Tom-game-project/Lichen-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tom-game-project/Lichen-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTom-game-project%2FLichen-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTom-game-project%2FLichen-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdbad36786ced9c6ccdcb2746b5a2b7994d7048e [INFO] testing Tom-game-project/Lichen-lang against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTom-game-project%2FLichen-lang" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Tom-game-project/Lichen-lang [INFO] finished tweaking git repo https://github.com/Tom-game-project/Lichen-lang [INFO] tweaked toml for git repo https://github.com/Tom-game-project/Lichen-lang written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Tom-game-project/Lichen-lang on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Tom-game-project/Lichen-lang 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d44e09567c3ea080f61b23f27c59e5667c7bf6e8a1f1bbc0c5787563642c99d [INFO] running `Command { std: "docker" "start" "-a" "7d44e09567c3ea080f61b23f27c59e5667c7bf6e8a1f1bbc0c5787563642c99d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d44e09567c3ea080f61b23f27c59e5667c7bf6e8a1f1bbc0c5787563642c99d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d44e09567c3ea080f61b23f27c59e5667c7bf6e8a1f1bbc0c5787563642c99d", kill_on_drop: false }` [INFO] [stdout] 7d44e09567c3ea080f61b23f27c59e5667c7bf6e8a1f1bbc0c5787563642c99d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 793a8051874c4684e25db6bccee05fa231636cad208de8c5c14f3cd2e24abdb9 [INFO] running `Command { std: "docker" "start" "-a" "793a8051874c4684e25db6bccee05fa231636cad208de8c5c14f3cd2e24abdb9", kill_on_drop: false }` [INFO] [stderr] Compiling lichen-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `wasm_instructions` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum wasm_instructions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WasmInstructions` [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 `local_get` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | local_get, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LocalGet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `local_set` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | local_set, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LocalSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `const_i32` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | const_i32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ConstI32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `add_i32` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | add_i32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AddI32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `const_i64` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | const_i64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ConstI64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `add_i64` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | add_i64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AddI64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `const_f32` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | const_f32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ConstF32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `const_f64` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | const_f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ConstF64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Wasm_gen` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub trait Wasm_gen { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `WasmGen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::abs::gen::*` [INFO] [stdout] --> src/token/func.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::abs::gen::*; [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: `crate::errors::generate_errors::GenerateError` [INFO] [stdout] --> src/token/func.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::errors::generate_errors::GenerateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::abs::gen::Wasm_gen` [INFO] [stdout] --> src/token/list.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::abs::gen::Wasm_gen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::generate_errors::GenerateError` [INFO] [stdout] --> src/token/list.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::generate_errors::GenerateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gen::wasm::MEMORY_SPACE_NAME` [INFO] [stdout] --> src/token/list.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::gen::wasm::MEMORY_SPACE_NAME; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::abs::gen::Wasm_gen` [INFO] [stdout] --> src/token/syntax.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::abs::gen::Wasm_gen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::generate_errors::GenerateError` [INFO] [stdout] --> src/token/syntax.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::errors::generate_errors::GenerateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::abs::gen::Wasm_gen` [INFO] [stdout] --> src/token/item.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::abs::gen::Wasm_gen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::generate_errors::GenerateError` [INFO] [stdout] --> src/token/item.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::errors::generate_errors::GenerateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gen::wasm::MEMORY_SPACE_NAME` [INFO] [stdout] --> src/token/item.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::gen::wasm::MEMORY_SPACE_NAME; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r_assembly_text` is never read [INFO] [stdout] --> src/gen/wasm.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut r_assembly_text = String::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/gen/wasm.rs:429:21 [INFO] [stdout] | [INFO] [stdout] 429 | for i in 0..count_if_section(&self.contents) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment_b` [INFO] [stdout] --> src/gen/wasm.rs:623:45 [INFO] [stdout] | [INFO] [stdout] 623 | } else if let StmtElem::CommentElem(comment_b) = s { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `wasm_instructions` is never used [INFO] [stdout] --> src/abs/gen.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum wasm_instructions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `code2vec` and `grouping_elements` are never used [INFO] [stdout] --> src/parser/type_parser.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl TypeParser { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 13 | fn code2vec(&mut self) -> Result<(), ParserError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn grouping_elements( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/core_parser.rs:257:50 [INFO] [stdout] | [INFO] [stdout] 257 | fn find_ope_priority(ope: &'a str) -> Result<&Ope, &'a str> { [INFO] [stdout] | -- ^^^^ -- the same lifetime is named here [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 257 | fn find_ope_priority(ope: &'a str) -> Result<&'a Ope<'a>, &'a str> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "793a8051874c4684e25db6bccee05fa231636cad208de8c5c14f3cd2e24abdb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "793a8051874c4684e25db6bccee05fa231636cad208de8c5c14f3cd2e24abdb9", kill_on_drop: false }` [INFO] [stdout] 793a8051874c4684e25db6bccee05fa231636cad208de8c5c14f3cd2e24abdb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39e7fe365235525a9f23660e28b13c6779b2f8fa874fea0cc914b5d782a983d9 [INFO] running `Command { std: "docker" "start" "-a" "39e7fe365235525a9f23660e28b13c6779b2f8fa874fea0cc914b5d782a983d9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling cpufeatures v0.2.15 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cranelift-isle v0.110.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling cranelift-codegen-shared v0.110.3 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.110.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling corosensei v0.2.1 [INFO] [stderr] Compiling cranelift-bitset v0.110.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling rustls v0.23.17 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling cranelift-codegen v0.110.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling bytecheck_derive v0.8.0 [INFO] [stderr] Compiling ptr_meta v0.3.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rancor v0.1.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling munge_macro v0.4.1 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling enumset_derive v0.10.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling bytecheck v0.8.0 [INFO] [stderr] Compiling munge v0.4.1 [INFO] [stderr] Compiling bytecheck_derive v0.6.12 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling rend v0.5.2 [INFO] [stderr] Compiling rkyv_derive v0.8.8 [INFO] [stderr] Compiling enumset v1.1.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling enum-iterator v0.7.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling cranelift-entity v0.110.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling zip v2.2.0 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling more-asserts v0.2.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling xxhash-rust v0.8.12 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cranelift-control v0.110.3 [INFO] [stderr] Compiling region v3.0.2 [INFO] [stderr] Compiling regalloc2 v0.9.3 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling cranelift-bforest v0.110.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling rkyv v0.8.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling webpki-roots v0.26.6 [INFO] [stderr] Compiling wasmer-types v5.0.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling memmap2 v0.6.2 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling wasmparser v0.216.0 [INFO] [stderr] Compiling tar v0.4.43 [INFO] [stderr] Compiling ureq v2.10.1 [INFO] [stderr] Compiling shared-buffer v0.1.4 [INFO] [stderr] Compiling xz v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling wasm-encoder v0.216.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling wasmer-compiler-cranelift v5.0.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling self_cell v1.0.4 [INFO] [stderr] Compiling wast v216.0.0 [INFO] [stderr] Compiling wasmer-vm v5.0.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling wasmer-derive v5.0.1 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stdout] warning: type `wasm_instructions` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum wasm_instructions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WasmInstructions` [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 `local_get` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | local_get, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LocalGet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `local_set` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | local_set, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LocalSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `const_i32` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | const_i32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ConstI32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `add_i32` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | add_i32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AddI32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `const_i64` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | const_i64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ConstI64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `add_i64` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | add_i64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AddI64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `const_f32` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | const_f32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ConstF32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `const_f64` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | const_f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ConstF64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Wasm_gen` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub trait Wasm_gen { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `WasmGen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::abs::gen::*` [INFO] [stdout] --> src/token/func.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::abs::gen::*; [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: `crate::errors::generate_errors::GenerateError` [INFO] [stdout] --> src/token/func.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::errors::generate_errors::GenerateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::abs::gen::Wasm_gen` [INFO] [stdout] --> src/token/list.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::abs::gen::Wasm_gen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::generate_errors::GenerateError` [INFO] [stdout] --> src/token/list.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::generate_errors::GenerateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gen::wasm::MEMORY_SPACE_NAME` [INFO] [stdout] --> src/token/list.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::gen::wasm::MEMORY_SPACE_NAME; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::abs::gen::Wasm_gen` [INFO] [stdout] --> src/token/syntax.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::abs::gen::Wasm_gen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::generate_errors::GenerateError` [INFO] [stdout] --> src/token/syntax.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::errors::generate_errors::GenerateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::abs::gen::Wasm_gen` [INFO] [stdout] --> src/token/item.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::abs::gen::Wasm_gen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::generate_errors::GenerateError` [INFO] [stdout] --> src/token/item.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::errors::generate_errors::GenerateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gen::wasm::MEMORY_SPACE_NAME` [INFO] [stdout] --> src/token/item.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::gen::wasm::MEMORY_SPACE_NAME; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r_assembly_text` is never read [INFO] [stdout] --> src/gen/wasm.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut r_assembly_text = String::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/gen/wasm.rs:429:21 [INFO] [stdout] | [INFO] [stdout] 429 | for i in 0..count_if_section(&self.contents) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment_b` [INFO] [stdout] --> src/gen/wasm.rs:623:45 [INFO] [stdout] | [INFO] [stdout] 623 | } else if let StmtElem::CommentElem(comment_b) = s { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `wasm_instructions` is never used [INFO] [stdout] --> src/abs/gen.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum wasm_instructions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `code2vec` and `grouping_elements` are never used [INFO] [stdout] --> src/parser/type_parser.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl TypeParser { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 13 | fn code2vec(&mut self) -> Result<(), ParserError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn grouping_elements( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/core_parser.rs:257:50 [INFO] [stdout] | [INFO] [stdout] 257 | fn find_ope_priority(ope: &'a str) -> Result<&Ope, &'a str> { [INFO] [stdout] | -- ^^^^ -- the same lifetime is named here [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 257 | fn find_ope_priority(ope: &'a str) -> Result<&'a Ope<'a>, &'a str> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmer v5.0.1 [INFO] [stderr] Compiling wasmer-compiler v5.0.1 [INFO] [stderr] Compiling wat v1.216.0 [INFO] [stderr] Compiling cranelift-frontend v0.110.2 [INFO] [stderr] Compiling lichen-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `wasm_instructions` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum wasm_instructions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WasmInstructions` [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 `local_get` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | local_get, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LocalGet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `local_set` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | local_set, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LocalSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `const_i32` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | const_i32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ConstI32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `add_i32` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | add_i32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AddI32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `const_i64` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | const_i64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ConstI64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `add_i64` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | add_i64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AddI64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `const_f32` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | const_f32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ConstF32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `const_f64` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | const_f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ConstF64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Wasm_gen` should have an upper camel case name [INFO] [stdout] --> src/abs/gen.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub trait Wasm_gen { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `WasmGen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::abs::gen::*` [INFO] [stdout] --> src/token/func.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::abs::gen::*; [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: `crate::errors::generate_errors::GenerateError` [INFO] [stdout] --> src/token/func.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::errors::generate_errors::GenerateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::abs::gen::Wasm_gen` [INFO] [stdout] --> src/token/list.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::abs::gen::Wasm_gen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::generate_errors::GenerateError` [INFO] [stdout] --> src/token/list.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::generate_errors::GenerateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gen::wasm::MEMORY_SPACE_NAME` [INFO] [stdout] --> src/token/list.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::gen::wasm::MEMORY_SPACE_NAME; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::abs::gen::Wasm_gen` [INFO] [stdout] --> src/token/syntax.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::abs::gen::Wasm_gen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::generate_errors::GenerateError` [INFO] [stdout] --> src/token/syntax.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::errors::generate_errors::GenerateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::abs::gen::Wasm_gen` [INFO] [stdout] --> src/token/item.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::abs::gen::Wasm_gen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::generate_errors::GenerateError` [INFO] [stdout] --> src/token/item.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::errors::generate_errors::GenerateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gen::wasm::MEMORY_SPACE_NAME` [INFO] [stdout] --> src/token/item.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::gen::wasm::MEMORY_SPACE_NAME; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r_assembly_text` is never read [INFO] [stdout] --> src/gen/wasm.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut r_assembly_text = String::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/gen/wasm.rs:429:21 [INFO] [stdout] | [INFO] [stdout] 429 | for i in 0..count_if_section(&self.contents) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment_b` [INFO] [stdout] --> src/gen/wasm.rs:623:45 [INFO] [stdout] | [INFO] [stdout] 623 | } else if let StmtElem::CommentElem(comment_b) = s { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `wasm_instructions` is never used [INFO] [stdout] --> src/abs/gen.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum wasm_instructions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `code2vec` and `grouping_elements` are never used [INFO] [stdout] --> src/parser/type_parser.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl TypeParser { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 13 | fn code2vec(&mut self) -> Result<(), ParserError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn grouping_elements( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/core_parser.rs:257:50 [INFO] [stdout] | [INFO] [stdout] 257 | fn find_ope_priority(ope: &'a str) -> Result<&Ope, &'a str> { [INFO] [stdout] | -- ^^^^ -- the same lifetime is named here [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 257 | fn find_ope_priority(ope: &'a str) -> Result<&'a Ope<'a>, &'a str> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc9NkJx3/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libanyhow-177c4b900692f370.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libwasmer-abcc7ac7e6a6be0f,libwat-542760a95fefd616,libwast-af9c8cd954f459a2,libwasm_encoder-45f99b55a2498b62,libleb128-ae0983f084a091ac,libunicode_width-08b963676a6677c5,libwasmer_compiler_cranelift-90261a40865a0c94,libitertools-97851b5a067112d9,libcranelift_frontend-f140a034460843c1,librayon-d7f70122059d9405,librayon_core-936d6cd684097949,libcrossbeam_deque-1677f27c8a0deac5,libcrossbeam_epoch-3554ccb4a3bc7b51,libeither-38d43fea6173fdf6,libcranelift_codegen-284985279336142f,libbumpalo-2d2c91a1d19edcc8,libcranelift_codegen_shared-de1b84abdab8f88b,libregalloc2-8b9fec8303bca2f9,liblog-5fb51f756c1191b0,libslice_group_by-c92f99ee88cf59e5,libhashbrown-6ffef63d97440b96,librustc_hash-5a527483989b35a3,libgimli-d0f13f8a0e39fbd6,libfallible_iterator-eb22227d2ed01163,libstable_deref_trait-fa928650ff60dc8f,libcranelift_control-c8f2e7aaca183406,libarbitrary-78f57c55fb502821,libcranelift_bforest-9dfbac299d83568f,libcranelift_entity-c1bc8e4cb7747dd1,libcranelift_bitset-688db0b14dd7ba10,libtracing-b58b710303794530,libpin_project_lite-1b69109c4d0b18c5,libtracing_core-1a977c0faab82eff,libindexmap-68eb0764c1a34cc4,libhashbrown-8ac6e23154e6c3d0,libwasmer_compiler-b098eaaa23757a5e,libwasmparser-6565654ff1d8084c,libsemver-8c89e45fe9720c3b,libbitflags-ce446ee600bbaa5e,libself_cell-3b37474dd1570ab5,libwasmer_vm-2de1b8ad8eab54c5,libcrossbeam_queue-e1b4ec2d4aad86f2,libregion-159a7d8346c14556,libbitflags-e2b4db6c651223da,libcorosensei-1a849ad4ababac8a,libbacktrace-8ff4f94cb364106a,libminiz_oxide-dbf02595007a324e,libadler2-b931b79841890bad,libobject-18dbc359ab484582,libmemchr-3ffe5f7a52883367,libaddr2line-9b33b1b221c0ad25,libgimli-672214083c0de216,librustc_demangle-f257d5a904da7bce,libfnv-2d77ec4f6f971b24,libdashmap-e77feb3c15ed5a83,liblock_api-65308b8547acc2a4,libscopeguard-e80a2b0b1f686274,libcrossbeam_utils-eb4587c77878a9d5,libparking_lot_core-c4b9393cdb2b8521,libsmallvec-c2ae68696ae787b7,libmemoffset-d097e3ee30e4731d,libwasmer_types-25dae42e7d3e30ce,libxxhash_rust-2224580c70e37932,libhex-28742b4ca144387c,libmore_asserts-35068358441b054b,libsha2-2ba4b47eeff246d0,libcpufeatures-fe114a1e469cc2f8,libdigest-2dc9b24df3780685,libblock_buffer-68345a13dc7a8e25,libcrypto_common-58cc5427b4d302c3,libgeneric_array-e7dcb6463547bc23,libtypenum-66c155be53855aa0,libenum_iterator-f1e15191693ff9e4,libtarget_lexicon-f9e8f02c66b031bd,libenumset-ba1995b0cbdbf2ed,librkyv-1dbb0d4debd6540f,libindexmap-08b6e5ca97476a0e,libequivalent-fdc46004df91ad08,libhashbrown-47c759383abea0da,libhashbrown-339bede41aa0faa2,libahash-dfd51cd6580638dc,libonce_cell-debe7c411cf97340,libcfg_if-33ef6c02a07f9fec,libzerocopy-f2bcfdbe4f2d40f5,librend-53bf181e02db0de7,libmunge-5f966f66f493d872,libbytecheck-2d841bfd32c80da5,libsimdutf8-303f9ada2e9da805,librancor-47111eccbd0f6c36,libptr_meta-8ca1555b4351418b,libthiserror-a0c5326a30779dd6,libshared_buffer-0d87491ea80aab73,libmemmap2-1415e77e028646c4,libbytes-3d9b205de7df0211,liblichen_lang-4cfad3a98426e7a6,libcolored-648d7d4420469bf4,liblazy_static-b3603208c0de2608,libis_terminal-7e55d52472b5e7e1,liblibc-a54d3590d42aa520}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc9NkJx3/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/lib-3de9f8461dd53958" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: __rust_probestack [INFO] [stdout] >>> referenced by libcalls.rs:668 (src/libcalls.rs:668) [INFO] [stdout] >>> wasmer_vm-2de1b8ad8eab54c5.wasmer_vm.7357c6aa6becf1c6-cgu.13.rcgu.o:(wasmer_vm_probestack) in archive /opt/rustwide/target/debug/deps/libwasmer_vm-2de1b8ad8eab54c5.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lichen-lang` (test "lib") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "39e7fe365235525a9f23660e28b13c6779b2f8fa874fea0cc914b5d782a983d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39e7fe365235525a9f23660e28b13c6779b2f8fa874fea0cc914b5d782a983d9", kill_on_drop: false }` [INFO] [stdout] 39e7fe365235525a9f23660e28b13c6779b2f8fa874fea0cc914b5d782a983d9