[INFO] fetching crate maybe_utf8 0.2.3... [INFO] checking maybe_utf8-0.2.3 against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] extracting crate maybe_utf8 0.2.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate maybe_utf8 0.2.3 on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate maybe_utf8 0.2.3 [INFO] finished tweaking crates.io crate maybe_utf8 0.2.3 [INFO] tweaked toml for crates.io crate maybe_utf8 0.2.3 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "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" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a3d51a2edc506fb5a15b39d76318ec1562c3c04c789538cd197e832f1aac7cf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9a3d51a2edc506fb5a15b39d76318ec1562c3c04c789538cd197e832f1aac7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a3d51a2edc506fb5a15b39d76318ec1562c3c04c789538cd197e832f1aac7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3d51a2edc506fb5a15b39d76318ec1562c3c04c789538cd197e832f1aac7cf", kill_on_drop: false }` [INFO] [stdout] 9a3d51a2edc506fb5a15b39d76318ec1562c3c04c789538cd197e832f1aac7cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d243a16dfcf1c11e3d62fc0ce76aee0c1c0fdacad554d17a9e122eabd3ab163 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3d243a16dfcf1c11e3d62fc0ce76aee0c1c0fdacad554d17a9e122eabd3ab163", kill_on_drop: false }` [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking maybe_utf8 v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::borrow::IntoCow` [INFO] [stdout] --> lib.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | use std::borrow::{IntoCow, Cow, ToOwned}; [INFO] [stdout] | ^^^^^^^ no `IntoCow` in `borrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> lib.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | try!(write!(f, "b\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> lib.rs:363:34 [INFO] [stdout] | [INFO] [stdout] 363 | b'\t' => try!(write!(f, "\\t")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> lib.rs:364:34 [INFO] [stdout] | [INFO] [stdout] 364 | b'\r' => try!(write!(f, "\\r")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> lib.rs:365:34 [INFO] [stdout] | [INFO] [stdout] 365 | b'\n' => try!(write!(f, "\\n")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> lib.rs:366:34 [INFO] [stdout] | [INFO] [stdout] 366 | b'\\' => try!(write!(f, "\\\\")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> lib.rs:367:34 [INFO] [stdout] | [INFO] [stdout] 367 | b'\'' => try!(write!(f, "\\'")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> lib.rs:368:34 [INFO] [stdout] | [INFO] [stdout] 368 | b'"' => try!(write!(f, "\\\"")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> lib.rs:369:48 [INFO] [stdout] | [INFO] [stdout] 369 | b'\x20' ... b'\x7e' => try!(write!(f, "{}", c as char)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> lib.rs:370:30 [INFO] [stdout] | [INFO] [stdout] 370 | _ => try!(write!(f, "\\x{}{}", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> lib.rs:369:33 [INFO] [stdout] | [INFO] [stdout] 369 | b'\x20' ... b'\x7e' => try!(write!(f, "{}", c as char)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `maybe_utf8` [INFO] [stdout] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [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 `Command { std: "docker" "inspect" "3d243a16dfcf1c11e3d62fc0ce76aee0c1c0fdacad554d17a9e122eabd3ab163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d243a16dfcf1c11e3d62fc0ce76aee0c1c0fdacad554d17a9e122eabd3ab163", kill_on_drop: false }` [INFO] [stdout] 3d243a16dfcf1c11e3d62fc0ce76aee0c1c0fdacad554d17a9e122eabd3ab163