[INFO] fetching crate busycrate 0.1.0...
[INFO] checking busycrate-0.1.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate busycrate 0.1.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate busycrate 0.1.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate busycrate 0.1.0
[INFO] finished tweaking crates.io crate busycrate 0.1.0
[INFO] tweaked toml for crates.io crate busycrate 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate crates.io crate busycrate 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap v2.33.1
[INFO] [stderr]   Downloaded nix v0.17.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b385a49b4dd5a9a1e6b40e6ba915cee0b8c291bc04a608e4fb5abdff24cf6f6d
[INFO] running `Command { std: "docker" "start" "-a" "b385a49b4dd5a9a1e6b40e6ba915cee0b8c291bc04a608e4fb5abdff24cf6f6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b385a49b4dd5a9a1e6b40e6ba915cee0b8c291bc04a608e4fb5abdff24cf6f6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b385a49b4dd5a9a1e6b40e6ba915cee0b8c291bc04a608e4fb5abdff24cf6f6d", kill_on_drop: false }`
[INFO] [stdout] b385a49b4dd5a9a1e6b40e6ba915cee0b8c291bc04a608e4fb5abdff24cf6f6d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 920af124282ba8d2d1fc2934611581b391f30ed38da4af3c0a6b3a5f7d9c668e
[INFO] running `Command { std: "docker" "start" "-a" "920af124282ba8d2d1fc2934611581b391f30ed38da4af3c0a6b3a5f7d9c668e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.33.1
[INFO] [stderr]     Checking busycrate v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `OsStr` is imported redundantly
[INFO] [stdout]   --> src/osstr.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     use std::ffi::OsStr;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 49 |     use super::*;
[INFO] [stdout]    |         -------- the item `OsStr` is already imported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/osstr.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/main.rs:83:6
[INFO] [stdout]    |
[INFO] [stdout] 83 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/main.rs:83:6
[INFO] [stdout]    |
[INFO] [stdout] 83 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/main.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |         .author(clap::crate_authors!("\n"))
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `clap::crate_authors` (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 `new` function is now preferred
[INFO] [stdout]   --> src/main.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |         .author(clap::crate_authors!("\n"))
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `clap::crate_authors` (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 `new` function is now preferred
[INFO] [stdout]   --> src/main.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |         .author(clap::crate_authors!("\n"))
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `clap::crate_authors` (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 `new` function is now preferred
[INFO] [stdout]   --> src/main.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |         .author(clap::crate_authors!("\n"))
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `clap::crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `ends_with` and `starts_with` are never used
[INFO] [stdout]   --> src/osstr.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait OsStrHelperExt {
[INFO] [stdout]    |           -------------- methods in this trait
[INFO] [stdout] 12 |     fn ends_with(&self, suffix: &str) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 13 |     fn starts_with(&self, prefix: &str) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_suffix` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/osstr.rs:54:24
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert!(os_str.has_suffix(""));
[INFO] [stdout]    |                        ^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_suffix` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/osstr.rs:62:36
[INFO] [stdout]    |
[INFO] [stdout] 62 |         assert!(OsStr::new(filled).has_suffix(empty));
[INFO] [stdout]    |                                    ^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_suffix` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/osstr.rs:63:36
[INFO] [stdout]    |
[INFO] [stdout] 63 |         assert!(!OsStr::new(empty).has_suffix(filled));
[INFO] [stdout]    |                                    ^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_suffix` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/osstr.rs:69:25
[INFO] [stdout]    |
[INFO] [stdout] 69 |         assert!(!os_str.has_suffix("suffix"));
[INFO] [stdout]    |                         ^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_suffix` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/osstr.rs:77:35
[INFO] [stdout]    |
[INFO] [stdout] 77 |         assert!(OsStr::new(first).has_suffix(second));
[INFO] [stdout]    |                                   ^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_suffix` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/osstr.rs:78:36
[INFO] [stdout]    |
[INFO] [stdout] 78 |         assert!(OsStr::new(second).has_suffix(first));
[INFO] [stdout]    |                                    ^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_suffix` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/osstr.rs:86:36
[INFO] [stdout]    |
[INFO] [stdout] 86 |         assert!(OsStr::new(larger).has_suffix(suffix));
[INFO] [stdout]    |                                    ^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_suffix` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/osstr.rs:87:37
[INFO] [stdout]    |
[INFO] [stdout] 87 |         assert!(!OsStr::new(suffix).has_suffix(larger));
[INFO] [stdout]    |                                     ^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_suffix` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/osstr.rs:98:42
[INFO] [stdout]    |
[INFO] [stdout] 98 |         assert!(!OsStr::from_bytes(text).has_suffix(suffix));
[INFO] [stdout]    |                                          ^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `busycrate` (bin "busycrate" test) due to 10 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "920af124282ba8d2d1fc2934611581b391f30ed38da4af3c0a6b3a5f7d9c668e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "920af124282ba8d2d1fc2934611581b391f30ed38da4af3c0a6b3a5f7d9c668e", kill_on_drop: false }`
[INFO] [stdout] 920af124282ba8d2d1fc2934611581b391f30ed38da4af3c0a6b3a5f7d9c668e
