[INFO] fetching crate cbuf 0.1.1... [INFO] checking cbuf-0.1.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate cbuf 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate cbuf 0.1.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cbuf 0.1.1 [INFO] finished tweaking crates.io crate cbuf 0.1.1 [INFO] tweaked toml for crates.io crate cbuf 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26a2edc99682b160233eabe16c39bfbb48e7b4248e2bfec0051e4009ef368e10 [INFO] running `Command { std: "docker" "start" "-a" "26a2edc99682b160233eabe16c39bfbb48e7b4248e2bfec0051e4009ef368e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26a2edc99682b160233eabe16c39bfbb48e7b4248e2bfec0051e4009ef368e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26a2edc99682b160233eabe16c39bfbb48e7b4248e2bfec0051e4009ef368e10", kill_on_drop: false }` [INFO] [stdout] 26a2edc99682b160233eabe16c39bfbb48e7b4248e2bfec0051e4009ef368e10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f318b0a4f67d1c27105173188fecbf0f3b6ba46441fe309c246e44a8637d243e [INFO] running `Command { std: "docker" "start" "-a" "f318b0a4f67d1c27105173188fecbf0f3b6ba46441fe309c246e44a8637d243e", kill_on_drop: false }` [INFO] [stderr] Checking cbuf v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/lib.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | use core::option::Option::{self, Some, None}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:37:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Some` is imported redundantly [INFO] [stdout] --> src/lib.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | use core::option::Option::{self, Some, None}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:37:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Some` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `None` is imported redundantly [INFO] [stdout] --> src/lib.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | use core::option::Option::{self, Some, None}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:37:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `None` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/lib.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | use core::option::Option::{self, Some, None}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:37:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Some` is imported redundantly [INFO] [stdout] --> src/lib.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | use core::option::Option::{self, Some, None}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:37:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Some` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `None` is imported redundantly [INFO] [stdout] --> src/lib.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | use core::option::Option::{self, Some, None}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:37:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `None` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `test` is imported redundantly [INFO] [stdout] --> src/lib.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | -------- the item `test` is already imported here [INFO] [stdout] 230 | use test::Bencher; [INFO] [stdout] 231 | use test; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cbuf` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | let mut buf = &mut [0u8, 2]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let mut buf = &mut [0u8, 0u8]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | let mut buf = &mut [0u8, 0u8]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cbuf` (lib test) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f318b0a4f67d1c27105173188fecbf0f3b6ba46441fe309c246e44a8637d243e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f318b0a4f67d1c27105173188fecbf0f3b6ba46441fe309c246e44a8637d243e", kill_on_drop: false }` [INFO] [stdout] f318b0a4f67d1c27105173188fecbf0f3b6ba46441fe309c246e44a8637d243e