[INFO] cloning repository https://github.com/mtuto81/nexa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mtuto81/nexa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtuto81%2Fnexa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtuto81%2Fnexa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75a7ee358bb248eef834312302d41f385eb48592 [INFO] checking mtuto81/nexa against 0cefa27fe3deee26fc98ee44249406358d9f0d26 for pr-164789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtuto81%2Fnexa" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mtuto81/nexa [INFO] finished tweaking git repo https://github.com/mtuto81/nexa [INFO] tweaked toml for git repo https://github.com/mtuto81/nexa written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mtuto81/nexa on toolchain 0cefa27fe3deee26fc98ee44249406358d9f0d26 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mtuto81/nexa 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" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded swc_ecma_ast v29.0.0 [INFO] [stderr] Downloaded swc_visit v2.0.1 [INFO] [stderr] Downloaded unicode-id-start v1.4.0 [INFO] [stderr] Downloaded swc_atoms v10.0.0 [INFO] [stderr] Downloaded from_variant v3.0.0 [INFO] [stderr] Downloaded string_enum v1.0.2 [INFO] [stderr] Downloaded wasmtime-internal-math v38.0.4 [INFO] [stderr] Downloaded swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Downloaded swc_macros_common v1.0.1 [INFO] [stderr] Downloaded bytes-str v0.2.8 [INFO] [stderr] Downloaded better_scoped_tls v1.0.1 [INFO] [stderr] Downloaded cranelift-bitset v0.125.4 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.125.4 [INFO] [stderr] Downloaded cranelift-srcgen v0.125.4 [INFO] [stderr] Downloaded is-macro v0.3.7 [INFO] [stderr] Downloaded cranelift-assembler-x64 v0.125.4 [INFO] [stderr] Downloaded ast_node v7.0.0 [INFO] [stderr] Downloaded cranelift-control v0.125.4 [INFO] [stderr] Downloaded cranelift-bforest v0.125.4 [INFO] [stderr] Downloaded zerovec-derive v0.11.4 [INFO] [stderr] Downloaded cranelift-object v0.125.4 [INFO] [stderr] Downloaded swc_common v26.0.0 [INFO] [stderr] Downloaded hstr v4.0.1 [INFO] [stderr] Downloaded cranelift-module v0.125.4 [INFO] [stderr] Downloaded cranelift-entity v0.125.4 [INFO] [stderr] Downloaded cranelift-frontend v0.125.4 [INFO] [stderr] Downloaded compact_str v0.7.1 [INFO] [stderr] Downloaded cranelift-assembler-x64-meta v0.125.4 [INFO] [stderr] Downloaded swc_ecma_parser v45.0.0 [INFO] [stderr] Downloaded cranelift-isle v0.125.4 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.125.4 [INFO] [stderr] Downloaded regalloc2 v0.13.5 [INFO] [stderr] Downloaded cranelift-codegen v0.125.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 67e430b93e57802bdfa4f937461e99db853df4e72451bee75a517f1d1a66a25e [INFO] running `Command { std: "docker" "start" "67e430b93e57802bdfa4f937461e99db853df4e72451bee75a517f1d1a66a25e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67e430b93e57802bdfa4f937461e99db853df4e72451bee75a517f1d1a66a25e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "67e430b93e57802bdfa4f937461e99db853df4e72451bee75a517f1d1a66a25e" "/opt/rustwide/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67e430b93e57802bdfa4f937461e99db853df4e72451bee75a517f1d1a66a25e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "67e430b93e57802bdfa4f937461e99db853df4e72451bee75a517f1d1a66a25e" "/opt/rustwide/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking smallvec v1.15.2 [INFO] [stderr] Compiling cranelift-srcgen v0.125.4 [INFO] [stderr] Checking rustc-hash v2.1.3 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_properties_data v2.3.0 [INFO] [stderr] Compiling zerocopy v0.8.56 [INFO] [stderr] Compiling icu_normalizer_data v2.3.0 [INFO] [stderr] Compiling object v0.39.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.11 [INFO] [stderr] Compiling cranelift-isle v0.125.4 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling cc v1.4.3 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.125.4 [INFO] [stderr] Compiling cranelift-codegen-shared v0.125.4 [INFO] [stderr] Checking indexmap v2.14.0 [INFO] [stderr] Compiling siphasher v1.0.3 [INFO] [stderr] Compiling target-lexicon v0.13.5 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking cranelift-bitset v0.125.4 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling rand v0.8.7 [INFO] [stderr] Checking bumpalo v3.20.3 [INFO] [stderr] Checking cranelift-entity v0.125.4 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking arbitrary v1.4.2 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling cranelift-codegen-meta v0.125.4 [INFO] [stderr] Checking regalloc2 v0.13.5 [INFO] [stderr] Checking num-integer v0.1.47 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking cranelift-bforest v0.125.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking either v1.17.0 [INFO] [stderr] Checking wasmtime-internal-math v38.0.4 [INFO] [stderr] Checking better_scoped_tls v1.0.1 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking cranelift-control v0.125.4 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking swc_visit v2.0.1 [INFO] [stderr] Checking unicode-id-start v1.4.0 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling stacker v0.1.25 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.125.4 [INFO] [stderr] Compiling cranelift-codegen v0.125.4 [INFO] [stderr] Compiling zerovec-derive v0.11.4 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling swc_macros_common v1.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling from_variant v3.0.0 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Compiling ast_node v7.0.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling string_enum v1.0.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling ar_archive_writer v0.5.3 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking serde v1.0.229 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Checking zerovec v0.11.7 [INFO] [stderr] Checking zerotrie v0.2.5 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling psm v0.1.32 [INFO] [stderr] Checking triomphe v0.1.16 [INFO] [stderr] Checking bytes-str v0.2.8 [INFO] [stderr] Checking num-bigint v0.4.8 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tinystr v0.8.4 [INFO] [stderr] Checking potential_utf v0.1.6 [INFO] [stderr] Checking icu_locale_core v2.3.0 [INFO] [stderr] Checking icu_collections v2.3.0 [INFO] [stderr] Checking icu_provider v2.3.0 [INFO] [stderr] Checking hstr v4.0.1 [INFO] [stderr] Checking swc_atoms v10.0.0 [INFO] [stderr] Checking icu_properties v2.3.0 [INFO] [stderr] Checking icu_normalizer v2.3.0 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking swc_common v26.0.0 [INFO] [stderr] Checking swc_ecma_ast v29.0.0 [INFO] [stderr] Checking swc_ecma_parser v45.0.0 [INFO] [stderr] Checking cranelift-module v0.125.4 [INFO] [stderr] Checking cranelift-frontend v0.125.4 [INFO] [stderr] Checking cranelift-object v0.125.4 [INFO] [stderr] Checking nexa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `null_terminated` [INFO] [stdout] --> src/codegen.rs:729:43 [INFO] [stdout] | [INFO] [stdout] 729 | fn intern_string(&mut self, s: &[u8], null_terminated: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_null_terminated` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `null_terminated` [INFO] [stdout] --> src/codegen.rs:729:43 [INFO] [stdout] | [INFO] [stdout] 729 | fn intern_string(&mut self, s: &[u8], null_terminated: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_null_terminated` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_typescript` is never used [INFO] [stdout] --> src/main.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn parse_typescript(source: &str, filename: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_nexa` is never used [INFO] [stdout] --> src/main.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn parse_nexa(source: &str) -> Result<(Vec, Vec, Vec, Vec), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_nexa_with_externs` is never used [INFO] [stdout] --> src/main.rs:276:4 [INFO] [stdout] | [INFO] [stdout] 276 | fn parse_nexa_with_externs(source: &str, externs: &HashMap) -> Result<(Vec, Vec, Vec src/main.rs:2731:4 [INFO] [stdout] | [INFO] [stdout] 2731 | fn compile_with_externs(source: &str, externs: &HashMap) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ir.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | Const(ValueId, i64), [INFO] [stdout] | ----- ^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 20 - Const(ValueId, i64), [INFO] [stdout] 20 + Const((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ir.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Add(ValueId, ValueId, ValueId), [INFO] [stdout] | --- ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 22 - Add(ValueId, ValueId, ValueId), [INFO] [stdout] 22 + Add((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ir.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Sub(ValueId, ValueId, ValueId), [INFO] [stdout] | --- ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 23 - Sub(ValueId, ValueId, ValueId), [INFO] [stdout] 23 + Sub((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ir.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Mul(ValueId, ValueId, ValueId), [INFO] [stdout] | --- ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 24 - Mul(ValueId, ValueId, ValueId), [INFO] [stdout] 24 + Mul((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ir.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | Div(ValueId, ValueId, ValueId), [INFO] [stdout] | --- ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 25 - Div(ValueId, ValueId, ValueId), [INFO] [stdout] 25 + Div((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ir.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | Call(ValueId, String, Vec), [INFO] [stdout] | ---- ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 26 - Call(ValueId, String, Vec), [INFO] [stdout] 26 + Call((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | Print(ValueId), [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 - Print(ValueId), [INFO] [stdout] 27 + Print(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | Return(Option), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 - Return(Option), [INFO] [stdout] 29 + Return(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | Note(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - Note(String), [INFO] [stdout] 30 + Note(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Copy` and `Phi` are never constructed [INFO] [stdout] --> src/ir.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, Debug)] pub enum Inst { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 20 | Const(ValueId, i64), [INFO] [stdout] 21 | Copy(ValueId, ValueId), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | Phi(ValueId, Vec<(BlockId, ValueId)>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `canon` is never read [INFO] [stdout] --> src/modules.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct LoadedModule { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 22 | display: String, [INFO] [stdout] 23 | canon: PathBuf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `class_decl` and `program` are never used [INFO] [stdout] --> src/parser.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 338 | fn class_decl(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | fn program(&mut self) -> Result, String> { let mut f = Vec::new(); while !matches!(self.peek(), Tok::Eof) { f.push(sel... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `method_names` are never read [INFO] [stdout] --> src/checker.rs:13:65 [INFO] [stdout] | [INFO] [stdout] 13 | ...ct ClassDef { pub(crate) name: String, pub(crate) fields: Vec<(String, ir::IrType)>, pub(crate) constructor_name: String, pub(crate) method_names: V... [INFO] [stdout] | -------- ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `ClassDef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_module` is never used [INFO] [stdout] --> src/checker.rs:336:15 [INFO] [stdout] | [INFO] [stdout] 336 | pub(crate) fn check_module(module: &SwcModule) -> Result<(), String> { check_module_with_externs(module, &HashMap::new(), &HashMap:... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ir.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | Const(ValueId, i64), [INFO] [stdout] | ----- ^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 20 - Const(ValueId, i64), [INFO] [stdout] 20 + Const((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ir.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Add(ValueId, ValueId, ValueId), [INFO] [stdout] | --- ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 22 - Add(ValueId, ValueId, ValueId), [INFO] [stdout] 22 + Add((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ir.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Sub(ValueId, ValueId, ValueId), [INFO] [stdout] | --- ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 23 - Sub(ValueId, ValueId, ValueId), [INFO] [stdout] 23 + Sub((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ir.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Mul(ValueId, ValueId, ValueId), [INFO] [stdout] | --- ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 24 - Mul(ValueId, ValueId, ValueId), [INFO] [stdout] 24 + Mul((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ir.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | Div(ValueId, ValueId, ValueId), [INFO] [stdout] | --- ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 25 - Div(ValueId, ValueId, ValueId), [INFO] [stdout] 25 + Div((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ir.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | Call(ValueId, String, Vec), [INFO] [stdout] | ---- ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 26 - Call(ValueId, String, Vec), [INFO] [stdout] 26 + Call((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | Print(ValueId), [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 - Print(ValueId), [INFO] [stdout] 27 + Print(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | Return(Option), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 - Return(Option), [INFO] [stdout] 29 + Return(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | Note(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - Note(String), [INFO] [stdout] 30 + Note(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Copy` and `Phi` are never constructed [INFO] [stdout] --> src/ir.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, Debug)] pub enum Inst { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 20 | Const(ValueId, i64), [INFO] [stdout] 21 | Copy(ValueId, ValueId), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | Phi(ValueId, Vec<(BlockId, ValueId)>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `canon` is never read [INFO] [stdout] --> src/modules.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct LoadedModule { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 22 | display: String, [INFO] [stdout] 23 | canon: PathBuf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `class_decl` and `program` are never used [INFO] [stdout] --> src/parser.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 338 | fn class_decl(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | fn program(&mut self) -> Result, String> { let mut f = Vec::new(); while !matches!(self.peek(), Tok::Eof) { f.push(sel... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `method_names` are never read [INFO] [stdout] --> src/checker.rs:13:65 [INFO] [stdout] | [INFO] [stdout] 13 | ...ct ClassDef { pub(crate) name: String, pub(crate) fields: Vec<(String, ir::IrType)>, pub(crate) constructor_name: String, pub(crate) method_names: V... [INFO] [stdout] | -------- ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `ClassDef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.84s [INFO] running `Command { std: "docker" "inspect" "67e430b93e57802bdfa4f937461e99db853df4e72451bee75a517f1d1a66a25e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67e430b93e57802bdfa4f937461e99db853df4e72451bee75a517f1d1a66a25e", kill_on_drop: false }` [INFO] [stdout] 67e430b93e57802bdfa4f937461e99db853df4e72451bee75a517f1d1a66a25e