[INFO] cloning repository https://github.com/marior765/v9 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marior765/v9" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarior765%2Fv9", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarior765%2Fv9'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e960268ace9efafd54d150137ca2995b342b3b5 [INFO] checking marior765/v9 against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118916 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarior765%2Fv9" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marior765/v9 on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marior765/v9 [INFO] finished tweaking git repo https://github.com/marior765/v9 [INFO] tweaked toml for git repo https://github.com/marior765/v9 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/marior765/v9 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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking marior765/v9 against try#3d5258f568a4b4970d455e4e29f39fd691b5a41a for pr-118916 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarior765%2Fv9" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marior765/v9 on toolchain 3d5258f568a4b4970d455e4e29f39fd691b5a41a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marior765/v9 [INFO] finished tweaking git repo https://github.com/marior765/v9 [INFO] tweaked toml for git repo https://github.com/marior765/v9 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/marior765/v9 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" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 352bca3c012775a41acb989a17d73fe316f7f8de41a99390158d59cd4f8c570a [INFO] running `Command { std: "docker" "start" "-a" "352bca3c012775a41acb989a17d73fe316f7f8de41a99390158d59cd4f8c570a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "352bca3c012775a41acb989a17d73fe316f7f8de41a99390158d59cd4f8c570a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "352bca3c012775a41acb989a17d73fe316f7f8de41a99390158d59cd4f8c570a", kill_on_drop: false }` [INFO] [stdout] 352bca3c012775a41acb989a17d73fe316f7f8de41a99390158d59cd4f8c570a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 269129a2dae68546453c330a1df6e53577a31748d9b213c87041796d92cc5c77 [INFO] running `Command { std: "docker" "start" "-a" "269129a2dae68546453c330a1df6e53577a31748d9b213c87041796d92cc5c77", kill_on_drop: false }` [INFO] [stderr] Checking v9 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `expr::Expr` [INFO] [stdout] --> src/analyzer.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::{expr::Expr, keyword::Keyword, punctuator::Punctuator}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::analyzer::Element` [INFO] [stdout] --> src/file_system/module.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::analyzer::Element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string::ToString` [INFO] [stdout] --> src/types/keyword.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | string::ToString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `expr::Expr` [INFO] [stdout] --> src/analyzer.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::{expr::Expr, keyword::Keyword, punctuator::Punctuator}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::analyzer::Element` [INFO] [stdout] --> src/file_system/module.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::analyzer::Element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string::ToString` [INFO] [stdout] --> src/types/keyword.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | string::ToString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line` and `column` are never read [INFO] [stdout] --> src/analyzer.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | line: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | column: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` 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: variants `EOF`, `RegularExpressionLiteral`, and `Comment` are never constructed [INFO] [stdout] --> src/analyzer.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Syntax { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 42 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | RegularExpressionLiteral(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | Comment(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Syntax` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_file` is never used [INFO] [stdout] --> src/file_system/reader.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Reader { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn read_file(&mut self, file_path: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String`, `Float`, `Int`, `Bool`, `Undefined`, and `Null` are never constructed [INFO] [stdout] --> src/types/const.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Const { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Int(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Const` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types/expr.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | FunctionDeclaration(String, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | // FunctionExpression, [INFO] [stdout] 7 | GeneratorDeclaration(String, Vec, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | // GeneratorExpression, [INFO] [stdout] 9 | AsyncFunctionDeclaration(String, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | // AsyncFunctionExpression, [INFO] [stdout] 11 | AsyncGeneratorDeclaration(String, Vec, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | ArrowFunction(Option, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | AsyncArrowFunction(Option, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | ClassDeclaration(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Const(Const), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | ConstDeclaration(Vec<(String, Expr)>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | Construct(Box, Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | Block(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | Local(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | GetConstField(Box, String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | GetField(Box, Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | Call(Box, Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | WhileLoop(Box, Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | If(Box, Box, Option>), [INFO] [stdout] | ^^ [INFO] [stdout] 30 | Switch(Box, Vec<(Expr, Vec)>, Option>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | // ObjectDecl(Box>), [INFO] [stdout] 32 | ArrayDeclaration(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | Return(Option>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | Throw(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | Assign(Box, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | VarDeclaration(Vec<(String, Option)>), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 37 | LetDeclaration(Vec<(String, Option)>), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 38 | TypeOf(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types/punctuator.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Punctuator { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | /// `=>` [INFO] [stdout] 10 | Arrow, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | AssignAdd, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | /// `&=` [INFO] [stdout] 16 | AssignAnd, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | /// `/=` [INFO] [stdout] 18 | AssignDiv, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | /// `<<=` [INFO] [stdout] 20 | AssignLeftSh, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | /// `%=` [INFO] [stdout] 22 | AssignMod, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | /// `*=` [INFO] [stdout] 24 | AssignMul, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | /// `|=` [INFO] [stdout] 26 | AssignOr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | /// `**=` [INFO] [stdout] 28 | AssignPow, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | /// `>>=` [INFO] [stdout] 30 | AssignRightSh, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | /// `-=` [INFO] [stdout] 32 | AssignSub, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | /// `>>>=` [INFO] [stdout] 34 | AssignURightSh, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | /// `^=` [INFO] [stdout] 36 | AssignXor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | /// `&&` [INFO] [stdout] 38 | BoolAnd, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | /// `||` [INFO] [stdout] 40 | BoolOr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | Dec, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | /// `/` [INFO] [stdout] 54 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 59 | /// `>` [INFO] [stdout] 60 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 61 | /// `>=` [INFO] [stdout] 62 | GreaterThanOrEq, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | /// `++` [INFO] [stdout] 64 | Inc, [INFO] [stdout] | ^^^ [INFO] [stdout] 65 | /// `<<` [INFO] [stdout] 66 | LeftSh, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | /// `<` [INFO] [stdout] 68 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 69 | /// `<=` [INFO] [stdout] 70 | LessThanOrEq, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 71 | /// `%` [INFO] [stdout] 72 | Mod, [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | /// `*` [INFO] [stdout] 74 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | /// `~` [INFO] [stdout] 76 | Neg, [INFO] [stdout] | ^^^ [INFO] [stdout] 77 | /// `!` [INFO] [stdout] 78 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] 79 | /// `!=` [INFO] [stdout] 80 | NotEq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 89 | /// `**` [INFO] [stdout] 90 | Pow, [INFO] [stdout] | ^^^ [INFO] [stdout] 91 | /// `?` [INFO] [stdout] 92 | Question, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 93 | /// `>>` [INFO] [stdout] 94 | RightSh, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | StrictEq, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 101 | /// `!==` [INFO] [stdout] 102 | StrictNotEq, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | URightSh, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 107 | /// `^` [INFO] [stdout] 108 | Xor, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Punctuator` 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: unused `Result` that must be used [INFO] [stdout] --> src/file_system/reader.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | reader.read_to_string(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = reader.read_to_string(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line` and `column` are never read [INFO] [stdout] --> src/analyzer.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | line: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | column: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` 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: variants `EOF`, `RegularExpressionLiteral`, and `Comment` are never constructed [INFO] [stdout] --> src/analyzer.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Syntax { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 42 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | RegularExpressionLiteral(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | Comment(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Syntax` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_file` is never used [INFO] [stdout] --> src/file_system/reader.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Reader { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn read_file(&mut self, file_path: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String`, `Float`, `Int`, `Bool`, `Undefined`, and `Null` are never constructed [INFO] [stdout] --> src/types/const.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Const { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Int(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Const` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types/expr.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | FunctionDeclaration(String, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | // FunctionExpression, [INFO] [stdout] 7 | GeneratorDeclaration(String, Vec, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | // GeneratorExpression, [INFO] [stdout] 9 | AsyncFunctionDeclaration(String, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | // AsyncFunctionExpression, [INFO] [stdout] 11 | AsyncGeneratorDeclaration(String, Vec, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | ArrowFunction(Option, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | AsyncArrowFunction(Option, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | ClassDeclaration(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Const(Const), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | ConstDeclaration(Vec<(String, Expr)>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | Construct(Box, Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | Block(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | Local(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | GetConstField(Box, String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | GetField(Box, Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | Call(Box, Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | WhileLoop(Box, Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | If(Box, Box, Option>), [INFO] [stdout] | ^^ [INFO] [stdout] 30 | Switch(Box, Vec<(Expr, Vec)>, Option>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | // ObjectDecl(Box>), [INFO] [stdout] 32 | ArrayDeclaration(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | Return(Option>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | Throw(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | Assign(Box, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | VarDeclaration(Vec<(String, Option)>), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 37 | LetDeclaration(Vec<(String, Option)>), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 38 | TypeOf(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types/punctuator.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Punctuator { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | /// `=>` [INFO] [stdout] 10 | Arrow, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | AssignAdd, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | /// `&=` [INFO] [stdout] 16 | AssignAnd, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | /// `/=` [INFO] [stdout] 18 | AssignDiv, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | /// `<<=` [INFO] [stdout] 20 | AssignLeftSh, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | /// `%=` [INFO] [stdout] 22 | AssignMod, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | /// `*=` [INFO] [stdout] 24 | AssignMul, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | /// `|=` [INFO] [stdout] 26 | AssignOr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | /// `**=` [INFO] [stdout] 28 | AssignPow, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | /// `>>=` [INFO] [stdout] 30 | AssignRightSh, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | /// `-=` [INFO] [stdout] 32 | AssignSub, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | /// `>>>=` [INFO] [stdout] 34 | AssignURightSh, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | /// `^=` [INFO] [stdout] 36 | AssignXor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | /// `&&` [INFO] [stdout] 38 | BoolAnd, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | /// `||` [INFO] [stdout] 40 | BoolOr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | Dec, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | /// `/` [INFO] [stdout] 54 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 59 | /// `>` [INFO] [stdout] 60 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 61 | /// `>=` [INFO] [stdout] 62 | GreaterThanOrEq, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | /// `++` [INFO] [stdout] 64 | Inc, [INFO] [stdout] | ^^^ [INFO] [stdout] 65 | /// `<<` [INFO] [stdout] 66 | LeftSh, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | /// `<` [INFO] [stdout] 68 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 69 | /// `<=` [INFO] [stdout] 70 | LessThanOrEq, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 71 | /// `%` [INFO] [stdout] 72 | Mod, [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | /// `*` [INFO] [stdout] 74 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | /// `~` [INFO] [stdout] 76 | Neg, [INFO] [stdout] | ^^^ [INFO] [stdout] 77 | /// `!` [INFO] [stdout] 78 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] 79 | /// `!=` [INFO] [stdout] 80 | NotEq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 89 | /// `**` [INFO] [stdout] 90 | Pow, [INFO] [stdout] | ^^^ [INFO] [stdout] 91 | /// `?` [INFO] [stdout] 92 | Question, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 93 | /// `>>` [INFO] [stdout] 94 | RightSh, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | StrictEq, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 101 | /// `!==` [INFO] [stdout] 102 | StrictNotEq, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | URightSh, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 107 | /// `^` [INFO] [stdout] 108 | Xor, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Punctuator` 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file_system/reader.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | reader.read_to_string(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = reader.read_to_string(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "269129a2dae68546453c330a1df6e53577a31748d9b213c87041796d92cc5c77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "269129a2dae68546453c330a1df6e53577a31748d9b213c87041796d92cc5c77", kill_on_drop: false }` [INFO] [stdout] 269129a2dae68546453c330a1df6e53577a31748d9b213c87041796d92cc5c77