[INFO] fetching crate git-clean 0.5.1... [INFO] checking git-clean-0.5.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate git-clean 0.5.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate git-clean 0.5.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-9/source/tests/support.rs [INFO] [stderr] * /workspace/builds/worker-9/source/tests/local.rs [INFO] [stderr] * /workspace/builds/worker-9/source/tests/remote.rs [INFO] [stderr] * /workspace/builds/worker-9/source/tests/deletion.rs [INFO] [stderr] * /workspace/builds/worker-9/source/tests/utility.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55a18ab33148bfc2d71b80c7e8dd30e8f1dcda97331c84750f58daad6e83eec1 [INFO] running `Command { std: "docker" "start" "-a" "55a18ab33148bfc2d71b80c7e8dd30e8f1dcda97331c84750f58daad6e83eec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55a18ab33148bfc2d71b80c7e8dd30e8f1dcda97331c84750f58daad6e83eec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55a18ab33148bfc2d71b80c7e8dd30e8f1dcda97331c84750f58daad6e83eec1", kill_on_drop: false }` [INFO] [stdout] 55a18ab33148bfc2d71b80c7e8dd30e8f1dcda97331c84750f58daad6e83eec1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5be6983cd8bc2e714e91ea2207ed6664e7195f0eb8a663091ef06b4e0a0ff3de [INFO] running `Command { std: "docker" "start" "-a" "5be6983cd8bc2e714e91ea2207ed6664e7195f0eb8a663091ef06b4e0a0ff3de", 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/support.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/local.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/remote.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/deletion.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/utility.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] Compiling libc v0.2.98 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5be6983cd8bc2e714e91ea2207ed6664e7195f0eb8a663091ef06b4e0a0ff3de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5be6983cd8bc2e714e91ea2207ed6664e7195f0eb8a663091ef06b4e0a0ff3de", kill_on_drop: false }` [INFO] [stdout] 5be6983cd8bc2e714e91ea2207ed6664e7195f0eb8a663091ef06b4e0a0ff3de