[INFO] fetching crate hash_ord 0.1.10... [INFO] checking hash_ord-0.1.10 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate hash_ord 0.1.10 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate hash_ord 0.1.10 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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 rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4dc9a835c5dd960268cc77f8bf221fd2d9959e1f614fb155ce35b27c3bd92d23 [INFO] running `Command { std: "docker" "start" "-a" "4dc9a835c5dd960268cc77f8bf221fd2d9959e1f614fb155ce35b27c3bd92d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4dc9a835c5dd960268cc77f8bf221fd2d9959e1f614fb155ce35b27c3bd92d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dc9a835c5dd960268cc77f8bf221fd2d9959e1f614fb155ce35b27c3bd92d23", kill_on_drop: false }` [INFO] [stdout] 4dc9a835c5dd960268cc77f8bf221fd2d9959e1f614fb155ce35b27c3bd92d23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cacfe9755de1ae57183684eeccb57df60a95bde8fceadf8248158a9eb64dd42d [INFO] running `Command { std: "docker" "start" "-a" "cacfe9755de1ae57183684eeccb57df60a95bde8fceadf8248158a9eb64dd42d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking 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] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> benches/bench_avl.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin)] [INFO] [stdout] | ^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: plugins are no longer supported [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: 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] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [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] [stderr] error: could not compile `hash_ord` (bench "bench_avl") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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: 4 warnings emitted [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: 4 warnings emitted [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] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cacfe9755de1ae57183684eeccb57df60a95bde8fceadf8248158a9eb64dd42d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cacfe9755de1ae57183684eeccb57df60a95bde8fceadf8248158a9eb64dd42d", kill_on_drop: false }` [INFO] [stdout] cacfe9755de1ae57183684eeccb57df60a95bde8fceadf8248158a9eb64dd42d