[INFO] cloning repository https://github.com/noxomix/MiniPHP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/noxomix/MiniPHP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoxomix%2FMiniPHP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoxomix%2FMiniPHP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45bdf098962ffd02cea663dd54eca03f00076b57 [INFO] checking noxomix/MiniPHP against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoxomix%2FMiniPHP" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/noxomix/MiniPHP [INFO] finished tweaking git repo https://github.com/noxomix/MiniPHP [INFO] tweaked toml for git repo https://github.com/noxomix/MiniPHP written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/noxomix/MiniPHP on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/noxomix/MiniPHP 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" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd2f02ed0889147ac422c73cf7286a2b297640c58006ae8090c7edc7db0dc647 [INFO] running `Command { std: "docker" "start" "-a" "bd2f02ed0889147ac422c73cf7286a2b297640c58006ae8090c7edc7db0dc647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd2f02ed0889147ac422c73cf7286a2b297640c58006ae8090c7edc7db0dc647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd2f02ed0889147ac422c73cf7286a2b297640c58006ae8090c7edc7db0dc647", kill_on_drop: false }` [INFO] [stdout] bd2f02ed0889147ac422c73cf7286a2b297640c58006ae8090c7edc7db0dc647 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86965623472d244d40457f4e42d059c3c877620e7d19e2da99d07870e04abe65 [INFO] running `Command { std: "docker" "start" "-a" "86965623472d244d40457f4e42d059c3c877620e7d19e2da99d07870e04abe65", kill_on_drop: false }` [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Checking MiniPHP v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/lexer/lexer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [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: `DebugPosition` [INFO] [stdout] --> src/lexer/lexer.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexer::token::{DebugPosition, Token, TokenTag}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::bytes_operation::BytesOperation` [INFO] [stdout] --> src/lexer/contexts/in_php/semicolon.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::bytes_operation::BytesOperation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::bytes_operation::BytesOperation` [INFO] [stdout] --> src/lexer/contexts/in_php/comma.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::bytes_operation::BytesOperation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LexerContext` [INFO] [stdout] --> src/lexer/contexts/in_string.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::lexer::{Lexer, LexerContext, Tokenizer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LexerContext` [INFO] [stdout] --> src/lexer/contexts/in_direct_interpolation.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::lexer::{Lexer, LexerContext, Tokenizer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LexerContext` [INFO] [stdout] --> src/lexer/contexts/in_complex_interpolation.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::lexer::{Lexer, LexerContext, Tokenizer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/lexer/lexer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [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: `DebugPosition` [INFO] [stdout] --> src/lexer/lexer.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexer::token::{DebugPosition, Token, TokenTag}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::bytes_operation::BytesOperation` [INFO] [stdout] --> src/lexer/contexts/in_php/semicolon.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::bytes_operation::BytesOperation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::bytes_operation::BytesOperation` [INFO] [stdout] --> src/lexer/contexts/in_php/comma.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::bytes_operation::BytesOperation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LexerContext` [INFO] [stdout] --> src/lexer/contexts/in_string.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::lexer::{Lexer, LexerContext, Tokenizer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LexerContext` [INFO] [stdout] --> src/lexer/contexts/in_direct_interpolation.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::lexer::{Lexer, LexerContext, Tokenizer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LexerContext` [INFO] [stdout] --> src/lexer/contexts/in_complex_interpolation.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::lexer::{Lexer, LexerContext, Tokenizer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lexer/contexts/in_php.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 59 | exit(1); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 60 | println!("Context: {:?}", unsafe { self.strquick(self.byte_offset - 50, self.byte_offset + 50) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lexer/contexts/in_php.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 59 | exit(1); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 60 | println!("Context: {:?}", unsafe { self.strquick(self.byte_offset - 50, self.byte_offset + 50) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/lexer/contexts/interpolation/simple_interpolation.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let start = self.byte_offset; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lexer/lexer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum LexerContext { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 8 | InHtml, // Außerhalb von src/lexer/token.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | StringLiteral { [INFO] [stdout] | ------------- field in this variant [INFO] [stdout] 17 | //value: String, [INFO] [stdout] 18 | double_quoted: bool, //if its double-quoted (only relevant for debugging) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenTag` 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 `multiline` is never read [INFO] [stdout] --> src/lexer/token.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | Comment { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 24 | //value: String, [INFO] [stdout] 25 | multiline: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenTag` 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/lexer/token.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | Variable(String), //'$hallo' [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenTag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - Variable(String), //'$hallo' [INFO] [stdout] 30 + Variable(()), //'$hallo' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/token.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | BooleanLiteral(bool), [INFO] [stdout] | -------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenTag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 - BooleanLiteral(bool), [INFO] [stdout] 72 + BooleanLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/token.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | Identifier(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenTag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 - Identifier(String), [INFO] [stdout] 74 + Identifier(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/token.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | Statement(StatementType), [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenTag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 79 - Statement(StatementType), [INFO] [stdout] 79 + Statement(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/token.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | AccessModifier(AccessModifierType) [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenTag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 82 - AccessModifier(AccessModifierType) [INFO] [stdout] 82 + AccessModifier(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AndKeyword`, `OrKeyword`, `XorKeyword`, `TernaryColon`, and `Tab` are never constructed [INFO] [stdout] --> src/lexer/token.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TokenTag { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 47 | AndKeyword, // and [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | OrKeyword, // or [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 49 | XorKeyword, // xor [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | TernaryColon, // : [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | Tab, //\t [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenTag` 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 `Interface`, `Abstract`, `Final`, `Static`, and `Declare` are never constructed [INFO] [stdout] --> src/lexer/token.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub enum StatementType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 114 | Interface, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 115 | Abstract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 116 | Final, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 117 | Static, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | Declare, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatementType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DebugPosition` is never constructed [INFO] [stdout] --> src/lexer/token.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct DebugPosition { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `match_str_ignore_case` is never used [INFO] [stdout] --> src/lexer/contexts/in_php/number.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl Lexer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | fn match_str_ignore_case(&mut self, s: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `context_in_direct_interpolation` is never used [INFO] [stdout] --> src/lexer/contexts/in_direct_interpolation.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Lexer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn context_in_direct_interpolation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `context_in_complex_interpolation` is never used [INFO] [stdout] --> src/lexer/contexts/in_complex_interpolation.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Lexer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn context_in_complex_interpolation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset_to` and `strrng` are never used [INFO] [stdout] --> src/lexer/bytes_operation.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait BytesOperation { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn reset_to(&mut self, pos: usize) -> Option; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn strrng(&self, start: usize, end: usize) -> String; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/lexer/contexts/interpolation/simple_interpolation.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let start = self.byte_offset; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lexer/lexer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum LexerContext { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 8 | InHtml, // Außerhalb von src/lexer/token.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | StringLiteral { [INFO] [stdout] | ------------- field in this variant [INFO] [stdout] 17 | //value: String, [INFO] [stdout] 18 | double_quoted: bool, //if its double-quoted (only relevant for debugging) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenTag` 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 `multiline` is never read [INFO] [stdout] --> src/lexer/token.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | Comment { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 24 | //value: String, [INFO] [stdout] 25 | multiline: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenTag` 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/lexer/token.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | Variable(String), //'$hallo' [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenTag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - Variable(String), //'$hallo' [INFO] [stdout] 30 + Variable(()), //'$hallo' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/token.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | BooleanLiteral(bool), [INFO] [stdout] | -------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenTag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 - BooleanLiteral(bool), [INFO] [stdout] 72 + BooleanLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/token.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | Identifier(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenTag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 - Identifier(String), [INFO] [stdout] 74 + Identifier(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/token.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | Statement(StatementType), [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenTag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 79 - Statement(StatementType), [INFO] [stdout] 79 + Statement(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/token.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | AccessModifier(AccessModifierType) [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenTag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 82 - AccessModifier(AccessModifierType) [INFO] [stdout] 82 + AccessModifier(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AndKeyword`, `OrKeyword`, `XorKeyword`, `TernaryColon`, and `Tab` are never constructed [INFO] [stdout] --> src/lexer/token.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TokenTag { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 47 | AndKeyword, // and [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | OrKeyword, // or [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 49 | XorKeyword, // xor [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | TernaryColon, // : [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | Tab, //\t [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenTag` 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 `Interface`, `Abstract`, `Final`, `Static`, and `Declare` are never constructed [INFO] [stdout] --> src/lexer/token.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub enum StatementType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 114 | Interface, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 115 | Abstract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 116 | Final, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 117 | Static, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | Declare, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatementType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DebugPosition` is never constructed [INFO] [stdout] --> src/lexer/token.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct DebugPosition { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `match_str_ignore_case` is never used [INFO] [stdout] --> src/lexer/contexts/in_php/number.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl Lexer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | fn match_str_ignore_case(&mut self, s: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `context_in_direct_interpolation` is never used [INFO] [stdout] --> src/lexer/contexts/in_direct_interpolation.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Lexer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn context_in_direct_interpolation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `context_in_complex_interpolation` is never used [INFO] [stdout] --> src/lexer/contexts/in_complex_interpolation.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Lexer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn context_in_complex_interpolation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset_to` and `strrng` are never used [INFO] [stdout] --> src/lexer/bytes_operation.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait BytesOperation { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn reset_to(&mut self, pos: usize) -> Option; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn strrng(&self, start: usize, end: usize) -> String; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.17s [INFO] running `Command { std: "docker" "inspect" "86965623472d244d40457f4e42d059c3c877620e7d19e2da99d07870e04abe65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86965623472d244d40457f4e42d059c3c877620e7d19e2da99d07870e04abe65", kill_on_drop: false }` [INFO] [stdout] 86965623472d244d40457f4e42d059c3c877620e7d19e2da99d07870e04abe65