[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] 893d014853f114e2c24c380512c38c1e6322a30b [INFO] testing openeuler-mirror/stratovirt against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopeneuler-mirror%2Fstratovirt" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/openeuler-mirror/stratovirt on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-9/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-9/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8977dd30a08913fbec7c2594bd01c612974a9369a391325e2b83e6b82a2a084 [INFO] running `Command { std: "docker" "start" "-a" "b8977dd30a08913fbec7c2594bd01c612974a9369a391325e2b83e6b82a2a084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8977dd30a08913fbec7c2594bd01c612974a9369a391325e2b83e6b82a2a084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8977dd30a08913fbec7c2594bd01c612974a9369a391325e2b83e6b82a2a084", kill_on_drop: false }` [INFO] [stdout] b8977dd30a08913fbec7c2594bd01c612974a9369a391325e2b83e6b82a2a084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb39f749d825b414e2541302df155c616089cbd22fd779aec89c0cda31b3141f [INFO] running `Command { std: "docker" "start" "-a" "fb39f749d825b414e2541302df155c616089cbd22fd779aec89c0cda31b3141f", 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 unicode-xid v0.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.37 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling object v0.20.0 [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 error-chain v0.12.4 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling quote v1.0.7 [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 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] [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 serde_derive v1.0.114 [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [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:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | 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 dev [unoptimized + debuginfo] target(s) in 44.83s [INFO] running `Command { std: "docker" "inspect" "fb39f749d825b414e2541302df155c616089cbd22fd779aec89c0cda31b3141f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb39f749d825b414e2541302df155c616089cbd22fd779aec89c0cda31b3141f", kill_on_drop: false }` [INFO] [stdout] fb39f749d825b414e2541302df155c616089cbd22fd779aec89c0cda31b3141f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b13515fe6dc5dd75d4c2fa34cd16ebc7eeab297e850ad584a114ec4a378dceba [INFO] running `Command { std: "docker" "start" "-a" "b13515fe6dc5dd75d4c2fa34cd16ebc7eeab297e850ad584a114ec4a378dceba", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling log v0.4.8 [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 serde_json v1.0.55 [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] [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:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | 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 devices v0.3.0 (/opt/rustwide/workdir/devices) [INFO] [stderr] Compiling virtio v0.3.0 (/opt/rustwide/workdir/virtio) [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 24.08s [INFO] running `Command { std: "docker" "inspect" "b13515fe6dc5dd75d4c2fa34cd16ebc7eeab297e850ad584a114ec4a378dceba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b13515fe6dc5dd75d4c2fa34cd16ebc7eeab297e850ad584a114ec4a378dceba", kill_on_drop: false }` [INFO] [stdout] b13515fe6dc5dd75d4c2fa34cd16ebc7eeab297e850ad584a114ec4a378dceba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c5ff309971f7faf3ee5ad220f7aa6105c30288e79aa44266171f3abfa5baa16f [INFO] running `Command { std: "docker" "start" "-a" "c5ff309971f7faf3ee5ad220f7aa6105c30288e79aa44266171f3abfa5baa16f", 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:155:5 [INFO] [stderr] | [INFO] [stderr] 155 | 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.04s [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] [stderr] Running unittests (/opt/rustwide/target/debug/deps/stratovirt-72977b92c1e10409) [INFO] running `Command { std: "docker" "inspect" "c5ff309971f7faf3ee5ad220f7aa6105c30288e79aa44266171f3abfa5baa16f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ff309971f7faf3ee5ad220f7aa6105c30288e79aa44266171f3abfa5baa16f", kill_on_drop: false }` [INFO] [stdout] c5ff309971f7faf3ee5ad220f7aa6105c30288e79aa44266171f3abfa5baa16f