[INFO] cloning repository https://github.com/dwinkelman0/generic-regex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dwinkelman0/generic-regex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwinkelman0%2Fgeneric-regex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwinkelman0%2Fgeneric-regex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 065dc35e33277e277d98c5557b19110135e5e25a [INFO] checking dwinkelman0/generic-regex against try#e90f1ff63e694965281f833819a486da29772bdf for pr-146167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwinkelman0%2Fgeneric-regex" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dwinkelman0/generic-regex [INFO] finished tweaking git repo https://github.com/dwinkelman0/generic-regex [INFO] tweaked toml for git repo https://github.com/dwinkelman0/generic-regex written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dwinkelman0/generic-regex on toolchain e90f1ff63e694965281f833819a486da29772bdf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dwinkelman0/generic-regex 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" "+e90f1ff63e694965281f833819a486da29772bdf" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1af7fd1a04d20e240014cb3d59c0fef8023932251d4f9dc10f7f3defd71977de [INFO] running `Command { std: "docker" "start" "-a" "1af7fd1a04d20e240014cb3d59c0fef8023932251d4f9dc10f7f3defd71977de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1af7fd1a04d20e240014cb3d59c0fef8023932251d4f9dc10f7f3defd71977de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1af7fd1a04d20e240014cb3d59c0fef8023932251d4f9dc10f7f3defd71977de", kill_on_drop: false }` [INFO] [stdout] 1af7fd1a04d20e240014cb3d59c0fef8023932251d4f9dc10f7f3defd71977de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ed84794da7697c68e54141fcb87989591feba1da83829fa0cd30773d04a350b [INFO] running `Command { std: "docker" "start" "-a" "5ed84794da7697c68e54141fcb87989591feba1da83829fa0cd30773d04a350b", kill_on_drop: false }` [INFO] [stderr] Checking generic-regex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::CoreExpr` [INFO] [stdout] --> src/expr/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use core::CoreExpr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::CoreExpr` [INFO] [stdout] --> src/expr/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use core::CoreExpr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `expr::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use expr::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `expr::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use expr::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TerminalMatcher` is never used [INFO] [stdout] --> src/expr/core.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait TerminalMatcher: Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CoreExpr` is never used [INFO] [stdout] --> src/expr/core.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum CoreExpr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compile` is never used [INFO] [stdout] --> src/expr/core.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl CoreExpr { [INFO] [stdout] | ------------------------------------ method in this implementation [INFO] [stdout] 23 | pub fn compile(&self) -> Matcher { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExprExtension` is never used [INFO] [stdout] --> src/expr/core.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub trait ExprExtension<'a, T: TerminalMatcher> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransitionFunc` is never constructed [INFO] [stdout] --> src/expr/core.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct TransitionFunc<'a, T: TerminalMatcher> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_terminal_transitions` is never used [INFO] [stdout] --> src/expr/core.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a, T: TerminalMatcher> TransitionFunc<'a, T> { [INFO] [stdout] | -------------------------------------------------- method in this implementation [INFO] [stdout] 39 | fn get_terminal_transitions(&self, terminal: &T::Terminal) -> BTreeSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Matcher` is never constructed [INFO] [stdout] --> src/expr/core.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Matcher<'a, T: TerminalMatcher> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_new_state`, `expand`, and `match_sequence` are never used [INFO] [stdout] --> src/expr/core.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl<'a, T: TerminalMatcher> Matcher<'a, T> { [INFO] [stdout] | ------------------------------------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(expr: &'a CoreExpr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn create_new_state(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn expand(&mut self, expr: &'a CoreExpr, start_state: usize, end_state: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn match_sequence(&self, string: &[T::Terminal]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CharRule` is never used [INFO] [stdout] --> src/expr/char.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CharRule { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CharMatcher` is never constructed [INFO] [stdout] --> src/expr/char.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct CharMatcher { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CharExpr` is never used [INFO] [stdout] --> src/expr/char.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum CharExpr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NoteEvent` is never used [INFO] [stdout] --> src/expr/music.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum NoteEvent { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Note` is never constructed [INFO] [stdout] --> src/expr/music.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Note { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IntervalAmount` is never used [INFO] [stdout] --> src/expr/music.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum IntervalAmount { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_half_steps` is never used [INFO] [stdout] --> src/expr/music.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl IntervalAmount { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 34 | fn as_half_steps(&self) -> i8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IntervalRule` is never used [INFO] [stdout] --> src/expr/music.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum IntervalRule { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Duration` is never used [INFO] [stdout] --> src/expr/music.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum Duration { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_ticks` is never used [INFO] [stdout] --> src/expr/music.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Duration { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 79 | fn as_ticks(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DurationRule` is never used [INFO] [stdout] --> src/expr/music.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | pub enum DurationRule { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoteRule` is never constructed [INFO] [stdout] --> src/expr/music.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct NoteRule { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoteMatcher` is never constructed [INFO] [stdout] --> src/expr/music.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct NoteMatcher { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NoteExpr` is never used [INFO] [stdout] --> src/expr/music.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | pub enum NoteExpr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expr/core.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn compile(&self) -> Matcher { [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 compile(&self) -> Matcher<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Alpha`, `Num`, `Whitespace`, `OneOrMore`, and `ZeroOrOne` are never constructed [INFO] [stdout] --> src/expr/char.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum CharExpr { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 33 | Char(char), [INFO] [stdout] 34 | Alpha, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | Num, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | Whitespace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | OneOrMore(Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | ZeroOrOne(Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NoteEvent` is never used [INFO] [stdout] --> src/expr/music.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum NoteEvent { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Note` is never constructed [INFO] [stdout] --> src/expr/music.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Note { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IntervalAmount` is never used [INFO] [stdout] --> src/expr/music.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum IntervalAmount { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_half_steps` is never used [INFO] [stdout] --> src/expr/music.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl IntervalAmount { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 34 | fn as_half_steps(&self) -> i8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IntervalRule` is never used [INFO] [stdout] --> src/expr/music.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum IntervalRule { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Duration` is never used [INFO] [stdout] --> src/expr/music.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum Duration { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_ticks` is never used [INFO] [stdout] --> src/expr/music.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Duration { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 79 | fn as_ticks(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DurationRule` is never used [INFO] [stdout] --> src/expr/music.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | pub enum DurationRule { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoteRule` is never constructed [INFO] [stdout] --> src/expr/music.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct NoteRule { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoteMatcher` is never constructed [INFO] [stdout] --> src/expr/music.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct NoteMatcher { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NoteExpr` is never used [INFO] [stdout] --> src/expr/music.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | pub enum NoteExpr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expr/core.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn compile(&self) -> Matcher { [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 compile(&self) -> Matcher<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "5ed84794da7697c68e54141fcb87989591feba1da83829fa0cd30773d04a350b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ed84794da7697c68e54141fcb87989591feba1da83829fa0cd30773d04a350b", kill_on_drop: false }` [INFO] [stdout] 5ed84794da7697c68e54141fcb87989591feba1da83829fa0cd30773d04a350b