[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 master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [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 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 555c7091e76443f84790c83271a5be46e2dd2ec702db4025efcc8de2291de625 [INFO] running `Command { std: "docker" "start" "-a" "555c7091e76443f84790c83271a5be46e2dd2ec702db4025efcc8de2291de625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "555c7091e76443f84790c83271a5be46e2dd2ec702db4025efcc8de2291de625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "555c7091e76443f84790c83271a5be46e2dd2ec702db4025efcc8de2291de625", kill_on_drop: false }` [INFO] [stdout] 555c7091e76443f84790c83271a5be46e2dd2ec702db4025efcc8de2291de625 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91f1b433623a3aea42343ff254b1162816bc39311c77da0256a98ec012da33d5 [INFO] running `Command { std: "docker" "start" "-a" "91f1b433623a3aea42343ff254b1162816bc39311c77da0256a98ec012da33d5", 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 syn v1.0.37 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [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 bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [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 addr2line v0.12.1 [INFO] [stderr] Compiling backtrace v0.3.49 [INFO] [stderr] Compiling kvm-ioctls v0.6.0 [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] [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: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.97s [INFO] running `Command { std: "docker" "inspect" "91f1b433623a3aea42343ff254b1162816bc39311c77da0256a98ec012da33d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91f1b433623a3aea42343ff254b1162816bc39311c77da0256a98ec012da33d5", kill_on_drop: false }` [INFO] [stdout] 91f1b433623a3aea42343ff254b1162816bc39311c77da0256a98ec012da33d5 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ff1b60755ad616d2a87b0c807b2551bf542bc932439931e23aca06ee61d3d5f [INFO] running `Command { std: "docker" "start" "-a" "2ff1b60755ad616d2a87b0c807b2551bf542bc932439931e23aca06ee61d3d5f", kill_on_drop: false }` [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling miniz_oxide v0.3.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 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: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 27.55s [INFO] running `Command { std: "docker" "inspect" "2ff1b60755ad616d2a87b0c807b2551bf542bc932439931e23aca06ee61d3d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ff1b60755ad616d2a87b0c807b2551bf542bc932439931e23aca06ee61d3d5f", kill_on_drop: false }` [INFO] [stdout] 2ff1b60755ad616d2a87b0c807b2551bf542bc932439931e23aca06ee61d3d5f [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ade376cb1b51bcadecaf380c89b20575325cc289f3314bc3fbb43af8bc1df52b [INFO] running `Command { std: "docker" "start" "-a" "ade376cb1b51bcadecaf380c89b20575325cc289f3314bc3fbb43af8bc1df52b", 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.09s [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" "ade376cb1b51bcadecaf380c89b20575325cc289f3314bc3fbb43af8bc1df52b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ade376cb1b51bcadecaf380c89b20575325cc289f3314bc3fbb43af8bc1df52b", kill_on_drop: false }` [INFO] [stdout] ade376cb1b51bcadecaf380c89b20575325cc289f3314bc3fbb43af8bc1df52b