[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 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpipopa%2Fregex" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pipopa/regex on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 61 packages [INFO] [stderr] Adding aho-corasick v0.6.10 (latest: v1.1.3) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding bzip2 v0.3.3 (latest: v0.4.4) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding memmap v0.6.2 (latest: v0.7.0) [INFO] [stderr] Adding onig v3.2.2 (latest: v6.4.0) [INFO] [stderr] Adding onig_sys v68.2.1 (latest: v69.8.1) [INFO] [stderr] Adding quickcheck v0.7.2 (latest: v1.0.3) [INFO] [stderr] Adding rand v0.5.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.2.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding thread_local v0.3.6 (latest: v1.1.8) [INFO] [stderr] Adding ucd-util v0.1.10 (latest: v0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.197 [INFO] [stderr] Downloaded docopt v1.1.1 [INFO] [stderr] Downloaded utf8-ranges v1.0.5 [INFO] [stderr] Downloaded aho-corasick v0.6.10 [INFO] [stderr] Downloaded quickcheck v0.7.2 [INFO] [stderr] Downloaded bzip2 v0.3.3 [INFO] [stderr] Downloaded memmap v0.6.2 [INFO] [stderr] Downloaded ucd-util v0.1.10 [INFO] [stderr] Downloaded onig v3.2.2 [INFO] [stderr] Downloaded aho-corasick v1.1.3 [INFO] [stderr] Downloaded regex-syntax v0.8.3 [INFO] [stderr] Downloaded regex v1.10.4 [INFO] [stderr] Downloaded bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Downloaded onig_sys v68.2.1 [INFO] [stderr] Downloaded regex-automata v0.4.6 [INFO] [stderr] Downloaded libpcre-sys v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d282fca5495adbdf15b012f228737ec9aed4e2ab7de1bd9eb1c7efb74d9d803b [INFO] running `Command { std: "docker" "start" "-a" "d282fca5495adbdf15b012f228737ec9aed4e2ab7de1bd9eb1c7efb74d9d803b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d282fca5495adbdf15b012f228737ec9aed4e2ab7de1bd9eb1c7efb74d9d803b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d282fca5495adbdf15b012f228737ec9aed4e2ab7de1bd9eb1c7efb74d9d803b", kill_on_drop: false }` [INFO] [stdout] d282fca5495adbdf15b012f228737ec9aed4e2ab7de1bd9eb1c7efb74d9d803b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d88987ffbc6cf019fce84754828ce331c691b36754145ea4badcda94c38401e [INFO] running `Command { std: "docker" "start" "-a" "6d88987ffbc6cf019fce84754828ce331c691b36754145ea4badcda94c38401e", kill_on_drop: false }` [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling regex v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.5 (/opt/rustwide/workdir/regex-syntax) [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_core v0.2.2 [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)]` 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: the item `ucd_util` is imported redundantly [INFO] [stdout] --> regex-syntax/src/unicode.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use ucd_util::{self, PropertyValues}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: regex-syntax/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | extern crate ucd_util; [INFO] [stdout] | ---------------------- the item `ucd_util` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [stderr] Checking aho-corasick v0.6.10 [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)]` 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: the item `ucd_util` is imported redundantly [INFO] [stdout] --> regex-syntax/src/unicode.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use ucd_util::{self, PropertyValues}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: regex-syntax/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | extern crate ucd_util; [INFO] [stdout] | ---------------------- the item `ucd_util` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling regex-benchmark v0.1.0 (/opt/rustwide/workdir/bench) [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking memmap v0.6.2 [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] [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)]` 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)]` 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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking quickcheck v0.7.2 [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)]` 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: the item `syntax` is imported redundantly [INFO] [stdout] --> src/input.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use syntax; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:533:1 [INFO] [stdout] | [INFO] [stdout] 533 | extern crate regex_syntax as syntax; [INFO] [stdout] | ------------------------------------ the item `syntax` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mem` is imported redundantly [INFO] [stdout] --> src/literal/mod.rs:775:13 [INFO] [stdout] | [INFO] [stdout] 12 | use std::mem; [INFO] [stdout] | -------- the item `mem` is already imported here [INFO] [stdout] ... [INFO] [stdout] 775 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syntax` is imported redundantly [INFO] [stdout] --> src/re_unicode.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use syntax; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:533:1 [INFO] [stdout] | [INFO] [stdout] 533 | extern crate regex_syntax as syntax; [INFO] [stdout] | ------------------------------------ the item `syntax` is already imported here [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] [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)]` on by default [INFO] [stdout] help: if this is an object-safe 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 regex-automata v0.4.6 [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: 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(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: the item `syntax` is imported redundantly [INFO] [stdout] --> src/input.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use syntax; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:533:1 [INFO] [stdout] | [INFO] [stdout] 533 | extern crate regex_syntax as syntax; [INFO] [stdout] | ------------------------------------ the item `syntax` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `mem` is imported redundantly [INFO] [stdout] --> src/literal/mod.rs:775:13 [INFO] [stdout] | [INFO] [stdout] 12 | use std::mem; [INFO] [stdout] | -------- the item `mem` is already imported here [INFO] [stdout] ... [INFO] [stdout] 775 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syntax` is imported redundantly [INFO] [stdout] --> src/re_unicode.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use syntax; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:533:1 [INFO] [stdout] | [INFO] [stdout] 533 | extern crate regex_syntax as syntax; [INFO] [stdout] | ------------------------------------ the item `syntax` is already imported here [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 an object-safe 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)]` 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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rure v0.2.0 (/opt/rustwide/workdir/regex-capi) [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> regex-capi/src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ::regex; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> regex-capi/src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ::regex; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: regex-capi/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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)]` 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/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)]` 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 `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: 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [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)]` 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: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (lib test) due to 19 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)]` 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: 13 warnings emitted [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 [u8] [INFO] [stdout] | has type `®ex::bytes::Captures<'1>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 "default") due to 2 previous errors [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 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 [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 str [INFO] [stdout] | has type `®ex::Captures<'1>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (test "backtrack") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (test "nfa-bytes") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (test "default-bytes") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (test "nfa") due to 2 previous errors [INFO] [stderr] error: could not compile `regex` (test "nfa-utf8bytes") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (test "backtrack-bytes") due to 2 previous errors [INFO] [stderr] error: could not compile `regex` (test "backtrack-utf8bytes") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "6d88987ffbc6cf019fce84754828ce331c691b36754145ea4badcda94c38401e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d88987ffbc6cf019fce84754828ce331c691b36754145ea4badcda94c38401e", kill_on_drop: false }` [INFO] [stdout] 6d88987ffbc6cf019fce84754828ce331c691b36754145ea4badcda94c38401e