[INFO] fetching crate bytekey 0.4.2... [INFO] checking bytekey-0.4.2 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate bytekey 0.4.2 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate bytekey 0.4.2 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bytekey 0.4.2 [INFO] finished tweaking crates.io crate bytekey 0.4.2 [INFO] tweaked toml for crates.io crate bytekey 0.4.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60276cbceb065e860da81cccb05b95cd90b8b66650b702d4038cb01f4d1dc480 [INFO] running `Command { std: "docker" "start" "-a" "60276cbceb065e860da81cccb05b95cd90b8b66650b702d4038cb01f4d1dc480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60276cbceb065e860da81cccb05b95cd90b8b66650b702d4038cb01f4d1dc480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60276cbceb065e860da81cccb05b95cd90b8b66650b702d4038cb01f4d1dc480", kill_on_drop: false }` [INFO] [stdout] 60276cbceb065e860da81cccb05b95cd90b8b66650b702d4038cb01f4d1dc480 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef67222b046cfcea8aa5f0bfc4fa8f9c9dcded6badc1ccbc5c503d6130eda3c0 [INFO] running `Command { std: "docker" "start" "-a" "ef67222b046cfcea8aa5f0bfc4fa8f9c9dcded6badc1ccbc5c503d6130eda3c0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking bytekey v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | #![feature(core, custom_attribute, io, plugin, unicode)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | #![feature(core, custom_attribute, io, plugin, unicode)] [INFO] [stdout] | ^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::iter::range_inclusive` [INFO] [stdout] --> src/decoder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::range_inclusive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `range_inclusive` in `iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::wrapping` [INFO] [stdout] --> src/decoder.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::num::wrapping::OverflowingOps; [INFO] [stdout] | ^^^^^^^^ could not find `wrapping` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `CharsError` in `io` [INFO] [stdout] --> src/decoder.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | Some(Err(io::CharsError::NotUtf8)) => Err(Error::NotUtf8), [INFO] [stdout] | ^^^^^^^^^^ could not find `CharsError` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `CharsError` in `io` [INFO] [stdout] --> src/decoder.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 121 | Some(Err(io::CharsError::Other(error))) => Err(Error::Io(error)), [INFO] [stdout] | ^^^^^^^^^^ could not find `CharsError` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `CharsError` in `io` [INFO] [stdout] --> src/lib.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | io::CharsError::NotUtf8 => Error::NotUtf8, [INFO] [stdout] | ^^^^^^^^^^ could not find `CharsError` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `CharsError` in `io` [INFO] [stdout] --> src/lib.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | io::CharsError::Other(error) => Error::Io(error), [INFO] [stdout] | ^^^^^^^^^^ could not find `CharsError` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/lib.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/lib.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | fn from(error: io::CharsError) -> Error { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `byteorder` [INFO] [stdout] --> src/lib.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | impl From for Error { [INFO] [stdout] | ^^^^^ not found in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 68 + use error::Error; [INFO] [stdout] | [INFO] [stdout] 68 + use fmt::Error; [INFO] [stdout] | [INFO] [stdout] 68 + use io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 146 - impl From for Error { [INFO] [stdout] 146 + impl From for Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `byteorder` [INFO] [stdout] --> src/lib.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | fn from(error: byteorder::Error) -> Error { [INFO] [stdout] | ^^^^^ not found in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 68 + use error::Error; [INFO] [stdout] | [INFO] [stdout] 68 + use fmt::Error; [INFO] [stdout] | [INFO] [stdout] 68 + use io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 147 - fn from(error: byteorder::Error) -> Error { [INFO] [stdout] 147 + fn from(error: Error) -> Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in `byteorder` [INFO] [stdout] --> src/lib.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | byteorder::Error::UnexpectedEOF => Error::UnexpectedEof, [INFO] [stdout] | ^^^^^ could not find `Error` in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 68 + use error::Error; [INFO] [stdout] | [INFO] [stdout] 68 + use fmt::Error; [INFO] [stdout] | [INFO] [stdout] 68 + use io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 149 - byteorder::Error::UnexpectedEOF => Error::UnexpectedEof, [INFO] [stdout] 149 + Error::UnexpectedEOF => Error::UnexpectedEof, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in `byteorder` [INFO] [stdout] --> src/lib.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | byteorder::Error::Io(error) => Error::Io(error), [INFO] [stdout] | ^^^^^ could not find `Error` in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 68 + use error::Error; [INFO] [stdout] | [INFO] [stdout] 68 + use fmt::Error; [INFO] [stdout] | [INFO] [stdout] 68 + use io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 150 - byteorder::Error::Io(error) => Error::Io(error), [INFO] [stdout] 150 + Error::Io(error) => Error::Io(error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unicode` [INFO] [stdout] --> src/lib.rs:58:48 [INFO] [stdout] | [INFO] [stdout] 58 | #![feature(core, custom_attribute, io, plugin, unicode)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> src/lib.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | #![feature(core, custom_attribute, io, plugin, unicode)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_or` found for mutable reference `&mut str` in the current scope [INFO] [stdout] --> src/encoder.rs:364:41 [INFO] [stdout] | [INFO] [stdout] 364 | let n = v.encode_utf8(&mut buf).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chars` found for mutable reference `&mut BufReader` in the current scope [INFO] [stdout] --> src/decoder.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | match (&mut self.reader).chars().next() { [INFO] [stdout] | ^^^^^ method not found in `&mut BufReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0557, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bytekey` (lib) due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ef67222b046cfcea8aa5f0bfc4fa8f9c9dcded6badc1ccbc5c503d6130eda3c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef67222b046cfcea8aa5f0bfc4fa8f9c9dcded6badc1ccbc5c503d6130eda3c0", kill_on_drop: false }` [INFO] [stdout] ef67222b046cfcea8aa5f0bfc4fa8f9c9dcded6badc1ccbc5c503d6130eda3c0