[INFO] fetching crate hash_ord 0.1.10... [INFO] testing hash_ord-0.1.10 against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-3 [INFO] extracting crate hash_ord 0.1.10 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate hash_ord 0.1.10 on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hash_ord 0.1.10 [INFO] finished tweaking crates.io crate hash_ord 0.1.10 [INFO] tweaked toml for crates.io crate hash_ord 0.1.10 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.37) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d3048c75d36e8267a41d6c544e76f5158796c10ab23125574a7a864f37b3211 [INFO] running `Command { std: "docker" "start" "-a" "5d3048c75d36e8267a41d6c544e76f5158796c10ab23125574a7a864f37b3211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d3048c75d36e8267a41d6c544e76f5158796c10ab23125574a7a864f37b3211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d3048c75d36e8267a41d6c544e76f5158796c10ab23125574a7a864f37b3211", kill_on_drop: false }` [INFO] [stdout] 5d3048c75d36e8267a41d6c544e76f5158796c10ab23125574a7a864f37b3211 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e62d5964c89a72b3381f683cb2c0d59e340fd5c2d709986bebe6de2a53080d8 [INFO] running `Command { std: "docker" "start" "-a" "7e62d5964c89a72b3381f683cb2c0d59e340fd5c2d709986bebe6de2a53080d8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling hash_ord v0.1.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ord_map.rs:1780:34 [INFO] [stdout] | [INFO] [stdout] 1780 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1780 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] 1780 + fn next(&mut self) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ord_map.rs:1815:34 [INFO] [stdout] | [INFO] [stdout] 1815 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1815 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] 1815 + fn next(&mut self) -> Option<&'a V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ord_map.rs:1850:34 [INFO] [stdout] | [INFO] [stdout] 1850 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1850 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] 1850 + fn next(&mut self) -> Option<&'a mut V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hash_map.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 204 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] 204 + fn next(&mut self) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hash_map.rs:238:34 [INFO] [stdout] | [INFO] [stdout] 238 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] 238 + fn next(&mut self) -> Option<&'a V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hash_map.rs:272:34 [INFO] [stdout] | [INFO] [stdout] 272 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 272 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] 272 + fn next(&mut self) -> Option<&'a mut V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fastbin.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | let mut fastbin = unsafe { mem::uninitialized::() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/ord_map.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | container_of!(self, AVLEntry, node) [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/hash_table.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | container_of!(self, HashIndex, node) [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/hash_table.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | container_of!(self, HashNode, avl_node) [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/hash_map.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | container_of!(key, (K, V), 0) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/hash_map.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | container_of!(self, InternalHashEntry, node) [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Fastbin` does not permit being left uninitialized [INFO] [stdout] --> src/fastbin.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | let mut fastbin = unsafe { mem::uninitialized::() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/fastbin.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | obj_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "7e62d5964c89a72b3381f683cb2c0d59e340fd5c2d709986bebe6de2a53080d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e62d5964c89a72b3381f683cb2c0d59e340fd5c2d709986bebe6de2a53080d8", kill_on_drop: false }` [INFO] [stdout] 7e62d5964c89a72b3381f683cb2c0d59e340fd5c2d709986bebe6de2a53080d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f6827141c22ad8c46ed47978aed89542cbde955f36d1b627f4932cd7242844c [INFO] running `Command { std: "docker" "start" "-a" "3f6827141c22ad8c46ed47978aed89542cbde955f36d1b627f4932cd7242844c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ord_map.rs:1780:34 [INFO] [stdout] | [INFO] [stdout] 1780 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1780 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] 1780 + fn next(&mut self) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ord_map.rs:1815:34 [INFO] [stdout] | [INFO] [stdout] 1815 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1815 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] 1815 + fn next(&mut self) -> Option<&'a V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ord_map.rs:1850:34 [INFO] [stdout] | [INFO] [stdout] 1850 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1850 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] 1850 + fn next(&mut self) -> Option<&'a mut V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hash_map.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 204 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] 204 + fn next(&mut self) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hash_map.rs:238:34 [INFO] [stdout] | [INFO] [stdout] 238 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] 238 + fn next(&mut self) -> Option<&'a V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hash_map.rs:272:34 [INFO] [stdout] | [INFO] [stdout] 272 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 272 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] 272 + fn next(&mut self) -> Option<&'a mut V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fastbin.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | let mut fastbin = unsafe { mem::uninitialized::() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/ord_map.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | container_of!(self, AVLEntry, node) [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/hash_table.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | container_of!(self, HashIndex, node) [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/hash_table.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | container_of!(self, HashNode, avl_node) [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/hash_map.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | container_of!(key, (K, V), 0) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/hash_map.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | container_of!(self, InternalHashEntry, node) [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Fastbin` does not permit being left uninitialized [INFO] [stdout] --> src/fastbin.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | let mut fastbin = unsafe { mem::uninitialized::() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/fastbin.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | obj_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hash_ord v0.1.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/rbtree_by_tickdream125.rs:491:34 [INFO] [stdout] | [INFO] [stdout] 491 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 491 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] 491 + fn next(&mut self) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/rbtree_by_tickdream125.rs:536:34 [INFO] [stdout] | [INFO] [stdout] 536 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 536 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] 536 + fn next(&mut self) -> Option<&'a V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/rbtree_by_tickdream125.rs:584:34 [INFO] [stdout] | [INFO] [stdout] 584 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 584 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] 584 + fn next(&mut self) -> Option<&'a mut V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/rbtree_by_tickdream125.rs:491:34 [INFO] [stdout] | [INFO] [stdout] 491 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 491 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] 491 + fn next(&mut self) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/rbtree_by_tickdream125.rs:536:34 [INFO] [stdout] | [INFO] [stdout] 536 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 536 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] 536 + fn next(&mut self) -> Option<&'a V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/rbtree_by_tickdream125.rs:584:34 [INFO] [stdout] | [INFO] [stdout] 584 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 584 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] 584 + fn next(&mut self) -> Option<&'a mut V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> examples/rbtree_by_tickdream125.rs:1184:17 [INFO] [stdout] | [INFO] [stdout] 1184 | Box::from_raw(current.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1184 | let _ = Box::from_raw(current.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ord_map.rs:1780:34 [INFO] [stdout] | [INFO] [stdout] 1780 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1780 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] 1780 + fn next(&mut self) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ord_map.rs:1815:34 [INFO] [stdout] | [INFO] [stdout] 1815 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1815 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] 1815 + fn next(&mut self) -> Option<&'a V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ord_map.rs:1850:34 [INFO] [stdout] | [INFO] [stdout] 1850 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1850 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] 1850 + fn next(&mut self) -> Option<&'a mut V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hash_map.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 204 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] 204 + fn next(&mut self) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hash_map.rs:238:34 [INFO] [stdout] | [INFO] [stdout] 238 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] 238 + fn next(&mut self) -> Option<&'a V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hash_map.rs:272:34 [INFO] [stdout] | [INFO] [stdout] 272 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 272 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] 272 + fn next(&mut self) -> Option<&'a mut V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> examples/rbtree_by_tickdream125.rs:1184:17 [INFO] [stdout] | [INFO] [stdout] 1184 | Box::from_raw(current.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1184 | let _ = Box::from_raw(current.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fastbin.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | let mut fastbin = unsafe { mem::uninitialized::() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/ord_map.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | container_of!(self, AVLEntry, node) [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/hash_table.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | container_of!(self, HashIndex, node) [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/hash_table.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | container_of!(self, HashNode, avl_node) [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/hash_map.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | container_of!(key, (K, V), 0) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/hash_map.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | container_of!(self, InternalHashEntry, node) [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Fastbin` does not permit being left uninitialized [INFO] [stdout] --> src/fastbin.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | let mut fastbin = unsafe { mem::uninitialized::() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/fastbin.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | obj_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.80s [INFO] running `Command { std: "docker" "inspect" "3f6827141c22ad8c46ed47978aed89542cbde955f36d1b627f4932cd7242844c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f6827141c22ad8c46ed47978aed89542cbde955f36d1b627f4932cd7242844c", kill_on_drop: false }` [INFO] [stdout] 3f6827141c22ad8c46ed47978aed89542cbde955f36d1b627f4932cd7242844c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8a66cb70c5adfa680c8f49c8dfd8a7626cbe6cba217f8da021392e40eb6914a6 [INFO] running `Command { std: "docker" "start" "-a" "8a66cb70c5adfa680c8f49c8dfd8a7626cbe6cba217f8da021392e40eb6914a6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/ord_map.rs:1780:34 [INFO] [stderr] | [INFO] [stderr] 1780 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1780 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stderr] 1780 + fn next(&mut self) -> Option<&'a K> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/ord_map.rs:1815:34 [INFO] [stderr] | [INFO] [stderr] 1815 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1815 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stderr] 1815 + fn next(&mut self) -> Option<&'a V> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/ord_map.rs:1850:34 [INFO] [stderr] | [INFO] [stderr] 1850 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1850 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stderr] 1850 + fn next(&mut self) -> Option<&'a mut V> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/hash_map.rs:204:34 [INFO] [stderr] | [INFO] [stderr] 204 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 204 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stderr] 204 + fn next(&mut self) -> Option<&'a K> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/hash_map.rs:238:34 [INFO] [stderr] | [INFO] [stderr] 238 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 238 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stderr] 238 + fn next(&mut self) -> Option<&'a V> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/hash_map.rs:272:34 [INFO] [stderr] | [INFO] [stderr] 272 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 272 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stderr] 272 + fn next(&mut self) -> Option<&'a mut V> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/fastbin.rs:27:41 [INFO] [stderr] | [INFO] [stderr] 27 | let mut fastbin = unsafe { mem::uninitialized::() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/ord_map.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | container_of!(self, AVLEntry, node) [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stderr] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/hash_table.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | container_of!(self, HashIndex, node) [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/hash_table.rs:147:9 [INFO] [stderr] | [INFO] [stderr] 147 | container_of!(self, HashNode, avl_node) [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/hash_map.rs:359:5 [INFO] [stderr] | [INFO] [stderr] 359 | container_of!(key, (K, V), 0) [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | &(*(0 as *const $TYPE)).$MEMBER as *const _ as isize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/hash_map.rs:411:9 [INFO] [stderr] | [INFO] [stderr] 411 | container_of!(self, InternalHashEntry, node) [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `container_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `Fastbin` does not permit being left uninitialized [INFO] [stderr] --> src/fastbin.rs:27:36 [INFO] [stderr] | [INFO] [stderr] 27 | let mut fastbin = unsafe { mem::uninitialized::() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/fastbin.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | obj_size: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `hash_ord` (lib) generated 13 warnings (run `cargo fix --lib -p hash_ord` to apply 6 suggestions) [INFO] [stderr] warning: `hash_ord` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> examples/rbtree_by_tickdream125.rs:491:34 [INFO] [stderr] | [INFO] [stderr] 491 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 491 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stderr] 491 + fn next(&mut self) -> Option<&'a K> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> examples/rbtree_by_tickdream125.rs:536:34 [INFO] [stderr] | [INFO] [stderr] 536 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 536 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stderr] 536 + fn next(&mut self) -> Option<&'a V> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> examples/rbtree_by_tickdream125.rs:584:34 [INFO] [stderr] | [INFO] [stderr] 584 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 584 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stderr] 584 + fn next(&mut self) -> Option<&'a mut V> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> examples/rbtree_by_tickdream125.rs:1184:17 [INFO] [stderr] | [INFO] [stderr] 1184 | Box::from_raw(current.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 1184 | let _ = Box::from_raw(current.0); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `hash_ord` (example "avl_cmp_rbtree") generated 4 warnings (run `cargo fix --example "avl_cmp_rbtree"` to apply 3 suggestions) [INFO] [stderr] warning: `hash_ord` (example "rbtree_by_tickdream125") generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hash_ord-0c5c6020eb38378d) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test fastbin::test::test_fastbin_init ... ok [INFO] [stdout] test hash_map::test::test_entry ... ok [INFO] [stdout] test hash_map::test::test_from_iter ... ok [INFO] [stdout] test hash_map::test::test_hash_map ... ok [INFO] [stdout] test hash_map::test::test_hash_map_clone_equal ... ok [INFO] [stdout] test hash_map::test::test_hash_map_insert_duplicate ... ok [INFO] [stdout] test hash_map::test::test_hash_map_into_iter ... ok [INFO] [stdout] test hash_map::test::test_hash_map_iter ... ok [INFO] [stdout] test hash_map::test::test_hash_map_iter_mut ... ok [INFO] [stdout] test hash_map::test::test_hash_map_keys ... ok [INFO] [stdout] test hash_map::test::test_hash_map_remove ... ok [INFO] [stdout] test hash_map::test::test_hash_map_shrink_to_fit ... ok [INFO] [stdout] test hash_map::test::test_hash_map_values ... ok [INFO] [stdout] test hash_map::test::test_hash_map_values_mut ... ok [INFO] [stdout] test hash_map::test::test_hash_map_clear ... ok [INFO] [stdout] test hash_map::test::test_empty_entry ... ok [INFO] [stdout] test fastbin::test::test_fastbin_del ... ok [INFO] [stdout] test fastbin::test::test_fastbin_new ... ok [INFO] [stdout] test hash_map::test::test_mut_size_hint ... ok [INFO] [stdout] test ord_map::test::test_avl_rotate_left ... ok [INFO] [stdout] test list::test::test_list_operation ... ok [INFO] [stdout] test ord_map::test::test_avl_rotate_right ... ok [INFO] [stdout] test ord_map::test::test_avl_basic ... ok [INFO] [stdout] test hash_map::test::test_size_hint ... ok [INFO] [stdout] test ord_map::test::test_avl_element_cmp ... ok [INFO] [stdout] test list::test::test_list_base ... ok [INFO] [stdout] test ord_map::test::test_avl_validate ... ok [INFO] [stdout] test ord_map::test::test_avl_convert_to_list ... ok [INFO] [stderr] Running tests/test_ord_map.rs (/opt/rustwide/target/debug/deps/test_ord_map-e4af29dbd260f0af) [INFO] [stdout] test hash_map::test::test_index_nonexistent - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stderr] error: test failed, to rerun pass `--test test_ord_map` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/test_ord_map-e4af29dbd260f0af` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "8a66cb70c5adfa680c8f49c8dfd8a7626cbe6cba217f8da021392e40eb6914a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a66cb70c5adfa680c8f49c8dfd8a7626cbe6cba217f8da021392e40eb6914a6", kill_on_drop: false }` [INFO] [stdout] 8a66cb70c5adfa680c8f49c8dfd8a7626cbe6cba217f8da021392e40eb6914a6