[INFO] fetching crate royalguard 0.4.9... [INFO] checking royalguard-0.4.9 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate royalguard 0.4.9 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate royalguard 0.4.9 [INFO] finished tweaking crates.io crate royalguard 0.4.9 [INFO] tweaked toml for crates.io crate royalguard 0.4.9 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate royalguard 0.4.9 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate royalguard 0.4.9 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.4.10 [INFO] [stderr] Downloaded ignorant v0.1.0 [INFO] [stderr] Downloaded chainchomp v0.1.6 [INFO] [stderr] Downloaded clap_builder v4.4.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5bde15c15014546c39648b3006c1b568bc0d20f74a4102ff1a650903b35f5c8 [INFO] running `Command { std: "docker" "start" "-a" "a5bde15c15014546c39648b3006c1b568bc0d20f74a4102ff1a650903b35f5c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5bde15c15014546c39648b3006c1b568bc0d20f74a4102ff1a650903b35f5c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5bde15c15014546c39648b3006c1b568bc0d20f74a4102ff1a650903b35f5c8", kill_on_drop: false }` [INFO] [stdout] a5bde15c15014546c39648b3006c1b568bc0d20f74a4102ff1a650903b35f5c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7965292b271d20b568d34b147c7e93cc02ea7e70037fbe08af3852c5d350318 [INFO] running `Command { std: "docker" "start" "-a" "e7965292b271d20b568d34b147c7e93cc02ea7e70037fbe08af3852c5d350318", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling x11rb v0.12.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking fdeflate v0.3.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking clap_builder v4.4.9 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking chainchomp v0.1.6 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking ignorant v0.1.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking gethostname v0.3.0 [INFO] [stderr] Checking rtoolbox v0.0.2 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking rpassword v7.3.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling ring v0.17.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking polyval v0.6.1 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking ghash v0.5.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking x11rb-protocol v0.12.0 [INFO] [stderr] Checking rustyline v12.0.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking clap v4.4.10 [INFO] [stderr] Checking arboard v3.3.0 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking royalguard v0.4.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/eval.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Lex(LexError), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EvalError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] 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] 15 - Lex(LexError), [INFO] [stdout] 15 + Lex(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/eval.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | Parse(ParseError<'text>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EvalError` 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] 16 - Parse(ParseError<'text>), [INFO] [stdout] 16 + Parse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/eval.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | Import(anyhow::Error), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EvalError` 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] 17 - Import(anyhow::Error), [INFO] [stdout] 17 + Import(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/lex.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | InvalidToken { pos: usize }, [INFO] [stdout] | ------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LexError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parse.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | SyntaxError(usize, &'static str), [INFO] [stdout] | ----------- ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 30 - SyntaxError(usize, &'static str), [INFO] [stdout] 30 + SyntaxError((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | ExpectedName(usize), [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 31 - ExpectedName(usize), [INFO] [stdout] 31 + ExpectedName(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | ExpectedAttr(usize), [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 32 - ExpectedAttr(usize), [INFO] [stdout] 32 + ExpectedAttr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | ExpectedValue(usize), [INFO] [stdout] | ------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 33 - ExpectedValue(usize), [INFO] [stdout] 33 + ExpectedValue(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parse.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | Expected(Token<'static>, usize), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 34 - Expected(Token<'static>, usize), [INFO] [stdout] 34 + Expected((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parse.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | ExpectedOneOf(Vec>, usize), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 35 - ExpectedOneOf(Vec>, usize), [INFO] [stdout] 35 + ExpectedOneOf((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | InvalidRegex(usize), [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 36 - InvalidRegex(usize), [INFO] [stdout] 36 + InvalidRegex(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parse.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | DuplicateAssignments(&'text str, usize), [INFO] [stdout] | -------------------- ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 37 - DuplicateAssignments(&'text str, usize), [INFO] [stdout] 37 + DuplicateAssignments((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | IncompleteParse(usize), [INFO] [stdout] | --------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 38 - IncompleteParse(usize), [INFO] [stdout] 38 + IncompleteParse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lex.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn lex(text: &str) -> Result, LexError> { [INFO] [stdout] | ^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub fn lex(text: &str) -> Result>, LexError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lex.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | fn lex_token(text: &str, pos: usize) -> Result<(Token, usize), LexError> { [INFO] [stdout] | ^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | fn lex_token(text: &str, pos: usize) -> Result<(Token<'_>, usize), LexError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lex.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | fn lex_keyword(text: &str, pos: usize) -> Option<(Token, usize)> { [INFO] [stdout] | ^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | fn lex_keyword(text: &str, pos: usize) -> Option<(Token<'_>, usize)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lex.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn lex_value(text: &str, pos: usize) -> Option<(Token, usize)> { [INFO] [stdout] | ^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | fn lex_value(text: &str, pos: usize) -> Option<(Token<'_>, usize)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/eval.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Lex(LexError), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EvalError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] 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] 15 - Lex(LexError), [INFO] [stdout] 15 + Lex(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/eval.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | Parse(ParseError<'text>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EvalError` 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] 16 - Parse(ParseError<'text>), [INFO] [stdout] 16 + Parse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/eval.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | Import(anyhow::Error), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EvalError` 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] 17 - Import(anyhow::Error), [INFO] [stdout] 17 + Import(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parse.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | SyntaxError(usize, &'static str), [INFO] [stdout] | ----------- ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 30 - SyntaxError(usize, &'static str), [INFO] [stdout] 30 + SyntaxError((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | ExpectedName(usize), [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 31 - ExpectedName(usize), [INFO] [stdout] 31 + ExpectedName(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | ExpectedAttr(usize), [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 32 - ExpectedAttr(usize), [INFO] [stdout] 32 + ExpectedAttr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | ExpectedValue(usize), [INFO] [stdout] | ------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 33 - ExpectedValue(usize), [INFO] [stdout] 33 + ExpectedValue(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parse.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | Expected(Token<'static>, usize), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 34 - Expected(Token<'static>, usize), [INFO] [stdout] 34 + Expected((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parse.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | ExpectedOneOf(Vec>, usize), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 35 - ExpectedOneOf(Vec>, usize), [INFO] [stdout] 35 + ExpectedOneOf((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | InvalidRegex(usize), [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 36 - InvalidRegex(usize), [INFO] [stdout] 36 + InvalidRegex(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parse.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | DuplicateAssignments(&'text str, usize), [INFO] [stdout] | -------------------- ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 37 - DuplicateAssignments(&'text str, usize), [INFO] [stdout] 37 + DuplicateAssignments((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | IncompleteParse(usize), [INFO] [stdout] | --------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 38 - IncompleteParse(usize), [INFO] [stdout] 38 + IncompleteParse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lex.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn lex(text: &str) -> Result, LexError> { [INFO] [stdout] | ^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub fn lex(text: &str) -> Result>, LexError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lex.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | fn lex_token(text: &str, pos: usize) -> Result<(Token, usize), LexError> { [INFO] [stdout] | ^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | fn lex_token(text: &str, pos: usize) -> Result<(Token<'_>, usize), LexError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lex.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | fn lex_keyword(text: &str, pos: usize) -> Option<(Token, usize)> { [INFO] [stdout] | ^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | fn lex_keyword(text: &str, pos: usize) -> Option<(Token<'_>, usize)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lex.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn lex_value(text: &str, pos: usize) -> Option<(Token, usize)> { [INFO] [stdout] | ^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | fn lex_value(text: &str, pos: usize) -> Option<(Token<'_>, usize)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.71s [INFO] running `Command { std: "docker" "inspect" "e7965292b271d20b568d34b147c7e93cc02ea7e70037fbe08af3852c5d350318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7965292b271d20b568d34b147c7e93cc02ea7e70037fbe08af3852c5d350318", kill_on_drop: false }` [INFO] [stdout] e7965292b271d20b568d34b147c7e93cc02ea7e70037fbe08af3852c5d350318