[INFO] fetching crate multiboot 0.7.0... [INFO] testing multiboot-0.7.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate multiboot 0.7.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate multiboot 0.7.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] started tweaking crates.io crate multiboot 0.7.0 [INFO] finished tweaking crates.io crate multiboot 0.7.0 [INFO] tweaked toml for crates.io crate multiboot 0.7.0 written to /workspace/builds/worker-10/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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] 3865952e8107c63414a17550ab1f0fab1476e1110dd68120548343da70f27457 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3865952e8107c63414a17550ab1f0fab1476e1110dd68120548343da70f27457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3865952e8107c63414a17550ab1f0fab1476e1110dd68120548343da70f27457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3865952e8107c63414a17550ab1f0fab1476e1110dd68120548343da70f27457", kill_on_drop: false }` [INFO] [stdout] 3865952e8107c63414a17550ab1f0fab1476e1110dd68120548343da70f27457 [INFO] running `Command { std: "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" "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] 55f1756810b5ca64c365d0bd2d6105e5b165c416500db5596f5e4ef049309791 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "55f1756810b5ca64c365d0bd2d6105e5b165c416500db5596f5e4ef049309791", kill_on_drop: false }` [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling multiboot v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/information.rs:676:17 [INFO] [stdout] | [INFO] [stdout] 676 | self.size, self.base_addr, self.length, self.mtype [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` 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: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/information.rs:676:28 [INFO] [stdout] | [INFO] [stdout] 676 | self.size, self.base_addr, self.length, self.mtype [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [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: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/information.rs:676:44 [INFO] [stdout] | [INFO] [stdout] 676 | self.size, self.base_addr, self.length, self.mtype [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [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: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/information.rs:676:57 [INFO] [stdout] | [INFO] [stdout] 676 | self.size, self.base_addr, self.length, self.mtype [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [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: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/information.rs:672:9 [INFO] [stdout] | [INFO] [stdout] 672 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_boot_device` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/information.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | / flag!( [INFO] [stdout] 248 | | doc = "If true, then the `boot_device` field is valid.", [INFO] [stdout] 249 | | has_boot_device, [INFO] [stdout] 250 | | 1 [INFO] [stdout] 251 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_drives` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/information.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | / flag!( [INFO] [stdout] 278 | | doc = "If true, then the `drives_addr` and `drives_length` fields are valid.", [INFO] [stdout] 279 | | has_drives, [INFO] [stdout] 280 | | 7 [INFO] [stdout] 281 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_config_table` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/information.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | / flag!( [INFO] [stdout] 283 | | doc = "If true, then the `config_table` field is valid.", [INFO] [stdout] 284 | | has_config_table, [INFO] [stdout] 285 | | 8 [INFO] [stdout] 286 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_apm_table` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/information.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / flag!( [INFO] [stdout] 293 | | doc = "If true, then the `apm_table` field is valid.", [INFO] [stdout] 294 | | has_apm_table, [INFO] [stdout] 295 | | 10 [INFO] [stdout] 296 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_vbe` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/information.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | / flag!( [INFO] [stdout] 298 | | doc = "If true, then the `vbe_*` fields are valid.", [INFO] [stdout] 299 | | has_vbe, [INFO] [stdout] 300 | | 11 [INFO] [stdout] 301 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_wants_modules_page_aligned` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | / flag!( [INFO] [stdout] 85 | | doc = "If true, then the modules have to be page aligned.", [INFO] [stdout] 86 | | wants_modules_page_aligned, [INFO] [stdout] 87 | | 0 [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_wants_memory_information` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / flag!( [INFO] [stdout] 90 | | doc = "If true, memory information must be passed.", [INFO] [stdout] 91 | | wants_memory_information, [INFO] [stdout] 92 | | 1 [INFO] [stdout] 93 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_video_mode` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / flag!( [INFO] [stdout] 95 | | doc = "If true, then the `mode_type`, `width`, `height` and `depth` fields are valid and [INFO] [stdout] 96 | | video information has to be passed.", [INFO] [stdout] 97 | | has_video_mode, [INFO] [stdout] 98 | | 2 [INFO] [stdout] 99 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_multiboot_addresses` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | / flag!( [INFO] [stdout] 101 | | doc = "If true, then the `header_addr`, `load_addr`, `load_end_addr`, `bss_end_addr` [INFO] [stdout] 102 | | and `entry_addr` fields are valid and must be used to load the kernel.", [INFO] [stdout] 103 | | has_multiboot_addresses, [INFO] [stdout] 104 | | 16 [INFO] [stdout] 105 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.01s [INFO] running `Command { std: "docker" "inspect" "55f1756810b5ca64c365d0bd2d6105e5b165c416500db5596f5e4ef049309791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55f1756810b5ca64c365d0bd2d6105e5b165c416500db5596f5e4ef049309791", kill_on_drop: false }` [INFO] [stdout] 55f1756810b5ca64c365d0bd2d6105e5b165c416500db5596f5e4ef049309791 [INFO] running `Command { std: "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" "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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddbcb5fabf96cac5e0db25071156231afc37824968a1e2cbbdd2b125aaa90bc6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ddbcb5fabf96cac5e0db25071156231afc37824968a1e2cbbdd2b125aaa90bc6", kill_on_drop: false }` [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/information.rs:676:17 [INFO] [stdout] | [INFO] [stdout] 676 | self.size, self.base_addr, self.length, self.mtype [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` 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: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/information.rs:676:28 [INFO] [stdout] | [INFO] [stdout] 676 | self.size, self.base_addr, self.length, self.mtype [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [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: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/information.rs:676:44 [INFO] [stdout] | [INFO] [stdout] 676 | self.size, self.base_addr, self.length, self.mtype [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [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: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/information.rs:676:57 [INFO] [stdout] | [INFO] [stdout] 676 | self.size, self.base_addr, self.length, self.mtype [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [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: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/information.rs:672:9 [INFO] [stdout] | [INFO] [stdout] 672 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_boot_device` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/information.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | / flag!( [INFO] [stdout] 248 | | doc = "If true, then the `boot_device` field is valid.", [INFO] [stdout] 249 | | has_boot_device, [INFO] [stdout] 250 | | 1 [INFO] [stdout] 251 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_drives` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/information.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | / flag!( [INFO] [stdout] 278 | | doc = "If true, then the `drives_addr` and `drives_length` fields are valid.", [INFO] [stdout] 279 | | has_drives, [INFO] [stdout] 280 | | 7 [INFO] [stdout] 281 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_config_table` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/information.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | / flag!( [INFO] [stdout] 283 | | doc = "If true, then the `config_table` field is valid.", [INFO] [stdout] 284 | | has_config_table, [INFO] [stdout] 285 | | 8 [INFO] [stdout] 286 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_apm_table` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/information.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / flag!( [INFO] [stdout] 293 | | doc = "If true, then the `apm_table` field is valid.", [INFO] [stdout] 294 | | has_apm_table, [INFO] [stdout] 295 | | 10 [INFO] [stdout] 296 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_vbe` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/information.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | / flag!( [INFO] [stdout] 298 | | doc = "If true, then the `vbe_*` fields are valid.", [INFO] [stdout] 299 | | has_vbe, [INFO] [stdout] 300 | | 11 [INFO] [stdout] 301 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_wants_modules_page_aligned` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | / flag!( [INFO] [stdout] 85 | | doc = "If true, then the modules have to be page aligned.", [INFO] [stdout] 86 | | wants_modules_page_aligned, [INFO] [stdout] 87 | | 0 [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling multiboot v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `set_wants_memory_information` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / flag!( [INFO] [stdout] 90 | | doc = "If true, memory information must be passed.", [INFO] [stdout] 91 | | wants_memory_information, [INFO] [stdout] 92 | | 1 [INFO] [stdout] 93 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_video_mode` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / flag!( [INFO] [stdout] 95 | | doc = "If true, then the `mode_type`, `width`, `height` and `depth` fields are valid and [INFO] [stdout] 96 | | video information has to be passed.", [INFO] [stdout] 97 | | has_video_mode, [INFO] [stdout] 98 | | 2 [INFO] [stdout] 99 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_multiboot_addresses` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | / flag!( [INFO] [stdout] 101 | | doc = "If true, then the `header_addr`, `load_addr`, `load_end_addr`, `bss_end_addr` [INFO] [stdout] 102 | | and `entry_addr` fields are valid and must be used to load the kernel.", [INFO] [stdout] 103 | | has_multiboot_addresses, [INFO] [stdout] 104 | | 16 [INFO] [stdout] 105 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/information.rs:676:17 [INFO] [stdout] | [INFO] [stdout] 676 | self.size, self.base_addr, self.length, self.mtype [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` 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: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/information.rs:676:28 [INFO] [stdout] | [INFO] [stdout] 676 | self.size, self.base_addr, self.length, self.mtype [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [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: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/information.rs:676:44 [INFO] [stdout] | [INFO] [stdout] 676 | self.size, self.base_addr, self.length, self.mtype [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [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: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/information.rs:676:57 [INFO] [stdout] | [INFO] [stdout] 676 | self.size, self.base_addr, self.length, self.mtype [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [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: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/information.rs:672:9 [INFO] [stdout] | [INFO] [stdout] 672 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_boot_device` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/information.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | / flag!( [INFO] [stdout] 248 | | doc = "If true, then the `boot_device` field is valid.", [INFO] [stdout] 249 | | has_boot_device, [INFO] [stdout] 250 | | 1 [INFO] [stdout] 251 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_drives` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/information.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | / flag!( [INFO] [stdout] 278 | | doc = "If true, then the `drives_addr` and `drives_length` fields are valid.", [INFO] [stdout] 279 | | has_drives, [INFO] [stdout] 280 | | 7 [INFO] [stdout] 281 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_config_table` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/information.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | / flag!( [INFO] [stdout] 283 | | doc = "If true, then the `config_table` field is valid.", [INFO] [stdout] 284 | | has_config_table, [INFO] [stdout] 285 | | 8 [INFO] [stdout] 286 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_apm_table` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/information.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / flag!( [INFO] [stdout] 293 | | doc = "If true, then the `apm_table` field is valid.", [INFO] [stdout] 294 | | has_apm_table, [INFO] [stdout] 295 | | 10 [INFO] [stdout] 296 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_vbe` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/information.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | / flag!( [INFO] [stdout] 298 | | doc = "If true, then the `vbe_*` fields are valid.", [INFO] [stdout] 299 | | has_vbe, [INFO] [stdout] 300 | | 11 [INFO] [stdout] 301 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_wants_modules_page_aligned` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | / flag!( [INFO] [stdout] 85 | | doc = "If true, then the modules have to be page aligned.", [INFO] [stdout] 86 | | wants_modules_page_aligned, [INFO] [stdout] 87 | | 0 [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_wants_memory_information` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / flag!( [INFO] [stdout] 90 | | doc = "If true, memory information must be passed.", [INFO] [stdout] 91 | | wants_memory_information, [INFO] [stdout] 92 | | 1 [INFO] [stdout] 93 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_video_mode` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / flag!( [INFO] [stdout] 95 | | doc = "If true, then the `mode_type`, `width`, `height` and `depth` fields are valid and [INFO] [stdout] 96 | | video information has to be passed.", [INFO] [stdout] 97 | | has_video_mode, [INFO] [stdout] 98 | | 2 [INFO] [stdout] 99 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_has_multiboot_addresses` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | / flag!( [INFO] [stdout] 101 | | doc = "If true, then the `header_addr`, `load_addr`, `load_end_addr`, `bss_end_addr` [INFO] [stdout] 102 | | and `entry_addr` fields are valid and must be used to load the kernel.", [INFO] [stdout] 103 | | has_multiboot_addresses, [INFO] [stdout] 104 | | 16 [INFO] [stdout] 105 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.43s [INFO] running `Command { std: "docker" "inspect" "ddbcb5fabf96cac5e0db25071156231afc37824968a1e2cbbdd2b125aaa90bc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddbcb5fabf96cac5e0db25071156231afc37824968a1e2cbbdd2b125aaa90bc6", kill_on_drop: false }` [INFO] [stdout] ddbcb5fabf96cac5e0db25071156231afc37824968a1e2cbbdd2b125aaa90bc6 [INFO] running `Command { std: "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" "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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a31efc72e8e5e25e690a74633b11f3f1069422f8a9d5dc189503905fdf27c3f9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a31efc72e8e5e25e690a74633b11f3f1069422f8a9d5dc189503905fdf27c3f9", kill_on_drop: false }` [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/information.rs:676:17 [INFO] [stderr] | [INFO] [stderr] 676 | self.size, self.base_addr, self.length, self.mtype [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unaligned_references)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/information.rs:676:28 [INFO] [stderr] | [INFO] [stderr] 676 | self.size, self.base_addr, self.length, self.mtype [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/information.rs:676:44 [INFO] [stderr] | [INFO] [stderr] 676 | self.size, self.base_addr, self.length, self.mtype [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/information.rs:676:57 [INFO] [stderr] | [INFO] [stderr] 676 | self.size, self.base_addr, self.length, self.mtype [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/information.rs:672:9 [INFO] [stderr] | [INFO] [stderr] 672 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_has_boot_device` [INFO] [stderr] --> src/lib.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/information.rs:247:5 [INFO] [stderr] | [INFO] [stderr] 247 | / flag!( [INFO] [stderr] 248 | | doc = "If true, then the `boot_device` field is valid.", [INFO] [stderr] 249 | | has_boot_device, [INFO] [stderr] 250 | | 1 [INFO] [stderr] 251 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_has_drives` [INFO] [stderr] --> src/lib.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/information.rs:277:5 [INFO] [stderr] | [INFO] [stderr] 277 | / flag!( [INFO] [stderr] 278 | | doc = "If true, then the `drives_addr` and `drives_length` fields are valid.", [INFO] [stderr] 279 | | has_drives, [INFO] [stderr] 280 | | 7 [INFO] [stderr] 281 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_has_config_table` [INFO] [stderr] --> src/lib.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/information.rs:282:5 [INFO] [stderr] | [INFO] [stderr] 282 | / flag!( [INFO] [stderr] 283 | | doc = "If true, then the `config_table` field is valid.", [INFO] [stderr] 284 | | has_config_table, [INFO] [stderr] 285 | | 8 [INFO] [stderr] 286 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_has_apm_table` [INFO] [stderr] --> src/lib.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/information.rs:292:5 [INFO] [stderr] | [INFO] [stderr] 292 | / flag!( [INFO] [stderr] 293 | | doc = "If true, then the `apm_table` field is valid.", [INFO] [stderr] 294 | | has_apm_table, [INFO] [stderr] 295 | | 10 [INFO] [stderr] 296 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_has_vbe` [INFO] [stderr] --> src/lib.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/information.rs:297:5 [INFO] [stderr] | [INFO] [stderr] 297 | / flag!( [INFO] [stderr] 298 | | doc = "If true, then the `vbe_*` fields are valid.", [INFO] [stderr] 299 | | has_vbe, [INFO] [stderr] 300 | | 11 [INFO] [stderr] 301 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_wants_modules_page_aligned` [INFO] [stderr] --> src/lib.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/header.rs:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | / flag!( [INFO] [stderr] 85 | | doc = "If true, then the modules have to be page aligned.", [INFO] [stderr] 86 | | wants_modules_page_aligned, [INFO] [stderr] 87 | | 0 [INFO] [stderr] 88 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_wants_memory_information` [INFO] [stderr] --> src/lib.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/header.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | / flag!( [INFO] [stderr] 90 | | doc = "If true, memory information must be passed.", [INFO] [stderr] 91 | | wants_memory_information, [INFO] [stderr] 92 | | 1 [INFO] [stderr] 93 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_has_video_mode` [INFO] [stderr] --> src/lib.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/header.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | / flag!( [INFO] [stderr] 95 | | doc = "If true, then the `mode_type`, `width`, `height` and `depth` fields are valid and [INFO] [stderr] 96 | | video information has to be passed.", [INFO] [stderr] 97 | | has_video_mode, [INFO] [stderr] 98 | | 2 [INFO] [stderr] 99 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_has_multiboot_addresses` [INFO] [stderr] --> src/lib.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | fn [< set_ $fun >] (&mut self, flag: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/header.rs:100:5 [INFO] [stderr] | [INFO] [stderr] 100 | / flag!( [INFO] [stderr] 101 | | doc = "If true, then the `header_addr`, `load_addr`, `load_end_addr`, `bss_end_addr` [INFO] [stderr] 102 | | and `entry_addr` fields are valid and must be used to load the kernel.", [INFO] [stderr] 103 | | has_multiboot_addresses, [INFO] [stderr] 104 | | 16 [INFO] [stderr] 105 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `multiboot` (lib) generated 14 warnings [INFO] [stdout] [INFO] [stderr] warning: `multiboot` (lib test) generated 14 warnings (14 duplicates) [INFO] [stdout] running 0 tests [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/multiboot-31d3e5a25ffc7304) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running tests/header.rs (/opt/rustwide/target/debug/deps/header-b4bfc0c0c3e14b54) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stderr] Running tests/read_information.rs (/opt/rustwide/target/debug/deps/read_information-1a39885ded3f4925) [INFO] [stdout] test empty ... ok [INFO] [stdout] test memory_information ... ok [INFO] [stdout] test no_header ... ok [INFO] [stdout] test video_mode_text ... ok [INFO] [stdout] test addresses ... ok [INFO] [stdout] test page_aligned ... ok [INFO] [stdout] test video_mode_pixel ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test null_ptr ... ok [INFO] [stdout] test memory_bounds ... ok [INFO] [stdout] test framebuffer ... ok [INFO] [stdout] test empty ... ok [INFO] [stdout] test boot_loader_name ... ok [INFO] [stdout] test boot_device ... ok [INFO] [stdout] test command_line ... ok [INFO] [stdout] test memory_regions ... ok [INFO] [stdout] test mods ... ok [INFO] [stdout] test elf_symbols ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/write_information.rs (/opt/rustwide/target/debug/deps/write_information-f33015e0a9eb5ad4) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test memory_bounds ... ok [INFO] [stdout] test command_line ... ok [INFO] [stdout] test symbols ... ok [INFO] [stdout] test framebuffer ... ok [INFO] [stdout] test boot_loader_name ... ok [INFO] [stdout] test empty ... ok [INFO] [stdout] test mmap ... ok [INFO] [stdout] test modules ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests multiboot [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a31efc72e8e5e25e690a74633b11f3f1069422f8a9d5dc189503905fdf27c3f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a31efc72e8e5e25e690a74633b11f3f1069422f8a9d5dc189503905fdf27c3f9", kill_on_drop: false }` [INFO] [stdout] a31efc72e8e5e25e690a74633b11f3f1069422f8a9d5dc189503905fdf27c3f9