[INFO] fetching crate simple_parse 0.6.3... [INFO] testing simple_parse-0.6.3 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate simple_parse 0.6.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate simple_parse 0.6.3 [INFO] finished tweaking crates.io crate simple_parse 0.6.3 [INFO] tweaked toml for crates.io crate simple_parse 0.6.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate simple_parse 0.6.3 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate simple_parse 0.6.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6aeb1ae8c7a025c943d4562bc98f582fc3981e95938110b51ff6edde31be8f09 [INFO] running `Command { std: "docker" "start" "-a" "6aeb1ae8c7a025c943d4562bc98f582fc3981e95938110b51ff6edde31be8f09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aeb1ae8c7a025c943d4562bc98f582fc3981e95938110b51ff6edde31be8f09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aeb1ae8c7a025c943d4562bc98f582fc3981e95938110b51ff6edde31be8f09", kill_on_drop: false }` [INFO] [stdout] 6aeb1ae8c7a025c943d4562bc98f582fc3981e95938110b51ff6edde31be8f09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fb39ebd2cf4d6f47ef56aa618ec96467c3105eaaca10ecf4dd07dfa037eef6f [INFO] running `Command { std: "docker" "start" "-a" "4fb39ebd2cf4d6f47ef56aa618ec96467c3105eaaca10ecf4dd07dfa037eef6f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling darling_core v0.12.2 [INFO] [stderr] Compiling darling_macro v0.12.2 [INFO] [stderr] Compiling darling v0.12.2 [INFO] [stderr] Compiling simple_parse_derive v0.6.3 [INFO] [stderr] Compiling simple_parse v0.6.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `opt_hints::*` [INFO] [stdout] --> src/default_impls/mod.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | pub use opt_hints::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raw::*` [INFO] [stdout] --> src/default_impls/mod.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | pub use raw::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reader::*` [INFO] [stdout] --> src/default_impls/mod.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | pub use reader::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `writer::*` [INFO] [stdout] --> src/default_impls/mod.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | pub use writer::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default_impls::*` [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use default_impls::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 244 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:319:1 [INFO] [stdout] | [INFO] [stdout] 319 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:331:1 [INFO] [stdout] | [INFO] [stdout] 331 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:344:1 [INFO] [stdout] | [INFO] [stdout] 344 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:378:1 [INFO] [stdout] | [INFO] [stdout] 378 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/raw.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/reader.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | / impl_primitive!( [INFO] [stdout] 148 | | NonZeroU8 as u8, [INFO] [stdout] 149 | | nonzero_from_ptr, [INFO] [stdout] 150 | | nonzeroref_from_ptr, [INFO] [stdout] 151 | | nonzeroslice_from_ptr [INFO] [stdout] 152 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[warn(invalid_reference_casting)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | / impl_primitive!( [INFO] [stdout] 148 | | NonZeroU8 as u8, [INFO] [stdout] 149 | | nonzero_from_ptr, [INFO] [stdout] 150 | | nonzeroref_from_ptr, [INFO] [stdout] 151 | | nonzeroslice_from_ptr [INFO] [stdout] 152 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | / impl_primitive!( [INFO] [stdout] 148 | | NonZeroU8 as u8, [INFO] [stdout] 149 | | nonzero_from_ptr, [INFO] [stdout] 150 | | nonzeroref_from_ptr, [INFO] [stdout] 151 | | nonzeroslice_from_ptr [INFO] [stdout] 152 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | / impl_primitive!( [INFO] [stdout] 154 | | NonZeroU16 as u16, [INFO] [stdout] 155 | | nonzero_from_ptr, [INFO] [stdout] 156 | | nonzeroref_from_ptr, [INFO] [stdout] 157 | | nonzeroslice_from_ptr [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | / impl_primitive!( [INFO] [stdout] 154 | | NonZeroU16 as u16, [INFO] [stdout] 155 | | nonzero_from_ptr, [INFO] [stdout] 156 | | nonzeroref_from_ptr, [INFO] [stdout] 157 | | nonzeroslice_from_ptr [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | / impl_primitive!( [INFO] [stdout] 154 | | NonZeroU16 as u16, [INFO] [stdout] 155 | | nonzero_from_ptr, [INFO] [stdout] 156 | | nonzeroref_from_ptr, [INFO] [stdout] 157 | | nonzeroslice_from_ptr [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | / impl_primitive!( [INFO] [stdout] 160 | | NonZeroU32 as u32, [INFO] [stdout] 161 | | nonzero_from_ptr, [INFO] [stdout] 162 | | nonzeroref_from_ptr, [INFO] [stdout] 163 | | nonzeroslice_from_ptr [INFO] [stdout] 164 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | / impl_primitive!( [INFO] [stdout] 160 | | NonZeroU32 as u32, [INFO] [stdout] 161 | | nonzero_from_ptr, [INFO] [stdout] 162 | | nonzeroref_from_ptr, [INFO] [stdout] 163 | | nonzeroslice_from_ptr [INFO] [stdout] 164 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | / impl_primitive!( [INFO] [stdout] 160 | | NonZeroU32 as u32, [INFO] [stdout] 161 | | nonzero_from_ptr, [INFO] [stdout] 162 | | nonzeroref_from_ptr, [INFO] [stdout] 163 | | nonzeroslice_from_ptr [INFO] [stdout] 164 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl_primitive!( [INFO] [stdout] 166 | | NonZeroU64 as u64, [INFO] [stdout] 167 | | nonzero_from_ptr, [INFO] [stdout] 168 | | nonzeroref_from_ptr, [INFO] [stdout] 169 | | nonzeroslice_from_ptr [INFO] [stdout] 170 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl_primitive!( [INFO] [stdout] 166 | | NonZeroU64 as u64, [INFO] [stdout] 167 | | nonzero_from_ptr, [INFO] [stdout] 168 | | nonzeroref_from_ptr, [INFO] [stdout] 169 | | nonzeroslice_from_ptr [INFO] [stdout] 170 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl_primitive!( [INFO] [stdout] 166 | | NonZeroU64 as u64, [INFO] [stdout] 167 | | nonzero_from_ptr, [INFO] [stdout] 168 | | nonzeroref_from_ptr, [INFO] [stdout] 169 | | nonzeroslice_from_ptr [INFO] [stdout] 170 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | / impl_primitive!( [INFO] [stdout] 172 | | NonZeroU128 as u128, [INFO] [stdout] 173 | | nonzero_from_ptr, [INFO] [stdout] 174 | | nonzeroref_from_ptr, [INFO] [stdout] 175 | | nonzeroslice_from_ptr [INFO] [stdout] 176 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | / impl_primitive!( [INFO] [stdout] 172 | | NonZeroU128 as u128, [INFO] [stdout] 173 | | nonzero_from_ptr, [INFO] [stdout] 174 | | nonzeroref_from_ptr, [INFO] [stdout] 175 | | nonzeroslice_from_ptr [INFO] [stdout] 176 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | / impl_primitive!( [INFO] [stdout] 172 | | NonZeroU128 as u128, [INFO] [stdout] 173 | | nonzero_from_ptr, [INFO] [stdout] 174 | | nonzeroref_from_ptr, [INFO] [stdout] 175 | | nonzeroslice_from_ptr [INFO] [stdout] 176 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | / impl_primitive!( [INFO] [stdout] 178 | | NonZeroUsize as usize, [INFO] [stdout] 179 | | nonzero_from_ptr, [INFO] [stdout] 180 | | nonzeroref_from_ptr, [INFO] [stdout] 181 | | nonzeroslice_from_ptr [INFO] [stdout] 182 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | / impl_primitive!( [INFO] [stdout] 178 | | NonZeroUsize as usize, [INFO] [stdout] 179 | | nonzero_from_ptr, [INFO] [stdout] 180 | | nonzeroref_from_ptr, [INFO] [stdout] 181 | | nonzeroslice_from_ptr [INFO] [stdout] 182 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | / impl_primitive!( [INFO] [stdout] 178 | | NonZeroUsize as usize, [INFO] [stdout] 179 | | nonzero_from_ptr, [INFO] [stdout] 180 | | nonzeroref_from_ptr, [INFO] [stdout] 181 | | nonzeroslice_from_ptr [INFO] [stdout] 182 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / impl_primitive!( [INFO] [stdout] 184 | | NonZeroI8 as i8, [INFO] [stdout] 185 | | nonzero_from_ptr, [INFO] [stdout] 186 | | nonzeroref_from_ptr, [INFO] [stdout] 187 | | nonzeroslice_from_ptr [INFO] [stdout] 188 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / impl_primitive!( [INFO] [stdout] 184 | | NonZeroI8 as i8, [INFO] [stdout] 185 | | nonzero_from_ptr, [INFO] [stdout] 186 | | nonzeroref_from_ptr, [INFO] [stdout] 187 | | nonzeroslice_from_ptr [INFO] [stdout] 188 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / impl_primitive!( [INFO] [stdout] 184 | | NonZeroI8 as i8, [INFO] [stdout] 185 | | nonzero_from_ptr, [INFO] [stdout] 186 | | nonzeroref_from_ptr, [INFO] [stdout] 187 | | nonzeroslice_from_ptr [INFO] [stdout] 188 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | / impl_primitive!( [INFO] [stdout] 190 | | NonZeroI16 as i16, [INFO] [stdout] 191 | | nonzero_from_ptr, [INFO] [stdout] 192 | | nonzeroref_from_ptr, [INFO] [stdout] 193 | | nonzeroslice_from_ptr [INFO] [stdout] 194 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | / impl_primitive!( [INFO] [stdout] 190 | | NonZeroI16 as i16, [INFO] [stdout] 191 | | nonzero_from_ptr, [INFO] [stdout] 192 | | nonzeroref_from_ptr, [INFO] [stdout] 193 | | nonzeroslice_from_ptr [INFO] [stdout] 194 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | / impl_primitive!( [INFO] [stdout] 190 | | NonZeroI16 as i16, [INFO] [stdout] 191 | | nonzero_from_ptr, [INFO] [stdout] 192 | | nonzeroref_from_ptr, [INFO] [stdout] 193 | | nonzeroslice_from_ptr [INFO] [stdout] 194 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | / impl_primitive!( [INFO] [stdout] 196 | | NonZeroI32 as i32, [INFO] [stdout] 197 | | nonzero_from_ptr, [INFO] [stdout] 198 | | nonzeroref_from_ptr, [INFO] [stdout] 199 | | nonzeroslice_from_ptr [INFO] [stdout] 200 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | / impl_primitive!( [INFO] [stdout] 196 | | NonZeroI32 as i32, [INFO] [stdout] 197 | | nonzero_from_ptr, [INFO] [stdout] 198 | | nonzeroref_from_ptr, [INFO] [stdout] 199 | | nonzeroslice_from_ptr [INFO] [stdout] 200 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | / impl_primitive!( [INFO] [stdout] 196 | | NonZeroI32 as i32, [INFO] [stdout] 197 | | nonzero_from_ptr, [INFO] [stdout] 198 | | nonzeroref_from_ptr, [INFO] [stdout] 199 | | nonzeroslice_from_ptr [INFO] [stdout] 200 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | / impl_primitive!( [INFO] [stdout] 202 | | NonZeroI64 as i64, [INFO] [stdout] 203 | | nonzero_from_ptr, [INFO] [stdout] 204 | | nonzeroref_from_ptr, [INFO] [stdout] 205 | | nonzeroslice_from_ptr [INFO] [stdout] 206 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | / impl_primitive!( [INFO] [stdout] 202 | | NonZeroI64 as i64, [INFO] [stdout] 203 | | nonzero_from_ptr, [INFO] [stdout] 204 | | nonzeroref_from_ptr, [INFO] [stdout] 205 | | nonzeroslice_from_ptr [INFO] [stdout] 206 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | / impl_primitive!( [INFO] [stdout] 202 | | NonZeroI64 as i64, [INFO] [stdout] 203 | | nonzero_from_ptr, [INFO] [stdout] 204 | | nonzeroref_from_ptr, [INFO] [stdout] 205 | | nonzeroslice_from_ptr [INFO] [stdout] 206 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | / impl_primitive!( [INFO] [stdout] 208 | | NonZeroI128 as i128, [INFO] [stdout] 209 | | nonzero_from_ptr, [INFO] [stdout] 210 | | nonzeroref_from_ptr, [INFO] [stdout] 211 | | nonzeroslice_from_ptr [INFO] [stdout] 212 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | / impl_primitive!( [INFO] [stdout] 208 | | NonZeroI128 as i128, [INFO] [stdout] 209 | | nonzero_from_ptr, [INFO] [stdout] 210 | | nonzeroref_from_ptr, [INFO] [stdout] 211 | | nonzeroslice_from_ptr [INFO] [stdout] 212 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | / impl_primitive!( [INFO] [stdout] 208 | | NonZeroI128 as i128, [INFO] [stdout] 209 | | nonzero_from_ptr, [INFO] [stdout] 210 | | nonzeroref_from_ptr, [INFO] [stdout] 211 | | nonzeroslice_from_ptr [INFO] [stdout] 212 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | / impl_primitive!( [INFO] [stdout] 214 | | NonZeroIsize as isize, [INFO] [stdout] 215 | | nonzero_from_ptr, [INFO] [stdout] 216 | | nonzeroref_from_ptr, [INFO] [stdout] 217 | | nonzeroslice_from_ptr [INFO] [stdout] 218 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | / impl_primitive!( [INFO] [stdout] 214 | | NonZeroIsize as isize, [INFO] [stdout] 215 | | nonzero_from_ptr, [INFO] [stdout] 216 | | nonzeroref_from_ptr, [INFO] [stdout] 217 | | nonzeroslice_from_ptr [INFO] [stdout] 218 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | / impl_primitive!( [INFO] [stdout] 214 | | NonZeroIsize as isize, [INFO] [stdout] 215 | | nonzero_from_ptr, [INFO] [stdout] 216 | | nonzeroref_from_ptr, [INFO] [stdout] 217 | | nonzeroslice_from_ptr [INFO] [stdout] 218 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.23s [INFO] running `Command { std: "docker" "inspect" "4fb39ebd2cf4d6f47ef56aa618ec96467c3105eaaca10ecf4dd07dfa037eef6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fb39ebd2cf4d6f47ef56aa618ec96467c3105eaaca10ecf4dd07dfa037eef6f", kill_on_drop: false }` [INFO] [stdout] 4fb39ebd2cf4d6f47ef56aa618ec96467c3105eaaca10ecf4dd07dfa037eef6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 692b8abdab92904dc25eb111158cd8ac9ca3d708feb71430862e8cb52c1b652a [INFO] running `Command { std: "docker" "start" "-a" "692b8abdab92904dc25eb111158cd8ac9ca3d708feb71430862e8cb52c1b652a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stdout] warning: unused import: `opt_hints::*` [INFO] [stdout] --> src/default_impls/mod.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | pub use opt_hints::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raw::*` [INFO] [stdout] --> src/default_impls/mod.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | pub use raw::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reader::*` [INFO] [stdout] --> src/default_impls/mod.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | pub use reader::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `writer::*` [INFO] [stdout] --> src/default_impls/mod.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | pub use writer::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default_impls::*` [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use default_impls::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 244 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:319:1 [INFO] [stdout] | [INFO] [stdout] 319 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:331:1 [INFO] [stdout] | [INFO] [stdout] 331 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:344:1 [INFO] [stdout] | [INFO] [stdout] 344 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:378:1 [INFO] [stdout] | [INFO] [stdout] 378 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/raw.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/reader.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | / impl_primitive!( [INFO] [stdout] 148 | | NonZeroU8 as u8, [INFO] [stdout] 149 | | nonzero_from_ptr, [INFO] [stdout] 150 | | nonzeroref_from_ptr, [INFO] [stdout] 151 | | nonzeroslice_from_ptr [INFO] [stdout] 152 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[warn(invalid_reference_casting)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | / impl_primitive!( [INFO] [stdout] 148 | | NonZeroU8 as u8, [INFO] [stdout] 149 | | nonzero_from_ptr, [INFO] [stdout] 150 | | nonzeroref_from_ptr, [INFO] [stdout] 151 | | nonzeroslice_from_ptr [INFO] [stdout] 152 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | / impl_primitive!( [INFO] [stdout] 148 | | NonZeroU8 as u8, [INFO] [stdout] 149 | | nonzero_from_ptr, [INFO] [stdout] 150 | | nonzeroref_from_ptr, [INFO] [stdout] 151 | | nonzeroslice_from_ptr [INFO] [stdout] 152 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | / impl_primitive!( [INFO] [stdout] 154 | | NonZeroU16 as u16, [INFO] [stdout] 155 | | nonzero_from_ptr, [INFO] [stdout] 156 | | nonzeroref_from_ptr, [INFO] [stdout] 157 | | nonzeroslice_from_ptr [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | / impl_primitive!( [INFO] [stdout] 154 | | NonZeroU16 as u16, [INFO] [stdout] 155 | | nonzero_from_ptr, [INFO] [stdout] 156 | | nonzeroref_from_ptr, [INFO] [stdout] 157 | | nonzeroslice_from_ptr [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | / impl_primitive!( [INFO] [stdout] 154 | | NonZeroU16 as u16, [INFO] [stdout] 155 | | nonzero_from_ptr, [INFO] [stdout] 156 | | nonzeroref_from_ptr, [INFO] [stdout] 157 | | nonzeroslice_from_ptr [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | / impl_primitive!( [INFO] [stdout] 160 | | NonZeroU32 as u32, [INFO] [stdout] 161 | | nonzero_from_ptr, [INFO] [stdout] 162 | | nonzeroref_from_ptr, [INFO] [stdout] 163 | | nonzeroslice_from_ptr [INFO] [stdout] 164 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | / impl_primitive!( [INFO] [stdout] 160 | | NonZeroU32 as u32, [INFO] [stdout] 161 | | nonzero_from_ptr, [INFO] [stdout] 162 | | nonzeroref_from_ptr, [INFO] [stdout] 163 | | nonzeroslice_from_ptr [INFO] [stdout] 164 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | / impl_primitive!( [INFO] [stdout] 160 | | NonZeroU32 as u32, [INFO] [stdout] 161 | | nonzero_from_ptr, [INFO] [stdout] 162 | | nonzeroref_from_ptr, [INFO] [stdout] 163 | | nonzeroslice_from_ptr [INFO] [stdout] 164 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl_primitive!( [INFO] [stdout] 166 | | NonZeroU64 as u64, [INFO] [stdout] 167 | | nonzero_from_ptr, [INFO] [stdout] 168 | | nonzeroref_from_ptr, [INFO] [stdout] 169 | | nonzeroslice_from_ptr [INFO] [stdout] 170 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl_primitive!( [INFO] [stdout] 166 | | NonZeroU64 as u64, [INFO] [stdout] 167 | | nonzero_from_ptr, [INFO] [stdout] 168 | | nonzeroref_from_ptr, [INFO] [stdout] 169 | | nonzeroslice_from_ptr [INFO] [stdout] 170 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl_primitive!( [INFO] [stdout] 166 | | NonZeroU64 as u64, [INFO] [stdout] 167 | | nonzero_from_ptr, [INFO] [stdout] 168 | | nonzeroref_from_ptr, [INFO] [stdout] 169 | | nonzeroslice_from_ptr [INFO] [stdout] 170 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | / impl_primitive!( [INFO] [stdout] 172 | | NonZeroU128 as u128, [INFO] [stdout] 173 | | nonzero_from_ptr, [INFO] [stdout] 174 | | nonzeroref_from_ptr, [INFO] [stdout] 175 | | nonzeroslice_from_ptr [INFO] [stdout] 176 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | / impl_primitive!( [INFO] [stdout] 172 | | NonZeroU128 as u128, [INFO] [stdout] 173 | | nonzero_from_ptr, [INFO] [stdout] 174 | | nonzeroref_from_ptr, [INFO] [stdout] 175 | | nonzeroslice_from_ptr [INFO] [stdout] 176 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | / impl_primitive!( [INFO] [stdout] 172 | | NonZeroU128 as u128, [INFO] [stdout] 173 | | nonzero_from_ptr, [INFO] [stdout] 174 | | nonzeroref_from_ptr, [INFO] [stdout] 175 | | nonzeroslice_from_ptr [INFO] [stdout] 176 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | / impl_primitive!( [INFO] [stdout] 178 | | NonZeroUsize as usize, [INFO] [stdout] 179 | | nonzero_from_ptr, [INFO] [stdout] 180 | | nonzeroref_from_ptr, [INFO] [stdout] 181 | | nonzeroslice_from_ptr [INFO] [stdout] 182 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | / impl_primitive!( [INFO] [stdout] 178 | | NonZeroUsize as usize, [INFO] [stdout] 179 | | nonzero_from_ptr, [INFO] [stdout] 180 | | nonzeroref_from_ptr, [INFO] [stdout] 181 | | nonzeroslice_from_ptr [INFO] [stdout] 182 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | / impl_primitive!( [INFO] [stdout] 178 | | NonZeroUsize as usize, [INFO] [stdout] 179 | | nonzero_from_ptr, [INFO] [stdout] 180 | | nonzeroref_from_ptr, [INFO] [stdout] 181 | | nonzeroslice_from_ptr [INFO] [stdout] 182 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / impl_primitive!( [INFO] [stdout] 184 | | NonZeroI8 as i8, [INFO] [stdout] 185 | | nonzero_from_ptr, [INFO] [stdout] 186 | | nonzeroref_from_ptr, [INFO] [stdout] 187 | | nonzeroslice_from_ptr [INFO] [stdout] 188 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / impl_primitive!( [INFO] [stdout] 184 | | NonZeroI8 as i8, [INFO] [stdout] 185 | | nonzero_from_ptr, [INFO] [stdout] 186 | | nonzeroref_from_ptr, [INFO] [stdout] 187 | | nonzeroslice_from_ptr [INFO] [stdout] 188 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / impl_primitive!( [INFO] [stdout] 184 | | NonZeroI8 as i8, [INFO] [stdout] 185 | | nonzero_from_ptr, [INFO] [stdout] 186 | | nonzeroref_from_ptr, [INFO] [stdout] 187 | | nonzeroslice_from_ptr [INFO] [stdout] 188 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | / impl_primitive!( [INFO] [stdout] 190 | | NonZeroI16 as i16, [INFO] [stdout] 191 | | nonzero_from_ptr, [INFO] [stdout] 192 | | nonzeroref_from_ptr, [INFO] [stdout] 193 | | nonzeroslice_from_ptr [INFO] [stdout] 194 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | / impl_primitive!( [INFO] [stdout] 190 | | NonZeroI16 as i16, [INFO] [stdout] 191 | | nonzero_from_ptr, [INFO] [stdout] 192 | | nonzeroref_from_ptr, [INFO] [stdout] 193 | | nonzeroslice_from_ptr [INFO] [stdout] 194 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | / impl_primitive!( [INFO] [stdout] 190 | | NonZeroI16 as i16, [INFO] [stdout] 191 | | nonzero_from_ptr, [INFO] [stdout] 192 | | nonzeroref_from_ptr, [INFO] [stdout] 193 | | nonzeroslice_from_ptr [INFO] [stdout] 194 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | / impl_primitive!( [INFO] [stdout] 196 | | NonZeroI32 as i32, [INFO] [stdout] 197 | | nonzero_from_ptr, [INFO] [stdout] 198 | | nonzeroref_from_ptr, [INFO] [stdout] 199 | | nonzeroslice_from_ptr [INFO] [stdout] 200 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | / impl_primitive!( [INFO] [stdout] 196 | | NonZeroI32 as i32, [INFO] [stdout] 197 | | nonzero_from_ptr, [INFO] [stdout] 198 | | nonzeroref_from_ptr, [INFO] [stdout] 199 | | nonzeroslice_from_ptr [INFO] [stdout] 200 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | / impl_primitive!( [INFO] [stdout] 196 | | NonZeroI32 as i32, [INFO] [stdout] 197 | | nonzero_from_ptr, [INFO] [stdout] 198 | | nonzeroref_from_ptr, [INFO] [stdout] 199 | | nonzeroslice_from_ptr [INFO] [stdout] 200 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | / impl_primitive!( [INFO] [stdout] 202 | | NonZeroI64 as i64, [INFO] [stdout] 203 | | nonzero_from_ptr, [INFO] [stdout] 204 | | nonzeroref_from_ptr, [INFO] [stdout] 205 | | nonzeroslice_from_ptr [INFO] [stdout] 206 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | / impl_primitive!( [INFO] [stdout] 202 | | NonZeroI64 as i64, [INFO] [stdout] 203 | | nonzero_from_ptr, [INFO] [stdout] 204 | | nonzeroref_from_ptr, [INFO] [stdout] 205 | | nonzeroslice_from_ptr [INFO] [stdout] 206 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | / impl_primitive!( [INFO] [stdout] 202 | | NonZeroI64 as i64, [INFO] [stdout] 203 | | nonzero_from_ptr, [INFO] [stdout] 204 | | nonzeroref_from_ptr, [INFO] [stdout] 205 | | nonzeroslice_from_ptr [INFO] [stdout] 206 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | / impl_primitive!( [INFO] [stdout] 208 | | NonZeroI128 as i128, [INFO] [stdout] 209 | | nonzero_from_ptr, [INFO] [stdout] 210 | | nonzeroref_from_ptr, [INFO] [stdout] 211 | | nonzeroslice_from_ptr [INFO] [stdout] 212 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | / impl_primitive!( [INFO] [stdout] 208 | | NonZeroI128 as i128, [INFO] [stdout] 209 | | nonzero_from_ptr, [INFO] [stdout] 210 | | nonzeroref_from_ptr, [INFO] [stdout] 211 | | nonzeroslice_from_ptr [INFO] [stdout] 212 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | / impl_primitive!( [INFO] [stdout] 208 | | NonZeroI128 as i128, [INFO] [stdout] 209 | | nonzero_from_ptr, [INFO] [stdout] 210 | | nonzeroref_from_ptr, [INFO] [stdout] 211 | | nonzeroslice_from_ptr [INFO] [stdout] 212 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | / impl_primitive!( [INFO] [stdout] 214 | | NonZeroIsize as isize, [INFO] [stdout] 215 | | nonzero_from_ptr, [INFO] [stdout] 216 | | nonzeroref_from_ptr, [INFO] [stdout] 217 | | nonzeroslice_from_ptr [INFO] [stdout] 218 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | / impl_primitive!( [INFO] [stdout] 214 | | NonZeroIsize as isize, [INFO] [stdout] 215 | | nonzero_from_ptr, [INFO] [stdout] 216 | | nonzeroref_from_ptr, [INFO] [stdout] 217 | | nonzeroslice_from_ptr [INFO] [stdout] 218 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | / impl_primitive!( [INFO] [stdout] 214 | | NonZeroIsize as isize, [INFO] [stdout] 215 | | nonzero_from_ptr, [INFO] [stdout] 216 | | nonzeroref_from_ptr, [INFO] [stdout] 217 | | nonzeroslice_from_ptr [INFO] [stdout] 218 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling simple_parse v0.6.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `username_len` and `got_session` are never read [INFO] [stdout] --> examples/inspect.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct LoginInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 34 | username_len: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | got_session: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opt_hints::*` [INFO] [stdout] --> src/default_impls/mod.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | pub use opt_hints::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raw::*` [INFO] [stdout] --> src/default_impls/mod.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | pub use raw::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reader::*` [INFO] [stdout] --> src/default_impls/mod.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | pub use reader::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `writer::*` [INFO] [stdout] --> src/default_impls/mod.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | pub use writer::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default_impls::*` [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use default_impls::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/tests/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/tests/mod.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 244 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:319:1 [INFO] [stdout] | [INFO] [stdout] 319 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:331:1 [INFO] [stdout] | [INFO] [stdout] 331 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:344:1 [INFO] [stdout] | [INFO] [stdout] 344 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/mod.rs:378:1 [INFO] [stdout] | [INFO] [stdout] 378 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/raw.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/default_impls/reader.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | / impl_primitive!( [INFO] [stdout] 148 | | NonZeroU8 as u8, [INFO] [stdout] 149 | | nonzero_from_ptr, [INFO] [stdout] 150 | | nonzeroref_from_ptr, [INFO] [stdout] 151 | | nonzeroslice_from_ptr [INFO] [stdout] 152 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[warn(invalid_reference_casting)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | / impl_primitive!( [INFO] [stdout] 148 | | NonZeroU8 as u8, [INFO] [stdout] 149 | | nonzero_from_ptr, [INFO] [stdout] 150 | | nonzeroref_from_ptr, [INFO] [stdout] 151 | | nonzeroslice_from_ptr [INFO] [stdout] 152 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | / impl_primitive!( [INFO] [stdout] 148 | | NonZeroU8 as u8, [INFO] [stdout] 149 | | nonzero_from_ptr, [INFO] [stdout] 150 | | nonzeroref_from_ptr, [INFO] [stdout] 151 | | nonzeroslice_from_ptr [INFO] [stdout] 152 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | / impl_primitive!( [INFO] [stdout] 154 | | NonZeroU16 as u16, [INFO] [stdout] 155 | | nonzero_from_ptr, [INFO] [stdout] 156 | | nonzeroref_from_ptr, [INFO] [stdout] 157 | | nonzeroslice_from_ptr [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | / impl_primitive!( [INFO] [stdout] 154 | | NonZeroU16 as u16, [INFO] [stdout] 155 | | nonzero_from_ptr, [INFO] [stdout] 156 | | nonzeroref_from_ptr, [INFO] [stdout] 157 | | nonzeroslice_from_ptr [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | / impl_primitive!( [INFO] [stdout] 154 | | NonZeroU16 as u16, [INFO] [stdout] 155 | | nonzero_from_ptr, [INFO] [stdout] 156 | | nonzeroref_from_ptr, [INFO] [stdout] 157 | | nonzeroslice_from_ptr [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | / impl_primitive!( [INFO] [stdout] 160 | | NonZeroU32 as u32, [INFO] [stdout] 161 | | nonzero_from_ptr, [INFO] [stdout] 162 | | nonzeroref_from_ptr, [INFO] [stdout] 163 | | nonzeroslice_from_ptr [INFO] [stdout] 164 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | / impl_primitive!( [INFO] [stdout] 160 | | NonZeroU32 as u32, [INFO] [stdout] 161 | | nonzero_from_ptr, [INFO] [stdout] 162 | | nonzeroref_from_ptr, [INFO] [stdout] 163 | | nonzeroslice_from_ptr [INFO] [stdout] 164 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | / impl_primitive!( [INFO] [stdout] 160 | | NonZeroU32 as u32, [INFO] [stdout] 161 | | nonzero_from_ptr, [INFO] [stdout] 162 | | nonzeroref_from_ptr, [INFO] [stdout] 163 | | nonzeroslice_from_ptr [INFO] [stdout] 164 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl_primitive!( [INFO] [stdout] 166 | | NonZeroU64 as u64, [INFO] [stdout] 167 | | nonzero_from_ptr, [INFO] [stdout] 168 | | nonzeroref_from_ptr, [INFO] [stdout] 169 | | nonzeroslice_from_ptr [INFO] [stdout] 170 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl_primitive!( [INFO] [stdout] 166 | | NonZeroU64 as u64, [INFO] [stdout] 167 | | nonzero_from_ptr, [INFO] [stdout] 168 | | nonzeroref_from_ptr, [INFO] [stdout] 169 | | nonzeroslice_from_ptr [INFO] [stdout] 170 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl_primitive!( [INFO] [stdout] 166 | | NonZeroU64 as u64, [INFO] [stdout] 167 | | nonzero_from_ptr, [INFO] [stdout] 168 | | nonzeroref_from_ptr, [INFO] [stdout] 169 | | nonzeroslice_from_ptr [INFO] [stdout] 170 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | / impl_primitive!( [INFO] [stdout] 172 | | NonZeroU128 as u128, [INFO] [stdout] 173 | | nonzero_from_ptr, [INFO] [stdout] 174 | | nonzeroref_from_ptr, [INFO] [stdout] 175 | | nonzeroslice_from_ptr [INFO] [stdout] 176 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | / impl_primitive!( [INFO] [stdout] 172 | | NonZeroU128 as u128, [INFO] [stdout] 173 | | nonzero_from_ptr, [INFO] [stdout] 174 | | nonzeroref_from_ptr, [INFO] [stdout] 175 | | nonzeroslice_from_ptr [INFO] [stdout] 176 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | / impl_primitive!( [INFO] [stdout] 172 | | NonZeroU128 as u128, [INFO] [stdout] 173 | | nonzero_from_ptr, [INFO] [stdout] 174 | | nonzeroref_from_ptr, [INFO] [stdout] 175 | | nonzeroslice_from_ptr [INFO] [stdout] 176 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | / impl_primitive!( [INFO] [stdout] 178 | | NonZeroUsize as usize, [INFO] [stdout] 179 | | nonzero_from_ptr, [INFO] [stdout] 180 | | nonzeroref_from_ptr, [INFO] [stdout] 181 | | nonzeroslice_from_ptr [INFO] [stdout] 182 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | / impl_primitive!( [INFO] [stdout] 178 | | NonZeroUsize as usize, [INFO] [stdout] 179 | | nonzero_from_ptr, [INFO] [stdout] 180 | | nonzeroref_from_ptr, [INFO] [stdout] 181 | | nonzeroslice_from_ptr [INFO] [stdout] 182 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | / impl_primitive!( [INFO] [stdout] 178 | | NonZeroUsize as usize, [INFO] [stdout] 179 | | nonzero_from_ptr, [INFO] [stdout] 180 | | nonzeroref_from_ptr, [INFO] [stdout] 181 | | nonzeroslice_from_ptr [INFO] [stdout] 182 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / impl_primitive!( [INFO] [stdout] 184 | | NonZeroI8 as i8, [INFO] [stdout] 185 | | nonzero_from_ptr, [INFO] [stdout] 186 | | nonzeroref_from_ptr, [INFO] [stdout] 187 | | nonzeroslice_from_ptr [INFO] [stdout] 188 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / impl_primitive!( [INFO] [stdout] 184 | | NonZeroI8 as i8, [INFO] [stdout] 185 | | nonzero_from_ptr, [INFO] [stdout] 186 | | nonzeroref_from_ptr, [INFO] [stdout] 187 | | nonzeroslice_from_ptr [INFO] [stdout] 188 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / impl_primitive!( [INFO] [stdout] 184 | | NonZeroI8 as i8, [INFO] [stdout] 185 | | nonzero_from_ptr, [INFO] [stdout] 186 | | nonzeroref_from_ptr, [INFO] [stdout] 187 | | nonzeroslice_from_ptr [INFO] [stdout] 188 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | / impl_primitive!( [INFO] [stdout] 190 | | NonZeroI16 as i16, [INFO] [stdout] 191 | | nonzero_from_ptr, [INFO] [stdout] 192 | | nonzeroref_from_ptr, [INFO] [stdout] 193 | | nonzeroslice_from_ptr [INFO] [stdout] 194 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | / impl_primitive!( [INFO] [stdout] 190 | | NonZeroI16 as i16, [INFO] [stdout] 191 | | nonzero_from_ptr, [INFO] [stdout] 192 | | nonzeroref_from_ptr, [INFO] [stdout] 193 | | nonzeroslice_from_ptr [INFO] [stdout] 194 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | / impl_primitive!( [INFO] [stdout] 190 | | NonZeroI16 as i16, [INFO] [stdout] 191 | | nonzero_from_ptr, [INFO] [stdout] 192 | | nonzeroref_from_ptr, [INFO] [stdout] 193 | | nonzeroslice_from_ptr [INFO] [stdout] 194 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | / impl_primitive!( [INFO] [stdout] 196 | | NonZeroI32 as i32, [INFO] [stdout] 197 | | nonzero_from_ptr, [INFO] [stdout] 198 | | nonzeroref_from_ptr, [INFO] [stdout] 199 | | nonzeroslice_from_ptr [INFO] [stdout] 200 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | / impl_primitive!( [INFO] [stdout] 196 | | NonZeroI32 as i32, [INFO] [stdout] 197 | | nonzero_from_ptr, [INFO] [stdout] 198 | | nonzeroref_from_ptr, [INFO] [stdout] 199 | | nonzeroslice_from_ptr [INFO] [stdout] 200 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | / impl_primitive!( [INFO] [stdout] 196 | | NonZeroI32 as i32, [INFO] [stdout] 197 | | nonzero_from_ptr, [INFO] [stdout] 198 | | nonzeroref_from_ptr, [INFO] [stdout] 199 | | nonzeroslice_from_ptr [INFO] [stdout] 200 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | / impl_primitive!( [INFO] [stdout] 202 | | NonZeroI64 as i64, [INFO] [stdout] 203 | | nonzero_from_ptr, [INFO] [stdout] 204 | | nonzeroref_from_ptr, [INFO] [stdout] 205 | | nonzeroslice_from_ptr [INFO] [stdout] 206 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | / impl_primitive!( [INFO] [stdout] 202 | | NonZeroI64 as i64, [INFO] [stdout] 203 | | nonzero_from_ptr, [INFO] [stdout] 204 | | nonzeroref_from_ptr, [INFO] [stdout] 205 | | nonzeroslice_from_ptr [INFO] [stdout] 206 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | / impl_primitive!( [INFO] [stdout] 202 | | NonZeroI64 as i64, [INFO] [stdout] 203 | | nonzero_from_ptr, [INFO] [stdout] 204 | | nonzeroref_from_ptr, [INFO] [stdout] 205 | | nonzeroslice_from_ptr [INFO] [stdout] 206 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | / impl_primitive!( [INFO] [stdout] 208 | | NonZeroI128 as i128, [INFO] [stdout] 209 | | nonzero_from_ptr, [INFO] [stdout] 210 | | nonzeroref_from_ptr, [INFO] [stdout] 211 | | nonzeroslice_from_ptr [INFO] [stdout] 212 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | / impl_primitive!( [INFO] [stdout] 208 | | NonZeroI128 as i128, [INFO] [stdout] 209 | | nonzero_from_ptr, [INFO] [stdout] 210 | | nonzeroref_from_ptr, [INFO] [stdout] 211 | | nonzeroslice_from_ptr [INFO] [stdout] 212 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | / impl_primitive!( [INFO] [stdout] 208 | | NonZeroI128 as i128, [INFO] [stdout] 209 | | nonzero_from_ptr, [INFO] [stdout] 210 | | nonzeroref_from_ptr, [INFO] [stdout] 211 | | nonzeroslice_from_ptr [INFO] [stdout] 212 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | / impl_primitive!( [INFO] [stdout] 214 | | NonZeroIsize as isize, [INFO] [stdout] 215 | | nonzero_from_ptr, [INFO] [stdout] 216 | | nonzeroref_from_ptr, [INFO] [stdout] 217 | | nonzeroslice_from_ptr [INFO] [stdout] 218 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | / impl_primitive!( [INFO] [stdout] 214 | | NonZeroIsize as isize, [INFO] [stdout] 215 | | nonzero_from_ptr, [INFO] [stdout] 216 | | nonzeroref_from_ptr, [INFO] [stdout] 217 | | nonzeroslice_from_ptr [INFO] [stdout] 218 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/default_impls/raw.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | / impl_primitive!( [INFO] [stdout] 214 | | NonZeroIsize as isize, [INFO] [stdout] 215 | | nonzero_from_ptr, [INFO] [stdout] 216 | | nonzeroref_from_ptr, [INFO] [stdout] 217 | | nonzeroslice_from_ptr [INFO] [stdout] 218 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.51s [INFO] running `Command { std: "docker" "inspect" "692b8abdab92904dc25eb111158cd8ac9ca3d708feb71430862e8cb52c1b652a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "692b8abdab92904dc25eb111158cd8ac9ca3d708feb71430862e8cb52c1b652a", kill_on_drop: false }` [INFO] [stdout] 692b8abdab92904dc25eb111158cd8ac9ca3d708feb71430862e8cb52c1b652a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 77b24ca234768faa8d2a3509315e22ec02943c604def1557253a7212767c59cb [INFO] running `Command { std: "docker" "start" "-a" "77b24ca234768faa8d2a3509315e22ec02943c604def1557253a7212767c59cb", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `opt_hints::*` [INFO] [stderr] --> src/default_impls/mod.rs:387:9 [INFO] [stderr] | [INFO] [stderr] 387 | pub use opt_hints::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `raw::*` [INFO] [stderr] --> src/default_impls/mod.rs:390:9 [INFO] [stderr] | [INFO] [stderr] 390 | pub use raw::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `reader::*` [INFO] [stderr] --> src/default_impls/mod.rs:393:9 [INFO] [stderr] | [INFO] [stderr] 393 | pub use reader::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `writer::*` [INFO] [stderr] --> src/default_impls/mod.rs:396:9 [INFO] [stderr] | [INFO] [stderr] 396 | pub use writer::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `default_impls::*` [INFO] [stderr] --> src/lib.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub use default_impls::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/mod.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/mod.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/mod.rs:97:1 [INFO] [stderr] | [INFO] [stderr] 97 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/mod.rs:138:1 [INFO] [stderr] | [INFO] [stderr] 138 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/mod.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/mod.rs:189:1 [INFO] [stderr] | [INFO] [stderr] 189 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/mod.rs:213:1 [INFO] [stderr] | [INFO] [stderr] 213 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/mod.rs:244:1 [INFO] [stderr] | [INFO] [stderr] 244 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/mod.rs:284:1 [INFO] [stderr] | [INFO] [stderr] 284 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/mod.rs:319:1 [INFO] [stderr] | [INFO] [stderr] 319 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/mod.rs:331:1 [INFO] [stderr] | [INFO] [stderr] 331 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/mod.rs:344:1 [INFO] [stderr] | [INFO] [stderr] 344 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/mod.rs:357:1 [INFO] [stderr] | [INFO] [stderr] 357 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/mod.rs:372:1 [INFO] [stderr] | [INFO] [stderr] 372 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/mod.rs:378:1 [INFO] [stderr] | [INFO] [stderr] 378 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/raw.rs:317:1 [INFO] [stderr] | [INFO] [stderr] 317 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/reader.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stderr] --> src/default_impls/raw.rs:121:23 [INFO] [stderr] | [INFO] [stderr] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 147 | / impl_primitive!( [INFO] [stderr] 148 | | NonZeroU8 as u8, [INFO] [stderr] 149 | | nonzero_from_ptr, [INFO] [stderr] 150 | | nonzeroref_from_ptr, [INFO] [stderr] 151 | | nonzeroslice_from_ptr [INFO] [stderr] 152 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, visit [INFO] [stderr] = note: `#[warn(invalid_reference_casting)]` on by default [INFO] [stderr] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stderr] --> src/default_impls/raw.rs:121:23 [INFO] [stderr] | [INFO] [stderr] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 147 | / impl_primitive!( [INFO] [stderr] 148 | | NonZeroU8 as u8, [INFO] [stderr] 149 | | nonzero_from_ptr, [INFO] [stderr] 150 | | nonzeroref_from_ptr, [INFO] [stderr] 151 | | nonzeroslice_from_ptr [INFO] [stderr] 152 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, visit [INFO] [stderr] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stderr] --> src/default_impls/raw.rs:121:23 [INFO] [stderr] | [INFO] [stderr] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 153 | / impl_primitive!( [INFO] [stderr] 154 | | NonZeroU16 as u16, [INFO] [stderr] 155 | | nonzero_from_ptr, [INFO] [stderr] 156 | | nonzeroref_from_ptr, [INFO] [stderr] 157 | | nonzeroslice_from_ptr [INFO] [stderr] 158 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, visit [INFO] [stderr] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stderr] --> src/default_impls/raw.rs:121:23 [INFO] [stderr] | [INFO] [stderr] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 159 | / impl_primitive!( [INFO] [stderr] 160 | | NonZeroU32 as u32, [INFO] [stderr] 161 | | nonzero_from_ptr, [INFO] [stderr] 162 | | nonzeroref_from_ptr, [INFO] [stderr] 163 | | nonzeroslice_from_ptr [INFO] [stderr] 164 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, visit [INFO] [stderr] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stderr] --> src/default_impls/raw.rs:121:23 [INFO] [stderr] | [INFO] [stderr] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 165 | / impl_primitive!( [INFO] [stderr] 166 | | NonZeroU64 as u64, [INFO] [stderr] 167 | | nonzero_from_ptr, [INFO] [stderr] 168 | | nonzeroref_from_ptr, [INFO] [stderr] 169 | | nonzeroslice_from_ptr [INFO] [stderr] 170 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, visit [INFO] [stderr] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stderr] --> src/default_impls/raw.rs:121:23 [INFO] [stderr] | [INFO] [stderr] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 171 | / impl_primitive!( [INFO] [stderr] 172 | | NonZeroU128 as u128, [INFO] [stderr] 173 | | nonzero_from_ptr, [INFO] [stderr] 174 | | nonzeroref_from_ptr, [INFO] [stderr] 175 | | nonzeroslice_from_ptr [INFO] [stderr] 176 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, visit [INFO] [stderr] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stderr] --> src/default_impls/raw.rs:121:23 [INFO] [stderr] | [INFO] [stderr] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 177 | / impl_primitive!( [INFO] [stderr] 178 | | NonZeroUsize as usize, [INFO] [stderr] 179 | | nonzero_from_ptr, [INFO] [stderr] 180 | | nonzeroref_from_ptr, [INFO] [stderr] 181 | | nonzeroslice_from_ptr [INFO] [stderr] 182 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, visit [INFO] [stderr] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stderr] --> src/default_impls/raw.rs:121:23 [INFO] [stderr] | [INFO] [stderr] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 183 | / impl_primitive!( [INFO] [stderr] 184 | | NonZeroI8 as i8, [INFO] [stderr] 185 | | nonzero_from_ptr, [INFO] [stderr] 186 | | nonzeroref_from_ptr, [INFO] [stderr] 187 | | nonzeroslice_from_ptr [INFO] [stderr] 188 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, visit [INFO] [stderr] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stderr] --> src/default_impls/raw.rs:121:23 [INFO] [stderr] | [INFO] [stderr] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 189 | / impl_primitive!( [INFO] [stderr] 190 | | NonZeroI16 as i16, [INFO] [stderr] 191 | | nonzero_from_ptr, [INFO] [stderr] 192 | | nonzeroref_from_ptr, [INFO] [stderr] 193 | | nonzeroslice_from_ptr [INFO] [stderr] 194 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, visit [INFO] [stderr] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stderr] --> src/default_impls/raw.rs:121:23 [INFO] [stderr] | [INFO] [stderr] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 195 | / impl_primitive!( [INFO] [stderr] 196 | | NonZeroI32 as i32, [INFO] [stderr] 197 | | nonzero_from_ptr, [INFO] [stderr] 198 | | nonzeroref_from_ptr, [INFO] [stderr] 199 | | nonzeroslice_from_ptr [INFO] [stderr] 200 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, visit [INFO] [stderr] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stderr] --> src/default_impls/raw.rs:121:23 [INFO] [stderr] | [INFO] [stderr] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 201 | / impl_primitive!( [INFO] [stderr] 202 | | NonZeroI64 as i64, [INFO] [stderr] 203 | | nonzero_from_ptr, [INFO] [stderr] 204 | | nonzeroref_from_ptr, [INFO] [stderr] 205 | | nonzeroslice_from_ptr [INFO] [stderr] 206 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, visit [INFO] [stderr] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stderr] --> src/default_impls/raw.rs:121:23 [INFO] [stderr] | [INFO] [stderr] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 207 | / impl_primitive!( [INFO] [stderr] 208 | | NonZeroI128 as i128, [INFO] [stderr] 209 | | nonzero_from_ptr, [INFO] [stderr] 210 | | nonzeroref_from_ptr, [INFO] [stderr] 211 | | nonzeroslice_from_ptr [INFO] [stderr] 212 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, visit [INFO] [stderr] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stderr] --> src/default_impls/raw.rs:121:23 [INFO] [stderr] | [INFO] [stderr] 121 | let r: $typ = &mut *(prim_ref as *const $as_typ as *mut $as_typ as *mut _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 213 | / impl_primitive!( [INFO] [stderr] 214 | | NonZeroIsize as isize, [INFO] [stderr] 215 | | nonzero_from_ptr, [INFO] [stderr] 216 | | nonzeroref_from_ptr, [INFO] [stderr] 217 | | nonzeroslice_from_ptr [INFO] [stderr] 218 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, visit [INFO] [stderr] = note: this warning originates in the macro `nonzeroref_from_ptr` which comes from the expansion of the macro `impl_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/tests/mod.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/tests/mod.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stderr] --> src/default_impls/mod.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stderr] [INFO] [stderr] warning: `simple_parse` (lib) generated 58 warnings (23 duplicates) (run `cargo fix --lib -p simple_parse` to apply 22 suggestions) [INFO] [stderr] warning: `simple_parse` (lib test) generated 60 warnings (57 duplicates) (run `cargo fix --lib -p simple_parse --tests` to apply 3 suggestions) [INFO] [stderr] warning: fields `username_len` and `got_session` are never read [INFO] [stderr] --> examples/inspect.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct LoginInfo { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 34 | username_len: u8, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | got_session: bool, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LoginInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `simple_parse` (example "inspect") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_parse-4ef4883cc781e1b2) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::primitive_types ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::primitive_types stdout ---- [INFO] [stdout] [INFO] [stdout] Empty Slice [INFO] [stdout] One byte short [INFO] [stdout] One byte extra [INFO] [stdout] Little Endian [INFO] [stdout] Big Endian [INFO] [stdout] u8 * 3 [INFO] [stdout] &u8 [INFO] [stdout] &[u8] with count [INFO] [stdout] [INFO] [stdout] Empty Slice [INFO] [stdout] One byte short [INFO] [stdout] One byte extra [INFO] [stdout] Little Endian [INFO] [stdout] Big Endian [INFO] [stdout] u16 * 3 [INFO] [stdout] &u16 [INFO] [stdout] &[u16] with count [INFO] [stdout] [INFO] [stdout] Empty Slice [INFO] [stdout] One byte short [INFO] [stdout] One byte extra [INFO] [stdout] Little Endian [INFO] [stdout] Big Endian [INFO] [stdout] u32 * 3 [INFO] [stdout] &u32 [INFO] [stdout] &[u32] with count [INFO] [stdout] [INFO] [stdout] Empty Slice [INFO] [stdout] One byte short [INFO] [stdout] One byte extra [INFO] [stdout] Little Endian [INFO] [stdout] Big Endian [INFO] [stdout] u64 * 3 [INFO] [stdout] &u64 [INFO] [stdout] &[u64] with count [INFO] [stdout] [INFO] [stdout] Empty Slice [INFO] [stdout] One byte short [INFO] [stdout] One byte extra [INFO] [stdout] Little Endian [INFO] [stdout] Big Endian [INFO] [stdout] u128 * 3 [INFO] [stdout] &u128 [INFO] [stdout] [INFO] [stdout] thread 'tests::primitive_types' (25) panicked at src/tests/mod.rs:226:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: BadAlignment [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5786612df1f2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5786612df1f2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5786612df1f2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5786612df1f2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5786612f0e9f - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5786612f0e9f - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5786612ac761 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5786612ac761 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5786612b87c2 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5786612bd30f - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5786612bd1a1 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x57866127dd6e - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x57866127dd6e - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5786612bd9cf - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5786612bd9cf - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5786612bd82a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5786612b88f9 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5786612a0c3d - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5786612f8820 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5786612f7eb6 - core::result::unwrap_failed::hdde076be853d034f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x578661215f2d - core::result::Result::unwrap::hc8a0cdf6f290b582 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x578661215f2d - simple_parse::tests::primitive_types::heee327d23fd2cb46 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/mod.rs:95:60 [INFO] [stdout] 22: 0x5786612335d7 - simple_parse::tests::primitive_types::{{closure}}::hd3bb9465e33c52c5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/mod.rs:221:21 [INFO] [stdout] 23: 0x57866124c6d6 - core::ops::function::FnOnce::call_once::h1a1a4e6f9e213872 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x57866127db2b - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x57866127db2b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x578661293795 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x578661293795 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x578661293795 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x578661293795 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x578661293795 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x578661293795 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x578661293795 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x578661269f84 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x578661269f84 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x57866126d84a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x57866126d84a - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x57866126d84a - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x57866126d84a - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x57866126d84a - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x57866126d84a - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x57866126d84a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5786612b3a5f - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5786612b3a5f - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x715bec073aa4 - [INFO] [stdout] 45: 0x715bec100a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::primitive_types [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "77b24ca234768faa8d2a3509315e22ec02943c604def1557253a7212767c59cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77b24ca234768faa8d2a3509315e22ec02943c604def1557253a7212767c59cb", kill_on_drop: false }` [INFO] [stdout] 77b24ca234768faa8d2a3509315e22ec02943c604def1557253a7212767c59cb