[INFO] cloning repository https://github.com/osta-lang/olex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/osta-lang/olex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosta-lang%2Folex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosta-lang%2Folex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 661c97d1ac5cdf71577b99f395b9b9f4f6cabe4b [INFO] checking osta-lang/olex against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosta-lang%2Folex" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/osta-lang/olex on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/osta-lang/olex [INFO] finished tweaking git repo https://github.com/osta-lang/olex [INFO] tweaked toml for git repo https://github.com/osta-lang/olex written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/osta-lang/olex 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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4bded9edfd948f935466f7a7458b09a7b527ea6397f88adbc773ee884922cf0 [INFO] running `Command { std: "docker" "start" "-a" "c4bded9edfd948f935466f7a7458b09a7b527ea6397f88adbc773ee884922cf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4bded9edfd948f935466f7a7458b09a7b527ea6397f88adbc773ee884922cf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4bded9edfd948f935466f7a7458b09a7b527ea6397f88adbc773ee884922cf0", kill_on_drop: false }` [INFO] [stdout] c4bded9edfd948f935466f7a7458b09a7b527ea6397f88adbc773ee884922cf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce11c08baaa0cb9a1fbb7919f1561f3385c3d5e9e4e36c100fd0e6c08169c4f6 [INFO] running `Command { std: "docker" "start" "-a" "ce11c08baaa0cb9a1fbb7919f1561f3385c3d5e9e4e36c100fd0e6c08169c4f6", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling term v1.0.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling string_cache v0.8.8 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ascii-canvas v4.0.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking ariadne v0.5.1 [INFO] [stderr] Compiling lalrpop-util v0.22.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lalrpop v0.22.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Checking logos v0.15.0 [INFO] [stderr] Compiling olex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Fmt` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use ariadne::{Color, Fmt, Label, Report, ReportKind, Source}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/ast.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 468 | if (c.len() > 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 468 - if (c.len() > 1) { [INFO] [stdout] 468 + if c.len() > 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/olex-148f61b4bc865337/out/olex_grammar.rs:5711:5 [INFO] [stdout] | [INFO] [stdout] 5711 | { start..end } [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 5711 - { start..end } [INFO] [stdout] 5711 + start..end [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fmt` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use ariadne::{Color, Fmt, Label, Report, ReportKind, Source}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/ast.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 468 | if (c.len() > 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 468 - if (c.len() > 1) { [INFO] [stdout] 468 + if c.len() > 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/olex-148f61b4bc865337/out/olex_grammar.rs:5711:5 [INFO] [stdout] | [INFO] [stdout] 5711 | { start..end } [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 5711 - { start..end } [INFO] [stdout] 5711 + start..end [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/token_ast.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/token_ast.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ast.rs:465:22 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn new_token(name: &str, src: &str, c: &Token) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ast.rs:484:24 [INFO] [stdout] | [INFO] [stdout] 484 | pub fn new_unicode(name: &str, src: &str, c: &Token) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ast.rs:584:20 [INFO] [stdout] | [INFO] [stdout] 584 | pub fn new_min(name: &str, src: &str, min: &Token) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ast.rs:594:20 [INFO] [stdout] | [INFO] [stdout] 594 | pub fn new_max(name: &str, src: &str, max: &Token) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ast.rs:605:9 [INFO] [stdout] | [INFO] [stdout] 605 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ast.rs:679:9 [INFO] [stdout] | [INFO] [stdout] 679 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ast.rs:465:22 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn new_token(name: &str, src: &str, c: &Token) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ast.rs:484:24 [INFO] [stdout] | [INFO] [stdout] 484 | pub fn new_unicode(name: &str, src: &str, c: &Token) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ast.rs:584:20 [INFO] [stdout] | [INFO] [stdout] 584 | pub fn new_min(name: &str, src: &str, min: &Token) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ast.rs:594:20 [INFO] [stdout] | [INFO] [stdout] 594 | pub fn new_max(name: &str, src: &str, max: &Token) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ast.rs:605:9 [INFO] [stdout] | [INFO] [stdout] 605 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ast.rs:679:9 [INFO] [stdout] | [INFO] [stdout] 679 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/olex-148f61b4bc865337/out/olex_grammar.rs:5253:9 [INFO] [stdout] | [INFO] [stdout] 5253 | (_, mut rhs, _): (usize, TokenPattern, usize), [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MetaSrc<'name, 'src>` is more private than the item `SrcAST::meta` [INFO] [stdout] --> src/token_ast.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub meta: MetaSrc<'name, 'src>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `SrcAST::meta` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `MetaSrc<'name, 'src>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/token_ast.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | struct MetaSrc<'name, 'src> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/olex-148f61b4bc865337/out/olex_grammar.rs:5253:9 [INFO] [stdout] | [INFO] [stdout] 5253 | (_, mut rhs, _): (usize, TokenPattern, usize), [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/ast.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Language<'name, 'src> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 85 | name: &'name str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Language` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stmts` is never read [INFO] [stdout] --> src/ast.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct Block<'src> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 141 | stmts: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` 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 `0` is never read [INFO] [stdout] --> src/ast.rs:152:11 [INFO] [stdout] | [INFO] [stdout] 152 | Block(Block<'src>), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AST` 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] 152 - Block(Block<'src>), [INFO] [stdout] 152 + Block(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | Label(&'src str), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AST` 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] 153 - Label(&'src str), [INFO] [stdout] 153 + Label(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | Match(Match<'src>), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AST` 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] 154 - Match(Match<'src>), [INFO] [stdout] 154 + Match(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cases` and `other` are never read [INFO] [stdout] --> src/ast.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 155 | Branch { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 156 | cases: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 157 | other: Action<'src>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AST` 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 `block`, `left_offset`, and `right_offset` are never read [INFO] [stdout] --> src/ast.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 159 | Capture { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 160 | block: Block<'src>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 161 | left_offset: Option<&'src str>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 162 | right_offset: Option<&'src str>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AST` 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 `0` is never read [INFO] [stdout] --> src/ast.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | Action(Action<'src>), [INFO] [stdout] | ------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AST` 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] 164 - Action(Action<'src>), [INFO] [stdout] 164 + Action(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pattern` and `action` are never read [INFO] [stdout] --> src/ast.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct Match<'src> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 206 | pattern: Pattern, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 207 | action: Action<'src>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Match` 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 `0` is never read [INFO] [stdout] --> src/ast.rs:673:13 [INFO] [stdout] | [INFO] [stdout] 673 | Execute(&'src str), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` 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] 673 - Execute(&'src str), [INFO] [stdout] 673 + Execute(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:674:16 [INFO] [stdout] | [INFO] [stdout] 674 | Transition(&'src str), [INFO] [stdout] | ---------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` 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] 674 - Transition(&'src str), [INFO] [stdout] 674 + Transition(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/token_ast.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | trait WithSrc<'name, 'src> { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 7 | fn meta(&self) -> MetaSrc<'name, 'src>; [INFO] [stdout] 8 | fn name(&self) -> &'name str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn into_report<'name>(self, name: &'name str) -> Report<(&'name str, Span)> { [INFO] [stdout] | ^^^^^ -------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'name` [INFO] [stdout] | | the lifetimes get resolved as `'name` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'name` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn into_report<'name>(self, name: &'name str) -> Report<'name, (&'name str, Span)> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/token.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn into_report<'name>(self, name: &'name str) -> Report<(&'name str, Range)> { [INFO] [stdout] | ^^^^^ ---------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'name` [INFO] [stdout] | | the lifetimes get resolved as `'name` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'name` [INFO] [stdout] | [INFO] [stdout] 33 | pub fn into_report<'name>(self, name: &'name str) -> Report<'name, (&'name str, Range)> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MetaSrc<'name, 'src>` is more private than the item `SrcAST::meta` [INFO] [stdout] --> src/token_ast.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub meta: MetaSrc<'name, 'src>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `SrcAST::meta` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `MetaSrc<'name, 'src>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/token_ast.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | struct MetaSrc<'name, 'src> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/ast.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Language<'name, 'src> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 85 | name: &'name str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Language` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stmts` is never read [INFO] [stdout] --> src/ast.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct Block<'src> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 141 | stmts: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` 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 `0` is never read [INFO] [stdout] --> src/ast.rs:152:11 [INFO] [stdout] | [INFO] [stdout] 152 | Block(Block<'src>), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AST` 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] 152 - Block(Block<'src>), [INFO] [stdout] 152 + Block(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | Label(&'src str), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AST` 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] 153 - Label(&'src str), [INFO] [stdout] 153 + Label(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | Match(Match<'src>), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AST` 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] 154 - Match(Match<'src>), [INFO] [stdout] 154 + Match(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cases` and `other` are never read [INFO] [stdout] --> src/ast.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 155 | Branch { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 156 | cases: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 157 | other: Action<'src>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AST` 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 `block`, `left_offset`, and `right_offset` are never read [INFO] [stdout] --> src/ast.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 159 | Capture { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 160 | block: Block<'src>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 161 | left_offset: Option<&'src str>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 162 | right_offset: Option<&'src str>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AST` 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 `0` is never read [INFO] [stdout] --> src/ast.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | Action(Action<'src>), [INFO] [stdout] | ------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AST` 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] 164 - Action(Action<'src>), [INFO] [stdout] 164 + Action(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pattern` and `action` are never read [INFO] [stdout] --> src/ast.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct Match<'src> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 206 | pattern: Pattern, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 207 | action: Action<'src>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Match` 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 `0` is never read [INFO] [stdout] --> src/ast.rs:673:13 [INFO] [stdout] | [INFO] [stdout] 673 | Execute(&'src str), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` 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] 673 - Execute(&'src str), [INFO] [stdout] 673 + Execute(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:674:16 [INFO] [stdout] | [INFO] [stdout] 674 | Transition(&'src str), [INFO] [stdout] | ---------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` 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] 674 - Transition(&'src str), [INFO] [stdout] 674 + Transition(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/token_ast.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | trait WithSrc<'name, 'src> { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 7 | fn meta(&self) -> MetaSrc<'name, 'src>; [INFO] [stdout] 8 | fn name(&self) -> &'name str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn into_report<'name>(self, name: &'name str) -> Report<(&'name str, Span)> { [INFO] [stdout] | ^^^^^ -------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'name` [INFO] [stdout] | | the lifetimes get resolved as `'name` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'name` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn into_report<'name>(self, name: &'name str) -> Report<'name, (&'name str, Span)> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/token.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn into_report<'name>(self, name: &'name str) -> Report<(&'name str, Range)> { [INFO] [stdout] | ^^^^^ ---------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'name` [INFO] [stdout] | | the lifetimes get resolved as `'name` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'name` [INFO] [stdout] | [INFO] [stdout] 33 | pub fn into_report<'name>(self, name: &'name str) -> Report<'name, (&'name str, Range)> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.63s [INFO] running `Command { std: "docker" "inspect" "ce11c08baaa0cb9a1fbb7919f1561f3385c3d5e9e4e36c100fd0e6c08169c4f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce11c08baaa0cb9a1fbb7919f1561f3385c3d5e9e4e36c100fd0e6c08169c4f6", kill_on_drop: false }` [INFO] [stdout] ce11c08baaa0cb9a1fbb7919f1561f3385c3d5e9e4e36c100fd0e6c08169c4f6