[INFO] fetching crate efw 0.1.0... [INFO] checking efw-0.1.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate efw 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate efw 0.1.0 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] removed /workspace/builds/worker-5-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate efw 0.1.0 [INFO] finished tweaking crates.io crate efw 0.1.0 [INFO] tweaked toml for crates.io crate efw 0.1.0 written to /workspace/builds/worker-5-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 3 packages to latest compatible versions [INFO] [stderr] Adding late-static v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding r-efi v2.2.0 (available: v5.1.0) [INFO] [stderr] Adding ucs2 v0.1.0 (available: v0.3.3) [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] Downloading crates ... [INFO] [stderr] Downloaded r-efi v2.2.0 [INFO] [stderr] Downloaded late-static v0.3.0 [INFO] [stderr] Downloaded ucs2 v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d287acc1dc66ed7ca637d8791b94ce6b1de02c68ae07f24fcaa414153c71a792 [INFO] running `Command { std: "docker" "start" "-a" "d287acc1dc66ed7ca637d8791b94ce6b1de02c68ae07f24fcaa414153c71a792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d287acc1dc66ed7ca637d8791b94ce6b1de02c68ae07f24fcaa414153c71a792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d287acc1dc66ed7ca637d8791b94ce6b1de02c68ae07f24fcaa414153c71a792", kill_on_drop: false }` [INFO] [stdout] d287acc1dc66ed7ca637d8791b94ce6b1de02c68ae07f24fcaa414153c71a792 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 5e6ccfd7f083000e54cd6b86c01fe80865210ddd81b0588cb800bce850536cd7 [INFO] running `Command { std: "docker" "start" "-a" "5e6ccfd7f083000e54cd6b86c01fe80865210ddd81b0588cb800bce850536cd7", kill_on_drop: false }` [INFO] [stderr] Checking ucs2 v0.1.0 [INFO] [stderr] Checking late-static v0.3.0 [INFO] [stderr] Checking r-efi v2.2.0 [INFO] [stderr] Checking efw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> src/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use alloc::prelude::v1::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> src/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use alloc::prelude::v1::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/efi/boot_services.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | let mut buffer = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/efi/boot_services.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | let mut buffer = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/boot_services.rs:60:150 [INFO] [stdout] | [INFO] [stdout] 60 | ...:Guid, search_key: *mut core::ffi::c_void) -> Result> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/boot_services.rs:60:150 [INFO] [stdout] | [INFO] [stdout] 60 | ...:Guid, search_key: *mut core::ffi::c_void) -> Result> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/boot_services.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let mut vector: Vec = Vec::new(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/boot_services.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let mut vector: Vec = Vec::new(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/efi/boot_services.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | let mut vector: Vec = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/efi/boot_services.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | let mut vector: Vec = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/memory_map.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) buffer: Vec, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/memory_map.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) buffer: Vec, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/memory_map.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn new(buffer: Vec, map_key: usize, desc_size: usize, desc_ver: u32) -> Self { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/memory_map.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn new(buffer: Vec, map_key: usize, desc_size: usize, desc_ver: u32) -> Self { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/protocol.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | fn find_supporting_handles() -> Result> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/protocol.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | fn find_supporting_handles() -> Result> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/protocol.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | fn find_instances() -> Result> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/protocol.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | fn find_instances() -> Result> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `alloc_prelude` [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(alloc_prelude)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / fn panic_handler(panic_info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 42 | | let message = match panic_info.message() { [INFO] [stdout] 43 | | Some(s) => s.clone(), [INFO] [stdout] 44 | | None => format_args!("no message"), [INFO] [stdout] ... | [INFO] [stdout] 56 | | loop {} [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-cb5ec2ef594bb30c.rlib [INFO] [stdout] = note: second definition in the local crate (`efw`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `efw` (lib test) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | let message = match panic_info.message() { [INFO] [stdout] | -------------------- this expression has type `PanicMessage<'_>` [INFO] [stdout] 43 | Some(s) => s.clone(), [INFO] [stdout] | ^^^^^^^ expected `PanicMessage<'_>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PanicMessage<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | let message = match panic_info.message() { [INFO] [stdout] | -------------------- this expression has type `PanicMessage<'_>` [INFO] [stdout] 43 | Some(s) => s.clone(), [INFO] [stdout] 44 | None => format_args!("no message"), [INFO] [stdout] | ^^^^ expected `PanicMessage<'_>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PanicMessage<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0433, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `efw` (lib) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "5e6ccfd7f083000e54cd6b86c01fe80865210ddd81b0588cb800bce850536cd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e6ccfd7f083000e54cd6b86c01fe80865210ddd81b0588cb800bce850536cd7", kill_on_drop: false }` [INFO] [stdout] 5e6ccfd7f083000e54cd6b86c01fe80865210ddd81b0588cb800bce850536cd7