[INFO] fetching crate lexgen 0.16.0... [INFO] checking lexgen-0.16.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate lexgen 0.16.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate lexgen 0.16.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate lexgen 0.16.0 [INFO] tweaked toml for crates.io crate lexgen 0.16.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lexgen 0.16.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 73 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b713b080670c89a99378eba9fe9db8ed802af73fdad6505c5eaa9158d38a604 [INFO] running `Command { std: "docker" "start" "-a" "7b713b080670c89a99378eba9fe9db8ed802af73fdad6505c5eaa9158d38a604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b713b080670c89a99378eba9fe9db8ed802af73fdad6505c5eaa9158d38a604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b713b080670c89a99378eba9fe9db8ed802af73fdad6505c5eaa9158d38a604", kill_on_drop: false }` [INFO] [stdout] 7b713b080670c89a99378eba9fe9db8ed802af73fdad6505c5eaa9158d38a604 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4f1a4d8c330aa6492a03f699b4c3a3bd2c7e862bed5b50066de9dea8cb5f4c4 [INFO] running `Command { std: "docker" "start" "-a" "f4f1a4d8c330aa6492a03f699b4c3a3bd2c7e862bed5b50066de9dea8cb5f4c4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.106 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking lexgen v0.16.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `BTreeSetDisplay` is never constructed [INFO] [stdout] --> src/display.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BTreeSetDisplay<'a, A: Display>(pub &'a BTreeSet); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stdout] warning: struct `BTreeSetDisplay` is never constructed [INFO] [stdout] --> src/display.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BTreeSetDisplay<'a, A: Display>(pub &'a BTreeSet); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] error[E0432]: unresolved import `lexgen_util` [INFO] [stdout] --> tests/test_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lexgen_util::Loc; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lexgen_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexgen_util`, use `cargo add lexgen_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lexgen_util` [INFO] [stdout] --> tests/test_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lexgen_util::Loc; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lexgen_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexgen_util`, use `cargo add lexgen_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lexgen_util` [INFO] [stdout] --> tests/right_ctx.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lexgen_util::{LexerError, LexerErrorKind}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lexgen_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexgen_util`, use `cargo add lexgen_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lexgen` (test "test_utils") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/right_ctx.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / lexer! { [INFO] [stdout] 10 | | Lexer -> u32; [INFO] [stdout] 11 | | [INFO] [stdout] 12 | | 'a' > 'a' = 1, [INFO] [stdout] 13 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lexgen_util` [INFO] [stdout] --> tests/test_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lexgen_util::Loc; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lexgen_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexgen_util`, use `cargo add lexgen_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lexgen_util` [INFO] [stdout] --> tests/bugs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lexgen_util::{LexerError, LexerErrorKind}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lexgen_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexgen_util`, use `cargo add lexgen_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/bugs.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / lexer! { [INFO] [stdout] 19 | | Lexer(LexerState) -> String; [INFO] [stdout] 20 | | [INFO] [stdout] 21 | | let whitespace = [' ' '\t' '\n']; [INFO] [stdout] ... | [INFO] [stdout] 40 | | }, [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> benches/../tests/lua_5_1.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / lexer! { [INFO] [stdout] 107 | | Lexer(LexerState) -> Token<'input>; [INFO] [stdout] 108 | | [INFO] [stdout] 109 | | let whitespace = [' ' '\t' '\n'] | "\r\n"; [INFO] [stdout] ... | [INFO] [stdout] 363 | | } [INFO] [stdout] | |_^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/lua_5_1.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / lexer! { [INFO] [stdout] 107 | | Lexer(LexerState) -> Token<'input>; [INFO] [stdout] 108 | | [INFO] [stdout] 109 | | let whitespace = [' ' '\t' '\n'] | "\r\n"; [INFO] [stdout] ... | [INFO] [stdout] 363 | | } [INFO] [stdout] | |_^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/right_ctx.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / lexer! { [INFO] [stdout] 38 | | Lexer -> u32; [INFO] [stdout] 39 | | [INFO] [stdout] 40 | | 'a' > _ = 1, [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/right_ctx.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / lexer! { [INFO] [stdout] 76 | | Lexer -> u32; [INFO] [stdout] 77 | | [INFO] [stdout] 78 | | 'a' > $ = 1, [INFO] [stdout] 79 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/bugs.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / lexer! { [INFO] [stdout] 63 | | Lexer(LexerState) -> (); [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/right_ctx.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | / lexer! { [INFO] [stdout] 98 | | Lexer -> u32; [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | 'a' > 'a' = 1, [INFO] [stdout] 101 | | 'a' > $ = 2, [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/bugs.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / lexer! { [INFO] [stdout] 103 | | Lexer -> usize; [INFO] [stdout] 104 | | [INFO] [stdout] 105 | | ' ' = 0, [INFO] [stdout] 106 | | "ab" = 1, [INFO] [stdout] 107 | | _ = 2, [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/right_ctx.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | / lexer! { [INFO] [stdout] 117 | | Lexer -> &'input str; [INFO] [stdout] 118 | | [INFO] [stdout] 119 | | rule Init { [INFO] [stdout] ... | [INFO] [stdout] 131 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/bugs.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | / lexer! { [INFO] [stdout] 126 | | Lexer -> usize; [INFO] [stdout] 127 | | [INFO] [stdout] 128 | | $$ascii_lowercase+ = 1, [INFO] [stdout] 129 | | ',' = 2, [INFO] [stdout] 130 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BTreeSetDisplay` is never constructed [INFO] [stdout] --> src/display.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BTreeSetDisplay<'a, A: Display>(pub &'a BTreeSet); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/right_ctx.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | / lexer! { [INFO] [stdout] 168 | | Lexer -> Token<'input>; [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | ['0'-'9']+ '.' > (_ # ('.' | '_' | $$XID_Start) | $) => |lexer| { [INFO] [stdout] ... | [INFO] [stdout] 180 | | ".." = Token::Range, [INFO] [stdout] 181 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/bugs.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | / lexer! { [INFO] [stdout] 141 | | Lexer -> u32; [INFO] [stdout] 142 | | [INFO] [stdout] 143 | | ' ', [INFO] [stdout] ... | [INFO] [stdout] 146 | | _ = 3, [INFO] [stdout] 147 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lexgen_util` [INFO] [stdout] --> tests/test_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lexgen_util::Loc; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lexgen_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexgen_util`, use `cargo add lexgen_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lexgen_util` [INFO] [stdout] --> tests/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use lexgen_util::{LexerError, LexerErrorKind, Loc}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lexgen_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexgen_util`, use `cargo add lexgen_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / lexer! { [INFO] [stdout] 14 | | // First line specifies name of the lexer and the token type returned by [INFO] [stdout] 15 | | // semantic actions [INFO] [stdout] 16 | | Lexer -> Token; [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/right_ctx.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / lexer! { [INFO] [stdout] 202 | | Lexer -> Token<'input>; [INFO] [stdout] 203 | | [INFO] [stdout] 204 | | "---" > ((_ # '-') | $) => |lexer| { [INFO] [stdout] ... | [INFO] [stdout] 212 | | }, [INFO] [stdout] 213 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/bugs.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / lexer! { [INFO] [stdout] 160 | | Lexer -> u32; [INFO] [stdout] 161 | | [INFO] [stdout] 162 | | _, [INFO] [stdout] 163 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / lexer! { [INFO] [stdout] 89 | | Lexer(usize) -> usize; [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | rule Init { [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/bugs.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / lexer! { [INFO] [stdout] 178 | | Lexer -> u32; [INFO] [stdout] 179 | | [INFO] [stdout] 180 | | rule Init { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexgen` (test "right_ctx") due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/bugs.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | / lexer! { [INFO] [stdout] 206 | | Lexer -> &'input str; [INFO] [stdout] 207 | | [INFO] [stdout] 208 | | rule Init { [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | / lexgen::lexer! { [INFO] [stdout] 174 | | pub Lexer -> Token; [INFO] [stdout] 175 | | [INFO] [stdout] 176 | | let init = ['a'-'z']; [INFO] [stdout] ... | [INFO] [stdout] 184 | | }, [INFO] [stdout] 185 | | } [INFO] [stdout] | |_________^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexgen::lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/bugs.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | / lexer! { [INFO] [stdout] 232 | | Lexer -> &'input str; [INFO] [stdout] 233 | | [INFO] [stdout] 234 | | 'a'+ 'b' => |lexer| { [INFO] [stdout] ... | [INFO] [stdout] 242 | | }, [INFO] [stdout] 243 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / lexer! { [INFO] [stdout] 221 | | Lexer(CommentDepth) -> Token; [INFO] [stdout] 222 | | [INFO] [stdout] 223 | | let whitespace = [' ' '\t' '\n']+; [INFO] [stdout] ... | [INFO] [stdout] 253 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/bugs.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | / lexer! { [INFO] [stdout] 267 | | Lexer -> &'input str; [INFO] [stdout] 268 | | [INFO] [stdout] 269 | | "xyzxyz" => return_match, [INFO] [stdout] 270 | | "xyz" => return_match, [INFO] [stdout] 271 | | "xya" => return_match, [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / lexer! { [INFO] [stdout] 276 | | LuaLongStringLexer(StringBracketSize) -> String; [INFO] [stdout] 277 | | [INFO] [stdout] 278 | | rule Init { [INFO] [stdout] ... | [INFO] [stdout] 323 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/bugs.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | / lexer! { [INFO] [stdout] 283 | | Lexer -> (usize, &'input str); [INFO] [stdout] 284 | | [INFO] [stdout] 285 | | rule Init { [INFO] [stdout] ... | [INFO] [stdout] 300 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/bugs.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | / lexer! { [INFO] [stdout] 326 | | Lexer -> &'input str; [INFO] [stdout] 327 | | [INFO] [stdout] 328 | | rule Init { [INFO] [stdout] ... | [INFO] [stdout] 337 | | rule HexInt {} [INFO] [stdout] 338 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | / lexer! { [INFO] [stdout] 345 | | Lexer -> Token<'input>; [INFO] [stdout] 346 | | [INFO] [stdout] 347 | | ' ', [INFO] [stdout] ... | [INFO] [stdout] 352 | | }, [INFO] [stdout] 353 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/bugs.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | / lexer! { [INFO] [stdout] 355 | | Lexer -> usize; [INFO] [stdout] 356 | | [INFO] [stdout] 357 | | "'" _ "'" = 1, [INFO] [stdout] 358 | | "'" ['a'-'z']+ = 2, [INFO] [stdout] 359 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | / lexer! { [INFO] [stdout] 376 | | Lexer -> Token; [INFO] [stdout] 377 | | [INFO] [stdout] 378 | | '(' = Token::LParen, [INFO] [stdout] 379 | | ')' = Token::RParen, [INFO] [stdout] 380 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/bugs.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | / lexer! { [INFO] [stdout] 370 | | Lexer -> &'input str; [INFO] [stdout] 371 | | [INFO] [stdout] 372 | | rule Init { [INFO] [stdout] ... | [INFO] [stdout] 381 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 412 | / lexer! { [INFO] [stdout] 413 | | Lexer -> Token; [INFO] [stdout] 414 | | [INFO] [stdout] 415 | | type Error = UserError; [INFO] [stdout] ... | [INFO] [stdout] 424 | | }, [INFO] [stdout] 425 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | / lexer! { [INFO] [stdout] 453 | | Lexer -> Token<'input>; [INFO] [stdout] 454 | | [INFO] [stdout] 455 | | type Error = UserError<'input>; [INFO] [stdout] ... | [INFO] [stdout] 464 | | }, [INFO] [stdout] 465 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/bugs.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | / lexer! { [INFO] [stdout] 414 | | Lexer(UserState) -> (); [INFO] [stdout] 415 | | [INFO] [stdout] 416 | | $ = (), [INFO] [stdout] 417 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/bugs.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 430 | / lexer! { [INFO] [stdout] 431 | | Lexer(UserState) -> (); [INFO] [stdout] 432 | | [INFO] [stdout] 433 | | $ = (), [INFO] [stdout] 434 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:494:5 [INFO] [stdout] | [INFO] [stdout] 494 | / lexer! { [INFO] [stdout] 495 | | Lexer -> Token; [INFO] [stdout] 496 | | [INFO] [stdout] 497 | | type Error = UserError<'input>; [INFO] [stdout] ... | [INFO] [stdout] 517 | | }, [INFO] [stdout] 518 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:548:5 [INFO] [stdout] | [INFO] [stdout] 548 | / lexer! { [INFO] [stdout] 549 | | Lexer -> usize; [INFO] [stdout] 550 | | [INFO] [stdout] 551 | | ' ', [INFO] [stdout] ... | [INFO] [stdout] 557 | | 'c' '6' = 6, [INFO] [stdout] 558 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexgen_util` [INFO] [stdout] --> tests/bugs.rs:261:10 [INFO] [stdout] | [INFO] [stdout] 261 | ) -> lexgen_util::SemanticActionResult<&'input str> { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lexgen_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexgen_util`, use `cargo add lexgen_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexgen` (test "bugs") due to 19 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 575 | / lexer! { [INFO] [stdout] 576 | | Lexer -> usize; [INFO] [stdout] 577 | | [INFO] [stdout] 578 | | ' ', [INFO] [stdout] ... | [INFO] [stdout] 584 | | 'c' = 6, [INFO] [stdout] 585 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | / lexer! { [INFO] [stdout] 597 | | Lexer1 -> usize; [INFO] [stdout] 598 | | [INFO] [stdout] 599 | | ' ', [INFO] [stdout] 600 | | ['a'-'b'] = 1, [INFO] [stdout] 601 | | (['a'-'b'] | ['a'-'b']) = 2, [INFO] [stdout] 602 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:611:5 [INFO] [stdout] | [INFO] [stdout] 611 | / lexer! { [INFO] [stdout] 612 | | Lexer2 -> &'input str; [INFO] [stdout] 613 | | [INFO] [stdout] 614 | | let oct_digit = ['0'-'7']; [INFO] [stdout] ... | [INFO] [stdout] 625 | | }, [INFO] [stdout] 626 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:631:5 [INFO] [stdout] | [INFO] [stdout] 631 | / lexer! { [INFO] [stdout] 632 | | Lexer -> (); [INFO] [stdout] 633 | | [INFO] [stdout] 634 | | ' ', [INFO] [stdout] 635 | | $$alphabetic = (), [INFO] [stdout] 636 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lexgen` (bench "benchmarks") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexgen` (test "lua_5_1") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:647:5 [INFO] [stdout] | [INFO] [stdout] 647 | / lexer! { [INFO] [stdout] 648 | | Lexer -> (); [INFO] [stdout] 649 | | [INFO] [stdout] 650 | | ' ', [INFO] [stdout] 651 | | $$alphanumeric = (), [INFO] [stdout] 652 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:668:5 [INFO] [stdout] | [INFO] [stdout] 668 | / lexer! { [INFO] [stdout] 669 | | Lexer -> (); [INFO] [stdout] 670 | | [INFO] [stdout] 671 | | $$ascii = (), [INFO] [stdout] 672 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:686:5 [INFO] [stdout] | [INFO] [stdout] 686 | / lexer! { [INFO] [stdout] 687 | | Lexer -> &'input str; [INFO] [stdout] ... | [INFO] [stdout] 693 | | }, [INFO] [stdout] 694 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:709:5 [INFO] [stdout] | [INFO] [stdout] 709 | / lexer! { [INFO] [stdout] 710 | | Lexer -> (usize, &'input str); [INFO] [stdout] 711 | | [INFO] [stdout] 712 | | "ab" => |lexer| { [INFO] [stdout] ... | [INFO] [stdout] 720 | | }, [INFO] [stdout] 721 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:739:5 [INFO] [stdout] | [INFO] [stdout] 739 | / lexer! { [INFO] [stdout] 740 | | Lexer -> usize; [INFO] [stdout] 741 | | [INFO] [stdout] 742 | | $ = 1, [INFO] [stdout] ... | [INFO] [stdout] 746 | | 'a' = 3, [INFO] [stdout] 747 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:761:5 [INFO] [stdout] | [INFO] [stdout] 761 | / lexer! { [INFO] [stdout] 762 | | Lexer -> (usize, &'input str); [INFO] [stdout] 763 | | [INFO] [stdout] 764 | | $ => |lexer| { [INFO] [stdout] ... | [INFO] [stdout] 772 | | }, [INFO] [stdout] 773 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:783:5 [INFO] [stdout] | [INFO] [stdout] 783 | / lexer! { [INFO] [stdout] 784 | | Lexer -> (usize, &'input str); [INFO] [stdout] 785 | | [INFO] [stdout] 786 | | "test" => |lexer| { [INFO] [stdout] ... | [INFO] [stdout] 795 | | }, [INFO] [stdout] 796 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:822:5 [INFO] [stdout] | [INFO] [stdout] 822 | / lexer! { [INFO] [stdout] 823 | | Lexer -> usize; [INFO] [stdout] 824 | | [INFO] [stdout] 825 | | rule Init { [INFO] [stdout] ... | [INFO] [stdout] 836 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:854:5 [INFO] [stdout] | [INFO] [stdout] 854 | / lexer! { [INFO] [stdout] 855 | | Lexer(State) -> &'input str; [INFO] [stdout] 856 | | [INFO] [stdout] 857 | | rule Init { [INFO] [stdout] ... | [INFO] [stdout] 887 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:898:5 [INFO] [stdout] | [INFO] [stdout] 898 | / lexer! { [INFO] [stdout] 899 | | Lexer -> &'input str; [INFO] [stdout] 900 | | [INFO] [stdout] 901 | | "'" _ "'" => |lexer| { [INFO] [stdout] ... | [INFO] [stdout] 904 | | }, [INFO] [stdout] 905 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:914:5 [INFO] [stdout] | [INFO] [stdout] 914 | / lexer! { [INFO] [stdout] 915 | | Lexer1 -> usize; [INFO] [stdout] 916 | | [INFO] [stdout] 917 | | 'a' = 1, [INFO] [stdout] 918 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:920:5 [INFO] [stdout] | [INFO] [stdout] 920 | / lexer! { [INFO] [stdout] 921 | | Lexer2 -> usize; [INFO] [stdout] 922 | | [INFO] [stdout] 923 | | 'a' = 2, [INFO] [stdout] 924 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:937:5 [INFO] [stdout] | [INFO] [stdout] 937 | / lexer! { [INFO] [stdout] 938 | | Lexer -> &'input str; [INFO] [stdout] 939 | | [INFO] [stdout] 940 | | rule Init { [INFO] [stdout] ... | [INFO] [stdout] 957 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:972:5 [INFO] [stdout] | [INFO] [stdout] 972 | / lexer! { [INFO] [stdout] 973 | | Lexer -> &'input str; [INFO] [stdout] 974 | | [INFO] [stdout] 975 | | let exclude = ['3'-'7']; [INFO] [stdout] ... | [INFO] [stdout] 980 | | }, [INFO] [stdout] 981 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:1002:5 [INFO] [stdout] | [INFO] [stdout] 1002 | / lexer! { [INFO] [stdout] 1003 | | Lexer -> &'input str; [INFO] [stdout] 1004 | | [INFO] [stdout] 1005 | | _ # 'a' => |lexer| { [INFO] [stdout] ... | [INFO] [stdout] 1008 | | }, [INFO] [stdout] 1009 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:1022:5 [INFO] [stdout] | [INFO] [stdout] 1022 | / lexer! { [INFO] [stdout] 1023 | | Lexer -> &'input str; [INFO] [stdout] 1024 | | [INFO] [stdout] 1025 | | "'" (_ # ('\t' | '\n' | '\\' | '\'')) "'" => |lexer| { [INFO] [stdout] ... | [INFO] [stdout] 1028 | | }, [INFO] [stdout] 1029 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:1047:5 [INFO] [stdout] | [INFO] [stdout] 1047 | / lexer! { [INFO] [stdout] 1048 | | Lexer -> &'input str; [INFO] [stdout] 1049 | | [INFO] [stdout] 1050 | | "//" (_ # '\n')* $? => |lexer| { [INFO] [stdout] ... | [INFO] [stdout] 1053 | | }, [INFO] [stdout] 1054 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:1074:5 [INFO] [stdout] | [INFO] [stdout] 1074 | / lexer! { [INFO] [stdout] 1075 | | Lexer -> usize; [INFO] [stdout] 1076 | | [INFO] [stdout] 1077 | | 'a' = 1, [INFO] [stdout] 1078 | | 'b' = 2, [INFO] [stdout] 1079 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:1090:5 [INFO] [stdout] | [INFO] [stdout] 1090 | / lexer! { [INFO] [stdout] 1091 | | Lexer(String) -> u32; [INFO] [stdout] 1092 | | [INFO] [stdout] 1093 | | ['0'-'9']+ => |lexer| { [INFO] [stdout] ... | [INFO] [stdout] 1098 | | }, [INFO] [stdout] 1099 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:1110:5 [INFO] [stdout] | [INFO] [stdout] 1110 | / lexer! { [INFO] [stdout] 1111 | | Lexer(String) -> u32; [INFO] [stdout] 1112 | | [INFO] [stdout] 1113 | | type Error = std::num::ParseIntError; [INFO] [stdout] ... | [INFO] [stdout] 1122 | | }, [INFO] [stdout] 1123 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:1147:5 [INFO] [stdout] | [INFO] [stdout] 1147 | / lexer! { [INFO] [stdout] 1148 | | Lexer(State<'a>) -> (); [INFO] [stdout] 1149 | | [INFO] [stdout] 1150 | | rule Init { [INFO] [stdout] ... | [INFO] [stdout] 1169 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:1190:5 [INFO] [stdout] | [INFO] [stdout] 1190 | / lexer! { [INFO] [stdout] 1191 | | Lexer(State<'input>) -> (); [INFO] [stdout] 1192 | | [INFO] [stdout] 1193 | | rule Init { [INFO] [stdout] ... | [INFO] [stdout] 1209 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:1226:5 [INFO] [stdout] | [INFO] [stdout] 1226 | / lexer! { [INFO] [stdout] 1227 | | Lexer(State<'input, 'static, 'c>) -> (); [INFO] [stdout] 1228 | | [INFO] [stdout] 1229 | | rule Init { [INFO] [stdout] ... | [INFO] [stdout] 1250 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:1269:5 [INFO] [stdout] | [INFO] [stdout] 1269 | / lexer! { [INFO] [stdout] 1270 | | /// This is an outer attribute. [INFO] [stdout] 1271 | | #[derive(Debug, Clone)] [INFO] [stdout] 1272 | | Lexer -> usize; [INFO] [stdout] 1273 | | [INFO] [stdout] 1274 | | 'a' = 1, [INFO] [stdout] 1275 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lexgen_util` in the list of imported crates [INFO] [stdout] --> tests/tests.rs:1284:5 [INFO] [stdout] | [INFO] [stdout] 1284 | / lexer! { [INFO] [stdout] 1285 | | /// This is an outer attribute. [INFO] [stdout] 1286 | | #[derive(Debug, Clone)] [INFO] [stdout] 1287 | | pub(crate) Lexer1 -> usize; [INFO] [stdout] 1288 | | [INFO] [stdout] 1289 | | 'a' = 1, [INFO] [stdout] 1290 | | } [INFO] [stdout] | |_____^ could not find `lexgen_util` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lexer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexgen` (test "tests") due to 42 previous errors [INFO] running `Command { std: "docker" "inspect" "f4f1a4d8c330aa6492a03f699b4c3a3bd2c7e862bed5b50066de9dea8cb5f4c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4f1a4d8c330aa6492a03f699b4c3a3bd2c7e862bed5b50066de9dea8cb5f4c4", kill_on_drop: false }` [INFO] [stdout] f4f1a4d8c330aa6492a03f699b4c3a3bd2c7e862bed5b50066de9dea8cb5f4c4