[INFO] cloning repository https://github.com/daguanren21/Nebula [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daguanren21/Nebula" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaguanren21%2FNebula", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaguanren21%2FNebula'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12f568d685c6be72767646e3687130afcd4b7946 [INFO] checking daguanren21/Nebula against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaguanren21%2FNebula" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/daguanren21/Nebula on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/daguanren21/Nebula [INFO] finished tweaking git repo https://github.com/daguanren21/Nebula [INFO] tweaked toml for git repo https://github.com/daguanren21/Nebula written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/daguanren21/Nebula 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11d10e0666abda134ad4ee59835c1d679cdb594f65c7260e4d3f4e7f0201aae8 [INFO] running `Command { std: "docker" "start" "-a" "11d10e0666abda134ad4ee59835c1d679cdb594f65c7260e4d3f4e7f0201aae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11d10e0666abda134ad4ee59835c1d679cdb594f65c7260e4d3f4e7f0201aae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11d10e0666abda134ad4ee59835c1d679cdb594f65c7260e4d3f4e7f0201aae8", kill_on_drop: false }` [INFO] [stdout] 11d10e0666abda134ad4ee59835c1d679cdb594f65c7260e4d3f4e7f0201aae8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3ddc6baf0151bcf65efcb59e032b62fe19a2641aa4118fdab6dc353018d7bac [INFO] running `Command { std: "docker" "start" "-a" "b3ddc6baf0151bcf65efcb59e032b62fe19a2641aa4118fdab6dc353018d7bac", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling serde v1.0.151 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling fsio v0.1.3 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling nias v0.5.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking envmnt v0.8.4 [INFO] [stderr] Checking ci_info v0.10.2 [INFO] [stderr] Checking toml v0.5.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking nebula v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `_self_` should have an upper camel case name [INFO] [stdout] --> src/core/lexer/decls.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | _self_, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Self` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/core/lexer/decls.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | Use, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | Pub, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | As, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | // * Flow control: [INFO] [stdout] 18 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | Each, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | In, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | Match, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Continue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | // * Variable declaration: [INFO] [stdout] 27 | Var, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | Const, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | // * Function declaration: [INFO] [stdout] 30 | Fn, [INFO] [stdout] | ^^ [INFO] [stdout] 31 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | // * Composition and abstract: [INFO] [stdout] 33 | Struct, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | New, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | Trait, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Enum, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | Impl, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | // * Asynchronization: [INFO] [stdout] 39 | Async, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | Await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | Crate, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `raw`, `offset`, `line`, and `col` are never read [INFO] [stdout] --> src/core/lexer/decls.rs:181:7 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 181 | pub raw: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 182 | pub kind: TokenType, [INFO] [stdout] 183 | pub offset: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 184 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 185 | pub col: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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: associated items `new` and `peek_all_tokens` are never used [INFO] [stdout] --> src/core/lexer/impls.rs:626:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 626 | pub fn new(contents: &'a str) -> Lexer<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 667 | pub fn peek_all_tokens(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParsingTokenMeta` is never constructed [INFO] [stdout] --> src/core/parser/impls.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct ParsingTokenMeta { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/core/parser/impls.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/parser/impls.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 34 | fn move_to_next_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn match_current_token_type(ref_current_token: &Option, token_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn match_current_token_types( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn get_token_pos(ref_token: &Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn get_token_kind(ref_token: &Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn get_token_raw(ref_token: &Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn get_current_token_meta_and_move_next( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn collect_err_on_current_token_pos( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn get_single_bare_name_head( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn new(contents: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn parse_expression_simple_literal(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn parse_expression_grouping(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn parse_expression_array_literal(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | pub fn parse_expression_name_path_expression(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn parse_expression(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nebula_interal_err` is never used [INFO] [stdout] --> src/core/shared/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn nebula_interal_err(str: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/shared/ast/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 17 | impl Position { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(line: usize, col: usize) -> Position { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expression` is never used [INFO] [stdout] --> src/core/shared/ast/expressions.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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: enum `NormalExpression` is never used [INFO] [stdout] --> src/core/shared/ast/expressions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum NormalExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NormalExpression` 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: enum `ExpressionWithBlock` is never used [INFO] [stdout] --> src/core/shared/ast/expressions.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum ExpressionWithBlock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionWithBlock` 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: multiple variants are never constructed [INFO] [stdout] --> src/core/shared/ast/expressions.rs:123:3 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum SimpleLiteral { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 123 | DecimalLiteral(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 124 | BinaryLiteral(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 125 | OctalLiteral(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 126 | HexLiteral(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 127 | StringLiteral(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 128 | BooleanLiteral(bool), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 129 | CharLiteral(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 130 | FloatLiteral(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 131 | ExponentLiteral(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleLiteral` 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: enum `NamePathHead` is never used [INFO] [stdout] --> src/core/shared/ast/expressions.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | pub enum NamePathHead { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NamePathHead` 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: struct `NamePathExpression` is never constructed [INFO] [stdout] --> src/core/shared/ast/expressions.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct NamePathExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NamePathExpression` 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: struct `LambdaExpression` is never constructed [INFO] [stdout] --> src/core/shared/ast/expressions.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct LambdaExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LambdaExpression` 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: enum `UnaryOperator` is never used [INFO] [stdout] --> src/core/shared/ast/expressions.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum UnaryOperator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOperator` 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: enum `BinaryOperator` is never used [INFO] [stdout] --> src/core/shared/ast/expressions.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | pub enum BinaryOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperator` 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: enum `CompoundAssignmentOperator` is never used [INFO] [stdout] --> src/core/shared/ast/expressions.rs:185:10 [INFO] [stdout] | [INFO] [stdout] 185 | pub enum CompoundAssignmentOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompoundAssignmentOperator` 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: enum `AssignmentLeftHand` is never used [INFO] [stdout] --> src/core/shared/ast/expressions.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | pub enum AssignmentLeftHand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignmentLeftHand` 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: struct `ArrayDestructAssign` is never constructed [INFO] [stdout] --> src/core/shared/ast/expressions.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct ArrayDestructAssign { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArrayDestructAssign` 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: enum `ArrayDestructRest` is never used [INFO] [stdout] --> src/core/shared/ast/expressions.rs:234:10 [INFO] [stdout] | [INFO] [stdout] 234 | pub enum ArrayDestructRest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArrayDestructRest` 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: enum `MatchArmPattern` is never used [INFO] [stdout] --> src/core/shared/ast/expressions.rs:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | pub enum MatchArmPattern { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchArmPattern` 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: enum `MatchSingleArm` is never used [INFO] [stdout] --> src/core/shared/ast/expressions.rs:260:10 [INFO] [stdout] | [INFO] [stdout] 260 | pub enum MatchSingleArm { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchSingleArm` 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: enum `Statement` is never used [INFO] [stdout] --> src/core/shared/ast/statements.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Statement { [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: enum `TopStatement` is never used [INFO] [stdout] --> src/core/shared/ast/statements.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum TopStatement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopStatement` 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: struct `UseEntry` is never constructed [INFO] [stdout] --> src/core/shared/ast/statements.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct UseEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UseEntry` 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: struct `FunctionDeclaration` is never constructed [INFO] [stdout] --> src/core/shared/ast/statements.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct FunctionDeclaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDeclaration` 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: struct `StructField` is never constructed [INFO] [stdout] --> src/core/shared/ast/statements.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct StructField { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructField` 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: struct `FunctionSignature` is never constructed [INFO] [stdout] --> src/core/shared/ast/statements.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct FunctionSignature { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionSignature` 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 `UnexpectedToken`, `ExpectedExpressionAfterLeftParenthesis`, `ExpectedRightParenthesisAfterExpression`, `ExpectedCommaOrRightBracketAfterExpression`, and `ExpectedIdentifierAfterDoubleColon` are never constructed [INFO] [stdout] --> src/core/shared/compile_errors/mod.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum CompileError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | UnexpectedToken { token_name: String, pos: Position }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | ExpectedExpressionAfterLeftParenthesis { pos: Position }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | ExpectedRightParenthesisAfterExpression { pos: Position }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | ExpectedCommaOrRightBracketAfterExpression { pos: Position }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | ExpectedIdentifierAfterDoubleColon { pos: Position }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompileError` 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: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rusty-hook v0.11.2 [INFO] [stdout] warning: variant `_self_` should have an upper camel case name [INFO] [stdout] --> src/core/lexer/decls.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | _self_, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Self` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offset` is never read [INFO] [stdout] --> src/core/lexer/decls.rs:183:7 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 183 | pub offset: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peek_all_tokens` is never used [INFO] [stdout] --> src/core/lexer/impls.rs:667:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 667 | pub fn peek_all_tokens(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/shared/ast/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 17 | impl Position { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(line: usize, col: usize) -> Position { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExpressionWithBlock` is never constructed [INFO] [stdout] --> src/core/shared/ast/expressions.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 6 | NormalExpression(NormalExpression), [INFO] [stdout] 7 | ExpressionWithBlock(ExpressionWithBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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: multiple variants are never constructed [INFO] [stdout] --> src/core/shared/ast/expressions.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum NormalExpression { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | LambdaExpression(LambdaExpression), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | AwaitExpression(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | GetExpression(Box, Identifier, bool), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | CallExpression(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | IndexExpression(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | UnaryExpression(Box, UnaryOperator), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | BinaryExpression(Box, BinaryOperator, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | AssignmentExpression(AssignmentLeftHand, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | CompoundAssignmentExpression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | RangeExpression(Box, Box, bool), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NormalExpression` 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 `BareBlock`, `IfExpression`, `WhileExpression`, `ForEachExpression`, and `MatchExpression` are never constructed [INFO] [stdout] --> src/core/shared/ast/expressions.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum ExpressionWithBlock { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 98 | BareBlock(Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 99 | IfExpression { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | WhileExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | ForEachExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | MatchExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionWithBlock` 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/core/shared/ast/expressions.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | Identifier(Identifier), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 136 | Identifier(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/shared/ast/expressions.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | BigSelfSymbol(Position), [INFO] [stdout] | ------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 138 | BigSelfSymbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/shared/ast/expressions.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | CrateSymbol(Position), [INFO] [stdout] | ----------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 139 | CrateSymbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_async`, `params`, and `body` are never read [INFO] [stdout] --> src/core/shared/ast/expressions.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct LambdaExpression { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 150 | pub is_async: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 151 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 152 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LambdaExpression` 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 `Negation` and `Not` are never constructed [INFO] [stdout] --> src/core/shared/ast/expressions.rs:157:3 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum UnaryOperator { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 157 | Negation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 158 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOperator` 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: multiple variants are never constructed [INFO] [stdout] --> src/core/shared/ast/expressions.rs:163:3 [INFO] [stdout] | [INFO] [stdout] 162 | pub enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 163 | Addition, // + [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 164 | Subtraction, // - [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 165 | Multiplication, // * [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 166 | Division, // / [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 167 | Modulo, // % [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 168 | Exponent, // ** [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 169 | BitwiseAnd, // & [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 170 | BitwiseOr, // | [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 171 | BitwiseXor, // ^ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 172 | BitwiseShiftLeft, // << [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 173 | BitwiseShiftRight, // >> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 174 | LogicalAnd, // && [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 175 | LogicalOr, // || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 176 | Equals, // == [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 177 | NotEquals, // != [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 178 | LessThan, // < [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 179 | LessThanOrEquals, // <= [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 180 | GreaterThan, // > [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 181 | GreaterThanOrEquals, // >= [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperator` 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: multiple variants are never constructed [INFO] [stdout] --> src/core/shared/ast/expressions.rs:186:3 [INFO] [stdout] | [INFO] [stdout] 185 | pub enum CompoundAssignmentOperator { [INFO] [stdout] | -------------------------- variants in this enum [INFO] [stdout] 186 | Addition, // += [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 187 | Subtraction, // -= [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 188 | Multiplication, // *= [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 189 | Division, // /= [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 190 | Modulo, // %= [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 191 | Exponent, // **= [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 192 | BitwiseAnd, // &= [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 193 | BitwiseOr, // |= [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 194 | BitwiseXor, // ^= [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 195 | BitwiseShiftLeft, // <<= [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 196 | BitwiseShiftRight, // >>= [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 197 | LogicalAnd, // &&= [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 198 | LogicalOr, // ||= [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompoundAssignmentOperator` 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 `Identifier`, `Destruct`, `GetExpression`, and `IndexExpression` are never constructed [INFO] [stdout] --> src/core/shared/ast/expressions.rs:206:3 [INFO] [stdout] | [INFO] [stdout] 202 | pub enum AssignmentLeftHand { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 206 | Identifier(Identifier), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | Destruct(ArrayDestructAssign), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | GetExpression(Box), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | IndexExpression(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignmentLeftHand` 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 `vars` and `rest` are never read [INFO] [stdout] --> src/core/shared/ast/expressions.rs:227:7 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct ArrayDestructAssign { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 226 | /// Deconstructing an array into these variables. [INFO] [stdout] 227 | pub vars: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub rest: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArrayDestructAssign` 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 `Identifier` and `ChildRest` are never constructed [INFO] [stdout] --> src/core/shared/ast/expressions.rs:236:3 [INFO] [stdout] | [INFO] [stdout] 234 | pub enum ArrayDestructRest { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 235 | /// Destructing the rest of parent array into a single variable. [INFO] [stdout] 236 | Identifier(Identifier), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | ChildRest(Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArrayDestructRest` 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 `Single`, `Mutiple`, `RangePattern`, and `Fallback` are never constructed [INFO] [stdout] --> src/core/shared/ast/expressions.rs:247:3 [INFO] [stdout] | [INFO] [stdout] 244 | pub enum MatchArmPattern { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 247 | Single(MatchSingleArm), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | Mutiple(Vec), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | RangePattern(Box, Box, bool), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | Fallback(Position), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchArmPattern` 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 `Literal`, `Identifier`, and `Path` are never constructed [INFO] [stdout] --> src/core/shared/ast/expressions.rs:261:3 [INFO] [stdout] | [INFO] [stdout] 260 | pub enum MatchSingleArm { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 261 | Literal(SimpleLiteral), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 262 | Identifier(Identifier), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 263 | Path(NamePathExpression), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchSingleArm` 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 `ExpressionStatement`, `VariableDeclaration`, `ReturnStatement`, `BreakStatement`, `ContinueStatement`, and `FunctionDeclaration` are never constructed [INFO] [stdout] --> src/core/shared/ast/statements.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 5 | ExpressionStatement(Expression), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | VariableDeclaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | ReturnStatement(Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | BreakStatement(Option), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ContinueStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | FunctionDeclaration(FunctionDeclaration), [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: enum `TopStatement` is never used [INFO] [stdout] --> src/core/shared/ast/statements.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum TopStatement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopStatement` 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: struct `UseEntry` is never constructed [INFO] [stdout] --> src/core/shared/ast/statements.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct UseEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UseEntry` 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 `is_pub`, `is_async`, `name`, `params`, and `body` are never read [INFO] [stdout] --> src/core/shared/ast/statements.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct FunctionDeclaration { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 49 | is_pub: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | is_async: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | name: Identifier, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDeclaration` 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: struct `StructField` is never constructed [INFO] [stdout] --> src/core/shared/ast/statements.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct StructField { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructField` 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: struct `FunctionSignature` is never constructed [INFO] [stdout] --> src/core/shared/ast/statements.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct FunctionSignature { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionSignature` 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: variant `UnexpectedToken` is never constructed [INFO] [stdout] --> src/core/shared/compile_errors/mod.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum CompileError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | UnexpectedToken { token_name: String, pos: Position }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompileError` 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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.85s [INFO] running `Command { std: "docker" "inspect" "b3ddc6baf0151bcf65efcb59e032b62fe19a2641aa4118fdab6dc353018d7bac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3ddc6baf0151bcf65efcb59e032b62fe19a2641aa4118fdab6dc353018d7bac", kill_on_drop: false }` [INFO] [stdout] b3ddc6baf0151bcf65efcb59e032b62fe19a2641aa4118fdab6dc353018d7bac