[INFO] fetching crate git-clean 0.5.1... [INFO] checking git-clean-0.5.1 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate git-clean 0.5.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate git-clean 0.5.1 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [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-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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-8/source/tests/support.rs [INFO] [stderr] * /workspace/builds/worker-8/source/tests/utility.rs [INFO] [stderr] * /workspace/builds/worker-8/source/tests/deletion.rs [INFO] [stderr] * /workspace/builds/worker-8/source/tests/local.rs [INFO] [stderr] * /workspace/builds/worker-8/source/tests/remote.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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] be6a23f0495770cd0433cc8e4dcf2687c09b67f1bf0ff7fb2838259a0c0c7498 [INFO] running `"docker" "start" "-a" "be6a23f0495770cd0433cc8e4dcf2687c09b67f1bf0ff7fb2838259a0c0c7498"` [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/utility.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/deletion.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/local.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/remote.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.69 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking git-clean v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:25:14 [INFO] [stderr] | [INFO] [stderr] 25 | self.description().fmt(f) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/main.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/branches.rs:11:50 [INFO] [stderr] | [INFO] [stderr] 11 | let trimmed_string = branches.join("\n").trim_right_matches('\n').into(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/commands.rs:78:27 [INFO] [stderr] | [INFO] [stderr] 78 | .map(|b| b.trim().trim_left_matches(origin_for_trim).to_owned()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/commands.rs:102:28 [INFO] [stderr] | [INFO] [stderr] 102 | let branch = s.trim_left_matches("error: unable to delete '") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/commands.rs:103:18 [INFO] [stderr] | [INFO] [stderr] 103 | .trim_right_matches("': remote ref does not exist"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] error: could not compile `git-clean`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "be6a23f0495770cd0433cc8e4dcf2687c09b67f1bf0ff7fb2838259a0c0c7498"` [INFO] running `"docker" "rm" "-f" "be6a23f0495770cd0433cc8e4dcf2687c09b67f1bf0ff7fb2838259a0c0c7498"` [INFO] [stdout] be6a23f0495770cd0433cc8e4dcf2687c09b67f1bf0ff7fb2838259a0c0c7498