[INFO] fetching crate lazy-regex-proc_macros 3.4.2... [INFO] testing lazy-regex-proc_macros-3.4.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate lazy-regex-proc_macros 3.4.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate lazy-regex-proc_macros 3.4.2 [INFO] finished tweaking crates.io crate lazy-regex-proc_macros 3.4.2 [INFO] tweaked toml for crates.io crate lazy-regex-proc_macros 3.4.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lazy-regex-proc_macros 3.4.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lazy-regex-proc_macros 3.4.2 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v2.0.92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7d808769762f4136730c69d426d142ac959f72802d1819a656ac7247cffaa11 [INFO] running `Command { std: "docker" "start" "-a" "b7d808769762f4136730c69d426d142ac959f72802d1819a656ac7247cffaa11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7d808769762f4136730c69d426d142ac959f72802d1819a656ac7247cffaa11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7d808769762f4136730c69d426d142ac959f72802d1819a656ac7247cffaa11", kill_on_drop: false }` [INFO] [stdout] b7d808769762f4136730c69d426d142ac959f72802d1819a656ac7247cffaa11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b30a8045ebce9ccf43d8e64eb7d8e617d1967a372762b544b3e33bcaac34130 [INFO] running `Command { std: "docker" "start" "-a" "9b30a8045ebce9ccf43d8e64eb7d8e617d1967a372762b544b3e33bcaac34130", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.92 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.17s [INFO] running `Command { std: "docker" "inspect" "9b30a8045ebce9ccf43d8e64eb7d8e617d1967a372762b544b3e33bcaac34130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b30a8045ebce9ccf43d8e64eb7d8e617d1967a372762b544b3e33bcaac34130", kill_on_drop: false }` [INFO] [stdout] 9b30a8045ebce9ccf43d8e64eb7d8e617d1967a372762b544b3e33bcaac34130 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c1f745f34ffcdae19bcb420f02d367a122342169eb25e4d6581cad9c23af60d [INFO] running `Command { std: "docker" "start" "-a" "7c1f745f34ffcdae19bcb420f02d367a122342169eb25e4d6581cad9c23af60d", kill_on_drop: false }` [INFO] [stderr] Compiling lazy-regex-proc_macros v3.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "7c1f745f34ffcdae19bcb420f02d367a122342169eb25e4d6581cad9c23af60d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c1f745f34ffcdae19bcb420f02d367a122342169eb25e4d6581cad9c23af60d", kill_on_drop: false }` [INFO] [stdout] 7c1f745f34ffcdae19bcb420f02d367a122342169eb25e4d6581cad9c23af60d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2e878370e6d94a819850f4fea53f54e454c2a4ced030371ded2769ba9ac56c46 [INFO] running `Command { std: "docker" "start" "-a" "2e878370e6d94a819850f4fea53f54e454c2a4ced030371ded2769ba9ac56c46", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests mod.rs (/opt/rustwide/target/debug/deps/lazy_regex_proc_macros-7e009d5f9ffd5352) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lazy_regex_proc_macros [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test mod.rs - regex (line 47) ... FAILED [INFO] [stdout] test mod.rs - regex_is_match (line 106) ... FAILED [INFO] [stdout] test mod.rs - bytes_regex_is_match (line 126) ... FAILED [INFO] [stdout] test mod.rs - regex_if (line 486) ... FAILED [INFO] [stdout] test mod.rs - lazy_regex (line 76) ... FAILED [INFO] [stdout] test mod.rs - bytes_regex_replace (line 419) ... FAILED [INFO] [stdout] test mod.rs - bytes_regex_find (line 170) ... FAILED [INFO] [stdout] test mod.rs - regex_captures_iter (line 267) ... FAILED [INFO] [stdout] test mod.rs - regex_find (line 145) ... FAILED [INFO] [stdout] test mod.rs - regex_captures (line 197) ... FAILED [INFO] [stdout] test mod.rs - bytes_regex_replace_all (line 466) ... FAILED [INFO] [stdout] test mod.rs - regex_replace (line 396) ... FAILED [INFO] [stdout] test mod.rs - bytes_regex (line 61) ... FAILED [INFO] [stdout] test mod.rs - regex (line 40) ... FAILED [INFO] [stdout] test mod.rs - bytes_regex_captures (line 234) ... FAILED [INFO] [stdout] test mod.rs - bytes_regex_switch (line 633) ... FAILED [INFO] [stdout] test mod.rs - bytes_lazy_regex (line 91) ... FAILED [INFO] [stdout] test mod.rs - regex_replace_all (line 443) ... FAILED [INFO] [stdout] test mod.rs - regex_switch (line 563) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- mod.rs - regex (line 47) stdout ---- [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> mod.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | let verbose = regex!(r#"_([\d\.]+)"#) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `regex` is in scope, but it is a crate, not a macro [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 47 + use lazy_regex_proc_macros::regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - regex_is_match (line 106) stdout ---- [INFO] [stdout] error: cannot find macro `regex_is_match` in this scope [INFO] [stdout] --> mod.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let b = regex_is_match!("[ab]+", "car"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 106 + use lazy_regex_proc_macros::regex_is_match; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - bytes_regex_is_match (line 126) stdout ---- [INFO] [stdout] error: cannot find macro `bytes_regex_is_match` in this scope [INFO] [stdout] --> mod.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let b = bytes_regex_is_match!("[ab]+", b"car"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 126 + use lazy_regex_proc_macros::bytes_regex_is_match; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - regex_if (line 486) stdout ---- [INFO] [stdout] error: cannot find macro `regex_if` in this scope [INFO] [stdout] --> mod.rs:487:12 [INFO] [stdout] | [INFO] [stdout] 487 | let grey = regex_if!(r#"^gr(a|e)y\((?\d{1,2})\)$"#, "grey(22)", { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 486 + use lazy_regex_proc_macros::regex_if; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - lazy_regex (line 76) stdout ---- [INFO] [stdout] error: cannot find macro `lazy_regex` in this scope [INFO] [stdout] --> mod.rs:77:38 [INFO] [stdout] | [INFO] [stdout] 77 | pub static GLOBAL_REX: Lazy = lazy_regex!("^ab+$"i); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 76 + use lazy_regex_proc_macros::lazy_regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lazy` in this scope [INFO] [stdout] --> mod.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | pub static GLOBAL_REX: Lazy = lazy_regex!("^ab+$"i); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Regex` in this scope [INFO] [stdout] --> mod.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | pub static GLOBAL_REX: Lazy = lazy_regex!("^ab+$"i); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 76 + use regex::Regex; [INFO] [stdout] | [INFO] [stdout] 76 + use regex::bytes::Regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - bytes_regex_replace (line 419) stdout ---- [INFO] [stdout] error: cannot find macro `bytes_regex_replace` in this scope [INFO] [stdout] --> mod.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 422 | let text = bytes_regex_replace!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 419 + use lazy_regex_proc_macros::bytes_regex_replace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - bytes_regex_find (line 170) stdout ---- [INFO] [stdout] error: cannot find macro `bytes_regex_find` in this scope [INFO] [stdout] --> mod.rs:171:14 [INFO] [stdout] | [INFO] [stdout] 171 | let f_word = bytes_regex_find!(r#"\bf\w+\b"#, b"The fox jumps."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 170 + use lazy_regex_proc_macros::bytes_regex_find; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - regex_captures_iter (line 267) stdout ---- [INFO] [stdout] error: cannot find macro `regex_captures_iter` in this scope [INFO] [stdout] --> mod.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | let iter = regex_captures_iter!(r"'([^']+)'\s+\(([0-9]{4})\)", hay); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 267 + use lazy_regex_proc_macros::regex_captures_iter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> mod.rs:271:37 [INFO] [stdout] | [INFO] [stdout] 271 | for (_, [title, year]) in iter.map(|c| c.extract()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 271 | for (_, [title, year]) in iter.map(|c: /* Type */| c.extract()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - regex_find (line 145) stdout ---- [INFO] [stdout] error: cannot find macro `regex_find` in this scope [INFO] [stdout] --> mod.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | let f_word = regex_find!(r#"\bf\w+\b"#B, "The forest is silent."); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 145 + use lazy_regex_proc_macros::regex_find; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `regex_find` in this scope [INFO] [stdout] --> mod.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | let f_word = regex_find!(r#"\bf\w+\b"#, "The fox jumps."); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 145 + use lazy_regex_proc_macros::regex_find; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - regex_captures (line 197) stdout ---- [INFO] [stdout] error: cannot find macro `regex_captures` in this scope [INFO] [stdout] --> mod.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 198 | let (whole, name, version) = regex_captures!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 197 + use lazy_regex_proc_macros::regex_captures; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - bytes_regex_replace_all (line 466) stdout ---- [INFO] [stdout] error: cannot find macro `bytes_regex_replace_all` in this scope [INFO] [stdout] --> mod.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 468 | let text = bytes_regex_replace_all!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 466 + use lazy_regex_proc_macros::bytes_regex_replace_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - regex_replace (line 396) stdout ---- [INFO] [stdout] error: cannot find macro `regex_replace` in this scope [INFO] [stdout] --> mod.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | let text = regex_replace!( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 396 + use lazy_regex_proc_macros::regex_replace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - bytes_regex (line 61) stdout ---- [INFO] [stdout] error: cannot find macro `bytes_regex` in this scope [INFO] [stdout] --> mod.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | let case_insensitive_regex = bytes_regex!("^ab+$"i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 61 + use lazy_regex_proc_macros::bytes_regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - regex (line 40) stdout ---- [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> mod.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | let case_insensitive_regex = regex!("^ab+$"i); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `regex` is in scope, but it is a crate, not a macro [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 40 + use lazy_regex_proc_macros::regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - bytes_regex_captures (line 234) stdout ---- [INFO] [stdout] error: cannot find macro `bytes_regex_captures` in this scope [INFO] [stdout] --> mod.rs:235:30 [INFO] [stdout] | [INFO] [stdout] 235 | let (whole, name, version) = bytes_regex_captures!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 234 + use lazy_regex_proc_macros::bytes_regex_captures; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - bytes_regex_switch (line 633) stdout ---- [INFO] [stdout] error: cannot find macro `regex_switch` in this scope [INFO] [stdout] --> mod.rs:642:13 [INFO] [stdout] | [INFO] [stdout] 642 | let color = regex_switch!(input, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 633 + use lazy_regex_proc_macros::regex_switch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - bytes_lazy_regex (line 91) stdout ---- [INFO] [stdout] error: cannot find macro `bytes_lazy_regex` in this scope [INFO] [stdout] --> mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub static GLOBAL_REX: Lazy = bytes_lazy_regex!("^ab+$"i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 91 + use lazy_regex_proc_macros::bytes_lazy_regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lazy` in this scope [INFO] [stdout] --> mod.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | pub static GLOBAL_REX: Lazy = bytes_lazy_regex!("^ab+$"i); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bytes` [INFO] [stdout] --> mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub static GLOBAL_REX: Lazy = bytes_lazy_regex!("^ab+$"i); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 91 + use regex::bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - regex_replace_all (line 443) stdout ---- [INFO] [stdout] error: cannot find macro `regex_replace_all` in this scope [INFO] [stdout] --> mod.rs:445:12 [INFO] [stdout] | [INFO] [stdout] 445 | let text = regex_replace_all!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 443 + use lazy_regex_proc_macros::regex_replace_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - regex_switch (line 563) stdout ---- [INFO] [stdout] error: cannot find macro `regex_switch` in this scope [INFO] [stdout] --> mod.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | let color = regex_switch!(input, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 563 + use lazy_regex_proc_macros::regex_switch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] mod.rs - bytes_lazy_regex (line 91) [INFO] [stdout] mod.rs - bytes_regex (line 61) [INFO] [stdout] mod.rs - bytes_regex_captures (line 234) [INFO] [stdout] mod.rs - bytes_regex_find (line 170) [INFO] [stdout] mod.rs - bytes_regex_is_match (line 126) [INFO] [stdout] mod.rs - bytes_regex_replace (line 419) [INFO] [stdout] mod.rs - bytes_regex_replace_all (line 466) [INFO] [stdout] mod.rs - bytes_regex_switch (line 633) [INFO] [stdout] mod.rs - lazy_regex (line 76) [INFO] [stdout] mod.rs - regex (line 40) [INFO] [stdout] mod.rs - regex (line 47) [INFO] [stdout] mod.rs - regex_captures (line 197) [INFO] [stdout] mod.rs - regex_captures_iter (line 267) [INFO] [stdout] mod.rs - regex_find (line 145) [INFO] [stdout] mod.rs - regex_if (line 486) [INFO] [stdout] mod.rs - regex_is_match (line 106) [INFO] [stdout] mod.rs - regex_replace (line 396) [INFO] [stdout] mod.rs - regex_replace_all (line 443) [INFO] [stdout] mod.rs - regex_switch (line 563) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2e878370e6d94a819850f4fea53f54e454c2a4ced030371ded2769ba9ac56c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e878370e6d94a819850f4fea53f54e454c2a4ced030371ded2769ba9ac56c46", kill_on_drop: false }` [INFO] [stdout] 2e878370e6d94a819850f4fea53f54e454c2a4ced030371ded2769ba9ac56c46