[INFO] cloning repository https://github.com/jelford/extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jelford/extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelford%2Fextract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelford%2Fextract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d091fb12ac2c5844ebb36a7a66bd4ab0b1edf630 [INFO] testing jelford/extract against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelford%2Fextract" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jelford/extract [INFO] finished tweaking git repo https://github.com/jelford/extract [INFO] tweaked toml for git repo https://github.com/jelford/extract written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jelford/extract on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jelford/extract already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab56bad35a10ceb7ce7801c09277fd7ae194322dc3ea76c6f39112a18fdb5cce [INFO] running `Command { std: "docker" "start" "-a" "ab56bad35a10ceb7ce7801c09277fd7ae194322dc3ea76c6f39112a18fdb5cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab56bad35a10ceb7ce7801c09277fd7ae194322dc3ea76c6f39112a18fdb5cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab56bad35a10ceb7ce7801c09277fd7ae194322dc3ea76c6f39112a18fdb5cce", kill_on_drop: false }` [INFO] [stdout] ab56bad35a10ceb7ce7801c09277fd7ae194322dc3ea76c6f39112a18fdb5cce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf53cefb0d5af0a6ba2535876a50ed2e5db4143028584b65222e2f1bb3e12ecd [INFO] running `Command { std: "docker" "start" "-a" "cf53cefb0d5af0a6ba2535876a50ed2e5db4143028584b65222e2f1bb3e12ecd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling gcc v0.3.45 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling backtrace v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling term_size v0.2.3 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling clap v2.22.2 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling backtrace-sys v0.1.10 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling extract v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain! { [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | BadRegex(regex::Error); [INFO] [stdout] 8 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain! { [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | BadRegex(regex::Error); [INFO] [stdout] 8 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/search.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn search(re: &Regex, from: T) -> MatchIterator> [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] 71 | pub fn search(re: &Regex, from: T) -> MatchIterator<'_, io::Lines> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | 0...1 => return Err(ErrorKind::NothingToExtract.into()), [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let re = try!(Regex::new(&target)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "cf53cefb0d5af0a6ba2535876a50ed2e5db4143028584b65222e2f1bb3e12ecd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf53cefb0d5af0a6ba2535876a50ed2e5db4143028584b65222e2f1bb3e12ecd", kill_on_drop: false }` [INFO] [stdout] cf53cefb0d5af0a6ba2535876a50ed2e5db4143028584b65222e2f1bb3e12ecd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68779d68035af2a2a8cf512bdd0c9917b0d79e8cbb17c1350aaf3790007e40ba [INFO] running `Command { std: "docker" "start" "-a" "68779d68035af2a2a8cf512bdd0c9917b0d79e8cbb17c1350aaf3790007e40ba", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain! { [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | BadRegex(regex::Error); [INFO] [stdout] 8 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain! { [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | BadRegex(regex::Error); [INFO] [stdout] 8 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/search.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn search(re: &Regex, from: T) -> MatchIterator> [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] 71 | pub fn search(re: &Regex, from: T) -> MatchIterator<'_, io::Lines> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempdir v0.3.5 [INFO] [stderr] Compiling extract v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | 0...1 => return Err(ErrorKind::NothingToExtract.into()), [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let re = try!(Regex::new(&target)); [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] --> src/errors.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain! { [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | BadRegex(regex::Error); [INFO] [stdout] 8 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain! { [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | BadRegex(regex::Error); [INFO] [stdout] 8 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/search.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn search(re: &Regex, from: T) -> MatchIterator> [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] 71 | pub fn search(re: &Regex, from: T) -> MatchIterator<'_, io::Lines> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "68779d68035af2a2a8cf512bdd0c9917b0d79e8cbb17c1350aaf3790007e40ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68779d68035af2a2a8cf512bdd0c9917b0d79e8cbb17c1350aaf3790007e40ba", kill_on_drop: false }` [INFO] [stdout] 68779d68035af2a2a8cf512bdd0c9917b0d79e8cbb17c1350aaf3790007e40ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d07282a24a234aa53f038fbf456945e40205882bc21d7a51dc7738b9d4aa47bf [INFO] running `Command { std: "docker" "start" "-a" "d07282a24a234aa53f038fbf456945e40205882bc21d7a51dc7738b9d4aa47bf", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / error_chain! { [INFO] [stderr] 6 | | foreign_links { [INFO] [stderr] 7 | | BadRegex(regex::Error); [INFO] [stderr] 8 | | Io(io::Error); [INFO] [stderr] ... | [INFO] [stderr] 25 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/errors.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / error_chain! { [INFO] [stderr] 6 | | foreign_links { [INFO] [stderr] 7 | | BadRegex(regex::Error); [INFO] [stderr] 8 | | Io(io::Error); [INFO] [stderr] ... | [INFO] [stderr] 25 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/search.rs:71:22 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn search(re: &Regex, from: T) -> MatchIterator> [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 71 | pub fn search(re: &Regex, from: T) -> MatchIterator<'_, io::Lines> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `extract` (lib) generated 3 warnings (run `cargo fix --lib -p extract` to apply 1 suggestion) [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/main.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | 0...1 => return Err(ErrorKind::NothingToExtract.into()), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:38:18 [INFO] [stderr] | [INFO] [stderr] 38 | let re = try!(Regex::new(&target)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `extract` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `extract` (bin "extract" test) generated 2 warnings (run `cargo fix --bin "extract" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/extract-6f24539d0da4785c) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test search::tests::match_contains_text_from_capture_group ... ok [INFO] [stdout] test search::tests::results_only_for_matched_lines ... ok [INFO] [stdout] test search::tests::single_matched_line_yields_one_result ... ok [INFO] [stdout] test search::tests::single_unmatched_line_yields_no_results ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/extract-c22594e72647dbba) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::single_regex_is_ok ... ok [INFO] [stderr] error: test failed, to rerun pass `--bin extract` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/extract-c22594e72647dbba` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "d07282a24a234aa53f038fbf456945e40205882bc21d7a51dc7738b9d4aa47bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d07282a24a234aa53f038fbf456945e40205882bc21d7a51dc7738b9d4aa47bf", kill_on_drop: false }` [INFO] [stdout] d07282a24a234aa53f038fbf456945e40205882bc21d7a51dc7738b9d4aa47bf