[INFO] fetching crate lazy-regex-proc_macros 2.2.1... [INFO] testing lazy-regex-proc_macros-2.2.1 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate lazy-regex-proc_macros 2.2.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate lazy-regex-proc_macros 2.2.1 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lazy-regex-proc_macros 2.2.1 [INFO] finished tweaking crates.io crate lazy-regex-proc_macros 2.2.1 [INFO] tweaked toml for crates.io crate lazy-regex-proc_macros 2.2.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fd19d0bb815d8b23864702ac19ab56653bdded7e411acb516e1595bcdb86a35 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2fd19d0bb815d8b23864702ac19ab56653bdded7e411acb516e1595bcdb86a35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fd19d0bb815d8b23864702ac19ab56653bdded7e411acb516e1595bcdb86a35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd19d0bb815d8b23864702ac19ab56653bdded7e411acb516e1595bcdb86a35", kill_on_drop: false }` [INFO] [stdout] 2fd19d0bb815d8b23864702ac19ab56653bdded7e411acb516e1595bcdb86a35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aea6c85ca828c0f8d558ba099b6be278141a3fa20f518af8bd5d9867aa0403c0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aea6c85ca828c0f8d558ba099b6be278141a3fa20f518af8bd5d9867aa0403c0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling lazy-regex-proc_macros v2.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.10s [INFO] running `Command { std: "docker" "inspect" "aea6c85ca828c0f8d558ba099b6be278141a3fa20f518af8bd5d9867aa0403c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aea6c85ca828c0f8d558ba099b6be278141a3fa20f518af8bd5d9867aa0403c0", kill_on_drop: false }` [INFO] [stdout] aea6c85ca828c0f8d558ba099b6be278141a3fa20f518af8bd5d9867aa0403c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8f56a7a129ebb69a61b49865e73f3020879d8f0065f9d24fb785a768e7d8359 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d8f56a7a129ebb69a61b49865e73f3020879d8f0065f9d24fb785a768e7d8359", kill_on_drop: false }` [INFO] [stderr] Compiling lazy-regex-proc_macros v2.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "d8f56a7a129ebb69a61b49865e73f3020879d8f0065f9d24fb785a768e7d8359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8f56a7a129ebb69a61b49865e73f3020879d8f0065f9d24fb785a768e7d8359", kill_on_drop: false }` [INFO] [stdout] d8f56a7a129ebb69a61b49865e73f3020879d8f0065f9d24fb785a768e7d8359 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3beaac172c262b6e7b6cbec6ec4acfff3bdb55ce5ad390c54db61c7809304215 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3beaac172c262b6e7b6cbec6ec4acfff3bdb55ce5ad390c54db61c7809304215", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lazy_regex_proc_macros-605d02a3253a34b9) [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 8 tests [INFO] [stdout] test mod.rs - regex (line 18) ... FAILED [INFO] [stdout] test mod.rs - regex (line 23) ... FAILED [INFO] [stdout] test mod.rs - regex_find (line 81) ... FAILED [INFO] [stdout] test mod.rs - regex_replace_all (line 195) ... FAILED [INFO] [stdout] test mod.rs - lazy_regex (line 44) ... FAILED [INFO] [stdout] test mod.rs - regex_is_match (line 61) ... FAILED [INFO] [stdout] test mod.rs - regex_replace (line 173) ... FAILED [INFO] [stdout] test mod.rs - regex_captures (line 106) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- mod.rs - regex (line 18) stdout ---- [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> mod.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 3 | let case_insensitive_regex = regex!("^ab+$"i); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] lazy_regex_proc_macros::regex [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - regex (line 23) stdout ---- [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> mod.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 3 | let verbose = regex!(r#"_([\d\.]+)"#) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] lazy_regex_proc_macros::regex [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - regex_find (line 81) stdout ---- [INFO] [stdout] error: cannot find macro `regex_find` in this scope [INFO] [stdout] --> mod.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 3 | let f_word = regex_find!(r#"\bf\w+\b"#, "The fox jumps."); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] lazy_regex_proc_macros::regex_find [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - regex_replace_all (line 195) stdout ---- [INFO] [stdout] error: cannot find macro `regex_replace_all` in this scope [INFO] [stdout] --> mod.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 4 | let text = regex_replace_all!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] lazy_regex_proc_macros::regex_replace_all [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - lazy_regex (line 44) stdout ---- [INFO] [stdout] error: cannot find macro `lazy_regex` in this scope [INFO] [stdout] --> mod.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 3 | pub static GLOBAL_REX: Lazy = lazy_regex!("^ab+$"i); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] lazy_regex_proc_macros::lazy_regex [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lazy` in this scope [INFO] [stdout] --> mod.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 3 | 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 items [INFO] [stdout] | [INFO] [stdout] 2 | use core::lazy::Lazy; [INFO] [stdout] | [INFO] [stdout] 2 | use std::lazy::Lazy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Regex` in this scope [INFO] [stdout] --> mod.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 3 | 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 items [INFO] [stdout] | [INFO] [stdout] 2 | use regex::Regex; [INFO] [stdout] | [INFO] [stdout] 2 | 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 - regex_is_match (line 61) stdout ---- [INFO] [stdout] error: cannot find macro `regex_is_match` in this scope [INFO] [stdout] --> mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 3 | let b = regex_is_match!("[ab]+", "car"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] lazy_regex_proc_macros::regex_is_match [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - regex_replace (line 173) stdout ---- [INFO] [stdout] error: cannot find macro `regex_replace` in this scope [INFO] [stdout] --> mod.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 4 | let text = regex_replace!( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] lazy_regex_proc_macros::regex_replace [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- mod.rs - regex_captures (line 106) stdout ---- [INFO] [stdout] error: cannot find macro `regex_captures` in this scope [INFO] [stdout] --> mod.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 3 | let (whole, name, version) = regex_captures!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] lazy_regex_proc_macros::regex_captures [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] mod.rs - lazy_regex (line 44) [INFO] [stdout] mod.rs - regex (line 18) [INFO] [stdout] mod.rs - regex (line 23) [INFO] [stdout] mod.rs - regex_captures (line 106) [INFO] [stdout] mod.rs - regex_find (line 81) [INFO] [stdout] mod.rs - regex_is_match (line 61) [INFO] [stdout] mod.rs - regex_replace (line 173) [INFO] [stdout] mod.rs - regex_replace_all (line 195) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "3beaac172c262b6e7b6cbec6ec4acfff3bdb55ce5ad390c54db61c7809304215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3beaac172c262b6e7b6cbec6ec4acfff3bdb55ce5ad390c54db61c7809304215", kill_on_drop: false }` [INFO] [stdout] 3beaac172c262b6e7b6cbec6ec4acfff3bdb55ce5ad390c54db61c7809304215