[INFO] fetching crate extract 0.1.1... [INFO] testing extract-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate extract 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate extract 0.1.1 [INFO] finished tweaking crates.io crate extract 0.1.1 [INFO] tweaked toml for crates.io crate extract 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate extract 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.40) [INFO] [stderr] Adding error-chain v0.10.0 (available: v0.12.4) [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4332c719a883f11b7ce7f01818637645816d63701376c3b0c97fb9558f39927b [INFO] running `Command { std: "docker" "start" "-a" "4332c719a883f11b7ce7f01818637645816d63701376c3b0c97fb9558f39927b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4332c719a883f11b7ce7f01818637645816d63701376c3b0c97fb9558f39927b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4332c719a883f11b7ce7f01818637645816d63701376c3b0c97fb9558f39927b", kill_on_drop: false }` [INFO] [stdout] 4332c719a883f11b7ce7f01818637645816d63701376c3b0c97fb9558f39927b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cf0cb1eb57f55550860ed4baa6ad3ab740536ae1c19913ebba26d93e6e81ff3f [INFO] running `Command { std: "docker" "start" "-a" "cf0cb1eb57f55550860ed4baa6ad3ab740536ae1c19913ebba26d93e6e81ff3f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling extract v0.1.1 (/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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/search.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn search(re: &Regex, from: T) -> MatchIterator> [INFO] [stdout] | ^^^^^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | 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)]` 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.63s [INFO] running `Command { std: "docker" "inspect" "cf0cb1eb57f55550860ed4baa6ad3ab740536ae1c19913ebba26d93e6e81ff3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf0cb1eb57f55550860ed4baa6ad3ab740536ae1c19913ebba26d93e6e81ff3f", kill_on_drop: false }` [INFO] [stdout] cf0cb1eb57f55550860ed4baa6ad3ab740536ae1c19913ebba26d93e6e81ff3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bce38331d828666a87f6d89c6b3b30133777080d82ffd51a823d873a25e209af [INFO] running `Command { std: "docker" "start" "-a" "bce38331d828666a87f6d89c6b3b30133777080d82ffd51a823d873a25e209af", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/search.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn search(re: &Regex, from: T) -> MatchIterator> [INFO] [stdout] | ^^^^^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn search(re: &Regex, from: T) -> MatchIterator<'_, io::Lines> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling extract v0.1.1 (/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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/search.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn search(re: &Regex, from: T) -> MatchIterator> [INFO] [stdout] | ^^^^^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | 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.58s [INFO] running `Command { std: "docker" "inspect" "bce38331d828666a87f6d89c6b3b30133777080d82ffd51a823d873a25e209af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bce38331d828666a87f6d89c6b3b30133777080d82ffd51a823d873a25e209af", kill_on_drop: false }` [INFO] [stdout] bce38331d828666a87f6d89c6b3b30133777080d82ffd51a823d873a25e209af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7c7879b37eb1a3af5baef26b8e7158bf711847853ebb1a95a2aced503b252450 [INFO] running `Command { std: "docker" "start" "-a" "7c7879b37eb1a3af5baef26b8e7158bf711847853ebb1a95a2aced503b252450", 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/search.rs:73:22 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn search(re: &Regex, from: T) -> MatchIterator> [INFO] [stderr] | ^^^^^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 73 | 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: `extract` (lib test) generated 3 warnings (3 duplicates) [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)]` 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` (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] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/extract-bc471e77b9158245) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test search::tests::single_unmatched_line_yields_no_results ... ok [INFO] [stdout] test search::tests::single_matched_line_yields_one_result ... ok [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] [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/x86_64-unknown-linux-musl/debug/deps/extract-4740ec8f5645b7ce) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::single_regex_is_ok ... ok [INFO] [stdout] test tests::regex_with_no_capture_is_an_error ... ok [INFO] [stdout] test tests::regex_with_two_captures_is_an_error ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7c7879b37eb1a3af5baef26b8e7158bf711847853ebb1a95a2aced503b252450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c7879b37eb1a3af5baef26b8e7158bf711847853ebb1a95a2aced503b252450", kill_on_drop: false }` [INFO] [stdout] 7c7879b37eb1a3af5baef26b8e7158bf711847853ebb1a95a2aced503b252450