[INFO] fetching crate ve 0.0.3... [INFO] testing ve-0.0.3 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate ve 0.0.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate ve 0.0.3 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ve 0.0.3 [INFO] finished tweaking crates.io crate ve 0.0.3 [INFO] tweaked toml for crates.io crate ve 0.0.3 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d7cb3d454ff3dc930115075915ab3e6775bb01ff3b9a536e184548e0fed12eb [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" "5d7cb3d454ff3dc930115075915ab3e6775bb01ff3b9a536e184548e0fed12eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d7cb3d454ff3dc930115075915ab3e6775bb01ff3b9a536e184548e0fed12eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d7cb3d454ff3dc930115075915ab3e6775bb01ff3b9a536e184548e0fed12eb", kill_on_drop: false }` [INFO] [stdout] 5d7cb3d454ff3dc930115075915ab3e6775bb01ff3b9a536e184548e0fed12eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 025c39da9df6fd9b1bff5e45acc26c1ac318f7c374cbefe084f75908de272962 [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" "025c39da9df6fd9b1bff5e45acc26c1ac318f7c374cbefe084f75908de272962", kill_on_drop: false }` [INFO] [stderr] Compiling ve v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![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:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocRef` [INFO] [stdout] --> src/raw_vec.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use core::alloc::{AllocRef, Layout, LayoutErr}; [INFO] [stdout] | ^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::collections::TryReserveError` [INFO] [stdout] --> src/raw_vec.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::collections::TryReserveError::{self, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `TryReserveError` is a struct, not a module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AllocError` in this scope [INFO] [stdout] --> src/raw_vec.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | Err(AllocError { layout, .. }) => handle_alloc_error(layout), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::alloc::AllocError; [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::collections::TryReserveErrorKind::AllocError; [INFO] [stdout] | [INFO] [stdout] 4 | use core::alloc::AllocError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AllocError` in this scope [INFO] [stdout] --> src/raw_vec.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | Err(AllocError { layout, .. }) => handle_alloc_error(layout), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::alloc::AllocError; [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::collections::TryReserveErrorKind::AllocError; [INFO] [stdout] | [INFO] [stdout] 4 | use core::alloc::AllocError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AllocError` in this scope [INFO] [stdout] --> src/raw_vec.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | Err(AllocError { layout, .. }) => handle_alloc_error(layout), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::alloc::AllocError; [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::collections::TryReserveErrorKind::AllocError; [INFO] [stdout] | [INFO] [stdout] 4 | use core::alloc::AllocError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CapacityOverflow` in this scope [INFO] [stdout] --> src/raw_vec.rs:385:24 [INFO] [stdout] | [INFO] [stdout] 385 | return Err(CapacityOverflow); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 521 | fn capacity_overflow() -> ! { [INFO] [stdout] | --------------------------- similarly named function `capacity_overflow` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 385 | return Err(capacity_overflow); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::collections::TryReserveErrorKind::CapacityOverflow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CapacityOverflow` in this scope [INFO] [stdout] --> src/raw_vec.rs:389:62 [INFO] [stdout] | [INFO] [stdout] 389 | let required_cap = len.checked_add(additional).ok_or(CapacityOverflow)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 521 | fn capacity_overflow() -> ! { [INFO] [stdout] | --------------------------- similarly named function `capacity_overflow` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 389 | let required_cap = len.checked_add(additional).ok_or(capacity_overflow)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::collections::TryReserveErrorKind::CapacityOverflow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CapacityOverflow` in this scope [INFO] [stdout] --> src/raw_vec.rs:425:24 [INFO] [stdout] | [INFO] [stdout] 425 | return Err(CapacityOverflow); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 521 | fn capacity_overflow() -> ! { [INFO] [stdout] | --------------------------- similarly named function `capacity_overflow` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 425 | return Err(capacity_overflow); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::collections::TryReserveErrorKind::CapacityOverflow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CapacityOverflow` in this scope [INFO] [stdout] --> src/raw_vec.rs:428:53 [INFO] [stdout] | [INFO] [stdout] 428 | let cap = len.checked_add(additional).ok_or(CapacityOverflow)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 521 | fn capacity_overflow() -> ! { [INFO] [stdout] | --------------------------- similarly named function `capacity_overflow` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 428 | let cap = len.checked_add(additional).ok_or(capacity_overflow)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::collections::TryReserveErrorKind::CapacityOverflow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CapacityOverflow` in this scope [INFO] [stdout] --> src/raw_vec.rs:476:45 [INFO] [stdout] | [INFO] [stdout] 476 | let new_layout = new_layout.map_err(|_| CapacityOverflow)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 521 | fn capacity_overflow() -> ! { [INFO] [stdout] | --------------------------- similarly named function `capacity_overflow` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 476 | let new_layout = new_layout.map_err(|_| capacity_overflow)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::collections::TryReserveErrorKind::CapacityOverflow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AllocError` in this scope [INFO] [stdout] --> src/raw_vec.rs:491:24 [INFO] [stdout] | [INFO] [stdout] 491 | memory.map_err(|_| AllocError { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::alloc::AllocError; [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::collections::TryReserveErrorKind::AllocError; [INFO] [stdout] | [INFO] [stdout] 4 | use core::alloc::AllocError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CapacityOverflow` in this scope [INFO] [stdout] --> src/raw_vec.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | Err(CapacityOverflow) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 521 | fn capacity_overflow() -> ! { [INFO] [stdout] | --------------------------- similarly named function `capacity_overflow` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 512 | Err(capacity_overflow) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::collections::TryReserveErrorKind::CapacityOverflow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/raw_vec.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use core::alloc::{AllocRef, Layout, LayoutErr}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/raw_vec.rs:468:32 [INFO] [stdout] | [INFO] [stdout] 468 | new_layout: Result, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ve` due to 15 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "025c39da9df6fd9b1bff5e45acc26c1ac318f7c374cbefe084f75908de272962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "025c39da9df6fd9b1bff5e45acc26c1ac318f7c374cbefe084f75908de272962", kill_on_drop: false }` [INFO] [stdout] 025c39da9df6fd9b1bff5e45acc26c1ac318f7c374cbefe084f75908de272962