[INFO] fetching crate efw 0.1.0... [INFO] testing efw-0.1.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate efw 0.1.0 into /workspace/builds/worker-17/source [INFO] validating manifest of crates.io crate efw 0.1.0 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] removed /workspace/builds/worker-17/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-17/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded late-static v0.3.0 [INFO] [stderr] Downloaded ucs2 v0.1.0 [INFO] [stderr] Downloaded r-efi v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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] 505f6eccb1214fa30527d009b16b9ad2f7e4ca25dcb1b34c4a99abf3c9728aac [INFO] running `Command { std: "docker" "start" "-a" "505f6eccb1214fa30527d009b16b9ad2f7e4ca25dcb1b34c4a99abf3c9728aac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "505f6eccb1214fa30527d009b16b9ad2f7e4ca25dcb1b34c4a99abf3c9728aac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "505f6eccb1214fa30527d009b16b9ad2f7e4ca25dcb1b34c4a99abf3c9728aac", kill_on_drop: false }` [INFO] [stdout] 505f6eccb1214fa30527d009b16b9ad2f7e4ca25dcb1b34c4a99abf3c9728aac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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] d26c8ffb970b04ff89759c2af7d2fbd9be2996c3ccf9622c84ff0e4dd02db493 [INFO] running `Command { std: "docker" "start" "-a" "d26c8ffb970b04ff89759c2af7d2fbd9be2996c3ccf9622c84ff0e4dd02db493", kill_on_drop: false }` [INFO] [stderr] Compiling late-static v0.3.0 [INFO] [stderr] Compiling ucs2 v0.1.0 [INFO] [stderr] Compiling r-efi v2.2.0 [INFO] [stderr] Compiling 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: 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] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::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 items [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::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 items [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::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] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::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 items [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::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 items [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::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 items [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::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 items [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 27 | fn efw_main(); [INFO] [stdout] | -------------- foreign function [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `efw` due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d26c8ffb970b04ff89759c2af7d2fbd9be2996c3ccf9622c84ff0e4dd02db493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d26c8ffb970b04ff89759c2af7d2fbd9be2996c3ccf9622c84ff0e4dd02db493", kill_on_drop: false }` [INFO] [stdout] d26c8ffb970b04ff89759c2af7d2fbd9be2996c3ccf9622c84ff0e4dd02db493