[INFO] updating cached repository https://github.com/Luna1996/rust_os [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ef2f1e31fef6b6a07450ad9bdda9016207d281ec [INFO] checking Luna1996/rust_os against master#212aa3ea28d91a97d1e1261709c0b6e6790788e6 for pr-69340 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuna1996%2Frust_os" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Luna1996/rust_os on toolchain 212aa3ea28d91a97d1e1261709c0b6e6790788e6 [INFO] running `"/workspace/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Luna1996/rust_os [INFO] removed workspace from git repo https://github.com/Luna1996/rust_os [INFO] removed path dependency uefi from git repo https://github.com/Luna1996/rust_os [INFO] finished tweaking git repo https://github.com/Luna1996/rust_os [INFO] tweaked toml for git repo https://github.com/Luna1996/rust_os written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Luna1996/rust_os already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (uefi) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (uefi) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5645c68d1b51e70ba5fa02a4c9c5862a493db07148e58b4865a095ebdef7d6fa [INFO] running `"docker" "start" "-a" "5645c68d1b51e70ba5fa02a4c9c5862a493db07148e58b4865a095ebdef7d6fa"` [INFO] [stderr] warning: dependency (uefi) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking bit_field v0.10.0 [INFO] [stderr] Compiling uefi-macros v0.3.1 [INFO] [stderr] Checking ucs2 v0.3.1 [INFO] [stderr] Checking uefi v0.4.3 [INFO] [stderr] Checking rust_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `alloc` in `uefi` [INFO] [stderr] --> src/main.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | use uefi::alloc::vec::*; [INFO] [stderr] | ^^^^^ could not find `alloc` in `uefi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `uefi::alloc` [INFO] [stderr] --> src/main.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | use uefi::alloc::*; [INFO] [stderr] | ^^^^^ could not find `alloc` in `uefi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `protocols` in `uefi` [INFO] [stderr] --> src/main.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | use uefi::protocols::console_support::*; [INFO] [stderr] | ^^^^^^^^^ could not find `protocols` in `uefi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `uefi::efi_system_table` [INFO] [stderr] --> src/main.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | use uefi::efi_system_table::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ could not find `efi_system_table` in `uefi` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `format` in this scope [INFO] [stderr] --> src/main.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | s16(format!("Hello {} World!", "fuck").as_str()).as_ref(), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `vec` in this scope [INFO] [stderr] --> src/main.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | let mut s_: Vec = vec![0; s.len() + 1]; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/main.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | fn s16(s: &str) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/main.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | let mut s_: Vec = vec![0; s.len() + 1]; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EFI_HANDLE` in this scope [INFO] [stderr] --> src/main.rs:26:18 [INFO] [stderr] | [INFO] [stderr] 26 | fn efi_main(img: EFI_HANDLE, st: &'static EFI_SYSTEM_TABLE) -> EFI_STATUS { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EFI_SYSTEM_TABLE` in this scope [INFO] [stderr] --> src/main.rs:26:43 [INFO] [stderr] | [INFO] [stderr] 26 | fn efi_main(img: EFI_HANDLE, st: &'static EFI_SYSTEM_TABLE) -> EFI_STATUS { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EFI_STATUS` in this scope [INFO] [stderr] --> src/main.rs:26:64 [INFO] [stderr] | [INFO] [stderr] 26 | fn efi_main(img: EFI_HANDLE, st: &'static EFI_SYSTEM_TABLE) -> EFI_STATUS { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL` in this scope [INFO] [stderr] --> src/main.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | let stdout: &EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL = st.ConOut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EFI_BOOT_SERVICES` in this scope [INFO] [stderr] --> src/main.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | let bs: &EFI_BOOT_SERVICES = st.BootServices; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `init` in this scope [INFO] [stderr] --> src/main.rs:29:3 [INFO] [stderr] | [INFO] [stderr] 29 | init(img, st); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 4 | use core::intrinsics::init; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `uefi::*` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use uefi::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: language item required, but not found: `eh_personality` [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `rust_os`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: could not find `alloc` in `uefi` [INFO] [stderr] --> src/main.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | use uefi::alloc::vec::*; [INFO] [stderr] | ^^^^^ could not find `alloc` in `uefi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `uefi::alloc` [INFO] [stderr] --> src/main.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | use uefi::alloc::*; [INFO] [stderr] | ^^^^^ could not find `alloc` in `uefi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `protocols` in `uefi` [INFO] [stderr] --> src/main.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | use uefi::protocols::console_support::*; [INFO] [stderr] | ^^^^^^^^^ could not find `protocols` in `uefi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `uefi::efi_system_table` [INFO] [stderr] --> src/main.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | use uefi::efi_system_table::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ could not find `efi_system_table` in `uefi` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `format` in this scope [INFO] [stderr] --> src/main.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | s16(format!("Hello {} World!", "fuck").as_str()).as_ref(), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `vec` in this scope [INFO] [stderr] --> src/main.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | let mut s_: Vec = vec![0; s.len() + 1]; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/main.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | fn s16(s: &str) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/main.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | let mut s_: Vec = vec![0; s.len() + 1]; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EFI_HANDLE` in this scope [INFO] [stderr] --> src/main.rs:26:18 [INFO] [stderr] | [INFO] [stderr] 26 | fn efi_main(img: EFI_HANDLE, st: &'static EFI_SYSTEM_TABLE) -> EFI_STATUS { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EFI_SYSTEM_TABLE` in this scope [INFO] [stderr] --> src/main.rs:26:43 [INFO] [stderr] | [INFO] [stderr] 26 | fn efi_main(img: EFI_HANDLE, st: &'static EFI_SYSTEM_TABLE) -> EFI_STATUS { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EFI_STATUS` in this scope [INFO] [stderr] --> src/main.rs:26:64 [INFO] [stderr] | [INFO] [stderr] 26 | fn efi_main(img: EFI_HANDLE, st: &'static EFI_SYSTEM_TABLE) -> EFI_STATUS { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL` in this scope [INFO] [stderr] --> src/main.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | let stdout: &EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL = st.ConOut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EFI_BOOT_SERVICES` in this scope [INFO] [stderr] --> src/main.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | let bs: &EFI_BOOT_SERVICES = st.BootServices; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `init` in this scope [INFO] [stderr] --> src/main.rs:29:3 [INFO] [stderr] | [INFO] [stderr] 29 | init(img, st); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 4 | use core::intrinsics::init; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `uefi::*` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use uefi::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stderr] --> src/main.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / fn panic(_info: &PanicInfo) -> ! { [INFO] [stderr] 14 | | loop {} [INFO] [stderr] 15 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0152, E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0152`. [INFO] [stderr] error: could not compile `rust_os`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "5645c68d1b51e70ba5fa02a4c9c5862a493db07148e58b4865a095ebdef7d6fa"` [INFO] running `"docker" "rm" "-f" "5645c68d1b51e70ba5fa02a4c9c5862a493db07148e58b4865a095ebdef7d6fa"` [INFO] [stdout] 5645c68d1b51e70ba5fa02a4c9c5862a493db07148e58b4865a095ebdef7d6fa