[INFO] fetching crate hash_ord 0.1.10... [INFO] checking hash_ord-0.1.10 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate hash_ord 0.1.10 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate hash_ord 0.1.10 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82c50bcfe7f2687890f34d6e4b667762a8fb111988fb3a9266023213efc4ac36 [INFO] running `Command { std: "docker" "start" "-a" "82c50bcfe7f2687890f34d6e4b667762a8fb111988fb3a9266023213efc4ac36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82c50bcfe7f2687890f34d6e4b667762a8fb111988fb3a9266023213efc4ac36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82c50bcfe7f2687890f34d6e4b667762a8fb111988fb3a9266023213efc4ac36", kill_on_drop: false }` [INFO] [stdout] 82c50bcfe7f2687890f34d6e4b667762a8fb111988fb3a9266023213efc4ac36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25e7223f9527e9ffff2aa5ef486196607281411369616269b6c2fa6d3c1e6a28 [INFO] running `Command { std: "docker" "start" "-a" "25e7223f9527e9ffff2aa5ef486196607281411369616269b6c2fa6d3c1e6a28", kill_on_drop: false }` [INFO] [stderr] Checking fnv v1.0.7 [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: 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:36 [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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fastbin.rs:27:36 [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: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: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: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: 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "25e7223f9527e9ffff2aa5ef486196607281411369616269b6c2fa6d3c1e6a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25e7223f9527e9ffff2aa5ef486196607281411369616269b6c2fa6d3c1e6a28", kill_on_drop: false }` [INFO] [stdout] 25e7223f9527e9ffff2aa5ef486196607281411369616269b6c2fa6d3c1e6a28