[INFO] fetching crate busycrate 0.1.0... [INFO] checking busycrate-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate busycrate 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate busycrate 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-5-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78b0528952aa87cb7323a481dd673c44f66b129c635fd553ce34ec962f18bb27 [INFO] running `Command { std: "docker" "start" "-a" "78b0528952aa87cb7323a481dd673c44f66b129c635fd553ce34ec962f18bb27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78b0528952aa87cb7323a481dd673c44f66b129c635fd553ce34ec962f18bb27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78b0528952aa87cb7323a481dd673c44f66b129c635fd553ce34ec962f18bb27", kill_on_drop: false }` [INFO] [stdout] 78b0528952aa87cb7323a481dd673c44f66b129c635fd553ce34ec962f18bb27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a1d25e894799239fad760caea57bea970175f5322caba8f4a88735275d09f57 [INFO] running `Command { std: "docker" "start" "-a" "0a1d25e894799239fad760caea57bea970175f5322caba8f4a88735275d09f57", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking void v1.0.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: 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: unused import: `super::*` [INFO] [stdout] --> src/osstr.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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 `Once::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 `Once::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 `Once::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 `Once::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: field `create_parents` is never read [INFO] [stdout] --> src/mkdir.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Args<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | pub create_parents: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] [INFO] [stdout] warning: 5 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; 4 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; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0a1d25e894799239fad760caea57bea970175f5322caba8f4a88735275d09f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a1d25e894799239fad760caea57bea970175f5322caba8f4a88735275d09f57", kill_on_drop: false }` [INFO] [stdout] 0a1d25e894799239fad760caea57bea970175f5322caba8f4a88735275d09f57