[INFO] fetching crate effie 0.0.1... [INFO] testing effie-0.0.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate effie 0.0.1 into /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate effie 0.0.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f6bb1254cb954e566d5b8e2c194e3b4815daa809cb204bc1e98cbc3a23ff5f0 [INFO] running `Command { std: "docker" "start" "-a" "3f6bb1254cb954e566d5b8e2c194e3b4815daa809cb204bc1e98cbc3a23ff5f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f6bb1254cb954e566d5b8e2c194e3b4815daa809cb204bc1e98cbc3a23ff5f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f6bb1254cb954e566d5b8e2c194e3b4815daa809cb204bc1e98cbc3a23ff5f0", kill_on_drop: false }` [INFO] [stdout] 3f6bb1254cb954e566d5b8e2c194e3b4815daa809cb204bc1e98cbc3a23ff5f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5037947f4befd4b25aa35c0ff89a82eecadde3ff3c3f59c2df52cf931b0ffae3 [INFO] running `Command { std: "docker" "start" "-a" "5037947f4befd4b25aa35c0ff89a82eecadde3ff3c3f59c2df52cf931b0ffae3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling uguid v2.2.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling quote v1.0.42 [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)]` (part of `#[warn(unused)]`) 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: the feature `extended_varargs_abi_support` has been stable since 1.91.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(extended_varargs_abi_support)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 3.33s [INFO] running `Command { std: "docker" "inspect" "5037947f4befd4b25aa35c0ff89a82eecadde3ff3c3f59c2df52cf931b0ffae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5037947f4befd4b25aa35c0ff89a82eecadde3ff3c3f59c2df52cf931b0ffae3", kill_on_drop: false }` [INFO] [stdout] 5037947f4befd4b25aa35c0ff89a82eecadde3ff3c3f59c2df52cf931b0ffae3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 652036ebb876c23fd16134234c9ec6163e91e888dde8abea9e7e42ee8896371e [INFO] running `Command { std: "docker" "start" "-a" "652036ebb876c23fd16134234c9ec6163e91e888dde8abea9e7e42ee8896371e", 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)]` (part of `#[warn(unused)]`) 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: the feature `extended_varargs_abi_support` has been stable since 1.91.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(extended_varargs_abi_support)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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: the feature `extended_varargs_abi_support` has been stable since 1.91.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(extended_varargs_abi_support)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "652036ebb876c23fd16134234c9ec6163e91e888dde8abea9e7e42ee8896371e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "652036ebb876c23fd16134234c9ec6163e91e888dde8abea9e7e42ee8896371e", kill_on_drop: false }` [INFO] [stdout] 652036ebb876c23fd16134234c9ec6163e91e888dde8abea9e7e42ee8896371e