[INFO] cloning repository https://github.com/pipopa/regex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pipopa/regex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpipopa%2Fregex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpipopa%2Fregex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60d087a23025e045ae754a345b04003c31d83d93 [INFO] checking pipopa/regex/60d087a23025e045ae754a345b04003c31d83d93 against master#9f32ccf35fb877270bc44a86a126440f04d676d0 for pr-140283 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpipopa%2Fregex" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pipopa/regex [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/pipopa/regex [INFO] tweaked toml for git repo https://github.com/pipopa/regex written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pipopa/regex on toolchain 9f32ccf35fb877270bc44a86a126440f04d676d0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f32ccf35fb877270bc44a86a126440f04d676d0" "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" "+9f32ccf35fb877270bc44a86a126440f04d676d0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 64 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.6.10 (available: v1.1.3) [INFO] [stderr] Adding memmap v0.6.2 (available: v0.7.0) [INFO] [stderr] Adding onig v3.2.2 (available: v6.5.1) [INFO] [stderr] Adding quickcheck v0.7.2 (available: v1.0.3) [INFO] [stderr] Adding rand v0.5.6 (available: v0.9.2) [INFO] [stderr] Adding thread_local v0.3.6 (available: v1.1.9) [INFO] [stderr] Adding ucd-util v0.1.10 (available: v0.2.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f32ccf35fb877270bc44a86a126440f04d676d0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-6-tc1/source/bench/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-6-tc1/source/regex-debug/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-6-tc1/source/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-6-tc1/source/regex-syntax/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-6-tc1/source/regex-capi/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xattr v1.6.1 [INFO] [stderr] Downloaded ucd-util v0.1.10 [INFO] [stderr] Downloaded memmap v0.6.2 [INFO] [stderr] Downloaded utf8-ranges v1.0.5 [INFO] [stderr] Downloaded bzip2 v0.3.3 [INFO] [stderr] Downloaded onig v3.2.2 [INFO] [stderr] Downloaded docopt v1.1.1 [INFO] [stderr] Downloaded libpcre-sys v0.2.2 [INFO] [stderr] Downloaded quickcheck v0.7.2 [INFO] [stderr] Downloaded onig_sys v68.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+9f32ccf35fb877270bc44a86a126440f04d676d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8845f72e1045a35f17b1bcb7ce2d3b9e0ee539d92aee634e971727dfb0af91a6 [INFO] running `Command { std: "docker" "start" "-a" "8845f72e1045a35f17b1bcb7ce2d3b9e0ee539d92aee634e971727dfb0af91a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8845f72e1045a35f17b1bcb7ce2d3b9e0ee539d92aee634e971727dfb0af91a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8845f72e1045a35f17b1bcb7ce2d3b9e0ee539d92aee634e971727dfb0af91a6", kill_on_drop: false }` [INFO] [stdout] 8845f72e1045a35f17b1bcb7ce2d3b9e0ee539d92aee634e971727dfb0af91a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+9f32ccf35fb877270bc44a86a126440f04d676d0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 595653152bf64e0ba04b5a56f5a063e16355a89a1569dcdd6cea001d0a6ee723 [INFO] running `Command { std: "docker" "start" "-a" "595653152bf64e0ba04b5a56f5a063e16355a89a1569dcdd6cea001d0a6ee723", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/regex-syntax/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/bench/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/regex-capi/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/regex-debug/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling regex v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Checking regex-syntax v0.6.5 (/opt/rustwide/workdir/regex-syntax) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> regex-syntax/src/ast/parse.rs:1445:16 [INFO] [stdout] | [INFO] [stdout] 1445 | '0'...'7' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> regex-syntax/src/ast/parse.rs:1456:16 [INFO] [stdout] | [INFO] [stdout] 1456 | '8'...'9' if !self.parser().octal => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> regex-syntax/src/lib.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | b'_' | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> regex-syntax/src/lib.rs:195:37 [INFO] [stdout] | [INFO] [stdout] 195 | b'_' | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> regex-syntax/src/lib.rs:195:53 [INFO] [stdout] | [INFO] [stdout] 195 | b'_' | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> regex-syntax/src/ast/parse.rs:1445:16 [INFO] [stdout] | [INFO] [stdout] 1445 | '0'...'7' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> regex-syntax/src/ast/parse.rs:1456:16 [INFO] [stdout] | [INFO] [stdout] 1456 | '8'...'9' if !self.parser().octal => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> regex-syntax/src/lib.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | b'_' | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> regex-syntax/src/lib.rs:195:37 [INFO] [stdout] | [INFO] [stdout] 195 | b'_' | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> regex-syntax/src/lib.rs:195:53 [INFO] [stdout] | [INFO] [stdout] 195 | b'_' | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> regex-syntax/src/error.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | Error::Parse(ref x) => x.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> regex-syntax/src/error.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | Error::Translate(ref x) => x.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> regex-syntax/src/error.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | Error::Parse(ref x) => x.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> regex-syntax/src/error.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | Error::Translate(ref x) => x.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-benchmark v0.1.0 (/opt/rustwide/workdir/bench) [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> regex-syntax/src/hir/literal/mod.rs:687:17 [INFO] [stdout] | [INFO] [stdout] 687 | let mut buf = &mut buf[..i]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `printer` is never read [INFO] [stdout] --> regex-syntax/src/ast/print.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct Writer<'p, W> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 80 | printer: &'p mut Printer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Writer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `symmetric_difference` is never used [INFO] [stdout] --> regex-syntax/src/hir/interval.rs:411:8 [INFO] [stdout] | [INFO] [stdout] 326 | pub trait Interval: [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 411 | fn symmetric_difference( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `printer` is never read [INFO] [stdout] --> regex-syntax/src/hir/print.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct Writer<'p, W> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 78 | printer: &'p mut Printer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Writer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> regex-syntax/src/ast/parse.rs:386:21 [INFO] [stdout] | [INFO] [stdout] 386 | self.pattern.borrow() [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> regex-syntax/src/hir/mod.rs:828:17 [INFO] [stdout] | [INFO] [stdout] 828 | pub fn iter(&self) -> ClassUnicodeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 828 | pub fn iter(&self) -> ClassUnicodeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> regex-syntax/src/hir/mod.rs:1021:17 [INFO] [stdout] | [INFO] [stdout] 1021 | pub fn iter(&self) -> ClassBytesIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1021 | pub fn iter(&self) -> ClassBytesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> regex-syntax/src/hir/interval.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn iter(&self) -> IntervalSetIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn iter(&self) -> IntervalSetIter<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `regex_runtime_teddy_ssse3` [INFO] [stdout] --> src/lib.rs:669:11 [INFO] [stdout] | [INFO] [stdout] 669 | #[cfg(any(regex_runtime_teddy_ssse3, regex_runtime_teddy_avx2))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(regex_runtime_teddy_ssse3)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(regex_runtime_teddy_ssse3)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `regex_runtime_teddy_avx2` [INFO] [stdout] --> src/lib.rs:669:38 [INFO] [stdout] | [INFO] [stdout] 669 | #[cfg(any(regex_runtime_teddy_ssse3, regex_runtime_teddy_avx2))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(regex_runtime_teddy_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(regex_runtime_teddy_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utf8.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | 0b110_00000 ... 0b110_11111 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utf8.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | 0x80 ... 0x7FF => char::from_u32(cp).map(|cp| (cp, 2)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utf8.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | 0b1110_0000 ... 0b1110_1111 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utf8.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | 0x800 ... 0xFFFF => char::from_u32(cp).map(|cp| (cp, 3)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utf8.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | 0b11110_000 ... 0b11110_111 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utf8.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | 0x10000 ... 0x10FFFF => char::from_u32(cp).map(|cp| (cp, 4)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/dfa.rs:1765:17 [INFO] [stdout] | [INFO] [stdout] 1765 | b'A'...b'Z' | b'a'...b'z' | b'0'...b'9' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/dfa.rs:1765:31 [INFO] [stdout] | [INFO] [stdout] 1765 | b'A'...b'Z' | b'a'...b'z' | b'0'...b'9' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/dfa.rs:1765:45 [INFO] [stdout] | [INFO] [stdout] 1765 | b'A'...b'Z' | b'a'...b'z' | b'0'...b'9' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/expand.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/expand.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/expand.rs:172:46 [INFO] [stdout] | [INFO] [stdout] 172 | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `regex_runtime_teddy_avx2` [INFO] [stdout] --> src/literal/teddy_avx2/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | regex_runtime_teddy_avx2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(regex_runtime_teddy_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(regex_runtime_teddy_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `regex_runtime_teddy_avx2` [INFO] [stdout] --> src/literal/teddy_avx2/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | regex_runtime_teddy_avx2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(regex_runtime_teddy_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(regex_runtime_teddy_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `regex_runtime_teddy_ssse3` [INFO] [stdout] --> src/literal/teddy_ssse3/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | regex_runtime_teddy_ssse3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(regex_runtime_teddy_ssse3)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(regex_runtime_teddy_ssse3)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `regex_runtime_teddy_ssse3` [INFO] [stdout] --> src/literal/teddy_ssse3/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | regex_runtime_teddy_ssse3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(regex_runtime_teddy_ssse3)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(regex_runtime_teddy_ssse3)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking quickcheck v0.7.2 [INFO] [stdout] error: unexpected `cfg` condition name: `regex_runtime_teddy_ssse3` [INFO] [stdout] --> src/lib.rs:669:11 [INFO] [stdout] | [INFO] [stdout] 669 | #[cfg(any(regex_runtime_teddy_ssse3, regex_runtime_teddy_avx2))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(regex_runtime_teddy_ssse3)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(regex_runtime_teddy_ssse3)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:521:24 [INFO] [stdout] | [INFO] [stdout] 521 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unexpected_cfgs)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `regex_runtime_teddy_avx2` [INFO] [stdout] --> src/lib.rs:669:38 [INFO] [stdout] | [INFO] [stdout] 669 | #[cfg(any(regex_runtime_teddy_ssse3, regex_runtime_teddy_avx2))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(regex_runtime_teddy_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(regex_runtime_teddy_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/utf8.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | 0b110_00000 ... 0b110_11111 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(ellipsis_inclusive_range_patterns)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/utf8.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | 0x80 ... 0x7FF => char::from_u32(cp).map(|cp| (cp, 2)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/utf8.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | 0b1110_0000 ... 0b1110_1111 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/utf8.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | 0x800 ... 0xFFFF => char::from_u32(cp).map(|cp| (cp, 3)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/utf8.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | 0b11110_000 ... 0b11110_111 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/utf8.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | 0x10000 ... 0x10FFFF => char::from_u32(cp).map(|cp| (cp, 4)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/dfa.rs:1765:17 [INFO] [stdout] | [INFO] [stdout] 1765 | b'A'...b'Z' | b'a'...b'z' | b'0'...b'9' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/dfa.rs:1765:31 [INFO] [stdout] | [INFO] [stdout] 1765 | b'A'...b'Z' | b'a'...b'z' | b'0'...b'9' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/dfa.rs:1765:45 [INFO] [stdout] | [INFO] [stdout] 1765 | b'A'...b'Z' | b'a'...b'z' | b'0'...b'9' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/expand.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/expand.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/expand.rs:172:46 [INFO] [stdout] | [INFO] [stdout] 172 | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `regex_runtime_teddy_avx2` [INFO] [stdout] --> src/literal/teddy_avx2/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | regex_runtime_teddy_avx2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(regex_runtime_teddy_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(regex_runtime_teddy_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `regex_runtime_teddy_avx2` [INFO] [stdout] --> src/literal/teddy_avx2/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | regex_runtime_teddy_avx2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(regex_runtime_teddy_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(regex_runtime_teddy_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `regex_runtime_teddy_ssse3` [INFO] [stdout] --> src/literal/teddy_ssse3/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | regex_runtime_teddy_ssse3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(regex_runtime_teddy_ssse3)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(regex_runtime_teddy_ssse3)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `regex_runtime_teddy_ssse3` [INFO] [stdout] --> src/literal/teddy_ssse3/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | regex_runtime_teddy_ssse3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(regex_runtime_teddy_ssse3)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(regex_runtime_teddy_ssse3)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pat` is never read [INFO] [stdout] --> src/literal/teddy_avx2/imp.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Match { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub pat: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Match` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pat` is never read [INFO] [stdout] --> src/literal/teddy_ssse3/imp.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct Match { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 336 | pub pat: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Match` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dfa.rs:318:18 [INFO] [stdout] | [INFO] [stdout] 318 | fn inst_ptrs(&self) -> InstPtrs { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 318 | fn inst_ptrs(&self) -> InstPtrs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/exec.rs:1078:21 [INFO] [stdout] | [INFO] [stdout] 1078 | pub fn searcher(&self) -> ExecNoSync { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1078 | pub fn searcher(&self) -> ExecNoSync<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/exec.rs:1088:25 [INFO] [stdout] | [INFO] [stdout] 1088 | pub fn searcher_str(&self) -> ExecNoSyncStr { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1088 | pub fn searcher_str(&self) -> ExecNoSyncStr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expand.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | replacement: &T, [INFO] [stdout] | ^^ the lifetime is elided here [INFO] [stdout] 130 | ) -> Option { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 130 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/literal/mod.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn iter(&self) -> LiteralIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 138 | pub fn iter(&self) -> LiteralIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_bytes.rs:664:26 [INFO] [stdout] | [INFO] [stdout] 664 | pub fn capture_names(&self) -> CaptureNames { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 664 | pub fn capture_names(&self) -> CaptureNames<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_bytes.rs:1137:21 [INFO] [stdout] | [INFO] [stdout] 1137 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1137 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_bytes.rs:1166:21 [INFO] [stdout] | [INFO] [stdout] 1166 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1166 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_set.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn iter(&self) -> SetMatchesIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 406 | / define_set! { [INFO] [stdout] 407 | | unicode, [INFO] [stdout] 408 | | set_unicode, [INFO] [stdout] 409 | | &str, [INFO] [stdout] ... | [INFO] [stdout] 432 | | /// ``` [INFO] [stdout] 433 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `define_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 287 | pub fn iter(&self) -> SetMatchesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_set.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn iter(&self) -> SetMatchesIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 435 | / define_set! { [INFO] [stdout] 436 | | bytes, [INFO] [stdout] 437 | | set_bytes, [INFO] [stdout] 438 | | &[u8], [INFO] [stdout] ... | [INFO] [stdout] 461 | | /// ``` [INFO] [stdout] 462 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `define_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 287 | pub fn iter(&self) -> SetMatchesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_trait.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn iter(&self) -> SubCapturesPosIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn iter(&self) -> SubCapturesPosIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_trait.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | text: &Self::Text, [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 154 | ) -> Matches { [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | ) -> Matches<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_trait.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | text: &Self::Text, [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 168 | ) -> CaptureMatches { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 168 | ) -> CaptureMatches<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_unicode.rs:721:26 [INFO] [stdout] | [INFO] [stdout] 721 | pub fn capture_names(&self) -> CaptureNames { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 721 | pub fn capture_names(&self) -> CaptureNames<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_unicode.rs:1169:21 [INFO] [stdout] | [INFO] [stdout] 1169 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1169 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_unicode.rs:1179:21 [INFO] [stdout] | [INFO] [stdout] 1179 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1179 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_unicode.rs:1208:21 [INFO] [stdout] | [INFO] [stdout] 1208 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1208 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking rure v0.2.0 (/opt/rustwide/workdir/regex-capi) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / ffi_fn! { [INFO] [stdout] 77 | | fn rure_compile_must(pattern: *const c_char) -> *const Regex { [INFO] [stdout] 78 | | let len = unsafe { CStr::from_ptr(pattern).to_bytes().len() }; [INFO] [stdout] 79 | | let pat = pattern as *const u8; [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / ffi_fn! { [INFO] [stdout] 94 | | fn rure_compile( [INFO] [stdout] 95 | | pattern: *const u8, [INFO] [stdout] 96 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / ffi_fn! { [INFO] [stdout] 152 | | fn rure_free(re: *const Regex) { [INFO] [stdout] 153 | | unsafe { Box::from_raw(re as *mut Regex); } [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | / ffi_fn! { [INFO] [stdout] 158 | | fn rure_is_match( [INFO] [stdout] 159 | | re: *const Regex, [INFO] [stdout] 160 | | haystack: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | / ffi_fn! { [INFO] [stdout] 171 | | fn rure_find( [INFO] [stdout] 172 | | re: *const Regex, [INFO] [stdout] 173 | | haystack: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / ffi_fn! { [INFO] [stdout] 190 | | fn rure_find_captures( [INFO] [stdout] 191 | | re: *const Regex, [INFO] [stdout] 192 | | haystack: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 202 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / ffi_fn! { [INFO] [stdout] 205 | | fn rure_shortest_match( [INFO] [stdout] 206 | | re: *const Regex, [INFO] [stdout] 207 | | haystack: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | / ffi_fn! { [INFO] [stdout] 229 | | fn rure_capture_name_index( [INFO] [stdout] 230 | | re: *const Regex, [INFO] [stdout] 231 | | name: *const c_char, [INFO] [stdout] ... | [INFO] [stdout] 241 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | / ffi_fn! { [INFO] [stdout] 244 | | fn rure_iter_capture_names_new( [INFO] [stdout] 245 | | re: *const Regex, [INFO] [stdout] 246 | | ) -> *mut IterCaptureNames { [INFO] [stdout] ... | [INFO] [stdout] 253 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:255:1 [INFO] [stdout] | [INFO] [stdout] 255 | / ffi_fn! { [INFO] [stdout] 256 | | fn rure_iter_capture_names_free(it: *mut IterCaptureNames) { [INFO] [stdout] 257 | | unsafe { [INFO] [stdout] 258 | | let it = &mut *it; [INFO] [stdout] ... | [INFO] [stdout] 265 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 267 | / ffi_fn! { [INFO] [stdout] 268 | | fn rure_iter_capture_names_next( [INFO] [stdout] 269 | | it: *mut IterCaptureNames, [INFO] [stdout] 270 | | capture_name: *mut *mut c_char, [INFO] [stdout] ... | [INFO] [stdout] 302 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | / ffi_fn! { [INFO] [stdout] 305 | | fn rure_iter_new( [INFO] [stdout] 306 | | re: *const Regex, [INFO] [stdout] 307 | | ) -> *mut Iter { [INFO] [stdout] ... | [INFO] [stdout] 314 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:316:1 [INFO] [stdout] | [INFO] [stdout] 316 | / ffi_fn! { [INFO] [stdout] 317 | | fn rure_iter_free(it: *mut Iter) { [INFO] [stdout] 318 | | unsafe { Box::from_raw(it); } [INFO] [stdout] 319 | | } [INFO] [stdout] 320 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:322:1 [INFO] [stdout] | [INFO] [stdout] 322 | / ffi_fn! { [INFO] [stdout] 323 | | fn rure_iter_next( [INFO] [stdout] 324 | | it: *mut Iter, [INFO] [stdout] 325 | | haystack: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 361 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:363:1 [INFO] [stdout] | [INFO] [stdout] 363 | / ffi_fn! { [INFO] [stdout] 364 | | fn rure_iter_next_captures( [INFO] [stdout] 365 | | it: *mut Iter, [INFO] [stdout] 366 | | haystack: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 397 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:399:1 [INFO] [stdout] | [INFO] [stdout] 399 | / ffi_fn! { [INFO] [stdout] 400 | | fn rure_captures_new(re: *const Regex) -> *mut Captures { [INFO] [stdout] 401 | | let re = unsafe { &*re }; [INFO] [stdout] 402 | | let captures = Captures(re.locations()); [INFO] [stdout] ... | [INFO] [stdout] 405 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:407:1 [INFO] [stdout] | [INFO] [stdout] 407 | / ffi_fn! { [INFO] [stdout] 408 | | fn rure_captures_free(captures: *const Captures) { [INFO] [stdout] 409 | | unsafe { Box::from_raw(captures as *mut Captures); } [INFO] [stdout] 410 | | } [INFO] [stdout] 411 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:413:1 [INFO] [stdout] | [INFO] [stdout] 413 | / ffi_fn! { [INFO] [stdout] 414 | | fn rure_captures_at( [INFO] [stdout] 415 | | captures: *const Captures, [INFO] [stdout] 416 | | i: size_t, [INFO] [stdout] ... | [INFO] [stdout] 433 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:435:1 [INFO] [stdout] | [INFO] [stdout] 435 | / ffi_fn! { [INFO] [stdout] 436 | | fn rure_captures_len(captures: *const Captures) -> size_t { [INFO] [stdout] 437 | | unsafe { (*captures).0.len() } [INFO] [stdout] 438 | | } [INFO] [stdout] 439 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:441:1 [INFO] [stdout] | [INFO] [stdout] 441 | / ffi_fn! { [INFO] [stdout] 442 | | fn rure_options_new() -> *mut Options { [INFO] [stdout] 443 | | Box::into_raw(Box::new(Options::default())) [INFO] [stdout] 444 | | } [INFO] [stdout] 445 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:447:1 [INFO] [stdout] | [INFO] [stdout] 447 | / ffi_fn! { [INFO] [stdout] 448 | | fn rure_options_free(options: *mut Options) { [INFO] [stdout] 449 | | unsafe { Box::from_raw(options); } [INFO] [stdout] 450 | | } [INFO] [stdout] 451 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:453:1 [INFO] [stdout] | [INFO] [stdout] 453 | / ffi_fn! { [INFO] [stdout] 454 | | fn rure_options_size_limit(options: *mut Options, limit: size_t) { [INFO] [stdout] 455 | | let options = unsafe { &mut *options }; [INFO] [stdout] 456 | | options.size_limit = limit; [INFO] [stdout] 457 | | } [INFO] [stdout] 458 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:460:1 [INFO] [stdout] | [INFO] [stdout] 460 | / ffi_fn! { [INFO] [stdout] 461 | | fn rure_options_dfa_size_limit(options: *mut Options, limit: size_t) { [INFO] [stdout] 462 | | let options = unsafe { &mut *options }; [INFO] [stdout] 463 | | options.dfa_size_limit = limit; [INFO] [stdout] 464 | | } [INFO] [stdout] 465 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:467:1 [INFO] [stdout] | [INFO] [stdout] 467 | / ffi_fn! { [INFO] [stdout] 468 | | fn rure_compile_set( [INFO] [stdout] 469 | | patterns: *const *const u8, [INFO] [stdout] 470 | | patterns_lengths: *const size_t, [INFO] [stdout] ... | [INFO] [stdout] 525 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:527:1 [INFO] [stdout] | [INFO] [stdout] 527 | / ffi_fn! { [INFO] [stdout] 528 | | fn rure_set_free(re: *const RegexSet) { [INFO] [stdout] 529 | | unsafe { Box::from_raw(re as *mut RegexSet); } [INFO] [stdout] 530 | | } [INFO] [stdout] 531 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:533:1 [INFO] [stdout] | [INFO] [stdout] 533 | / ffi_fn! { [INFO] [stdout] 534 | | fn rure_set_is_match( [INFO] [stdout] 535 | | re: *const RegexSet, [INFO] [stdout] 536 | | haystack: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 544 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:546:1 [INFO] [stdout] | [INFO] [stdout] 546 | / ffi_fn! { [INFO] [stdout] 547 | | fn rure_set_matches( [INFO] [stdout] 548 | | re: *const RegexSet, [INFO] [stdout] 549 | | haystack: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 566 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:568:1 [INFO] [stdout] | [INFO] [stdout] 568 | / ffi_fn! { [INFO] [stdout] 569 | | fn rure_set_len(re: *const RegexSet) -> size_t { [INFO] [stdout] 570 | | unsafe { (*re).len() } [INFO] [stdout] 571 | | } [INFO] [stdout] 572 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/error.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / ffi_fn! { [INFO] [stdout] 48 | | fn rure_error_new() -> *mut Error { [INFO] [stdout] 49 | | Box::into_raw(Box::new(Error::new(ErrorKind::None))) [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/error.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / ffi_fn! { [INFO] [stdout] 54 | | fn rure_error_free(err: *mut Error) { [INFO] [stdout] 55 | | unsafe { Box::from_raw(err); } [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/error.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / ffi_fn! { [INFO] [stdout] 60 | | fn rure_error_message(err: *mut Error) -> *const c_char { [INFO] [stdout] 61 | | let err = unsafe { &mut *err }; [INFO] [stdout] 62 | | let cmsg = match CString::new(format!("{}", err)) { [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> regex-capi/src/rure.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 153 | unsafe { Box::from_raw(re as *mut Regex); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 153 | unsafe { let _ = Box::from_raw(re as *mut Regex); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> regex-capi/src/rure.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | CString::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 260 | let _ = CString::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> regex-capi/src/rure.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | Box::from_raw(it); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 262 | let _ = Box::from_raw(it); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> regex-capi/src/rure.rs:318:18 [INFO] [stdout] | [INFO] [stdout] 318 | unsafe { Box::from_raw(it); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 318 | unsafe { let _ = Box::from_raw(it); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> regex-capi/src/rure.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | unsafe { Box::from_raw(captures as *mut Captures); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 409 | unsafe { let _ = Box::from_raw(captures as *mut Captures); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> regex-capi/src/rure.rs:449:18 [INFO] [stdout] | [INFO] [stdout] 449 | unsafe { Box::from_raw(options); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 449 | unsafe { let _ = Box::from_raw(options); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> regex-capi/src/rure.rs:529:18 [INFO] [stdout] | [INFO] [stdout] 529 | unsafe { Box::from_raw(re as *mut RegexSet); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 529 | unsafe { let _ = Box::from_raw(re as *mut RegexSet); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> regex-capi/src/error.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | unsafe { Box::from_raw(err); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | unsafe { let _ = Box::from_raw(err); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / ffi_fn! { [INFO] [stdout] 77 | | fn rure_compile_must(pattern: *const c_char) -> *const Regex { [INFO] [stdout] 78 | | let len = unsafe { CStr::from_ptr(pattern).to_bytes().len() }; [INFO] [stdout] 79 | | let pat = pattern as *const u8; [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / ffi_fn! { [INFO] [stdout] 94 | | fn rure_compile( [INFO] [stdout] 95 | | pattern: *const u8, [INFO] [stdout] 96 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / ffi_fn! { [INFO] [stdout] 152 | | fn rure_free(re: *const Regex) { [INFO] [stdout] 153 | | unsafe { Box::from_raw(re as *mut Regex); } [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | / ffi_fn! { [INFO] [stdout] 158 | | fn rure_is_match( [INFO] [stdout] 159 | | re: *const Regex, [INFO] [stdout] 160 | | haystack: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | / ffi_fn! { [INFO] [stdout] 171 | | fn rure_find( [INFO] [stdout] 172 | | re: *const Regex, [INFO] [stdout] 173 | | haystack: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / ffi_fn! { [INFO] [stdout] 190 | | fn rure_find_captures( [INFO] [stdout] 191 | | re: *const Regex, [INFO] [stdout] 192 | | haystack: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 202 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / ffi_fn! { [INFO] [stdout] 205 | | fn rure_shortest_match( [INFO] [stdout] 206 | | re: *const Regex, [INFO] [stdout] 207 | | haystack: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | / ffi_fn! { [INFO] [stdout] 229 | | fn rure_capture_name_index( [INFO] [stdout] 230 | | re: *const Regex, [INFO] [stdout] 231 | | name: *const c_char, [INFO] [stdout] ... | [INFO] [stdout] 241 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | / ffi_fn! { [INFO] [stdout] 244 | | fn rure_iter_capture_names_new( [INFO] [stdout] 245 | | re: *const Regex, [INFO] [stdout] 246 | | ) -> *mut IterCaptureNames { [INFO] [stdout] ... | [INFO] [stdout] 253 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:255:1 [INFO] [stdout] | [INFO] [stdout] 255 | / ffi_fn! { [INFO] [stdout] 256 | | fn rure_iter_capture_names_free(it: *mut IterCaptureNames) { [INFO] [stdout] 257 | | unsafe { [INFO] [stdout] 258 | | let it = &mut *it; [INFO] [stdout] ... | [INFO] [stdout] 265 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 267 | / ffi_fn! { [INFO] [stdout] 268 | | fn rure_iter_capture_names_next( [INFO] [stdout] 269 | | it: *mut IterCaptureNames, [INFO] [stdout] 270 | | capture_name: *mut *mut c_char, [INFO] [stdout] ... | [INFO] [stdout] 302 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | / ffi_fn! { [INFO] [stdout] 305 | | fn rure_iter_new( [INFO] [stdout] 306 | | re: *const Regex, [INFO] [stdout] 307 | | ) -> *mut Iter { [INFO] [stdout] ... | [INFO] [stdout] 314 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:316:1 [INFO] [stdout] | [INFO] [stdout] 316 | / ffi_fn! { [INFO] [stdout] 317 | | fn rure_iter_free(it: *mut Iter) { [INFO] [stdout] 318 | | unsafe { Box::from_raw(it); } [INFO] [stdout] 319 | | } [INFO] [stdout] 320 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:322:1 [INFO] [stdout] | [INFO] [stdout] 322 | / ffi_fn! { [INFO] [stdout] 323 | | fn rure_iter_next( [INFO] [stdout] 324 | | it: *mut Iter, [INFO] [stdout] 325 | | haystack: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 361 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:363:1 [INFO] [stdout] | [INFO] [stdout] 363 | / ffi_fn! { [INFO] [stdout] 364 | | fn rure_iter_next_captures( [INFO] [stdout] 365 | | it: *mut Iter, [INFO] [stdout] 366 | | haystack: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 397 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:399:1 [INFO] [stdout] | [INFO] [stdout] 399 | / ffi_fn! { [INFO] [stdout] 400 | | fn rure_captures_new(re: *const Regex) -> *mut Captures { [INFO] [stdout] 401 | | let re = unsafe { &*re }; [INFO] [stdout] 402 | | let captures = Captures(re.locations()); [INFO] [stdout] ... | [INFO] [stdout] 405 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:407:1 [INFO] [stdout] | [INFO] [stdout] 407 | / ffi_fn! { [INFO] [stdout] 408 | | fn rure_captures_free(captures: *const Captures) { [INFO] [stdout] 409 | | unsafe { Box::from_raw(captures as *mut Captures); } [INFO] [stdout] 410 | | } [INFO] [stdout] 411 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:413:1 [INFO] [stdout] | [INFO] [stdout] 413 | / ffi_fn! { [INFO] [stdout] 414 | | fn rure_captures_at( [INFO] [stdout] 415 | | captures: *const Captures, [INFO] [stdout] 416 | | i: size_t, [INFO] [stdout] ... | [INFO] [stdout] 433 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:435:1 [INFO] [stdout] | [INFO] [stdout] 435 | / ffi_fn! { [INFO] [stdout] 436 | | fn rure_captures_len(captures: *const Captures) -> size_t { [INFO] [stdout] 437 | | unsafe { (*captures).0.len() } [INFO] [stdout] 438 | | } [INFO] [stdout] 439 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:441:1 [INFO] [stdout] | [INFO] [stdout] 441 | / ffi_fn! { [INFO] [stdout] 442 | | fn rure_options_new() -> *mut Options { [INFO] [stdout] 443 | | Box::into_raw(Box::new(Options::default())) [INFO] [stdout] 444 | | } [INFO] [stdout] 445 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:447:1 [INFO] [stdout] | [INFO] [stdout] 447 | / ffi_fn! { [INFO] [stdout] 448 | | fn rure_options_free(options: *mut Options) { [INFO] [stdout] 449 | | unsafe { Box::from_raw(options); } [INFO] [stdout] 450 | | } [INFO] [stdout] 451 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:453:1 [INFO] [stdout] | [INFO] [stdout] 453 | / ffi_fn! { [INFO] [stdout] 454 | | fn rure_options_size_limit(options: *mut Options, limit: size_t) { [INFO] [stdout] 455 | | let options = unsafe { &mut *options }; [INFO] [stdout] 456 | | options.size_limit = limit; [INFO] [stdout] 457 | | } [INFO] [stdout] 458 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:460:1 [INFO] [stdout] | [INFO] [stdout] 460 | / ffi_fn! { [INFO] [stdout] 461 | | fn rure_options_dfa_size_limit(options: *mut Options, limit: size_t) { [INFO] [stdout] 462 | | let options = unsafe { &mut *options }; [INFO] [stdout] 463 | | options.dfa_size_limit = limit; [INFO] [stdout] 464 | | } [INFO] [stdout] 465 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:467:1 [INFO] [stdout] | [INFO] [stdout] 467 | / ffi_fn! { [INFO] [stdout] 468 | | fn rure_compile_set( [INFO] [stdout] 469 | | patterns: *const *const u8, [INFO] [stdout] 470 | | patterns_lengths: *const size_t, [INFO] [stdout] ... | [INFO] [stdout] 525 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:527:1 [INFO] [stdout] | [INFO] [stdout] 527 | / ffi_fn! { [INFO] [stdout] 528 | | fn rure_set_free(re: *const RegexSet) { [INFO] [stdout] 529 | | unsafe { Box::from_raw(re as *mut RegexSet); } [INFO] [stdout] 530 | | } [INFO] [stdout] 531 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:533:1 [INFO] [stdout] | [INFO] [stdout] 533 | / ffi_fn! { [INFO] [stdout] 534 | | fn rure_set_is_match( [INFO] [stdout] 535 | | re: *const RegexSet, [INFO] [stdout] 536 | | haystack: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 544 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:546:1 [INFO] [stdout] | [INFO] [stdout] 546 | / ffi_fn! { [INFO] [stdout] 547 | | fn rure_set_matches( [INFO] [stdout] 548 | | re: *const RegexSet, [INFO] [stdout] 549 | | haystack: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 566 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/rure.rs:568:1 [INFO] [stdout] | [INFO] [stdout] 568 | / ffi_fn! { [INFO] [stdout] 569 | | fn rure_set_len(re: *const RegexSet) -> size_t { [INFO] [stdout] 570 | | unsafe { (*re).len() } [INFO] [stdout] 571 | | } [INFO] [stdout] 572 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/error.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / ffi_fn! { [INFO] [stdout] 48 | | fn rure_error_new() -> *mut Error { [INFO] [stdout] 49 | | Box::into_raw(Box::new(Error::new(ErrorKind::None))) [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/error.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / ffi_fn! { [INFO] [stdout] 54 | | fn rure_error_free(err: *mut Error) { [INFO] [stdout] 55 | | unsafe { Box::from_raw(err); } [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> regex-capi/src/macros.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/error.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / ffi_fn! { [INFO] [stdout] 60 | | fn rure_error_message(err: *mut Error) -> *const c_char { [INFO] [stdout] 61 | | let err = unsafe { &mut *err }; [INFO] [stdout] 62 | | let cmsg = match CString::new(format!("{}", err)) { [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> regex-capi/src/rure.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 153 | unsafe { Box::from_raw(re as *mut Regex); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 153 | unsafe { let _ = Box::from_raw(re as *mut Regex); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> regex-capi/src/rure.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | CString::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 260 | let _ = CString::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> regex-capi/src/rure.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | Box::from_raw(it); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 262 | let _ = Box::from_raw(it); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> regex-capi/src/rure.rs:318:18 [INFO] [stdout] | [INFO] [stdout] 318 | unsafe { Box::from_raw(it); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 318 | unsafe { let _ = Box::from_raw(it); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> regex-capi/src/rure.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | unsafe { Box::from_raw(captures as *mut Captures); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 409 | unsafe { let _ = Box::from_raw(captures as *mut Captures); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> regex-capi/src/rure.rs:449:18 [INFO] [stdout] | [INFO] [stdout] 449 | unsafe { Box::from_raw(options); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 449 | unsafe { let _ = Box::from_raw(options); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> regex-capi/src/rure.rs:529:18 [INFO] [stdout] | [INFO] [stdout] 529 | unsafe { Box::from_raw(re as *mut RegexSet); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 529 | unsafe { let _ = Box::from_raw(re as *mut RegexSet); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> regex-capi/src/error.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | unsafe { Box::from_raw(err); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | unsafe { let _ = Box::from_raw(err); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> regex-syntax/src/hir/literal/mod.rs:687:17 [INFO] [stdout] | [INFO] [stdout] 687 | let mut buf = &mut buf[..i]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `pat` is never read [INFO] [stdout] --> src/literal/teddy_avx2/imp.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Match { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub pat: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Match` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `pat` is never read [INFO] [stdout] --> src/literal/teddy_ssse3/imp.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct Match { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 336 | pub pat: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Match` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dfa.rs:318:18 [INFO] [stdout] | [INFO] [stdout] 318 | fn inst_ptrs(&self) -> InstPtrs { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 318 | fn inst_ptrs(&self) -> InstPtrs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/exec.rs:1078:21 [INFO] [stdout] | [INFO] [stdout] 1078 | pub fn searcher(&self) -> ExecNoSync { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1078 | pub fn searcher(&self) -> ExecNoSync<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/exec.rs:1088:25 [INFO] [stdout] | [INFO] [stdout] 1088 | pub fn searcher_str(&self) -> ExecNoSyncStr { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1088 | pub fn searcher_str(&self) -> ExecNoSyncStr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expand.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | replacement: &T, [INFO] [stdout] | ^^ the lifetime is elided here [INFO] [stdout] 130 | ) -> Option { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 130 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/literal/mod.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn iter(&self) -> LiteralIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 138 | pub fn iter(&self) -> LiteralIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_bytes.rs:664:26 [INFO] [stdout] | [INFO] [stdout] 664 | pub fn capture_names(&self) -> CaptureNames { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 664 | pub fn capture_names(&self) -> CaptureNames<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_bytes.rs:1137:21 [INFO] [stdout] | [INFO] [stdout] 1137 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1137 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_bytes.rs:1166:21 [INFO] [stdout] | [INFO] [stdout] 1166 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1166 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_set.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn iter(&self) -> SetMatchesIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 406 | / define_set! { [INFO] [stdout] 407 | | unicode, [INFO] [stdout] 408 | | set_unicode, [INFO] [stdout] 409 | | &str, [INFO] [stdout] ... | [INFO] [stdout] 432 | | /// ``` [INFO] [stdout] 433 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this error originates in the macro `define_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 287 | pub fn iter(&self) -> SetMatchesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_set.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn iter(&self) -> SetMatchesIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 435 | / define_set! { [INFO] [stdout] 436 | | bytes, [INFO] [stdout] 437 | | set_bytes, [INFO] [stdout] 438 | | &[u8], [INFO] [stdout] ... | [INFO] [stdout] 461 | | /// ``` [INFO] [stdout] 462 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this error originates in the macro `define_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 287 | pub fn iter(&self) -> SetMatchesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_trait.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn iter(&self) -> SubCapturesPosIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn iter(&self) -> SubCapturesPosIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_trait.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | text: &Self::Text, [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 154 | ) -> Matches { [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | ) -> Matches<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_trait.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | text: &Self::Text, [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 168 | ) -> CaptureMatches { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 168 | ) -> CaptureMatches<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_unicode.rs:721:26 [INFO] [stdout] | [INFO] [stdout] 721 | pub fn capture_names(&self) -> CaptureNames { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 721 | pub fn capture_names(&self) -> CaptureNames<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_unicode.rs:1169:21 [INFO] [stdout] | [INFO] [stdout] 1169 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1169 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_unicode.rs:1179:21 [INFO] [stdout] | [INFO] [stdout] 1179 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1179 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/re_unicode.rs:1208:21 [INFO] [stdout] | [INFO] [stdout] 1208 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1208 | fn no_expansion(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (lib test) due to 38 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `printer` is never read [INFO] [stdout] --> regex-syntax/src/ast/print.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct Writer<'p, W> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 80 | printer: &'p mut Printer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Writer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `symmetric_difference` is never used [INFO] [stdout] --> regex-syntax/src/hir/interval.rs:411:8 [INFO] [stdout] | [INFO] [stdout] 326 | pub trait Interval: [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 411 | fn symmetric_difference( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `printer` is never read [INFO] [stdout] --> regex-syntax/src/hir/print.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct Writer<'p, W> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 78 | printer: &'p mut Printer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Writer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> regex-syntax/src/ast/parse.rs:386:21 [INFO] [stdout] | [INFO] [stdout] 386 | self.pattern.borrow() [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> regex-syntax/src/ast/parse.rs:2304:24 [INFO] [stdout] | [INFO] [stdout] 2304 | fn parser(pattern: &str) -> ParserI { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2304 | fn parser(pattern: &str) -> ParserI<'_, Parser> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> regex-syntax/src/ast/parse.rs:2308:30 [INFO] [stdout] | [INFO] [stdout] 2308 | fn parser_octal(pattern: &str) -> ParserI { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2308 | fn parser_octal(pattern: &str) -> ParserI<'_, Parser> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> regex-syntax/src/ast/parse.rs:2313:35 [INFO] [stdout] | [INFO] [stdout] 2313 | fn parser_nest_limit(pattern: &str, nest_limit: u32) -> ParserI { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2313 | fn parser_nest_limit(pattern: &str, nest_limit: u32) -> ParserI<'_, Parser> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> regex-syntax/src/ast/parse.rs:2318:42 [INFO] [stdout] | [INFO] [stdout] 2318 | fn parser_ignore_whitespace(pattern: &str) -> ParserI { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2318 | fn parser_ignore_whitespace(pattern: &str) -> ParserI<'_, Parser> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> regex-syntax/src/hir/mod.rs:828:17 [INFO] [stdout] | [INFO] [stdout] 828 | pub fn iter(&self) -> ClassUnicodeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 828 | pub fn iter(&self) -> ClassUnicodeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> regex-syntax/src/hir/mod.rs:1021:17 [INFO] [stdout] | [INFO] [stdout] 1021 | pub fn iter(&self) -> ClassBytesIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1021 | pub fn iter(&self) -> ClassBytesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> regex-syntax/src/hir/interval.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn iter(&self) -> IntervalSetIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn iter(&self) -> IntervalSetIter<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> tests/replace.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | | captures: &Captures | &match_text!(captures.get(1).unwrap())[0..1], "age: 2"); [INFO] [stdout] | -------- - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure is &'2 str [INFO] [stdout] | has type `®ex::Captures<'1>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> tests/replace.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | | captures: &Captures | &match_text!(captures.get(1).unwrap())[0..1], "age: 2"); [INFO] [stdout] | -------- - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure is &'2 str [INFO] [stdout] | has type `®ex::Captures<'1>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> tests/replace.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | | captures: &Captures | &match_text!(captures.get(1).unwrap())[0..1], "age: 2"); [INFO] [stdout] | -------- - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure is &'2 str [INFO] [stdout] | has type `®ex::Captures<'1>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (test "backtrack") due to 1 previous error [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> tests/replace.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | | captures: &Captures | &match_text!(captures.get(1).unwrap())[0..1], "age: 2"); [INFO] [stdout] | -------- - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure is &'2 str [INFO] [stdout] | has type `®ex::Captures<'1>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (test "nfa-utf8bytes") due to 1 previous error [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> tests/replace.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | | captures: &Captures | &match_text!(captures.get(1).unwrap())[0..1], "age: 2"); [INFO] [stdout] | -------- - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure is &'2 [u8] [INFO] [stdout] | has type `®ex::bytes::Captures<'1>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> tests/replace.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | | captures: &Captures | &match_text!(captures.get(1).unwrap())[0..1], "age: 2"); [INFO] [stdout] | -------- - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure is &'2 [u8] [INFO] [stdout] | has type `®ex::bytes::Captures<'1>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (test "default") due to 1 previous error [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> tests/replace.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | | captures: &Captures | &match_text!(captures.get(1).unwrap())[0..1], "age: 2"); [INFO] [stdout] | -------- - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure is &'2 str [INFO] [stdout] | has type `®ex::Captures<'1>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (test "nfa") due to 1 previous error [INFO] [stderr] error: could not compile `regex` (test "default-bytes") due to 1 previous error [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> tests/replace.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | | captures: &Captures | &match_text!(captures.get(1).unwrap())[0..1], "age: 2"); [INFO] [stdout] | -------- - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure is &'2 [u8] [INFO] [stdout] | has type `®ex::bytes::Captures<'1>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (test "backtrack-bytes") due to 1 previous error [INFO] [stderr] error: could not compile `regex` (test "backtrack-utf8bytes") due to 1 previous error [INFO] [stderr] error: could not compile `regex` (test "nfa-bytes") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "595653152bf64e0ba04b5a56f5a063e16355a89a1569dcdd6cea001d0a6ee723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "595653152bf64e0ba04b5a56f5a063e16355a89a1569dcdd6cea001d0a6ee723", kill_on_drop: false }` [INFO] [stdout] 595653152bf64e0ba04b5a56f5a063e16355a89a1569dcdd6cea001d0a6ee723