[INFO] cloning repository https://github.com/nkoehring/Solace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nkoehring/Solace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnkoehring%2FSolace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnkoehring%2FSolace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12c0431e692ce43491362658a650afb25212698f [INFO] building nkoehring/Solace against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnkoehring%2FSolace" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nkoehring/Solace [INFO] finished tweaking git repo https://github.com/nkoehring/Solace [INFO] tweaked toml for git repo https://github.com/nkoehring/Solace written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nkoehring/Solace on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nkoehring/Solace 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08bd850a648f2ba501d60a8df306d36984b57520066e3899bd463ef301f20df3 [INFO] running `Command { std: "docker" "start" "-a" "08bd850a648f2ba501d60a8df306d36984b57520066e3899bd463ef301f20df3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08bd850a648f2ba501d60a8df306d36984b57520066e3899bd463ef301f20df3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08bd850a648f2ba501d60a8df306d36984b57520066e3899bd463ef301f20df3", kill_on_drop: false }` [INFO] [stdout] 08bd850a648f2ba501d60a8df306d36984b57520066e3899bd463ef301f20df3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a5d27003b8b504ec7d50986146e513ecebc5478a04aa12ebfef95da66831ed5 [INFO] running `Command { std: "docker" "start" "-a" "6a5d27003b8b504ec7d50986146e513ecebc5478a04aa12ebfef95da66831ed5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling better_scoped_tls v1.0.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling swc_visit v2.0.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling ryu-js v1.0.2 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling swc_macros_common v1.0.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling from_variant v2.0.1 [INFO] [stderr] Compiling ast_node v3.0.2 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Compiling ptr_meta v0.3.0 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling string_enum v1.0.1 [INFO] [stderr] Compiling swc_ecma_codegen_macros v2.0.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling bytes-str v0.2.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling hstr v1.1.1 [INFO] [stderr] Compiling swc_allocator v4.0.0 [INFO] [stderr] Compiling swc_atoms v6.0.0 [INFO] [stderr] Compiling swc_sourcemap v9.3.2 [INFO] [stderr] Compiling swc_common v13.0.2 [INFO] [stderr] Compiling swc_ecma_ast v13.0.0 [INFO] [stderr] Compiling swc_ecma_codegen v15.0.1 [INFO] [stderr] Compiling solace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `swc_common::DUMMY_SP` [INFO] [stdout] --> src/transformer/js.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swc_common::DUMMY_SP; [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 variable: `program` [INFO] [stdout] --> src/transformer/js.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn transform(&self, program: ast::Program) -> swc_ast::Module { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/emitter/js.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct JsEmitter { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_minify` is never used [INFO] [stdout] --> src/emitter/js.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl JsEmitter { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_minify(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnexpectedRule` is never constructed [INFO] [stdout] --> src/parser/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ParseError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | UnexpectedRule(Rule), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | Number(f64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 10 - Number(f64), [INFO] [stdout] 10 + Number(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 11 - String(String), [INFO] [stdout] 11 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Boolean(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 12 - Boolean(bool), [INFO] [stdout] 12 + Boolean(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/parser/ast.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Binary(BinaryOp, Box, Box), [INFO] [stdout] | ------ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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 - Binary(BinaryOp, Box, Box), [INFO] [stdout] 24 + Binary((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/ast.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | Unary(UnaryOp, Box), [INFO] [stdout] | ----- ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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 - Unary(UnaryOp, Box), [INFO] [stdout] 25 + Unary((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/parser/ast.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Ternary(Box, Box, Box), [INFO] [stdout] | ------- ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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 - Ternary(Box, Box, Box), [INFO] [stdout] 26 + Ternary((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/ast.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | Assignment(String, Box), [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 27 - Assignment(String, Box), [INFO] [stdout] 27 + Assignment((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/parser/ast.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | If(Box, Box, Option>), [INFO] [stdout] | -- ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 30 - If(Box, Box, Option>), [INFO] [stdout] 30 + If((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/ast.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | Match(Option>, Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 31 - Match(Option>, Vec), [INFO] [stdout] 31 + Match((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | Array(Vec), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 34 - Array(Vec), [INFO] [stdout] 34 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | PostIncrement(Box), [INFO] [stdout] | ------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 37 - PostIncrement(Box), [INFO] [stdout] 37 + PostIncrement(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | PostDecrement(Box), [INFO] [stdout] | ------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 38 - PostDecrement(Box), [INFO] [stdout] 38 + PostDecrement(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MemberAccess`, `Index`, and `Call` are never constructed [INFO] [stdout] --> src/parser/ast.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | MemberAccess(Box, String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | Index(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | Call(Box, Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pattern` and `body` are never read [INFO] [stdout] --> src/parser/ast.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct MatchArm { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 71 | pattern: MatchPattern, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | body: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchArm` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | Expression(Expr), [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MatchPattern` has derived impls for the traits `Clone` and `Debug`, 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] 78 - Expression(Expr), [INFO] [stdout] 78 + Expression(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Condition` is never constructed [INFO] [stdout] --> src/parser/ast.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub enum MatchPattern { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 79 | Condition(Vec<(BinaryOp, Expr)>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchPattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `statements` is never read [INFO] [stdout] --> src/parser/ast.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 84 | statements: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | Simple(Type), [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReturnType` has derived impls for the traits `Clone` and `Debug`, 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] 89 - Simple(Type), [INFO] [stdout] 89 + Simple(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `type_annotation`, and `default_value` are never read [INFO] [stdout] --> src/parser/ast.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | Named { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 91 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 92 | type_annotation: Type, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | default_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `params`, `return_type`, `extends`, and `body` are never read [INFO] [stdout] --> src/parser/ast.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | Function { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 104 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 106 | return_type: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 107 | extends: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 108 | body: Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | Return(Option), [INFO] [stdout] | ------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, 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] 125 - Return(Option), [INFO] [stdout] 125 + Return(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | Expression(Expr), [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, 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] 134 - Expression(Expr), [INFO] [stdout] 134 + Expression(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/ast.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 99 | Import { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | Variable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | Defer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | Watch { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | If(Expr, Box, Option>), [INFO] [stdout] | ^^ [INFO] [stdout] 127 | For { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | While(Expr, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 134 | Expression(Expr), [INFO] [stdout] 135 | Block(Block), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Const`, `Var`, and `Live` are never constructed [INFO] [stdout] --> src/parser/ast.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub enum VarKind { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 140 | Const, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 141 | Var, [INFO] [stdout] | ^^^ [INFO] [stdout] 142 | Live, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `type_annotation` are never read [INFO] [stdout] --> src/parser/ast.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct Param { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 147 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 148 | type_annotation: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Param` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | Primitive(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, 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] 153 - Primitive(String), [INFO] [stdout] 153 + Primitive(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | Array(Box), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, 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] 154 - Array(Box), [INFO] [stdout] 154 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | Optional(Box), [INFO] [stdout] | -------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, 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] 155 - Optional(Box), [INFO] [stdout] 155 + Optional(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/ast.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | ErrorUnion(Option, Box), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, 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] 156 - ErrorUnion(Option, Box), [INFO] [stdout] 156 + ErrorUnion((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | Named(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, 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] 157 - Named(String), [INFO] [stdout] 157 + Named(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `statements` is never read [INFO] [stdout] --> src/parser/ast.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 590 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 591 | pub statements: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.47s [INFO] running `Command { std: "docker" "inspect" "6a5d27003b8b504ec7d50986146e513ecebc5478a04aa12ebfef95da66831ed5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a5d27003b8b504ec7d50986146e513ecebc5478a04aa12ebfef95da66831ed5", kill_on_drop: false }` [INFO] [stdout] 6a5d27003b8b504ec7d50986146e513ecebc5478a04aa12ebfef95da66831ed5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d98b1109aeda81c95b92c3fd97f1b2454e7489a79aec2ce4f9d1d331a12504e2 [INFO] running `Command { std: "docker" "start" "-a" "d98b1109aeda81c95b92c3fd97f1b2454e7489a79aec2ce4f9d1d331a12504e2", kill_on_drop: false }` [INFO] [stderr] Compiling solace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `swc_common::DUMMY_SP` [INFO] [stdout] --> src/transformer/js.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swc_common::DUMMY_SP; [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 variable: `program` [INFO] [stdout] --> src/transformer/js.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn transform(&self, program: ast::Program) -> swc_ast::Module { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/emitter/js.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct JsEmitter { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnexpectedRule` is never constructed [INFO] [stdout] --> src/parser/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ParseError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | UnexpectedRule(Rule), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | Number(f64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 10 - Number(f64), [INFO] [stdout] 10 + Number(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_minify` is never used [INFO] [stdout] --> src/emitter/js.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl JsEmitter { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_minify(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 11 - String(String), [INFO] [stdout] 11 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Boolean(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 12 - Boolean(bool), [INFO] [stdout] 12 + Boolean(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/parser/ast.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Binary(BinaryOp, Box, Box), [INFO] [stdout] | ------ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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 - Binary(BinaryOp, Box, Box), [INFO] [stdout] 24 + Binary((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/ast.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | Unary(UnaryOp, Box), [INFO] [stdout] | ----- ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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 - Unary(UnaryOp, Box), [INFO] [stdout] 25 + Unary((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/parser/ast.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Ternary(Box, Box, Box), [INFO] [stdout] | ------- ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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 - Ternary(Box, Box, Box), [INFO] [stdout] 26 + Ternary((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/ast.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | Assignment(String, Box), [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 27 - Assignment(String, Box), [INFO] [stdout] 27 + Assignment((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/parser/ast.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | If(Box, Box, Option>), [INFO] [stdout] | -- ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 30 - If(Box, Box, Option>), [INFO] [stdout] 30 + If((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/ast.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | Match(Option>, Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 31 - Match(Option>, Vec), [INFO] [stdout] 31 + Match((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | Array(Vec), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 34 - Array(Vec), [INFO] [stdout] 34 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | PostIncrement(Box), [INFO] [stdout] | ------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 37 - PostIncrement(Box), [INFO] [stdout] 37 + PostIncrement(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | PostDecrement(Box), [INFO] [stdout] | ------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, 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] 38 - PostDecrement(Box), [INFO] [stdout] 38 + PostDecrement(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MemberAccess`, `Index`, and `Call` are never constructed [INFO] [stdout] --> src/parser/ast.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | MemberAccess(Box, String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | Index(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | Call(Box, Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pattern` and `body` are never read [INFO] [stdout] --> src/parser/ast.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct MatchArm { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 71 | pattern: MatchPattern, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | body: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchArm` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | Expression(Expr), [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MatchPattern` has derived impls for the traits `Clone` and `Debug`, 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] 78 - Expression(Expr), [INFO] [stdout] 78 + Expression(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Condition` is never constructed [INFO] [stdout] --> src/parser/ast.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub enum MatchPattern { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 79 | Condition(Vec<(BinaryOp, Expr)>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchPattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `statements` is never read [INFO] [stdout] --> src/parser/ast.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 84 | statements: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | Simple(Type), [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReturnType` has derived impls for the traits `Clone` and `Debug`, 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] 89 - Simple(Type), [INFO] [stdout] 89 + Simple(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `type_annotation`, and `default_value` are never read [INFO] [stdout] --> src/parser/ast.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | Named { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 91 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 92 | type_annotation: Type, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | default_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `params`, `return_type`, `extends`, and `body` are never read [INFO] [stdout] --> src/parser/ast.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | Function { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 104 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 106 | return_type: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 107 | extends: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 108 | body: Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | Return(Option), [INFO] [stdout] | ------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, 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] 125 - Return(Option), [INFO] [stdout] 125 + Return(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | Expression(Expr), [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, 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] 134 - Expression(Expr), [INFO] [stdout] 134 + Expression(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/ast.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 99 | Import { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | Variable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | Defer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | Watch { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | If(Expr, Box, Option>), [INFO] [stdout] | ^^ [INFO] [stdout] 127 | For { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | While(Expr, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 134 | Expression(Expr), [INFO] [stdout] 135 | Block(Block), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Const`, `Var`, and `Live` are never constructed [INFO] [stdout] --> src/parser/ast.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub enum VarKind { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 140 | Const, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 141 | Var, [INFO] [stdout] | ^^^ [INFO] [stdout] 142 | Live, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `type_annotation` are never read [INFO] [stdout] --> src/parser/ast.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct Param { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 147 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 148 | type_annotation: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Param` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | Primitive(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, 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] 153 - Primitive(String), [INFO] [stdout] 153 + Primitive(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | Array(Box), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, 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] 154 - Array(Box), [INFO] [stdout] 154 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | Optional(Box), [INFO] [stdout] | -------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, 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] 155 - Optional(Box), [INFO] [stdout] 155 + Optional(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/ast.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | ErrorUnion(Option, Box), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, 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] 156 - ErrorUnion(Option, Box), [INFO] [stdout] 156 + ErrorUnion((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | Named(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, 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] 157 - Named(String), [INFO] [stdout] 157 + Named(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `statements` is never read [INFO] [stdout] --> src/parser/ast.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 590 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 591 | pub statements: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `Command { std: "docker" "inspect" "d98b1109aeda81c95b92c3fd97f1b2454e7489a79aec2ce4f9d1d331a12504e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d98b1109aeda81c95b92c3fd97f1b2454e7489a79aec2ce4f9d1d331a12504e2", kill_on_drop: false }` [INFO] [stdout] d98b1109aeda81c95b92c3fd97f1b2454e7489a79aec2ce4f9d1d331a12504e2