[INFO] fetching crate ve 0.0.3... [INFO] checking ve-0.0.3 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate ve 0.0.3 into /workspace/builds/worker-111/source [INFO] validating manifest of crates.io crate ve 0.0.3 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-111/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54b682ab3d6a376c8ed4fee4eeba62bfdd59e3be817165819499713623d371b4 [INFO] running `Command { std: "docker" "start" "-a" "54b682ab3d6a376c8ed4fee4eeba62bfdd59e3be817165819499713623d371b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54b682ab3d6a376c8ed4fee4eeba62bfdd59e3be817165819499713623d371b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54b682ab3d6a376c8ed4fee4eeba62bfdd59e3be817165819499713623d371b4", kill_on_drop: false }` [INFO] [stdout] 54b682ab3d6a376c8ed4fee4eeba62bfdd59e3be817165819499713623d371b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff7fa5131989cefcd24d4d7c61c60dcad6a7561911ca798015fb4b1df07cbdf1 [INFO] running `Command { std: "docker" "start" "-a" "ff7fa5131989cefcd24d4d7c61c60dcad6a7561911ca798015fb4b1df07cbdf1", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking ve v0.0.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [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[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] [stderr] error: could not compile `ve` due to 14 previous errors; 2 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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 13 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] [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[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 13 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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ff7fa5131989cefcd24d4d7c61c60dcad6a7561911ca798015fb4b1df07cbdf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff7fa5131989cefcd24d4d7c61c60dcad6a7561911ca798015fb4b1df07cbdf1", kill_on_drop: false }` [INFO] [stdout] ff7fa5131989cefcd24d4d7c61c60dcad6a7561911ca798015fb4b1df07cbdf1