[INFO] fetching crate rhq-core 0.3.0... [INFO] testing rhq-core-0.3.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rhq-core 0.3.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate rhq-core 0.3.0 [INFO] finished tweaking crates.io crate rhq-core 0.3.0 [INFO] tweaked toml for crates.io crate rhq-core 0.3.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rhq-core 0.3.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 92 packages to latest compatible versions [INFO] [stderr] Adding error-chain v0.11.0 (available: v0.12.4) [INFO] [stderr] Adding glob v0.2.11 (available: v0.3.3) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.2) [INFO] [stderr] Adding shellexpand v1.1.1 (available: v3.1.1) [INFO] [stderr] Adding toml v0.4.10 (available: v0.9.5) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.7) [INFO] [stderr] Adding walkdir v1.0.7 (available: v2.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shellexpand v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 824918580b3e2d2710c81a4ffa25a5098f186573317e20b886f52e3e182a9e2d [INFO] running `Command { std: "docker" "start" "-a" "824918580b3e2d2710c81a4ffa25a5098f186573317e20b886f52e3e182a9e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "824918580b3e2d2710c81a4ffa25a5098f186573317e20b886f52e3e182a9e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "824918580b3e2d2710c81a4ffa25a5098f186573317e20b886f52e3e182a9e2d", kill_on_drop: false }` [INFO] [stdout] 824918580b3e2d2710c81a4ffa25a5098f186573317e20b886f52e3e182a9e2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] baea7f64c414369c68d2608d8bdfee9e010651724ae5f2da65f2f23f9c158916 [INFO] running `Command { std: "docker" "start" "-a" "baea7f64c414369c68d2608d8bdfee9e010651724ae5f2da65f2f23f9c158916", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling shellexpand v1.1.1 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling rhq-core v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> cache.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref CACHE_PATH: PathBuf = env::home_dir().unwrap().join(".cache/rhq/cache.json"); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> config.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref CONFIG_PATH: PathBuf = env::home_dir().unwrap().join(".config/rhq/config.toml"); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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::description`: use the Display impl or to_string() [INFO] [stdout] --> errors.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | errors { [INFO] [stdout] 5 | | ConfigLoad(path: PathBuf) { [INFO] [stdout] 6 | | description("Configuration file is not found") [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_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 constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> scp.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / lazy_static! { [INFO] [stdout] 31 | | static ref RE_SCP: Regex = Regex::new(r"^((?:[^@]+@)?)([^:]+):/?(.+)$").unwrap(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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] --> errors.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | errors { [INFO] [stdout] 5 | | ConfigLoad(path: PathBuf) { [INFO] [stdout] 6 | | description("Configuration file is not found") [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_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 `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> remote.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | let path = url.path().trim_left_matches("/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 28 - let path = url.path().trim_left_matches("/"); [INFO] [stdout] 28 + let path = url.path().trim_start_matches("/"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> scp.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | .map(|s| s.trim_right_matches("@")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 41 - .map(|s| s.trim_right_matches("@")) [INFO] [stdout] 41 + .map(|s| s.trim_end_matches("@")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> scp.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | .trim_right_matches(".git") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 48 - .trim_right_matches(".git") [INFO] [stdout] 48 + .trim_end_matches(".git") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> workspace.rs:228:59 [INFO] [stdout] | [INFO] [stdout] 228 | let path = path.to_str().unwrap().trim_left_matches(r"\\?\"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 228 - let path = path.to_str().unwrap().trim_left_matches(r"\\?\"); [INFO] [stdout] 228 + let path = path.to_str().unwrap().trim_start_matches(r"\\?\"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> query.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 33 - Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"), [INFO] [stdout] 33 + Query::Url(ref url) => url.path().trim_start_matches("/").trim_right_matches(".git"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> query.rs:33:70 [INFO] [stdout] | [INFO] [stdout] 33 | Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 33 - Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"), [INFO] [stdout] 33 + Query::Url(ref url) => url.path().trim_left_matches("/").trim_end_matches(".git"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> vcs/git.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | .trim_right_matches(&format!("/{}", branch)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 60 - .trim_right_matches(&format!("/{}", branch)) [INFO] [stdout] 60 + .trim_end_matches(&format!("/{}", branch)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> vcs/hg.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | .trim_right() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 51 - .trim_right() [INFO] [stdout] 51 + .trim_end() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> config.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 74 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> vcs/mod.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 57 - .into_iter() [INFO] [stdout] 57 + .iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 56 - [".git", ".hg", "_darcs", ".pijul"] [INFO] [stdout] 56 + IntoIterator::into_iter([".git", ".hg", "_darcs", ".pijul"]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.62s [INFO] running `Command { std: "docker" "inspect" "baea7f64c414369c68d2608d8bdfee9e010651724ae5f2da65f2f23f9c158916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baea7f64c414369c68d2608d8bdfee9e010651724ae5f2da65f2f23f9c158916", kill_on_drop: false }` [INFO] [stdout] baea7f64c414369c68d2608d8bdfee9e010651724ae5f2da65f2f23f9c158916 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a315aa3f1a877be58d5829e9afc56922e508e6bc2128674f4d029f0db1969eab [INFO] running `Command { std: "docker" "start" "-a" "a315aa3f1a877be58d5829e9afc56922e508e6bc2128674f4d029f0db1969eab", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> cache.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref CACHE_PATH: PathBuf = env::home_dir().unwrap().join(".cache/rhq/cache.json"); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> config.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref CONFIG_PATH: PathBuf = env::home_dir().unwrap().join(".config/rhq/config.toml"); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rhq-core v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> errors.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | errors { [INFO] [stdout] 5 | | ConfigLoad(path: PathBuf) { [INFO] [stdout] 6 | | description("Configuration file is not found") [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_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 constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> scp.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / lazy_static! { [INFO] [stdout] 31 | | static ref RE_SCP: Regex = Regex::new(r"^((?:[^@]+@)?)([^:]+):/?(.+)$").unwrap(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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] --> errors.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | errors { [INFO] [stdout] 5 | | ConfigLoad(path: PathBuf) { [INFO] [stdout] 6 | | description("Configuration file is not found") [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_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 `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> remote.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | let path = url.path().trim_left_matches("/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 28 - let path = url.path().trim_left_matches("/"); [INFO] [stdout] 28 + let path = url.path().trim_start_matches("/"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> scp.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | .map(|s| s.trim_right_matches("@")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 41 - .map(|s| s.trim_right_matches("@")) [INFO] [stdout] 41 + .map(|s| s.trim_end_matches("@")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> scp.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | .trim_right_matches(".git") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 48 - .trim_right_matches(".git") [INFO] [stdout] 48 + .trim_end_matches(".git") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> workspace.rs:228:59 [INFO] [stdout] | [INFO] [stdout] 228 | let path = path.to_str().unwrap().trim_left_matches(r"\\?\"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 228 - let path = path.to_str().unwrap().trim_left_matches(r"\\?\"); [INFO] [stdout] 228 + let path = path.to_str().unwrap().trim_start_matches(r"\\?\"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> query.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 33 - Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"), [INFO] [stdout] 33 + Query::Url(ref url) => url.path().trim_start_matches("/").trim_right_matches(".git"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> query.rs:33:70 [INFO] [stdout] | [INFO] [stdout] 33 | Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 33 - Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"), [INFO] [stdout] 33 + Query::Url(ref url) => url.path().trim_left_matches("/").trim_end_matches(".git"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> vcs/git.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | .trim_right_matches(&format!("/{}", branch)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 60 - .trim_right_matches(&format!("/{}", branch)) [INFO] [stdout] 60 + .trim_end_matches(&format!("/{}", branch)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> vcs/hg.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | .trim_right() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 51 - .trim_right() [INFO] [stdout] 51 + .trim_end() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> config.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 74 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> vcs/mod.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 57 - .into_iter() [INFO] [stdout] 57 + .iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 56 - [".git", ".hg", "_darcs", ".pijul"] [INFO] [stdout] 56 + IntoIterator::into_iter([".git", ".hg", "_darcs", ".pijul"]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> cache.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref CACHE_PATH: PathBuf = env::home_dir().unwrap().join(".cache/rhq/cache.json"); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> config.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref CONFIG_PATH: PathBuf = env::home_dir().unwrap().join(".config/rhq/config.toml"); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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::description`: use the Display impl or to_string() [INFO] [stdout] --> errors.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | errors { [INFO] [stdout] 5 | | ConfigLoad(path: PathBuf) { [INFO] [stdout] 6 | | description("Configuration file is not found") [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_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 constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> scp.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / lazy_static! { [INFO] [stdout] 31 | | static ref RE_SCP: Regex = Regex::new(r"^((?:[^@]+@)?)([^:]+):/?(.+)$").unwrap(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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] --> errors.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | errors { [INFO] [stdout] 5 | | ConfigLoad(path: PathBuf) { [INFO] [stdout] 6 | | description("Configuration file is not found") [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_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 `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> remote.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | let path = url.path().trim_left_matches("/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 28 - let path = url.path().trim_left_matches("/"); [INFO] [stdout] 28 + let path = url.path().trim_start_matches("/"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> scp.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | .map(|s| s.trim_right_matches("@")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 41 - .map(|s| s.trim_right_matches("@")) [INFO] [stdout] 41 + .map(|s| s.trim_end_matches("@")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> scp.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | .trim_right_matches(".git") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 48 - .trim_right_matches(".git") [INFO] [stdout] 48 + .trim_end_matches(".git") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> workspace.rs:228:59 [INFO] [stdout] | [INFO] [stdout] 228 | let path = path.to_str().unwrap().trim_left_matches(r"\\?\"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 228 - let path = path.to_str().unwrap().trim_left_matches(r"\\?\"); [INFO] [stdout] 228 + let path = path.to_str().unwrap().trim_start_matches(r"\\?\"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> query.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 33 - Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"), [INFO] [stdout] 33 + Query::Url(ref url) => url.path().trim_start_matches("/").trim_right_matches(".git"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> query.rs:33:70 [INFO] [stdout] | [INFO] [stdout] 33 | Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 33 - Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"), [INFO] [stdout] 33 + Query::Url(ref url) => url.path().trim_left_matches("/").trim_end_matches(".git"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> vcs/git.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | .trim_right_matches(&format!("/{}", branch)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 60 - .trim_right_matches(&format!("/{}", branch)) [INFO] [stdout] 60 + .trim_end_matches(&format!("/{}", branch)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> vcs/hg.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | .trim_right() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 51 - .trim_right() [INFO] [stdout] 51 + .trim_end() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> config.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 74 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> vcs/mod.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 57 - .into_iter() [INFO] [stdout] 57 + .iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 56 - [".git", ".hg", "_darcs", ".pijul"] [INFO] [stdout] 56 + IntoIterator::into_iter([".git", ".hg", "_darcs", ".pijul"]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "a315aa3f1a877be58d5829e9afc56922e508e6bc2128674f4d029f0db1969eab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a315aa3f1a877be58d5829e9afc56922e508e6bc2128674f4d029f0db1969eab", kill_on_drop: false }` [INFO] [stdout] a315aa3f1a877be58d5829e9afc56922e508e6bc2128674f4d029f0db1969eab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 10b866ce8804d0507070251c9c86eefea09b066ff012bd79175d19c3d3e81716 [INFO] running `Command { std: "docker" "start" "-a" "10b866ce8804d0507070251c9c86eefea09b066ff012bd79175d19c3d3e81716", 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 constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> cache.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / lazy_static! { [INFO] [stderr] 13 | | static ref CACHE_PATH: PathBuf = env::home_dir().unwrap().join(".cache/rhq/cache.json"); [INFO] [stderr] 14 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> config.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / lazy_static! { [INFO] [stderr] 13 | | static ref CONFIG_PATH: PathBuf = env::home_dir().unwrap().join(".config/rhq/config.toml"); [INFO] [stderr] 14 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> errors.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / error_chain! { [INFO] [stderr] 4 | | errors { [INFO] [stderr] 5 | | ConfigLoad(path: PathBuf) { [INFO] [stderr] 6 | | description("Configuration file is not found") [INFO] [stderr] ... | [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_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 constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> scp.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | / lazy_static! { [INFO] [stderr] 31 | | static ref RE_SCP: Regex = Regex::new(r"^((?:[^@]+@)?)([^:]+):/?(.+)$").unwrap(); [INFO] [stderr] 32 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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] --> errors.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / error_chain! { [INFO] [stderr] 4 | | errors { [INFO] [stderr] 5 | | ConfigLoad(path: PathBuf) { [INFO] [stderr] 6 | | description("Configuration file is not found") [INFO] [stderr] ... | [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_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 `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> remote.rs:28:35 [INFO] [stderr] | [INFO] [stderr] 28 | let path = url.path().trim_left_matches("/"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 28 - let path = url.path().trim_left_matches("/"); [INFO] [stderr] 28 + let path = url.path().trim_start_matches("/"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> scp.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | .map(|s| s.trim_right_matches("@")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 41 - .map(|s| s.trim_right_matches("@")) [INFO] [stderr] 41 + .map(|s| s.trim_end_matches("@")) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> scp.rs:48:14 [INFO] [stderr] | [INFO] [stderr] 48 | .trim_right_matches(".git") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 48 - .trim_right_matches(".git") [INFO] [stderr] 48 + .trim_end_matches(".git") [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> workspace.rs:228:59 [INFO] [stderr] | [INFO] [stderr] 228 | let path = path.to_str().unwrap().trim_left_matches(r"\\?\"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 228 - let path = path.to_str().unwrap().trim_left_matches(r"\\?\"); [INFO] [stderr] 228 + let path = path.to_str().unwrap().trim_start_matches(r"\\?\"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> query.rs:33:47 [INFO] [stderr] | [INFO] [stderr] 33 | Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 33 - Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"), [INFO] [stderr] 33 + Query::Url(ref url) => url.path().trim_start_matches("/").trim_right_matches(".git"), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> query.rs:33:70 [INFO] [stderr] | [INFO] [stderr] 33 | Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 33 - Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"), [INFO] [stderr] 33 + Query::Url(ref url) => url.path().trim_left_matches("/").trim_end_matches(".git"), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> vcs/git.rs:60:10 [INFO] [stderr] | [INFO] [stderr] 60 | .trim_right_matches(&format!("/{}", branch)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 60 - .trim_right_matches(&format!("/{}", branch)) [INFO] [stderr] 60 + .trim_end_matches(&format!("/{}", branch)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> vcs/hg.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | .trim_right() [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 51 - .trim_right() [INFO] [stderr] 51 + .trim_end() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `path` is never read [INFO] [stderr] --> config.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 73 | pub struct Config { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 74 | path: PathBuf, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> vcs/mod.rs:57:10 [INFO] [stderr] | [INFO] [stderr] 57 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 57 - .into_iter() [INFO] [stderr] 57 + .iter() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 56 - [".git", ".hg", "_darcs", ".pijul"] [INFO] [stderr] 56 + IntoIterator::into_iter([".git", ".hg", "_darcs", ".pijul"]) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rhq-core` (lib) generated 15 warnings (run `cargo fix --lib -p rhq-core` to apply 9 suggestions) [INFO] [stderr] warning: `rhq-core` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/rhq_core-d7a70ddc2591393e) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test query::test_methods::case_scp ... ok [INFO] [stdout] test query::tests_query::scp_pattern ... ok [INFO] [stdout] test query::tests_query::https_url ... ok [INFO] [stdout] test query::test_methods::case_url ... ok [INFO] [stdout] test util::test_skipped_1 ... ok [INFO] [stdout] test query::tests_query::ssh_url ... ok [INFO] [stdout] test remote::tests::path_scp ... ok [INFO] [stdout] test query::tests_query::short_pattern_with_host ... ok [INFO] [stdout] test query::test_methods::case_relative ... ok [INFO] [stdout] test remote::tests::path_https ... ok [INFO] [stdout] test query::tests_query::short_pattern_without_host ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] [stderr] Doc-tests rhq_core [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "10b866ce8804d0507070251c9c86eefea09b066ff012bd79175d19c3d3e81716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10b866ce8804d0507070251c9c86eefea09b066ff012bd79175d19c3d3e81716", kill_on_drop: false }` [INFO] [stdout] 10b866ce8804d0507070251c9c86eefea09b066ff012bd79175d19c3d3e81716