[INFO] cloning repository https://github.com/GOSCPS/Starting [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GOSCPS/Starting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGOSCPS%2FStarting", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGOSCPS%2FStarting'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f16b75ed8ad76526986e73d0519fa226cc4c60a [INFO] checking GOSCPS/Starting against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGOSCPS%2FStarting" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GOSCPS/Starting on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GOSCPS/Starting [INFO] finished tweaking git repo https://github.com/GOSCPS/Starting [INFO] tweaked toml for git repo https://github.com/GOSCPS/Starting written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/GOSCPS/Starting already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/rust-osdev/uefi-rs` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v0.8.2 [INFO] [stderr] Downloaded quote v1.0.9 [INFO] [stderr] Downloaded uefi-macros v0.3.3 [INFO] [stderr] Downloaded block_device v0.1.2 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded ucs2 v0.3.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.27 [INFO] [stderr] Downloaded fat32 v0.2.0 [INFO] [stderr] Downloaded itoa v0.4.7 [INFO] [stderr] Downloaded serde_derive v1.0.126 [INFO] [stderr] Downloaded memchr v2.4.0 [INFO] [stderr] Downloaded serde v1.0.126 [INFO] [stderr] Downloaded object v0.25.3 [INFO] [stderr] Downloaded serde_json v1.0.64 [INFO] [stderr] Downloaded syn v1.0.73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4618708830bc8cc790c0d5186b3d81d5d2132690c518f8f21f5b045d6c403e6 [INFO] running `Command { std: "docker" "start" "-a" "a4618708830bc8cc790c0d5186b3d81d5d2132690c518f8f21f5b045d6c403e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4618708830bc8cc790c0d5186b3d81d5d2132690c518f8f21f5b045d6c403e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4618708830bc8cc790c0d5186b3d81d5d2132690c518f8f21f5b045d6c403e6", kill_on_drop: false }` [INFO] [stdout] a4618708830bc8cc790c0d5186b3d81d5d2132690c518f8f21f5b045d6c403e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b398b7271a6824df3d637f94b89e3a6b924a7139b89dc30e0df6764cc472fdca [INFO] running `Command { std: "docker" "start" "-a" "b398b7271a6824df3d637f94b89e3a6b924a7139b89dc30e0df6764cc472fdca", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking block_device v0.1.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking fat32 v0.2.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking ucs2 v0.3.2 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling uefi-macros v0.3.3 [INFO] [stderr] Checking uefi v0.11.0 (https://github.com/rust-osdev/uefi-rs?branch=master#48e958d8) [INFO] [stderr] Checking starting v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / fn panic(panic_info: &PanicInfo) -> ! { [INFO] [stdout] 15 | | // 获取系统表 [INFO] [stdout] 16 | | unsafe { [INFO] [stdout] 17 | | let sys = IMAGE_SYSTEM_TABLE.as_mut().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eb900a948ffb2e3b.rlib [INFO] [stdout] = note: second definition in the local crate (`starting`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] warning: the feature `abi_efiapi` has been stable since 1.68.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(abi_efiapi)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `starting` (bin "starting" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/engine/fs/disk.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct GptHeaderInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 40 | // 签名 [INFO] [stdout] 41 | signed: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | // 校验 [INFO] [stdout] 47 | crc32: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | // 保留 为0 [INFO] [stdout] 49 | keep: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | // 当前LBA [INFO] [stdout] 51 | my_lba: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 52 | // 备份Lba [INFO] [stdout] 53 | backup_lba: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 54 | // 第一个可用于分区的lba [INFO] [stdout] 55 | partition_begin_lba: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | // 最后一个可用于分区的lba [INFO] [stdout] 57 | partition_end_lba: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | partition_item_crc32: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GptHeaderInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attributes` and `utf16_name` are never read [INFO] [stdout] --> src/engine/fs/disk.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 73 | struct PartitionItem { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 82 | attributes: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 83 | // 分区名称 [INFO] [stdout] 84 | utf16_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PartitionItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `begin_lba` and `end_lba` are never read [INFO] [stdout] --> src/engine/fs/fat32.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Fat32{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | /// 文件系统启示lba [INFO] [stdout] 14 | pub begin_lba : u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | /// 文件系统结束lba [INFO] [stdout] 16 | pub end_lba : u64 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fat32` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/main.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | let memory_map = &mut *(&*engine::get_memory_map() as *const [u8] as *mut [u8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Iterator` in tuple element 1 that must be used [INFO] [stdout] --> src/main.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | / IMAGE_SYSTEM_TABLE.take().unwrap() [INFO] [stdout] 126 | | .exit_boot_services( [INFO] [stdout] 127 | | IMAGE_HANDLE.unwrap(), [INFO] [stdout] 128 | | memory_map) [INFO] [stdout] 129 | | .unwrap() [INFO] [stdout] 130 | | .unwrap(); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Iterator` in tuple element 1 that must be used [INFO] [stdout] --> src/engine/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / IMAGE_SYSTEM_TABLE.as_ref().unwrap().boot_services() [INFO] [stdout] 79 | | .memory_map(&mut buffer) [INFO] [stdout] 80 | | .unwrap() [INFO] [stdout] 81 | | .unwrap(); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `starting` (bin "starting") due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b398b7271a6824df3d637f94b89e3a6b924a7139b89dc30e0df6764cc472fdca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b398b7271a6824df3d637f94b89e3a6b924a7139b89dc30e0df6764cc472fdca", kill_on_drop: false }` [INFO] [stdout] b398b7271a6824df3d637f94b89e3a6b924a7139b89dc30e0df6764cc472fdca