[INFO] fetching crate effie 0.0.1... [INFO] testing effie-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate effie 0.0.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate effie 0.0.1 [INFO] finished tweaking crates.io crate effie 0.0.1 [INFO] tweaked toml for crates.io crate effie 0.0.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate effie 0.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uguid v2.2.1 [INFO] [stderr] Downloaded effie-macros v0.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bc6a071a51eacd6ba17f3abcd6f5ccc1d86c217493c7d476686d56669233410 [INFO] running `Command { std: "docker" "start" "-a" "0bc6a071a51eacd6ba17f3abcd6f5ccc1d86c217493c7d476686d56669233410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bc6a071a51eacd6ba17f3abcd6f5ccc1d86c217493c7d476686d56669233410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bc6a071a51eacd6ba17f3abcd6f5ccc1d86c217493c7d476686d56669233410", kill_on_drop: false }` [INFO] [stdout] 0bc6a071a51eacd6ba17f3abcd6f5ccc1d86c217493c7d476686d56669233410 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 23d4c397916bfaa6e089f1ffb8ca1e01bf538d430beb4dec42071df8753b1d82 [INFO] running `Command { std: "docker" "start" "-a" "23d4c397916bfaa6e089f1ffb8ca1e01bf538d430beb4dec42071df8753b1d82", kill_on_drop: false }` [INFO] [stderr] Compiling uguid v2.2.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling effie-macros v0.0.1 [INFO] [stderr] Compiling effie v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `alloc::Layout` and `size_of` [INFO] [stdout] --> src/protocols/file.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | alloc::Layout, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | ffi::c_void, [INFO] [stdout] 4 | mem::{size_of, MaybeUninit}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alloc`, `boxed::Box`, `dealloc`, and `vec::Vec` [INFO] [stdout] --> src/protocols/file.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | alloc::{alloc, dealloc}, [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] 10 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `null` [INFO] [stdout] --> src/tables/boot_services.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | ptr::{null, null_mut}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/file.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut len = buf.len(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/wstr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct WStr { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 2 | inner: [u16], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `ALLOCATE_MAX_ADDRESS` and `MAX_ALLOCATE_TYPE` are never used [INFO] [stdout] --> src/tables/boot_services.rs:233:11 [INFO] [stdout] | [INFO] [stdout] 231 | impl AllocateType { [INFO] [stdout] | ----------------- associated constants in this implementation [INFO] [stdout] 232 | const ALLOCATE_ANY_PAGES: Self = Self(0); [INFO] [stdout] 233 | const ALLOCATE_MAX_ADDRESS: Self = Self(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 234 | const ALLOCATE_ADDRESS: Self = Self(2); [INFO] [stdout] 235 | const MAX_ALLOCATE_TYPE: Self = Self(3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tables/boot_services.rs:247:27 [INFO] [stdout] | [INFO] [stdout] 247 | pub struct VirtualAddress(u64); [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty`, `physical_start`, `virtual_start`, `number_of_pages`, and `attribute` are never read [INFO] [stdout] --> src/tables/boot_services.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct MemoryDescriptor { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 250 | ty: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 251 | physical_start: PhysicalAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 252 | virtual_start: VirtualAddress, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 253 | number_of_pages: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 254 | attribute: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `GET_PROTOCOL`, `TEST_PROTOCOL`, `BY_CHILD_CONTROLLER`, `BY_DRIVER`, `BY_DRIVER_EXCLUSIVE`, and `EXCLUSIVE` are never used [INFO] [stdout] --> src/tables/boot_services.rs:273:11 [INFO] [stdout] | [INFO] [stdout] 271 | impl OpenProtocolAttributes { [INFO] [stdout] | --------------------------- associated constants in this implementation [INFO] [stdout] 272 | const BY_HANDLE_PROTOCOL: Self = Self(0x00000001); [INFO] [stdout] 273 | const GET_PROTOCOL: Self = Self(0x00000002); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 274 | const TEST_PROTOCOL: Self = Self(0x00000004); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 275 | const BY_CHILD_CONTROLLER: Self = Self(0x00000008); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 276 | const BY_DRIVER: Self = Self(0x00000010); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 277 | const BY_DRIVER_EXCLUSIVE: Self = Self(Self::BY_DRIVER.0 | Self::EXCLUSIVE.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 278 | const EXCLUSIVE: Self = Self(0x00000020); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { SYSTEM_TABLE.write(system_table) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe { IMAGE_HANDLE.write(image_handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.39s [INFO] running `Command { std: "docker" "inspect" "23d4c397916bfaa6e089f1ffb8ca1e01bf538d430beb4dec42071df8753b1d82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23d4c397916bfaa6e089f1ffb8ca1e01bf538d430beb4dec42071df8753b1d82", kill_on_drop: false }` [INFO] [stdout] 23d4c397916bfaa6e089f1ffb8ca1e01bf538d430beb4dec42071df8753b1d82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 97e287f37fddd0e1e677b000d23b5c9f36f47d76557b0bd665c068c50f83be4a [INFO] running `Command { std: "docker" "start" "-a" "97e287f37fddd0e1e677b000d23b5c9f36f47d76557b0bd665c068c50f83be4a", kill_on_drop: false }` [INFO] [stderr] Compiling effie v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `alloc::Layout` and `size_of` [INFO] [stdout] --> src/protocols/file.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | alloc::Layout, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | ffi::c_void, [INFO] [stdout] 4 | mem::{size_of, MaybeUninit}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alloc`, `boxed::Box`, `dealloc`, and `vec::Vec` [INFO] [stdout] --> src/protocols/file.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | alloc::{alloc, dealloc}, [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] 10 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `null` [INFO] [stdout] --> src/tables/boot_services.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | ptr::{null, null_mut}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/file.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut len = buf.len(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/wstr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct WStr { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 2 | inner: [u16], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `ALLOCATE_MAX_ADDRESS` and `MAX_ALLOCATE_TYPE` are never used [INFO] [stdout] --> src/tables/boot_services.rs:233:11 [INFO] [stdout] | [INFO] [stdout] 231 | impl AllocateType { [INFO] [stdout] | ----------------- associated constants in this implementation [INFO] [stdout] 232 | const ALLOCATE_ANY_PAGES: Self = Self(0); [INFO] [stdout] 233 | const ALLOCATE_MAX_ADDRESS: Self = Self(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 234 | const ALLOCATE_ADDRESS: Self = Self(2); [INFO] [stdout] 235 | const MAX_ALLOCATE_TYPE: Self = Self(3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tables/boot_services.rs:247:27 [INFO] [stdout] | [INFO] [stdout] 247 | pub struct VirtualAddress(u64); [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty`, `physical_start`, `virtual_start`, `number_of_pages`, and `attribute` are never read [INFO] [stdout] --> src/tables/boot_services.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct MemoryDescriptor { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 250 | ty: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 251 | physical_start: PhysicalAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 252 | virtual_start: VirtualAddress, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 253 | number_of_pages: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 254 | attribute: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `GET_PROTOCOL`, `TEST_PROTOCOL`, `BY_CHILD_CONTROLLER`, `BY_DRIVER`, `BY_DRIVER_EXCLUSIVE`, and `EXCLUSIVE` are never used [INFO] [stdout] --> src/tables/boot_services.rs:273:11 [INFO] [stdout] | [INFO] [stdout] 271 | impl OpenProtocolAttributes { [INFO] [stdout] | --------------------------- associated constants in this implementation [INFO] [stdout] 272 | const BY_HANDLE_PROTOCOL: Self = Self(0x00000001); [INFO] [stdout] 273 | const GET_PROTOCOL: Self = Self(0x00000002); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 274 | const TEST_PROTOCOL: Self = Self(0x00000004); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 275 | const BY_CHILD_CONTROLLER: Self = Self(0x00000008); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 276 | const BY_DRIVER: Self = Self(0x00000010); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 277 | const BY_DRIVER_EXCLUSIVE: Self = Self(Self::BY_DRIVER.0 | Self::EXCLUSIVE.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 278 | const EXCLUSIVE: Self = Self(0x00000020); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { SYSTEM_TABLE.write(system_table) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe { IMAGE_HANDLE.write(image_handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alloc::Layout` and `size_of` [INFO] [stdout] --> src/protocols/file.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | alloc::Layout, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | ffi::c_void, [INFO] [stdout] 4 | mem::{size_of, MaybeUninit}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alloc`, `boxed::Box`, `dealloc`, and `vec::Vec` [INFO] [stdout] --> src/protocols/file.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | alloc::{alloc, dealloc}, [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] 10 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `null` [INFO] [stdout] --> src/tables/boot_services.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | ptr::{null, null_mut}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/file.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut len = buf.len(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/wstr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct WStr { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 2 | inner: [u16], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `ALLOCATE_MAX_ADDRESS` and `MAX_ALLOCATE_TYPE` are never used [INFO] [stdout] --> src/tables/boot_services.rs:233:11 [INFO] [stdout] | [INFO] [stdout] 231 | impl AllocateType { [INFO] [stdout] | ----------------- associated constants in this implementation [INFO] [stdout] 232 | const ALLOCATE_ANY_PAGES: Self = Self(0); [INFO] [stdout] 233 | const ALLOCATE_MAX_ADDRESS: Self = Self(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 234 | const ALLOCATE_ADDRESS: Self = Self(2); [INFO] [stdout] 235 | const MAX_ALLOCATE_TYPE: Self = Self(3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tables/boot_services.rs:247:27 [INFO] [stdout] | [INFO] [stdout] 247 | pub struct VirtualAddress(u64); [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty`, `physical_start`, `virtual_start`, `number_of_pages`, and `attribute` are never read [INFO] [stdout] --> src/tables/boot_services.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct MemoryDescriptor { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 250 | ty: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 251 | physical_start: PhysicalAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 252 | virtual_start: VirtualAddress, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 253 | number_of_pages: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 254 | attribute: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `GET_PROTOCOL`, `TEST_PROTOCOL`, `BY_CHILD_CONTROLLER`, `BY_DRIVER`, `BY_DRIVER_EXCLUSIVE`, and `EXCLUSIVE` are never used [INFO] [stdout] --> src/tables/boot_services.rs:273:11 [INFO] [stdout] | [INFO] [stdout] 271 | impl OpenProtocolAttributes { [INFO] [stdout] | --------------------------- associated constants in this implementation [INFO] [stdout] 272 | const BY_HANDLE_PROTOCOL: Self = Self(0x00000001); [INFO] [stdout] 273 | const GET_PROTOCOL: Self = Self(0x00000002); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 274 | const TEST_PROTOCOL: Self = Self(0x00000004); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 275 | const BY_CHILD_CONTROLLER: Self = Self(0x00000008); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 276 | const BY_DRIVER: Self = Self(0x00000010); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 277 | const BY_DRIVER_EXCLUSIVE: Self = Self(Self::BY_DRIVER.0 | Self::EXCLUSIVE.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 278 | const EXCLUSIVE: Self = Self(0x00000020); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { SYSTEM_TABLE.write(system_table) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe { IMAGE_HANDLE.write(image_handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: entry symbol `main` declared multiple times [INFO] [stdout] | [INFO] [stdout] = help: did you use `#[no_mangle]` on `fn main`? Use `#![no_main]` to suppress the usual Rust-generated entry point [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `effie` (lib test) due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "97e287f37fddd0e1e677b000d23b5c9f36f47d76557b0bd665c068c50f83be4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97e287f37fddd0e1e677b000d23b5c9f36f47d76557b0bd665c068c50f83be4a", kill_on_drop: false }` [INFO] [stdout] 97e287f37fddd0e1e677b000d23b5c9f36f47d76557b0bd665c068c50f83be4a