[INFO] cloning repository https://github.com/olix3001/bn-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/olix3001/bn-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folix3001%2Fbn-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folix3001%2Fbn-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a0cdb507ad79986f96cd0ad9e931da60c05942b [INFO] building olix3001/bn-lang against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folix3001%2Fbn-lang" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/olix3001/bn-lang on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/olix3001/bn-lang [INFO] finished tweaking git repo https://github.com/olix3001/bn-lang [INFO] tweaked toml for git repo https://github.com/olix3001/bn-lang written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/olix3001/bn-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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oxc_ast_macros v0.72.2 [INFO] [stderr] Downloaded oxc_syntax v0.72.2 [INFO] [stderr] Downloaded oxc_estree v0.72.2 [INFO] [stderr] Downloaded oxc-miette-derive v2.3.0 [INFO] [stderr] Downloaded oxc_span v0.72.2 [INFO] [stderr] Downloaded oxc v0.72.2 [INFO] [stderr] Downloaded oxc-miette v2.3.0 [INFO] [stderr] Downloaded oxc_allocator v0.72.2 [INFO] [stderr] Downloaded oxc_cfg v0.72.2 [INFO] [stderr] Downloaded ariadne v0.5.1 [INFO] [stderr] Downloaded oxc_codegen v0.72.2 [INFO] [stderr] Downloaded oxc_ast_visit v0.72.2 [INFO] [stderr] Downloaded oxc_regular_expression v0.72.2 [INFO] [stderr] Downloaded oxc_index v3.0.0 [INFO] [stderr] Downloaded chumsky v0.10.1 [INFO] [stderr] Downloaded oxc_semantic v0.72.2 [INFO] [stderr] Downloaded oxc_parser v0.72.2 [INFO] [stderr] Downloaded oxc_ecmascript v0.72.2 [INFO] [stderr] Downloaded oxc_sourcemap v3.0.2 [INFO] [stderr] Downloaded oxc_diagnostics v0.72.2 [INFO] [stderr] Downloaded oxc_data_structures v0.72.2 [INFO] [stderr] Downloaded petgraph v0.8.1 [INFO] [stderr] Downloaded oxc_ast v0.72.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 484620874ba3993cfb9ed540a598a32a4d4602efa21c33b6b3c0f038a1b130f1 [INFO] running `Command { std: "docker" "start" "-a" "484620874ba3993cfb9ed540a598a32a4d4602efa21c33b6b3c0f038a1b130f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "484620874ba3993cfb9ed540a598a32a4d4602efa21c33b6b3c0f038a1b130f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "484620874ba3993cfb9ed540a598a32a4d4602efa21c33b6b3c0f038a1b130f1", kill_on_drop: false }` [INFO] [stdout] 484620874ba3993cfb9ed540a598a32a4d4602efa21c33b6b3c0f038a1b130f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3300f436717b8e27c0a8705af6bfbb7066a4cf883b43cb1b069e3574bd8d5388 [INFO] running `Command { std: "docker" "start" "-a" "3300f436717b8e27c0a8705af6bfbb7066a4cf883b43cb1b069e3574bd8d5388", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling owo-colors v4.2.1 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cow-utils v0.1.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling oxc_estree v0.72.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling oxc_data_structures v0.72.2 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling oxc_allocator v0.72.2 [INFO] [stderr] Compiling nonmax v0.5.5 [INFO] [stderr] Compiling ryu-js v1.0.2 [INFO] [stderr] Compiling oxc_index v3.0.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling oxc_sourcemap v3.0.2 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling self_cell v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling petgraph v0.8.1 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling chumsky v0.10.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling ariadne v0.5.1 [INFO] [stderr] Compiling unescape v0.1.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling oxc-miette-derive v2.3.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling oxc_ast_macros v0.72.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Compiling logos v0.15.0 [INFO] [stderr] Compiling oxc-miette v2.3.0 [INFO] [stderr] Compiling oxc_span v0.72.2 [INFO] [stderr] Compiling oxc_diagnostics v0.72.2 [INFO] [stderr] Compiling oxc_syntax v0.72.2 [INFO] [stderr] Compiling oxc_regular_expression v0.72.2 [INFO] [stderr] Compiling oxc_cfg v0.72.2 [INFO] [stderr] Compiling oxc_ast v0.72.2 [INFO] [stderr] Compiling oxc_ecmascript v0.72.2 [INFO] [stderr] Compiling oxc_ast_visit v0.72.2 [INFO] [stderr] Compiling oxc_parser v0.72.2 [INFO] [stderr] Compiling oxc_semantic v0.72.2 [INFO] [stderr] Compiling oxc_codegen v0.72.2 [INFO] [stderr] Compiling oxc v0.72.2 [INFO] [stderr] Compiling bn-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BinaryOp` and `walk_member_access` [INFO] [stdout] --> src/targets/target_js/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | ast::{self, Ast, BinaryOp, NodeId, NodeKind}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | walk_import_tree, walk_let_decl, walk_member_access, walk_node, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Argument`, `Atom`, `BindingPatternKind`, `ExportSpecifier`, `FormalParameters`, `FunctionBody`, `ObjectProperty`, `Program`, and `VariableDeclaration` [INFO] [stdout] --> src/targets/target_js/builder.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Argument, AssignmentOperator, AssignmentTarget, BinaryOperator, BindingPattern, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | BindingPatternKind, BindingRestElement, BlockStatement, Declaration, ExportSpecifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | Expression, FormalParameter, FormalParameterKind, FormalParameters, Function, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | FunctionBody, FunctionType, ImportOrExportKind, LogicalOperator, MemberExpression, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | ModuleExportName, NumberBase, ObjectProperty, ObjectPropertyKind, Program, PropertyKey, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 14 | PropertyKind, Statement, TSThisParameter, TSTypeAnnotation, TSTypeParameterDeclaration, [INFO] [stdout] 15 | TSTypeParameterInstantiation, UnaryOperator, VariableDeclaration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | span::{Atom, SourceType, Span}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/targets/target_js/mod.rs:194:16 [INFO] [stdout] | [INFO] [stdout] 194 | if (!stack.imported_namespaces.insert(target_module_name.clone())) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 194 - if (!stack.imported_namespaces.insert(target_module_name.clone())) { [INFO] [stdout] 194 + if !stack.imported_namespaces.insert(target_module_name.clone()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/parser.rs:210:34 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn func_modifiers_parser(cx) -> (bool, bool) => { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `cx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/parser.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | $vis fn $name<'src, I>($cx: ParserContext<'src> $(, $arg: $typ)*) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | / parser_functions! { [INFO] [stdout] 114 | | pub fn statement_parser(cx) -> NodeId => { // TODO: This could take `expr_parse: impl Parser`, which would make this a lot more organ... [INFO] [stdout] 115 | | let mut statement_parser_rec = Recursive::declare(); [INFO] [stdout] 116 | | let ident = ident_parser(cx); [INFO] [stdout] ... | [INFO] [stdout] 506 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `parser_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/passes/name_binding.rs:74:49 [INFO] [stdout] | [INFO] [stdout] 74 | fn bind_current_mangled_name_raw(&mut self, ast: &Ast, name: &str, loc: &Loc) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_node` [INFO] [stdout] --> src/passes/name_binding.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let current_node = self.current_node; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/targets/target_js/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | options: Self::Options, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source_id` is never read [INFO] [stdout] --> src/ast.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Ast { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 15 | pub nodes: Vec, [INFO] [stdout] 16 | pub source_id: SourceId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 68 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` 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: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub enum NodeKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 81 | TemplateLit { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | NullLit, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 86 | UndefinedLit, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | ArrayLit(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | StructLit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | Await { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | IfExpr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | LoopExpr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | WhileExpr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | ForExpr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | MatchExpr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | ClosureExpr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | YieldStmt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | BreakStmt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | ContinueStmt { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | StructDef(Struct), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 192 | EnumDef(Enum), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | LabelNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | Error, // Parsing failed here. [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeKind` 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: variants `Literal` and `Expression` are never constructed [INFO] [stdout] --> src/ast.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub enum TemplatePart { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 206 | Literal(String), // Raw string part [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 207 | Expression(NodeId), // NodeId of the expression inside {expr} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplatePart` 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: variants `Identifier` and `Expression` are never constructed [INFO] [stdout] --> src/ast.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 211 | pub enum StructLitFieldKey { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 212 | Identifier(NodeId), // Identifier NodeId [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 213 | Expression(NodeId), // Computed key, e.g. [expr] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructLitFieldKey` 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 `loc` is never read [INFO] [stdout] --> src/ast.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct Arg { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 220 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` 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: fields `args_raw_tokens` and `loc` are never read [INFO] [stdout] --> src/ast.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct Attribute { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 234 | pub path: Vec, // Vec of Identifier NodeIds, e.g., [ident] or [ident, segment] [INFO] [stdout] 235 | pub args_raw_tokens: Option>, // Raw tokens for #[attr(...)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 236 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` 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: variant `Computed` is never constructed [INFO] [stdout] --> src/ast.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 240 | pub enum ItemName { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 243 | Computed(NodeId /* Expression */), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemName` 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 `loc` is never read [INFO] [stdout] --> src/ast.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 247 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 251 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` 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 `loc` is never read [INFO] [stdout] --> src/ast.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 262 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` 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 `loc` is never read [INFO] [stdout] --> src/ast.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 267 | pub struct Struct { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 271 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Struct` 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: variants `Field` and `Method` are never constructed [INFO] [stdout] --> src/ast.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 275 | pub enum StructMember { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 276 | Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | Method(Function), // Re-use Function struct (which has its own NodeId if it's a separate definition) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructMember` 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 `loc` is never read [INFO] [stdout] --> src/ast.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct Enum { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 294 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enum` 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 `loc` is never read [INFO] [stdout] --> src/ast.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct EnumVariant { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 302 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumVariant` 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: variants `Simple`, `TupleStyle`, and `StructStyle` are never constructed [INFO] [stdout] --> src/ast.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 306 | pub enum EnumVariantKind { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 307 | Simple, // VariantA [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 308 | TupleStyle( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | StructStyle(Vec), // VariantC { a, b, c } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumVariantKind` 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 `loc` is never read [INFO] [stdout] --> src/ast.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct Import { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 320 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` 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 `0` is never read [INFO] [stdout] --> src/ast.rs:339:16 [INFO] [stdout] | [INFO] [stdout] 339 | SelfImport(Loc), // self [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGroupItem` 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] 339 - SelfImport(Loc), // self [INFO] [stdout] 339 + SelfImport(()), // self [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `loc` is never read [INFO] [stdout] --> src/ast.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 340 | RenamedPath { [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 343 | loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportGroupItem` 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: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 348 | pub enum BinaryOp { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 367 | BitwiseAnd, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 368 | BitwiseOr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 369 | BitwiseXor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 370 | ShiftLeft, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 371 | ShiftRight, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 372 | // Assignment [INFO] [stdout] 373 | Assign, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 374 | AddAssign, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 375 | SubAssign, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 376 | MulAssign, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 377 | DivAssign, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 378 | ModAssign, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 379 | // Range [INFO] [stdout] 380 | Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 381 | RangeInclusive, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOp` 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 `loc` is never read [INFO] [stdout] --> src/ast.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 435 | pub struct MatchArm { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 439 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchArm` 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: variant `Statement` is never constructed [INFO] [stdout] --> src/targets/target_js/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 154 | enum ExprOrStmt<'a> { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 155 | Expression(oxc::ast::ast::Expression<'a>), [INFO] [stdout] 156 | Statement(oxc::ast::ast::Statement<'a>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprOrStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `export_name`, `export_declaration`, `var_decl`, and `assignment_target_name` are never used [INFO] [stdout] --> src/targets/target_js/builder.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'a> JsBuilder<'a> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn export_name(&mut self, values: impl Iterator>>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn export_declaration(&mut self, declaration: impl Into>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn var_decl(&mut self, name: impl AsRef, init: Option>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn assignment_target_name(&mut self, name: &str) -> AssignmentTarget<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_expr_body` is never used [INFO] [stdout] --> src/targets/target_js/builder.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 464 | impl<'a> FunctionBuilder<'a> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 471 | pub fn with_expr_body(&mut self, expr: Expression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `computed_property` is never used [INFO] [stdout] --> src/targets/target_js/builder.rs:582:12 [INFO] [stdout] | [INFO] [stdout] 562 | impl<'a> ObjectLiteralBuilder<'a> { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 582 | pub fn computed_property(&mut self, key: Expression<'a>, value: Expression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "3300f436717b8e27c0a8705af6bfbb7066a4cf883b43cb1b069e3574bd8d5388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3300f436717b8e27c0a8705af6bfbb7066a4cf883b43cb1b069e3574bd8d5388", kill_on_drop: false }` [INFO] [stdout] 3300f436717b8e27c0a8705af6bfbb7066a4cf883b43cb1b069e3574bd8d5388 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d7e80386d195016b4077ef6afbd01b3e5742aa93a3cb45e63fb697ac307c0ba [INFO] running `Command { std: "docker" "start" "-a" "0d7e80386d195016b4077ef6afbd01b3e5742aa93a3cb45e63fb697ac307c0ba", kill_on_drop: false }` [INFO] [stderr] Compiling bn-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BinaryOp` and `walk_member_access` [INFO] [stdout] --> src/targets/target_js/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | ast::{self, Ast, BinaryOp, NodeId, NodeKind}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | walk_import_tree, walk_let_decl, walk_member_access, walk_node, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Argument`, `Atom`, `BindingPatternKind`, `ExportSpecifier`, `FormalParameters`, `FunctionBody`, `ObjectProperty`, `Program`, and `VariableDeclaration` [INFO] [stdout] --> src/targets/target_js/builder.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Argument, AssignmentOperator, AssignmentTarget, BinaryOperator, BindingPattern, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | BindingPatternKind, BindingRestElement, BlockStatement, Declaration, ExportSpecifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | Expression, FormalParameter, FormalParameterKind, FormalParameters, Function, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | FunctionBody, FunctionType, ImportOrExportKind, LogicalOperator, MemberExpression, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | ModuleExportName, NumberBase, ObjectProperty, ObjectPropertyKind, Program, PropertyKey, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 14 | PropertyKind, Statement, TSThisParameter, TSTypeAnnotation, TSTypeParameterDeclaration, [INFO] [stdout] 15 | TSTypeParameterInstantiation, UnaryOperator, VariableDeclaration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | span::{Atom, SourceType, Span}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FormalParameterKind`, `ModuleExportName`, `VariableDeclarationKind`, and `span::Span` [INFO] [stdout] --> src/targets/target_js/builder.rs:607:20 [INFO] [stdout] | [INFO] [stdout] 607 | ast::ast::{FormalParameterKind, ModuleExportName, VariableDeclarationKind}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 608 | span::Span, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/targets/target_js/mod.rs:194:16 [INFO] [stdout] | [INFO] [stdout] 194 | if (!stack.imported_namespaces.insert(target_module_name.clone())) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 194 - if (!stack.imported_namespaces.insert(target_module_name.clone())) { [INFO] [stdout] 194 + if !stack.imported_namespaces.insert(target_module_name.clone()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/parser.rs:210:34 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn func_modifiers_parser(cx) -> (bool, bool) => { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `cx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/parser.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | $vis fn $name<'src, I>($cx: ParserContext<'src> $(, $arg: $typ)*) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | / parser_functions! { [INFO] [stdout] 114 | | pub fn statement_parser(cx) -> NodeId => { // TODO: This could take `expr_parse: impl Parser`, which would make this a lot more organ... [INFO] [stdout] 115 | | let mut statement_parser_rec = Recursive::declare(); [INFO] [stdout] 116 | | let ident = ident_parser(cx); [INFO] [stdout] ... | [INFO] [stdout] 506 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `parser_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/passes/name_binding.rs:74:49 [INFO] [stdout] | [INFO] [stdout] 74 | fn bind_current_mangled_name_raw(&mut self, ast: &Ast, name: &str, loc: &Loc) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_node` [INFO] [stdout] --> src/passes/name_binding.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let current_node = self.current_node; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/targets/target_js/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | options: Self::Options, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source_id` is never read [INFO] [stdout] --> src/ast.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Ast { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 15 | pub nodes: Vec, [INFO] [stdout] 16 | pub source_id: SourceId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 68 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` 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: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub enum NodeKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 81 | TemplateLit { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | NullLit, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 86 | UndefinedLit, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | ArrayLit(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | StructLit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | Await { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | IfExpr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | LoopExpr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | WhileExpr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | ForExpr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | MatchExpr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | ClosureExpr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | YieldStmt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | BreakStmt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | ContinueStmt { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | StructDef(Struct), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 192 | EnumDef(Enum), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | LabelNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | Error, // Parsing failed here. [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeKind` 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: variants `Literal` and `Expression` are never constructed [INFO] [stdout] --> src/ast.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub enum TemplatePart { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 206 | Literal(String), // Raw string part [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 207 | Expression(NodeId), // NodeId of the expression inside {expr} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplatePart` 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: variants `Identifier` and `Expression` are never constructed [INFO] [stdout] --> src/ast.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 211 | pub enum StructLitFieldKey { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 212 | Identifier(NodeId), // Identifier NodeId [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 213 | Expression(NodeId), // Computed key, e.g. [expr] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructLitFieldKey` 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 `loc` is never read [INFO] [stdout] --> src/ast.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct Arg { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 220 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` 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: fields `args_raw_tokens` and `loc` are never read [INFO] [stdout] --> src/ast.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct Attribute { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 234 | pub path: Vec, // Vec of Identifier NodeIds, e.g., [ident] or [ident, segment] [INFO] [stdout] 235 | pub args_raw_tokens: Option>, // Raw tokens for #[attr(...)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 236 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` 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: variant `Computed` is never constructed [INFO] [stdout] --> src/ast.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 240 | pub enum ItemName { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 243 | Computed(NodeId /* Expression */), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemName` 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 `loc` is never read [INFO] [stdout] --> src/ast.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 247 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 251 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` 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 `loc` is never read [INFO] [stdout] --> src/ast.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 262 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` 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 `loc` is never read [INFO] [stdout] --> src/ast.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 267 | pub struct Struct { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 271 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Struct` 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: variants `Field` and `Method` are never constructed [INFO] [stdout] --> src/ast.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 275 | pub enum StructMember { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 276 | Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | Method(Function), // Re-use Function struct (which has its own NodeId if it's a separate definition) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructMember` 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 `loc` is never read [INFO] [stdout] --> src/ast.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct Enum { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 294 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enum` 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 `loc` is never read [INFO] [stdout] --> src/ast.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct EnumVariant { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 302 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumVariant` 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: variants `Simple`, `TupleStyle`, and `StructStyle` are never constructed [INFO] [stdout] --> src/ast.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 306 | pub enum EnumVariantKind { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 307 | Simple, // VariantA [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 308 | TupleStyle( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | StructStyle(Vec), // VariantC { a, b, c } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumVariantKind` 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 `loc` is never read [INFO] [stdout] --> src/ast.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct Import { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 320 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` 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 `0` is never read [INFO] [stdout] --> src/ast.rs:339:16 [INFO] [stdout] | [INFO] [stdout] 339 | SelfImport(Loc), // self [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGroupItem` 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] 339 - SelfImport(Loc), // self [INFO] [stdout] 339 + SelfImport(()), // self [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `loc` is never read [INFO] [stdout] --> src/ast.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 340 | RenamedPath { [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 343 | loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportGroupItem` 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: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 348 | pub enum BinaryOp { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 367 | BitwiseAnd, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 368 | BitwiseOr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 369 | BitwiseXor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 370 | ShiftLeft, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 371 | ShiftRight, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 372 | // Assignment [INFO] [stdout] 373 | Assign, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 374 | AddAssign, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 375 | SubAssign, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 376 | MulAssign, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 377 | DivAssign, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 378 | ModAssign, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 379 | // Range [INFO] [stdout] 380 | Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 381 | RangeInclusive, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOp` 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 `loc` is never read [INFO] [stdout] --> src/ast.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 435 | pub struct MatchArm { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 439 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchArm` 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: variant `Statement` is never constructed [INFO] [stdout] --> src/targets/target_js/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 154 | enum ExprOrStmt<'a> { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 155 | Expression(oxc::ast::ast::Expression<'a>), [INFO] [stdout] 156 | Statement(oxc::ast::ast::Statement<'a>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprOrStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `export_name`, `export_declaration`, `var_decl`, and `assignment_target_name` are never used [INFO] [stdout] --> src/targets/target_js/builder.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'a> JsBuilder<'a> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn export_name(&mut self, values: impl Iterator>>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn export_declaration(&mut self, declaration: impl Into>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn var_decl(&mut self, name: impl AsRef, init: Option>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn assignment_target_name(&mut self, name: &str) -> AssignmentTarget<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_expr_body` is never used [INFO] [stdout] --> src/targets/target_js/builder.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 464 | impl<'a> FunctionBuilder<'a> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 471 | pub fn with_expr_body(&mut self, expr: Expression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `computed_property` is never used [INFO] [stdout] --> src/targets/target_js/builder.rs:582:12 [INFO] [stdout] | [INFO] [stdout] 562 | impl<'a> ObjectLiteralBuilder<'a> { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 582 | pub fn computed_property(&mut self, key: Expression<'a>, value: Expression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.54s [INFO] running `Command { std: "docker" "inspect" "0d7e80386d195016b4077ef6afbd01b3e5742aa93a3cb45e63fb697ac307c0ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d7e80386d195016b4077ef6afbd01b3e5742aa93a3cb45e63fb697ac307c0ba", kill_on_drop: false }` [INFO] [stdout] 0d7e80386d195016b4077ef6afbd01b3e5742aa93a3cb45e63fb697ac307c0ba