[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] testing osta-lang/olex against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosta-lang%2Folex" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/osta-lang/olex on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ariadne v0.5.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 339a4d71489760eabd349cccebe9815c15366fb92cec06e884c2ef734ee3e404 [INFO] running `Command { std: "docker" "start" "-a" "339a4d71489760eabd349cccebe9815c15366fb92cec06e884c2ef734ee3e404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "339a4d71489760eabd349cccebe9815c15366fb92cec06e884c2ef734ee3e404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "339a4d71489760eabd349cccebe9815c15366fb92cec06e884c2ef734ee3e404", kill_on_drop: false }` [INFO] [stdout] 339a4d71489760eabd349cccebe9815c15366fb92cec06e884c2ef734ee3e404 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c178b32335570d9c75a1ff45c54c845b61b88f2891dde5be66ae66a5e8373ec [INFO] running `Command { std: "docker" "start" "-a" "2c178b32335570d9c75a1ff45c54c845b61b88f2891dde5be66ae66a5e8373ec", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling quote v1.0.40 [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 logos-codegen v0.15.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling string_cache v0.8.8 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling ascii-canvas v4.0.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling ariadne v0.5.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lalrpop-util v0.22.1 [INFO] [stderr] Compiling logos v0.15.0 [INFO] [stderr] Compiling lalrpop v0.22.1 [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-649800071d83796f/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 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-649800071d83796f/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: 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: hiding a lifetime that's named elsewhere is 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 same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named 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: 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: hiding a lifetime that's named elsewhere is 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 same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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 48.29s [INFO] running `Command { std: "docker" "inspect" "2c178b32335570d9c75a1ff45c54c845b61b88f2891dde5be66ae66a5e8373ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c178b32335570d9c75a1ff45c54c845b61b88f2891dde5be66ae66a5e8373ec", kill_on_drop: false }` [INFO] [stdout] 2c178b32335570d9c75a1ff45c54c845b61b88f2891dde5be66ae66a5e8373ec [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1343bd04f7715ed5ea1dd13877d68ab28663cc6c21a2f3d7b6ba5b665a6b9d10 [INFO] running `Command { std: "docker" "start" "-a" "1343bd04f7715ed5ea1dd13877d68ab28663cc6c21a2f3d7b6ba5b665a6b9d10", kill_on_drop: false }` [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-649800071d83796f/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 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-649800071d83796f/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: 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: hiding a lifetime that's named elsewhere is 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 same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named 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: 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: hiding a lifetime that's named elsewhere is 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 same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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 `test` profile [unoptimized + debuginfo] target(s) in 2.87s [INFO] running `Command { std: "docker" "inspect" "1343bd04f7715ed5ea1dd13877d68ab28663cc6c21a2f3d7b6ba5b665a6b9d10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1343bd04f7715ed5ea1dd13877d68ab28663cc6c21a2f3d7b6ba5b665a6b9d10", kill_on_drop: false }` [INFO] [stdout] 1343bd04f7715ed5ea1dd13877d68ab28663cc6c21a2f3d7b6ba5b665a6b9d10 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f5f287de8a823b653ec0c7b650f0b6018c6d95670c8a6e5d857ed0e36664038e [INFO] running `Command { std: "docker" "start" "-a" "f5f287de8a823b653ec0c7b650f0b6018c6d95670c8a6e5d857ed0e36664038e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Fmt` [INFO] [stderr] --> src/main.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | use ariadne::{Color, Fmt, Label, Report, ReportKind, Source}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/ast.rs:468:12 [INFO] [stderr] | [INFO] [stderr] 468 | if (c.len() > 1) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 468 - if (c.len() > 1) { [INFO] [stderr] 468 + if c.len() > 1 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/olex-649800071d83796f/out/olex_grammar.rs:5711:5 [INFO] [stderr] | [INFO] [stderr] 5711 | { start..end } [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 5711 - { start..end } [INFO] [stderr] 5711 + start..end [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/token_ast.rs:3:36 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fmt::{Display, Formatter, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/ast.rs:465:22 [INFO] [stderr] | [INFO] [stderr] 465 | pub fn new_token(name: &str, src: &str, c: &Token) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/ast.rs:484:24 [INFO] [stderr] | [INFO] [stderr] 484 | pub fn new_unicode(name: &str, src: &str, c: &Token) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/ast.rs:584:20 [INFO] [stderr] | [INFO] [stderr] 584 | pub fn new_min(name: &str, src: &str, min: &Token) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/ast.rs:594:20 [INFO] [stderr] | [INFO] [stderr] 594 | pub fn new_max(name: &str, src: &str, max: &Token) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/ast.rs:605:9 [INFO] [stderr] | [INFO] [stderr] 605 | name: &str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/ast.rs:679:9 [INFO] [stderr] | [INFO] [stderr] 679 | name: &str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> /opt/rustwide/target/debug/build/olex-649800071d83796f/out/olex_grammar.rs:5253:9 [INFO] [stderr] | [INFO] [stderr] 5253 | (_, mut rhs, _): (usize, TokenPattern, usize), [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `MetaSrc<'name, 'src>` is more private than the item `SrcAST::meta` [INFO] [stderr] --> src/token_ast.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | pub meta: MetaSrc<'name, 'src>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `SrcAST::meta` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `MetaSrc<'name, 'src>` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/token_ast.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | struct MetaSrc<'name, 'src> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/ast.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 84 | pub struct Language<'name, 'src> { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 85 | name: &'name str, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Language` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `stmts` is never read [INFO] [stderr] --> src/ast.rs:141:5 [INFO] [stderr] | [INFO] [stderr] 140 | pub struct Block<'src> { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 141 | stmts: Vec>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast.rs:152:11 [INFO] [stderr] | [INFO] [stderr] 152 | Block(Block<'src>), [INFO] [stderr] | ----- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `AST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 152 - Block(Block<'src>), [INFO] [stderr] 152 + Block(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast.rs:153:11 [INFO] [stderr] | [INFO] [stderr] 153 | Label(&'src str), [INFO] [stderr] | ----- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `AST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 153 - Label(&'src str), [INFO] [stderr] 153 + Label(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast.rs:154:11 [INFO] [stderr] | [INFO] [stderr] 154 | Match(Match<'src>), [INFO] [stderr] | ----- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `AST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 154 - Match(Match<'src>), [INFO] [stderr] 154 + Match(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `cases` and `other` are never read [INFO] [stderr] --> src/ast.rs:156:9 [INFO] [stderr] | [INFO] [stderr] 155 | Branch { [INFO] [stderr] | ------ fields in this variant [INFO] [stderr] 156 | cases: Vec>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 157 | other: Action<'src>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `block`, `left_offset`, and `right_offset` are never read [INFO] [stderr] --> src/ast.rs:160:9 [INFO] [stderr] | [INFO] [stderr] 159 | Capture { [INFO] [stderr] | ------- fields in this variant [INFO] [stderr] 160 | block: Block<'src>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 161 | left_offset: Option<&'src str>, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 162 | right_offset: Option<&'src str>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast.rs:164:12 [INFO] [stderr] | [INFO] [stderr] 164 | Action(Action<'src>), [INFO] [stderr] | ------ ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `AST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 164 - Action(Action<'src>), [INFO] [stderr] 164 + Action(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `pattern` and `action` are never read [INFO] [stderr] --> src/ast.rs:206:5 [INFO] [stderr] | [INFO] [stderr] 205 | pub struct Match<'src> { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 206 | pattern: Pattern, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 207 | action: Action<'src>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Match` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast.rs:673:13 [INFO] [stderr] | [INFO] [stderr] 673 | Execute(&'src str), [INFO] [stderr] | ------- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 673 - Execute(&'src str), [INFO] [stderr] 673 + Execute(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast.rs:674:16 [INFO] [stderr] | [INFO] [stderr] 674 | Transition(&'src str), [INFO] [stderr] | ---------- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 674 - Transition(&'src str), [INFO] [stderr] 674 + Transition(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: method `name` is never used [INFO] [stderr] --> src/token_ast.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 6 | trait WithSrc<'name, 'src> { [INFO] [stderr] | ------- method in this trait [INFO] [stderr] 7 | fn meta(&self) -> MetaSrc<'name, 'src>; [INFO] [stderr] 8 | fn name(&self) -> &'name str { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/ast.rs:18:44 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn into_report<'name>(self, name: &'name str) -> Report<(&'name str, Span)> { [INFO] [stderr] | ^^^^^ -------------------------- [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is named here [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'name` [INFO] [stderr] | [INFO] [stderr] 18 | pub fn into_report<'name>(self, name: &'name str) -> Report<'name, (&'name str, Span)> { [INFO] [stderr] | ++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/token.rs:33:44 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn into_report<'name>(self, name: &'name str) -> Report<(&'name str, Range)> { [INFO] [stderr] | ^^^^^ ---------------------------------- [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is named here [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'name` [INFO] [stderr] | [INFO] [stderr] 33 | pub fn into_report<'name>(self, name: &'name str) -> Report<'name, (&'name str, Range)> { [INFO] [stderr] | ++++++ [INFO] [stderr] [INFO] [stderr] warning: `olex` (bin "olex" test) generated 26 warnings (run `cargo fix --bin "olex" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/olex-7afd53ddeaaf7942) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test lexer::tests::test_integer ... ok [INFO] [stdout] test lexer::tests::test_string ... ok [INFO] [stdout] test lexer::tests::test_identifier ... ok [INFO] [stdout] test lexer::tests::test_raw_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f5f287de8a823b653ec0c7b650f0b6018c6d95670c8a6e5d857ed0e36664038e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5f287de8a823b653ec0c7b650f0b6018c6d95670c8a6e5d857ed0e36664038e", kill_on_drop: false }` [INFO] [stdout] f5f287de8a823b653ec0c7b650f0b6018c6d95670c8a6e5d857ed0e36664038e