[INFO] fetching crate hash_ord 0.1.10... [INFO] checking hash_ord-0.1.10 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate hash_ord 0.1.10 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate hash_ord 0.1.10 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7e2f0e672c3f2b3645302afcd387982a40a812611024e1ed3d8ed8523634ad3 [INFO] running `Command { std: "docker" "start" "-a" "d7e2f0e672c3f2b3645302afcd387982a40a812611024e1ed3d8ed8523634ad3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7e2f0e672c3f2b3645302afcd387982a40a812611024e1ed3d8ed8523634ad3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7e2f0e672c3f2b3645302afcd387982a40a812611024e1ed3d8ed8523634ad3", kill_on_drop: false }` [INFO] [stdout] d7e2f0e672c3f2b3645302afcd387982a40a812611024e1ed3d8ed8523634ad3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6994813c95e98b923457ff7387621219827ac3cd471092c6fdbbabf3b057bf06 [INFO] running `Command { std: "docker" "start" "-a" "6994813c95e98b923457ff7387621219827ac3cd471092c6fdbbabf3b057bf06", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [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] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [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` (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` (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` (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` (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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [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] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::is_some` that must be used [INFO] [stdout] --> benches/bench_avl.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | t.get(num).is_some(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this has a value, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 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` (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` (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` (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` (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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.04s [INFO] running `Command { std: "docker" "inspect" "6994813c95e98b923457ff7387621219827ac3cd471092c6fdbbabf3b057bf06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6994813c95e98b923457ff7387621219827ac3cd471092c6fdbbabf3b057bf06", kill_on_drop: false }` [INFO] [stdout] 6994813c95e98b923457ff7387621219827ac3cd471092c6fdbbabf3b057bf06