[INFO] fetching crate aeron-rs 0.1.3... [INFO] checking aeron-rs-0.1.3 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate aeron-rs 0.1.3 into /workspace/builds/worker-38/source [INFO] validating manifest of crates.io crate aeron-rs 0.1.3 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-38/source/rust-toolchain [INFO] started tweaking crates.io crate aeron-rs 0.1.3 [INFO] finished tweaking crates.io crate aeron-rs 0.1.3 [INFO] tweaked toml for crates.io crate aeron-rs 0.1.3 written to /workspace/builds/worker-38/source/Cargo.toml [INFO] crate crates.io crate aeron-rs 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 345fa9e869a5102c944b48abf214b112930ab49f9acde006786937cb00e57e74 [INFO] running `Command { std: "docker" "start" "-a" "345fa9e869a5102c944b48abf214b112930ab49f9acde006786937cb00e57e74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "345fa9e869a5102c944b48abf214b112930ab49f9acde006786937cb00e57e74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "345fa9e869a5102c944b48abf214b112930ab49f9acde006786937cb00e57e74", kill_on_drop: false }` [INFO] [stdout] 345fa9e869a5102c944b48abf214b112930ab49f9acde006786937cb00e57e74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7eec00b649d0dd197a0bdb35f19d1363e54d0af63fd09317733cf5ca8efcdaef [INFO] running `Command { std: "docker" "start" "-a" "7eec00b649d0dd197a0bdb35f19d1363e54d0af63fd09317733cf5ca8efcdaef", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking cache_line_size v1.0.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking hdrhistogram v6.0.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Checking ctrlc v3.1.4 [INFO] [stderr] Checking aeron-rs v0.1.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Fixed src/client_conductor.rs (1 fix) [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/counters.rs:152:59 [INFO] [stdout] | [INFO] [stdout] 152 | pub static ref FREE_TO_REUSE_DEADLINE_OFFSET: Index = offset_of!(CounterMetaDataDefn, free_to_reuse_deadline) as Index; [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/logbuffer/data_frame_header.rs:45:57 [INFO] [stdout] | [INFO] [stdout] 45 | pub static ref RESERVED_VALUE_FIELD_OFFSET: Index = offset_of!(DataFrameHeaderDefn, reserved_value); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/logbuffer/log_buffer_descriptor.rs:128:54 [INFO] [stdout] | [INFO] [stdout] 128 | pub static ref TERM_TAIL_COUNTER_OFFSET: Index = offset_of!(LogMetaDataDefn, term_tail_counters); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/logbuffer/log_buffer_descriptor.rs:130:63 [INFO] [stdout] | [INFO] [stdout] 130 | pub static ref LOG_END_OF_STREAM_POSITION_OFFSET: Index = offset_of!(LogMetaDataDefn, end_of_stream_position); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/reports.rs:90:54 [INFO] [stdout] | [INFO] [stdout] 90 | pub static ref OBSERVATION_COUNT_OFFSET: Index = offset_of!(LossReportEntryDefn, observation_count); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/errors/error_log_descriptor.rs:66:63 [INFO] [stdout] | [INFO] [stdout] 66 | pub static ref LAST_OBSERVATION_TIMESTAMP_OFFSET: Index = offset_of!(ErrorLogEntryDefn, last_observation_timestamp); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/errors/error_log_descriptor.rs:67:64 [INFO] [stdout] | [INFO] [stdout] 67 | pub static ref FIRST_OBSERVATION_TIMESTAMP_OFFSET: Index = offset_of!(ErrorLogEntryDefn, first_observation_timestamp); [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/aeron_stat.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/error_stat.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/loss_stat.rs from 2018 edition to 2021 [INFO] [stderr] Checking structopt v0.3.14 [INFO] [stderr] Migrating examples/ping.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/publish_subscribe.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/basic_publisher.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/basic_subscriber.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/common.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/throughput.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/counters.rs from 2018 edition to 2021 [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/bin/loss_stat.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | loss_report_entry.total_bytes_lost, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bin/loss_stat.rs:63:103 [INFO] [stdout] | [INFO] [stdout] 63 | let entries_read = reports::read(&buffer, |observation_count, loss_report_entry, channel, source| unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/bin/loss_stat.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | loss_report_entry.total_bytes_lost, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bin/loss_stat.rs:63:103 [INFO] [stdout] | [INFO] [stdout] 63 | let entries_read = reports::read(&buffer, |observation_count, loss_report_entry, channel, source| unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/counters.rs:152:59 [INFO] [stdout] | [INFO] [stdout] 152 | pub static ref FREE_TO_REUSE_DEADLINE_OFFSET: Index = offset_of!(CounterMetaDataDefn, free_to_reuse_deadline) as Index; [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/logbuffer/data_frame_header.rs:45:57 [INFO] [stdout] | [INFO] [stdout] 45 | pub static ref RESERVED_VALUE_FIELD_OFFSET: Index = offset_of!(DataFrameHeaderDefn, reserved_value); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/logbuffer/log_buffer_descriptor.rs:128:54 [INFO] [stdout] | [INFO] [stdout] 128 | pub static ref TERM_TAIL_COUNTER_OFFSET: Index = offset_of!(LogMetaDataDefn, term_tail_counters); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/logbuffer/log_buffer_descriptor.rs:130:63 [INFO] [stdout] | [INFO] [stdout] 130 | pub static ref LOG_END_OF_STREAM_POSITION_OFFSET: Index = offset_of!(LogMetaDataDefn, end_of_stream_position); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/reports.rs:90:54 [INFO] [stdout] | [INFO] [stdout] 90 | pub static ref OBSERVATION_COUNT_OFFSET: Index = offset_of!(LossReportEntryDefn, observation_count); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/errors/error_log_descriptor.rs:66:63 [INFO] [stdout] | [INFO] [stdout] 66 | pub static ref LAST_OBSERVATION_TIMESTAMP_OFFSET: Index = offset_of!(ErrorLogEntryDefn, last_observation_timestamp); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/errors/error_log_descriptor.rs:67:64 [INFO] [stdout] | [INFO] [stdout] 67 | pub static ref FIRST_OBSERVATION_TIMESTAMP_OFFSET: Index = offset_of!(ErrorLogEntryDefn, first_observation_timestamp); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | assert_eq!(offset_of!(Foo, b), 4); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | assert_eq!(offset_of!(Foo, d), 16); [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: unnecessary `unsafe` block [INFO] [stdout] --> src/concurrent/counters.rs:783:13 [INFO] [stdout] | [INFO] [stdout] 783 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.39s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking aeron-rs v0.1.3 (/tmp/fixit) [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/counters.rs:152:59 [INFO] [stdout] | [INFO] [stdout] 152 | pub static ref FREE_TO_REUSE_DEADLINE_OFFSET: Index = offset_of!(CounterMetaDataDefn, free_to_reuse_deadline) as Index; [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/logbuffer/data_frame_header.rs:45:57 [INFO] [stdout] | [INFO] [stdout] 45 | pub static ref RESERVED_VALUE_FIELD_OFFSET: Index = offset_of!(DataFrameHeaderDefn, reserved_value); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/logbuffer/log_buffer_descriptor.rs:128:54 [INFO] [stdout] | [INFO] [stdout] 128 | pub static ref TERM_TAIL_COUNTER_OFFSET: Index = offset_of!(LogMetaDataDefn, term_tail_counters); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/logbuffer/log_buffer_descriptor.rs:130:63 [INFO] [stdout] | [INFO] [stdout] 130 | pub static ref LOG_END_OF_STREAM_POSITION_OFFSET: Index = offset_of!(LogMetaDataDefn, end_of_stream_position); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/reports.rs:90:54 [INFO] [stdout] | [INFO] [stdout] 90 | pub static ref OBSERVATION_COUNT_OFFSET: Index = offset_of!(LossReportEntryDefn, observation_count); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/errors/error_log_descriptor.rs:66:63 [INFO] [stdout] | [INFO] [stdout] 66 | pub static ref LAST_OBSERVATION_TIMESTAMP_OFFSET: Index = offset_of!(ErrorLogEntryDefn, last_observation_timestamp); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/errors/error_log_descriptor.rs:67:64 [INFO] [stdout] | [INFO] [stdout] 67 | pub static ref FIRST_OBSERVATION_TIMESTAMP_OFFSET: Index = offset_of!(ErrorLogEntryDefn, first_observation_timestamp); [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/bin/loss_stat.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | loss_report_entry.total_bytes_lost, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bin/loss_stat.rs:63:103 [INFO] [stdout] | [INFO] [stdout] 63 | let entries_read = reports::read(&buffer, |observation_count, loss_report_entry, channel, source| unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/bin/loss_stat.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | loss_report_entry.total_bytes_lost, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bin/loss_stat.rs:63:103 [INFO] [stdout] | [INFO] [stdout] 63 | let entries_read = reports::read(&buffer, |observation_count, loss_report_entry, channel, source| unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/counters.rs:152:59 [INFO] [stdout] | [INFO] [stdout] 152 | pub static ref FREE_TO_REUSE_DEADLINE_OFFSET: Index = offset_of!(CounterMetaDataDefn, free_to_reuse_deadline) as Index; [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/logbuffer/data_frame_header.rs:45:57 [INFO] [stdout] | [INFO] [stdout] 45 | pub static ref RESERVED_VALUE_FIELD_OFFSET: Index = offset_of!(DataFrameHeaderDefn, reserved_value); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/logbuffer/log_buffer_descriptor.rs:128:54 [INFO] [stdout] | [INFO] [stdout] 128 | pub static ref TERM_TAIL_COUNTER_OFFSET: Index = offset_of!(LogMetaDataDefn, term_tail_counters); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/logbuffer/log_buffer_descriptor.rs:130:63 [INFO] [stdout] | [INFO] [stdout] 130 | pub static ref LOG_END_OF_STREAM_POSITION_OFFSET: Index = offset_of!(LogMetaDataDefn, end_of_stream_position); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/concurrent/reports.rs:90:54 [INFO] [stdout] | [INFO] [stdout] 90 | pub static ref OBSERVATION_COUNT_OFFSET: Index = offset_of!(LossReportEntryDefn, observation_count); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/errors/error_log_descriptor.rs:66:63 [INFO] [stdout] | [INFO] [stdout] 66 | pub static ref LAST_OBSERVATION_TIMESTAMP_OFFSET: Index = offset_of!(ErrorLogEntryDefn, last_observation_timestamp); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/errors/error_log_descriptor.rs:67:64 [INFO] [stdout] | [INFO] [stdout] 67 | pub static ref FIRST_OBSERVATION_TIMESTAMP_OFFSET: Index = offset_of!(ErrorLogEntryDefn, first_observation_timestamp); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | assert_eq!(offset_of!(Foo, b), 4); [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] --> src/utils/types.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | assert_eq!(offset_of!(Foo, d), 16); [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: unnecessary `unsafe` block [INFO] [stdout] --> src/concurrent/counters.rs:783:13 [INFO] [stdout] | [INFO] [stdout] 783 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.89s [INFO] running `Command { std: "docker" "inspect" "7eec00b649d0dd197a0bdb35f19d1363e54d0af63fd09317733cf5ca8efcdaef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eec00b649d0dd197a0bdb35f19d1363e54d0af63fd09317733cf5ca8efcdaef", kill_on_drop: false }` [INFO] [stdout] 7eec00b649d0dd197a0bdb35f19d1363e54d0af63fd09317733cf5ca8efcdaef