[INFO] fetching crate maybe_utf8 0.2.3... [INFO] testing maybe_utf8-0.2.3 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate maybe_utf8 0.2.3 into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate maybe_utf8 0.2.3 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c4b101b4cf46cd0b572c9ddd64c6278d502d3968f6bad6d6b80dd89545f416a [INFO] running `Command { std: "docker" "start" "-a" "9c4b101b4cf46cd0b572c9ddd64c6278d502d3968f6bad6d6b80dd89545f416a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c4b101b4cf46cd0b572c9ddd64c6278d502d3968f6bad6d6b80dd89545f416a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c4b101b4cf46cd0b572c9ddd64c6278d502d3968f6bad6d6b80dd89545f416a", kill_on_drop: false }` [INFO] [stdout] 9c4b101b4cf46cd0b572c9ddd64c6278d502d3968f6bad6d6b80dd89545f416a [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b02dd1e3984ebafae1fedc8dd0521bdcdccaab495c41f46bec9268453b57c51 [INFO] running `Command { std: "docker" "start" "-a" "8b02dd1e3984ebafae1fedc8dd0521bdcdccaab495c41f46bec9268453b57c51", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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: `...` 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [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: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> lib.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | #![feature(core)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `maybe_utf8` (lib) due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8b02dd1e3984ebafae1fedc8dd0521bdcdccaab495c41f46bec9268453b57c51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b02dd1e3984ebafae1fedc8dd0521bdcdccaab495c41f46bec9268453b57c51", kill_on_drop: false }` [INFO] [stdout] 8b02dd1e3984ebafae1fedc8dd0521bdcdccaab495c41f46bec9268453b57c51