[INFO] cloning repository https://github.com/Censkh/Maxwell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Censkh/Maxwell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCenskh%2FMaxwell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCenskh%2FMaxwell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 347f9ebf1d50028287b675bf059c75da2af3e44c [INFO] checking Censkh/Maxwell against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCenskh%2FMaxwell" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Censkh/Maxwell [INFO] finished tweaking git repo https://github.com/Censkh/Maxwell [INFO] tweaked toml for git repo https://github.com/Censkh/Maxwell written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Censkh/Maxwell on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Censkh/Maxwell 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e37cbdbdf6325f872e06ece6fc5ed57540eea4771a20ee52649d73646fe9c63 [INFO] running `Command { std: "docker" "start" "-a" "6e37cbdbdf6325f872e06ece6fc5ed57540eea4771a20ee52649d73646fe9c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e37cbdbdf6325f872e06ece6fc5ed57540eea4771a20ee52649d73646fe9c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e37cbdbdf6325f872e06ece6fc5ed57540eea4771a20ee52649d73646fe9c63", kill_on_drop: false }` [INFO] [stdout] 6e37cbdbdf6325f872e06ece6fc5ed57540eea4771a20ee52649d73646fe9c63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 558fe058ddd0b1e3a009a6162c6cec41f4a2ea9f680de000de039cf84a6b2a6f [INFO] running `Command { std: "docker" "start" "-a" "558fe058ddd0b1e3a009a6162c6cec41f4a2ea9f680de000de039cf84a6b2a6f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.29 [INFO] [stderr] Checking scopeguard v0.3.2 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Checking futures v0.1.14 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking json v0.11.9 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Checking num_cpus v1.6.2 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Checking maxwell v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/compiler/tokenizer.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | '0' ... '9' => Token::Literal(Literal::Number(self.read_number(chunk, start).to_owned())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/compiler/tokenizer.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/compiler/tokenizer.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/compiler/compiler.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/compiler/compiler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Expression` [INFO] [stdout] --> src/compiler/ast/statement.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use super::expression::{ExpressionNode, Expression}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::prettify_plugin::PrettifyPlugin` [INFO] [stdout] --> src/plugins/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::prettify_plugin::PrettifyPlugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::minify_plugin::MinifyPlugin` [INFO] [stdout] --> src/plugins/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::minify_plugin::MinifyPlugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/compiler.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | parser: Box [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | parser: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/transform/plugin_manager.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | plugins: Vec> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | plugins: Vec> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/transform/plugin.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | impl PartialEq for Plugin { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | impl PartialEq for dyn Plugin { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/transform/plugin.rs:11:67 [INFO] [stdout] | [INFO] [stdout] 11 | fn handle(&self, pass: &mut PluginPass) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn handle(&self, pass: &mut PluginPass) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/transform/plugin.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | impl Hash for Plugin { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | impl Hash for dyn Plugin { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/transform/plugin.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | impl Eq for Plugin {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | impl Eq for dyn Plugin {} [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/transform/plugin.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn eq(&self, other: &Plugin) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn eq(&self, other: &dyn Plugin) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plugins/minify_plugin.rs:14:67 [INFO] [stdout] | [INFO] [stdout] 14 | fn handle(&self, pass: &mut PluginPass) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn handle(&self, pass: &mut PluginPass) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plugins/prettify_plugin.rs:14:67 [INFO] [stdout] | [INFO] [stdout] 14 | fn handle(&self, pass: &mut PluginPass) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn handle(&self, pass: &mut PluginPass) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/generator.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn generate(&self, node: &Node) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn generate(&self, node: &dyn Node) -> String { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/compiler/tokenizer.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | write!(f, "Tokenizer Error: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::slice_unchecked`: use `get_unchecked(begin..end)` instead [INFO] [stdout] --> src/compiler/chunk.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | return self.source.slice_unchecked(start, self.index); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::slice_unchecked`: use `get_unchecked(begin..end)` instead [INFO] [stdout] --> src/compiler/chunk.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | return self.source.slice_unchecked(start, end); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/compiler/tokenizer.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | '0' ... '9' => Token::Literal(Literal::Number(self.read_number(chunk, start).to_owned())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/compiler/tokenizer.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/compiler/tokenizer.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/compiler/compiler.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/compiler/compiler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Expression` [INFO] [stdout] --> src/compiler/ast/statement.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use super::expression::{ExpressionNode, Expression}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::prettify_plugin::PrettifyPlugin` [INFO] [stdout] --> src/plugins/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::prettify_plugin::PrettifyPlugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::minify_plugin::MinifyPlugin` [INFO] [stdout] --> src/plugins/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::minify_plugin::MinifyPlugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/compiler.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | parser: Box [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | parser: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/transform/plugin_manager.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | plugins: Vec> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | plugins: Vec> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::rayon::prelude` [INFO] [stdout] --> src/compiler/compiler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/transform/plugin.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | impl PartialEq for Plugin { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | impl PartialEq for dyn Plugin { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/transform/plugin.rs:11:67 [INFO] [stdout] | [INFO] [stdout] 11 | fn handle(&self, pass: &mut PluginPass) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn handle(&self, pass: &mut PluginPass) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/compiler/tokenizer.rs:281:28 [INFO] [stdout] | [INFO] [stdout] 281 | Whitespace(count) => self.pop_token(chunk), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/compiler/tokenizer.rs:326:28 [INFO] [stdout] | [INFO] [stdout] 326 | Whitespace(count) => self.pop_token(chunk), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/transform/plugin.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | impl Hash for Plugin { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | impl Hash for dyn Plugin { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/transform/plugin.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | impl Eq for Plugin {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | impl Eq for dyn Plugin {} [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/transform/plugin.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn eq(&self, other: &Plugin) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn eq(&self, other: &dyn Plugin) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plugins/minify_plugin.rs:14:67 [INFO] [stdout] | [INFO] [stdout] 14 | fn handle(&self, pass: &mut PluginPass) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn handle(&self, pass: &mut PluginPass) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plugins/prettify_plugin.rs:14:67 [INFO] [stdout] | [INFO] [stdout] 14 | fn handle(&self, pass: &mut PluginPass) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn handle(&self, pass: &mut PluginPass) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/generator.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn generate(&self, node: &Node) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn generate(&self, node: &dyn Node) -> String { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/compiler.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | let mut required_chunk = self.chunk_map.get_mut(&required_id).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/compiler/tokenizer.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | write!(f, "Tokenizer Error: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/compiler/compiler.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | Err(err) => {}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::slice_unchecked`: use `get_unchecked(begin..end)` instead [INFO] [stdout] --> src/compiler/chunk.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | return self.source.slice_unchecked(start, self.index); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::slice_unchecked`: use `get_unchecked(begin..end)` instead [INFO] [stdout] --> src/compiler/chunk.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | return self.source.slice_unchecked(start, end); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/ast/statement.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut string = match self.statement { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/compiler/parser/js_parser.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | let (token, prefix) = self.tokenizer.peek_ignore_padding(options.chunk); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow_prefix` [INFO] [stdout] --> src/compiler/parser/js_parser.rs:173:34 [INFO] [stdout] | [INFO] [stdout] 173 | let (possible_fat_arrow, arrow_prefix) = self.tokenizer.peek_ignore_padding(options.chunk); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arrow_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifier_prefix` [INFO] [stdout] --> src/compiler/parser/js_parser.rs:281:36 [INFO] [stdout] | [INFO] [stdout] 281 | let (identifier_token, identifier_prefix) = self.tokenizer.peek_ignore_whitespace(options.chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifier_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pad` [INFO] [stdout] --> src/compiler/parser/js_parser.rs:467:49 [INFO] [stdout] | [INFO] [stdout] 467 | let (next_proper_token, pad) = self.tokenizer.peek_ignore_whitespace(options.chunk); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/compiler/chunk.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 47 | pub name : String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::rayon::prelude` [INFO] [stdout] --> src/compiler/compiler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_syntax_tree` is never used [INFO] [stdout] --> src/compiler/chunk.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> Chunk { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn update_syntax_tree(&mut self, tree : SyntaxTree) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Binary` is never constructed [INFO] [stdout] --> src/compiler/literal.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Literal { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Binary(u64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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 `Default`, `Finally`, `With`, and `As` are never constructed [INFO] [stdout] --> src/compiler/keyword.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Keyword { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 5 | Function, [INFO] [stdout] 6 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | While, [INFO] [stdout] 8 | Finally, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | With, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | As, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keyword` 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/compiler/operator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum OperatorKind { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 3 | Accessor, // … . … [INFO] [stdout] 4 | New, // new … [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | Increment, // ++ … | … ++ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | Decrement, // -- … | … -- [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | LogicalNot, // ! … [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | BitwiseNot, // ~ … [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | Typeof, // typeof … [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Void, // void … [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Delete, // delete … [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Multiplication, // … * … [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | Division, // … / … [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | Remainder, // … % … [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | Exponent, // … ** … [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | Addition, // … + … | + … [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Subtraction, // … - … | - … [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | BitShiftLeft, // … << … [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | BitShiftRight, // … >> … [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | UBitShiftRight, // … >>> … [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | Lesser, // … < … [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | LesserEquals, // … <= … [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | Greater, // … > … [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | GreaterEquals, // … >= … [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | InstanceOf, // … instanceof … [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | In, // … in … [INFO] [stdout] | ^^ [INFO] [stdout] 27 | StrictEquality, // … === … [INFO] [stdout] 28 | StrictInequality, // … !== … [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | Equality, // … == … [INFO] [stdout] 30 | Inequality, // … != … [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | BitwiseAnd, // … & … [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | BitwiseXor, // … ^ … [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | BitwiseOr, // … | … [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | LogicalAnd, // … && … [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | LogicalOr, // … || … [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | Conditional, // … ? … : … [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | Assign, // … = … [INFO] [stdout] 38 | AddAssign, // … += … [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | SubtractAssign, // … -= … [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 40 | ExponentAssign, // … **= … [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 41 | MultiplyAssign, // … *= … [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 42 | DivideAssign, // … /= … [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 43 | RemainderAssign, // … %= … [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | BSLAssign, // … <<= … [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | BSRAssign, // … >>= … [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | UBSRAssign, // … >>>= … [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | BitAndAssign, // … &= … [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 48 | BitXorAssign, // … ^= … [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | BitOrAssign, // … |= … [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | Spread, // ... … [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatorKind` 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 `options` is never read [INFO] [stdout] --> src/compiler/compiler.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Compiler { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | options: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParserError` is never constructed [INFO] [stdout] --> src/compiler/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum CompilerError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 6 | InvalidConfig(ConfigError), [INFO] [stdout] 7 | ParserError(ParserError), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `plugins` is never read [INFO] [stdout] --> src/compiler/options.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CompilerOptions { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | plugins: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerOptions` 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/compiler/transform/plugin.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | StatementNodeEmit(&'a mut StatementNode), [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] 32 - StatementNodeEmit(&'a mut StatementNode), [INFO] [stdout] 32 + StatementNodeEmit(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/transform/plugin.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | ExpressionNodeEmit(&'a mut ExpressionNode) [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] 33 - ExpressionNodeEmit(&'a mut ExpressionNode) [INFO] [stdout] 33 + ExpressionNodeEmit(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EmitChunk` is never constructed [INFO] [stdout] --> src/compiler/transform/plugin.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum PluginPass<'a> { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 31 | EmitChunk(&'a mut Chunk), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_plugin` is never used [INFO] [stdout] --> src/compiler/transform/plugin_manager.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl PluginManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn add_plugin(&mut self, plugin: T) where T: Plugin + 'static { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Multiple` is never constructed [INFO] [stdout] --> src/compiler/ast/statement.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ImportDeclaration { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | Multiple(Vec) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportDeclaration` 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 function `default` is never used [INFO] [stdout] --> src/compiler/ast/expression.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl ArrowFunctionTrivia { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 41 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Void`, `This`, and `ArrowFunction` are never constructed [INFO] [stdout] --> src/compiler/ast/expression.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum Expression { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 54 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | This, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | ArrowFunction { [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: field `0` is never read [INFO] [stdout] --> src/compiler/module/resolver.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | ImportNotFound(String) [INFO] [stdout] | -------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResolverError` has a derived impl for the trait `Debug`, but this is 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] 7 - ImportNotFound(String) [INFO] [stdout] 7 + ImportNotFound(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind`, `description`, and `location` are never read [INFO] [stdout] --> src/compiler/parser/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ParserError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 10 | kind: ParserErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | location: SourceLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MinifyPlugin` is never constructed [INFO] [stdout] --> src/plugins/minify_plugin.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MinifyPlugin {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrettifyPlugin` is never constructed [INFO] [stdout] --> src/plugins/prettify_plugin.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PrettifyPlugin {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/compiler/tokenizer.rs:281:28 [INFO] [stdout] | [INFO] [stdout] 281 | Whitespace(count) => self.pop_token(chunk), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/compiler/tokenizer.rs:326:28 [INFO] [stdout] | [INFO] [stdout] 326 | Whitespace(count) => self.pop_token(chunk), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/tokenizer.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | self.pop_token(chunk); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 264 | let _ = self.pop_token(chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/tokenizer.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | / match self.peek_token(chunk).unwrap() { [INFO] [stdout] 281 | | Whitespace(count) => self.pop_token(chunk), [INFO] [stdout] 282 | | _ => break, [INFO] [stdout] 283 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 280 | let _ = match self.peek_token(chunk).unwrap() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/tokenizer.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | self.pop_token(chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 286 | let _ = self.pop_token(chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/tokenizer.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 304 | self.pop_token(chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 304 | let _ = self.pop_token(chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/tokenizer.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | self.pop_token(chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 308 | let _ = self.pop_token(chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/tokenizer.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | / match self.peek_token(chunk).unwrap() { [INFO] [stdout] 326 | | Whitespace(count) => self.pop_token(chunk), [INFO] [stdout] 327 | | Newline => self.pop_token(chunk), [INFO] [stdout] 328 | | _ => break, [INFO] [stdout] 329 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 325 | let _ = match self.peek_token(chunk).unwrap() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/tokenizer.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | self.pop_token(chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 332 | let _ = self.pop_token(chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/compiler.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | chunk.load_source(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 108 | let _ = chunk.load_source(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/compiler.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | self.compile_chunk(&required_location, plugin_manager); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 119 | let _ = self.compile_chunk(&required_location, plugin_manager); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/compiler.rs:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | ... buf.write_all(src.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 154 | let _ = buf.write_all(src.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/transform/plugin_manager.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | plugin.handle(&mut pass); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 17 | let _ = plugin.handle(&mut pass); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/parser/js_parser.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | / ... match token { [INFO] [stdout] 268 | | ... Token::BracketClose => self.tokenizer.pop_token(options.chunk), [INFO] [stdout] 269 | | ... _ => return Err(ParserError::new(ParserErrorKind::Syntax, format!("Call not closed with bracket"), SourceLocation::defa... [INFO] [stdout] 270 | | ... }; [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 267 | let _ = match token { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/parser/js_parser.rs:463:25 [INFO] [stdout] | [INFO] [stdout] 463 | self.tokenizer.pop_token(options.chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 463 | let _ = self.tokenizer.pop_token(options.chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/parser/js_parser.rs:466:25 [INFO] [stdout] | [INFO] [stdout] 466 | self.tokenizer.pop_token(options.chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 466 | let _ = self.tokenizer.pop_token(options.chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/parser/js_parser.rs:478:25 [INFO] [stdout] | [INFO] [stdout] 478 | self.tokenizer.pop_token(options.chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 478 | let _ = self.tokenizer.pop_token(options.chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/parser/js_parser.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | self.tokenizer.pop_token(options.chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 483 | let _ = self.tokenizer.pop_token(options.chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/compiler.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | let mut required_chunk = self.chunk_map.get_mut(&required_id).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/compiler/compiler.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | Err(err) => {}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/ast/statement.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut string = match self.statement { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/compiler/parser/js_parser.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | let (token, prefix) = self.tokenizer.peek_ignore_padding(options.chunk); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow_prefix` [INFO] [stdout] --> src/compiler/parser/js_parser.rs:173:34 [INFO] [stdout] | [INFO] [stdout] 173 | let (possible_fat_arrow, arrow_prefix) = self.tokenizer.peek_ignore_padding(options.chunk); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arrow_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifier_prefix` [INFO] [stdout] --> src/compiler/parser/js_parser.rs:281:36 [INFO] [stdout] | [INFO] [stdout] 281 | let (identifier_token, identifier_prefix) = self.tokenizer.peek_ignore_whitespace(options.chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifier_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pad` [INFO] [stdout] --> src/compiler/parser/js_parser.rs:467:49 [INFO] [stdout] | [INFO] [stdout] 467 | let (next_proper_token, pad) = self.tokenizer.peek_ignore_whitespace(options.chunk); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/compiler/chunk.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 47 | pub name : String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_syntax_tree` is never used [INFO] [stdout] --> src/compiler/chunk.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> Chunk { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn update_syntax_tree(&mut self, tree : SyntaxTree) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Binary` is never constructed [INFO] [stdout] --> src/compiler/literal.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Literal { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Binary(u64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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 `Default`, `Finally`, `With`, and `As` are never constructed [INFO] [stdout] --> src/compiler/keyword.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Keyword { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 5 | Function, [INFO] [stdout] 6 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | While, [INFO] [stdout] 8 | Finally, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | With, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | As, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keyword` 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/compiler/operator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum OperatorKind { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 3 | Accessor, // … . … [INFO] [stdout] 4 | New, // new … [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | Increment, // ++ … | … ++ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | Decrement, // -- … | … -- [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | LogicalNot, // ! … [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | BitwiseNot, // ~ … [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | Typeof, // typeof … [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Void, // void … [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Delete, // delete … [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Multiplication, // … * … [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | Division, // … / … [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | Remainder, // … % … [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | Exponent, // … ** … [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | Addition, // … + … | + … [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Subtraction, // … - … | - … [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | BitShiftLeft, // … << … [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | BitShiftRight, // … >> … [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | UBitShiftRight, // … >>> … [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | Lesser, // … < … [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | LesserEquals, // … <= … [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | Greater, // … > … [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | GreaterEquals, // … >= … [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | InstanceOf, // … instanceof … [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | In, // … in … [INFO] [stdout] | ^^ [INFO] [stdout] 27 | StrictEquality, // … === … [INFO] [stdout] 28 | StrictInequality, // … !== … [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | Equality, // … == … [INFO] [stdout] 30 | Inequality, // … != … [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | BitwiseAnd, // … & … [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | BitwiseXor, // … ^ … [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | BitwiseOr, // … | … [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | LogicalAnd, // … && … [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | LogicalOr, // … || … [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | Conditional, // … ? … : … [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | Assign, // … = … [INFO] [stdout] 38 | AddAssign, // … += … [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | SubtractAssign, // … -= … [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 40 | ExponentAssign, // … **= … [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 41 | MultiplyAssign, // … *= … [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 42 | DivideAssign, // … /= … [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 43 | RemainderAssign, // … %= … [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | BSLAssign, // … <<= … [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | BSRAssign, // … >>= … [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | UBSRAssign, // … >>>= … [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | BitAndAssign, // … &= … [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 48 | BitXorAssign, // … ^= … [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | BitOrAssign, // … |= … [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | Spread, // ... … [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatorKind` 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 `options` is never read [INFO] [stdout] --> src/compiler/compiler.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Compiler { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | options: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParserError` is never constructed [INFO] [stdout] --> src/compiler/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum CompilerError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 6 | InvalidConfig(ConfigError), [INFO] [stdout] 7 | ParserError(ParserError), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `plugins` is never read [INFO] [stdout] --> src/compiler/options.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CompilerOptions { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | plugins: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerOptions` 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/compiler/transform/plugin.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | StatementNodeEmit(&'a mut StatementNode), [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] 32 - StatementNodeEmit(&'a mut StatementNode), [INFO] [stdout] 32 + StatementNodeEmit(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/transform/plugin.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | ExpressionNodeEmit(&'a mut ExpressionNode) [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] 33 - ExpressionNodeEmit(&'a mut ExpressionNode) [INFO] [stdout] 33 + ExpressionNodeEmit(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EmitChunk` is never constructed [INFO] [stdout] --> src/compiler/transform/plugin.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum PluginPass<'a> { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 31 | EmitChunk(&'a mut Chunk), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_plugin` is never used [INFO] [stdout] --> src/compiler/transform/plugin_manager.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl PluginManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn add_plugin(&mut self, plugin: T) where T: Plugin + 'static { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Multiple` is never constructed [INFO] [stdout] --> src/compiler/ast/statement.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ImportDeclaration { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | Multiple(Vec) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportDeclaration` 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 function `default` is never used [INFO] [stdout] --> src/compiler/ast/expression.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl ArrowFunctionTrivia { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 41 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Void`, `This`, and `ArrowFunction` are never constructed [INFO] [stdout] --> src/compiler/ast/expression.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum Expression { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 54 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | This, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | ArrowFunction { [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: field `0` is never read [INFO] [stdout] --> src/compiler/module/resolver.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | ImportNotFound(String) [INFO] [stdout] | -------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResolverError` has a derived impl for the trait `Debug`, but this is 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] 7 - ImportNotFound(String) [INFO] [stdout] 7 + ImportNotFound(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind`, `description`, and `location` are never read [INFO] [stdout] --> src/compiler/parser/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ParserError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 10 | kind: ParserErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | location: SourceLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MinifyPlugin` is never constructed [INFO] [stdout] --> src/plugins/minify_plugin.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MinifyPlugin {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrettifyPlugin` is never constructed [INFO] [stdout] --> src/plugins/prettify_plugin.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PrettifyPlugin {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/tokenizer.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | self.pop_token(chunk); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 264 | let _ = self.pop_token(chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/tokenizer.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | / match self.peek_token(chunk).unwrap() { [INFO] [stdout] 281 | | Whitespace(count) => self.pop_token(chunk), [INFO] [stdout] 282 | | _ => break, [INFO] [stdout] 283 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 280 | let _ = match self.peek_token(chunk).unwrap() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/tokenizer.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | self.pop_token(chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 286 | let _ = self.pop_token(chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/tokenizer.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 304 | self.pop_token(chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 304 | let _ = self.pop_token(chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/tokenizer.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | self.pop_token(chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 308 | let _ = self.pop_token(chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/tokenizer.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | / match self.peek_token(chunk).unwrap() { [INFO] [stdout] 326 | | Whitespace(count) => self.pop_token(chunk), [INFO] [stdout] 327 | | Newline => self.pop_token(chunk), [INFO] [stdout] 328 | | _ => break, [INFO] [stdout] 329 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 325 | let _ = match self.peek_token(chunk).unwrap() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/tokenizer.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | self.pop_token(chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 332 | let _ = self.pop_token(chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/compiler.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | chunk.load_source(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 108 | let _ = chunk.load_source(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/compiler.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | self.compile_chunk(&required_location, plugin_manager); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 119 | let _ = self.compile_chunk(&required_location, plugin_manager); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/compiler.rs:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | ... buf.write_all(src.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 154 | let _ = buf.write_all(src.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/transform/plugin_manager.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | plugin.handle(&mut pass); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 17 | let _ = plugin.handle(&mut pass); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/parser/js_parser.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | / ... match token { [INFO] [stdout] 268 | | ... Token::BracketClose => self.tokenizer.pop_token(options.chunk), [INFO] [stdout] 269 | | ... _ => return Err(ParserError::new(ParserErrorKind::Syntax, format!("Call not closed with bracket"), SourceLocation::defa... [INFO] [stdout] 270 | | ... }; [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 267 | let _ = match token { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/parser/js_parser.rs:463:25 [INFO] [stdout] | [INFO] [stdout] 463 | self.tokenizer.pop_token(options.chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 463 | let _ = self.tokenizer.pop_token(options.chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/parser/js_parser.rs:466:25 [INFO] [stdout] | [INFO] [stdout] 466 | self.tokenizer.pop_token(options.chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 466 | let _ = self.tokenizer.pop_token(options.chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/parser/js_parser.rs:478:25 [INFO] [stdout] | [INFO] [stdout] 478 | self.tokenizer.pop_token(options.chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 478 | let _ = self.tokenizer.pop_token(options.chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/parser/js_parser.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | self.tokenizer.pop_token(options.chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 483 | let _ = self.tokenizer.pop_token(options.chunk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.30s [INFO] running `Command { std: "docker" "inspect" "558fe058ddd0b1e3a009a6162c6cec41f4a2ea9f680de000de039cf84a6b2a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "558fe058ddd0b1e3a009a6162c6cec41f4a2ea9f680de000de039cf84a6b2a6f", kill_on_drop: false }` [INFO] [stdout] 558fe058ddd0b1e3a009a6162c6cec41f4a2ea9f680de000de039cf84a6b2a6f