[INFO] cloning repository https://github.com/openeuler-mirror/stratovirt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/openeuler-mirror/stratovirt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopeneuler-mirror%2Fstratovirt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopeneuler-mirror%2Fstratovirt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e50b6f822855c95c2ebf8ac3deb1069e1659ccb5 [INFO] testing openeuler-mirror/stratovirt against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopeneuler-mirror%2Fstratovirt" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/openeuler-mirror/stratovirt on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-11/source/.cargo/config [INFO] started tweaking git repo https://github.com/openeuler-mirror/stratovirt [INFO] finished tweaking git repo https://github.com/openeuler-mirror/stratovirt [INFO] tweaked toml for git repo https://github.com/openeuler-mirror/stratovirt written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/openeuler-mirror/stratovirt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kvm-ioctls v0.6.0 [INFO] [stderr] Downloaded kvm-bindings v0.3.0 [INFO] [stderr] Downloaded vmm-sys-util v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e66630477caf9c476f3a795336a6cd6ddf7af31519005727227807877579fb32 [INFO] running `Command { std: "docker" "start" "-a" "e66630477caf9c476f3a795336a6cd6ddf7af31519005727227807877579fb32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e66630477caf9c476f3a795336a6cd6ddf7af31519005727227807877579fb32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e66630477caf9c476f3a795336a6cd6ddf7af31519005727227807877579fb32", kill_on_drop: false }` [INFO] [stdout] e66630477caf9c476f3a795336a6cd6ddf7af31519005727227807877579fb32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb10d4329c51a620615aff956d6e9d5638c8e758381fcfb0ab6a537c38416908 [INFO] running `Command { std: "docker" "start" "-a" "cb10d4329c51a620615aff956d6e9d5638c8e758381fcfb0ab6a537c38416908", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.37 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling vmm-sys-util v0.7.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling kvm-bindings v0.3.0 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling kvm-ioctls v0.6.0 [INFO] [stderr] Compiling backtrace v0.3.49 [INFO] [stderr] Compiling util v0.3.0 (/opt/rustwide/workdir/util) [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> util/src/offsetof.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | offset_of!(SeccompData, nr) as u32 [INFO] [stdout] | --------------------------- in this macro invocation [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] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> util/src/offsetof.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | offset_of!(SeccompData, arch) as u32 [INFO] [stdout] | ----------------------------- in this macro invocation [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] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> util/src/offsetof.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | offset_of!(SeccompData, args) - offset_of!(SeccompData, instruction_pointer); [INFO] [stdout] | ----------------------------- in this macro invocation [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] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> util/src/offsetof.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:214:45 [INFO] [stdout] | [INFO] [stdout] 214 | offset_of!(SeccompData, args) - offset_of!(SeccompData, instruction_pointer); [INFO] [stdout] | -------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> util/src/offsetof.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | offset_of!(SeccompData, args) as u32 + num * offset_of_u64 as u32 [INFO] [stdout] | ----------------------------- in this macro invocation [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] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> util/src/offsetof.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | offset_of!(SeccompData, nr) as u32 [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> util/src/offsetof.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | offset_of!(SeccompData, arch) as u32 [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> util/src/offsetof.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | offset_of!(SeccompData, args) - offset_of!(SeccompData, instruction_pointer); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> util/src/offsetof.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:214:45 [INFO] [stdout] | [INFO] [stdout] 214 | offset_of!(SeccompData, args) - offset_of!(SeccompData, instruction_pointer); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> util/src/offsetof.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | offset_of!(SeccompData, args) as u32 + num * offset_of_u64 as u32 [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling machine_manager v0.3.0 (/opt/rustwide/workdir/machine_manager) [INFO] [stderr] Compiling address_space v0.3.0 (/opt/rustwide/workdir/address_space) [INFO] [stderr] Compiling cpu v0.3.0 (/opt/rustwide/workdir/cpu) [INFO] [stdout] warning: field is never read: `vcpu_id` [INFO] [stdout] --> cpu/src/lib.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | vcpu_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sysbus v0.3.0 (/opt/rustwide/workdir/sysbus) [INFO] [stderr] Compiling boot_loader v0.3.0 (/opt/rustwide/workdir/boot_loader) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling virtio v0.3.0 (/opt/rustwide/workdir/virtio) [INFO] [stderr] Compiling devices v0.3.0 (/opt/rustwide/workdir/devices) [INFO] [stdout] warning: field is never read: `num_pages` [INFO] [stdout] --> virtio/src/balloon.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub num_pages: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `actual` [INFO] [stdout] --> virtio/src/balloon.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub actual: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling micro_vm v0.3.0 (/opt/rustwide/workdir/micro_vm) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling StratoVirt v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.92s [INFO] running `Command { std: "docker" "inspect" "cb10d4329c51a620615aff956d6e9d5638c8e758381fcfb0ab6a537c38416908", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb10d4329c51a620615aff956d6e9d5638c8e758381fcfb0ab6a537c38416908", kill_on_drop: false }` [INFO] [stdout] cb10d4329c51a620615aff956d6e9d5638c8e758381fcfb0ab6a537c38416908 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 421f9266cc480d3194c5fef36fe0f36f6e6bcb4fb1033f6b8047a8670a4b20ff [INFO] running `Command { std: "docker" "start" "-a" "421f9266cc480d3194c5fef36fe0f36f6e6bcb4fb1033f6b8047a8670a4b20ff", kill_on_drop: false }` [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling vmm-sys-util v0.7.0 [INFO] [stderr] Compiling kvm-bindings v0.3.0 [INFO] [stderr] Compiling kvm-ioctls v0.6.0 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling backtrace v0.3.49 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling util v0.3.0 (/opt/rustwide/workdir/util) [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> util/src/offsetof.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | offset_of!(SeccompData, nr) as u32 [INFO] [stdout] | --------------------------- in this macro invocation [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] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> util/src/offsetof.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | offset_of!(SeccompData, arch) as u32 [INFO] [stdout] | ----------------------------- in this macro invocation [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] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> util/src/offsetof.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | offset_of!(SeccompData, args) - offset_of!(SeccompData, instruction_pointer); [INFO] [stdout] | ----------------------------- in this macro invocation [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] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> util/src/offsetof.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:214:45 [INFO] [stdout] | [INFO] [stdout] 214 | offset_of!(SeccompData, args) - offset_of!(SeccompData, instruction_pointer); [INFO] [stdout] | -------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> util/src/offsetof.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | offset_of!(SeccompData, args) as u32 + num * offset_of_u64 as u32 [INFO] [stdout] | ----------------------------- in this macro invocation [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] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> util/src/offsetof.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | offset_of!(SeccompData, nr) as u32 [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> util/src/offsetof.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | offset_of!(SeccompData, arch) as u32 [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> util/src/offsetof.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | offset_of!(SeccompData, args) - offset_of!(SeccompData, instruction_pointer); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> util/src/offsetof.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:214:45 [INFO] [stdout] | [INFO] [stdout] 214 | offset_of!(SeccompData, args) - offset_of!(SeccompData, instruction_pointer); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> util/src/offsetof.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: util/src/seccomp.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | offset_of!(SeccompData, args) as u32 + num * offset_of_u64 as u32 [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling machine_manager v0.3.0 (/opt/rustwide/workdir/machine_manager) [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling address_space v0.3.0 (/opt/rustwide/workdir/address_space) [INFO] [stderr] Compiling cpu v0.3.0 (/opt/rustwide/workdir/cpu) [INFO] [stdout] warning: field is never read: `vcpu_id` [INFO] [stdout] --> cpu/src/lib.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | vcpu_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sysbus v0.3.0 (/opt/rustwide/workdir/sysbus) [INFO] [stderr] Compiling boot_loader v0.3.0 (/opt/rustwide/workdir/boot_loader) [INFO] [stderr] Compiling virtio v0.3.0 (/opt/rustwide/workdir/virtio) [INFO] [stderr] Compiling devices v0.3.0 (/opt/rustwide/workdir/devices) [INFO] [stdout] warning: field is never read: `num_pages` [INFO] [stdout] --> virtio/src/balloon.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub num_pages: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `actual` [INFO] [stdout] --> virtio/src/balloon.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub actual: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling micro_vm v0.3.0 (/opt/rustwide/workdir/micro_vm) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling StratoVirt v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 25.27s [INFO] running `Command { std: "docker" "inspect" "421f9266cc480d3194c5fef36fe0f36f6e6bcb4fb1033f6b8047a8670a4b20ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "421f9266cc480d3194c5fef36fe0f36f6e6bcb4fb1033f6b8047a8670a4b20ff", kill_on_drop: false }` [INFO] [stdout] 421f9266cc480d3194c5fef36fe0f36f6e6bcb4fb1033f6b8047a8670a4b20ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc471e38fe1013caa20f22b298c322e2c2f4e30d1dc5ff13a414eefdad22f28e [INFO] running `Command { std: "docker" "start" "-a" "fc471e38fe1013caa20f22b298c322e2c2f4e30d1dc5ff13a414eefdad22f28e", kill_on_drop: false }` [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> util/src/offsetof.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: util/src/seccomp.rs:205:9 [INFO] [stderr] | [INFO] [stderr] 205 | offset_of!(SeccompData, nr) as u32 [INFO] [stderr] | --------------------------- in this macro invocation [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] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> util/src/offsetof.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: util/src/seccomp.rs:209:9 [INFO] [stderr] | [INFO] [stderr] 209 | offset_of!(SeccompData, arch) as u32 [INFO] [stderr] | ----------------------------- in this macro invocation [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] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> util/src/offsetof.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: util/src/seccomp.rs:214:13 [INFO] [stderr] | [INFO] [stderr] 214 | offset_of!(SeccompData, args) - offset_of!(SeccompData, instruction_pointer); [INFO] [stderr] | ----------------------------- in this macro invocation [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] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> util/src/offsetof.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: util/src/seccomp.rs:214:45 [INFO] [stderr] | [INFO] [stderr] 214 | offset_of!(SeccompData, args) - offset_of!(SeccompData, instruction_pointer); [INFO] [stderr] | -------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> util/src/offsetof.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: util/src/seccomp.rs:215:9 [INFO] [stderr] | [INFO] [stderr] 215 | offset_of!(SeccompData, args) as u32 + num * offset_of_u64 as u32 [INFO] [stderr] | ----------------------------- in this macro invocation [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] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> util/src/offsetof.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: util/src/seccomp.rs:205:9 [INFO] [stderr] | [INFO] [stderr] 205 | offset_of!(SeccompData, nr) as u32 [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> util/src/offsetof.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: util/src/seccomp.rs:209:9 [INFO] [stderr] | [INFO] [stderr] 209 | offset_of!(SeccompData, arch) as u32 [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> util/src/offsetof.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: util/src/seccomp.rs:214:13 [INFO] [stderr] | [INFO] [stderr] 214 | offset_of!(SeccompData, args) - offset_of!(SeccompData, instruction_pointer); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> util/src/offsetof.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: util/src/seccomp.rs:214:45 [INFO] [stderr] | [INFO] [stderr] 214 | offset_of!(SeccompData, args) - offset_of!(SeccompData, instruction_pointer); [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> util/src/offsetof.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | unsafe { &(*(std::ptr::null::<$type_name>())).$field as *const _ as usize } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: util/src/seccomp.rs:215:9 [INFO] [stderr] | [INFO] [stderr] 215 | offset_of!(SeccompData, args) as u32 + num * offset_of_u64 as u32 [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: field is never read: `vcpu_id` [INFO] [stderr] --> cpu/src/lib.rs:154:5 [INFO] [stderr] | [INFO] [stderr] 154 | vcpu_id: u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: field is never read: `num_pages` [INFO] [stderr] --> virtio/src/balloon.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | pub num_pages: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `actual` [INFO] [stderr] --> virtio/src/balloon.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | pub actual: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/stratovirt-eede28b42ac9cc65) [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" "fc471e38fe1013caa20f22b298c322e2c2f4e30d1dc5ff13a414eefdad22f28e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc471e38fe1013caa20f22b298c322e2c2f4e30d1dc5ff13a414eefdad22f28e", kill_on_drop: false }` [INFO] [stdout] fc471e38fe1013caa20f22b298c322e2c2f4e30d1dc5ff13a414eefdad22f28e