[INFO] fetching crate git-clean 0.5.1... [INFO] testing git-clean-0.5.1 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate git-clean 0.5.1 into /workspace/builds/worker-119/source [INFO] validating manifest of crates.io crate git-clean 0.5.1 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate git-clean 0.5.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate git-clean 0.5.1 [INFO] tweaked toml for crates.io crate git-clean 0.5.1 written to /workspace/builds/worker-119/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-119/source/tests/utility.rs [INFO] [stderr] * /workspace/builds/worker-119/source/tests/support.rs [INFO] [stderr] * /workspace/builds/worker-119/source/tests/remote.rs [INFO] [stderr] * /workspace/builds/worker-119/source/tests/deletion.rs [INFO] [stderr] * /workspace/builds/worker-119/source/tests/local.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fe6515eeb22cabce8166e3dc7a683637feead07562b8fd7e8497553c7c0e83a [INFO] running `Command { std: "docker" "start" "-a" "7fe6515eeb22cabce8166e3dc7a683637feead07562b8fd7e8497553c7c0e83a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fe6515eeb22cabce8166e3dc7a683637feead07562b8fd7e8497553c7c0e83a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fe6515eeb22cabce8166e3dc7a683637feead07562b8fd7e8497553c7c0e83a", kill_on_drop: false }` [INFO] [stdout] 7fe6515eeb22cabce8166e3dc7a683637feead07562b8fd7e8497553c7c0e83a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a47752490ad01bab8893d6de67ae6223f54fe92231b3c6096cdcb859b37cb4b [INFO] running `Command { std: "docker" "start" "-a" "4a47752490ad01bab8893d6de67ae6223f54fe92231b3c6096cdcb859b37cb4b", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/tests/utility.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/support.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/remote.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/deletion.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/local.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling git-clean v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/branches.rs:11:50 [INFO] [stdout] | [INFO] [stdout] 11 | let trimmed_string = branches.join("\n").trim_right_matches('\n').into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/commands.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | .map(|b| b.trim().trim_left_matches(origin_for_trim).to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/commands.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | let branch = s.trim_left_matches("error: unable to delete '") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/commands.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | .trim_right_matches("': remote ref does not exist"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `git-clean` due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "4a47752490ad01bab8893d6de67ae6223f54fe92231b3c6096cdcb859b37cb4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a47752490ad01bab8893d6de67ae6223f54fe92231b3c6096cdcb859b37cb4b", kill_on_drop: false }` [INFO] [stdout] 4a47752490ad01bab8893d6de67ae6223f54fe92231b3c6096cdcb859b37cb4b