[INFO] fetching crate busycrate 0.1.0... [INFO] checking busycrate-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate busycrate 0.1.0 into /workspace/builds/worker-3-tc2/source [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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate busycrate 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 972ed02dfb3e3b54395bcf2ad5d1a33a477a333405a3a340be35debcdd873440 [INFO] running `Command { std: "docker" "start" "-a" "972ed02dfb3e3b54395bcf2ad5d1a33a477a333405a3a340be35debcdd873440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "972ed02dfb3e3b54395bcf2ad5d1a33a477a333405a3a340be35debcdd873440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "972ed02dfb3e3b54395bcf2ad5d1a33a477a333405a3a340be35debcdd873440", kill_on_drop: false }` [INFO] [stdout] 972ed02dfb3e3b54395bcf2ad5d1a33a477a333405a3a340be35debcdd873440 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8149df62e9c139dd2b123153fe93abc93b243f5af66d484e6911bbf7a5f05d2 [INFO] running `Command { std: "docker" "start" "-a" "f8149df62e9c139dd2b123153fe93abc93b243f5af66d484e6911bbf7a5f05d2", 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 vec_map v0.8.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ansi_term v0.11.0 [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] 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] 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: trait `OsStrHelperExt` is never used [INFO] [stdout] --> src/osstr.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait OsStrHelperExt { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/main.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | .author(clap::crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this raw pointer has type `*const String` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&String` [INFO] [stdout] --> src/main.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | .author(clap::crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] = note: this error originates in the macro `clap::crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap-2.33.1/src/macros.rs:491:22 [INFO] [stdout] | [INFO] [stdout] 491| &(&(*VALUE))[..] [INFO] [stdout] | ++ + [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] [stderr] error: could not compile `busycrate` (bin "busycrate") due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `busycrate` (bin "busycrate" test) due to 9 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f8149df62e9c139dd2b123153fe93abc93b243f5af66d484e6911bbf7a5f05d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8149df62e9c139dd2b123153fe93abc93b243f5af66d484e6911bbf7a5f05d2", kill_on_drop: false }` [INFO] [stdout] f8149df62e9c139dd2b123153fe93abc93b243f5af66d484e6911bbf7a5f05d2