[INFO] fetching crate hashmap_core2 0.0.1... [INFO] testing hashmap_core2-0.0.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate hashmap_core2 0.0.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate hashmap_core2 0.0.1 [INFO] finished tweaking crates.io crate hashmap_core2 0.0.1 [INFO] tweaked toml for crates.io crate hashmap_core2 0.0.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hashmap_core2 0.0.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41c5f218087c6165cbf4a1f4313533dc32fa717151c3ea8c1890ac10c430c92c [INFO] running `Command { std: "docker" "start" "-a" "41c5f218087c6165cbf4a1f4313533dc32fa717151c3ea8c1890ac10c430c92c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41c5f218087c6165cbf4a1f4313533dc32fa717151c3ea8c1890ac10c430c92c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41c5f218087c6165cbf4a1f4313533dc32fa717151c3ea8c1890ac10c430c92c", kill_on_drop: false }` [INFO] [stdout] 41c5f218087c6165cbf4a1f4313533dc32fa717151c3ea8c1890ac10c430c92c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08a493ca0663b9ab06bddc5c9b67cbf391603ce98b32a2a10a082347e823ae17 [INFO] running `Command { std: "docker" "start" "-a" "08a493ca0663b9ab06bddc5c9b67cbf391603ce98b32a2a10a082347e823ae17", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling hashmap_core2 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `alloc_crate::alloc::oom` [INFO] [stdout] --> src/lib.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub use alloc_crate::alloc::{oom, Global}; [INFO] [stdout] | ^^^ no `oom` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::CollectionAllocErr` [INFO] [stdout] --> src/map.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::CollectionAllocErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `CollectionAllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `alloc::Alloc`, `alloc::CollectionAllocErr` [INFO] [stdout] --> src/table.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{Alloc, CollectionAllocErr, Global, Layout}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ no `CollectionAllocErr` in `alloc` [INFO] [stdout] | | [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:14:58 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(alloc, dropck_eyepatch, allocator_api, fused, ptr_internals, try_reserve, nonnull_cast)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1878:34 [INFO] [stdout] | [INFO] [stdout] 1878 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1878 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] 1878 + fn next(&mut self) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1898:34 [INFO] [stdout] | [INFO] [stdout] 1898 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1898 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] 1898 + fn next(&mut self) -> Option<&'a V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1918:34 [INFO] [stdout] | [INFO] [stdout] 1918 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1918 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] 1918 + fn next(&mut self) -> Option<&'a mut V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `fused` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(alloc, dropck_eyepatch, allocator_api, fused, ptr_internals, try_reserve, nonnull_cast)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nonnull_cast` has been stable since 1.27.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:14:86 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(alloc, dropck_eyepatch, allocator_api, fused, ptr_internals, try_reserve, nonnull_cast)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(alloc, dropck_eyepatch, allocator_api, fused, ptr_internals, try_reserve, nonnull_cast)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_reserve` has been stable since 1.57.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:14:73 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(alloc, dropck_eyepatch, allocator_api, fused, ptr_internals, try_reserve, nonnull_cast)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `alloc` found for struct `alloc_crate::alloc::Global` in the current scope [INFO] [stdout] --> src/table.rs:766:29 [INFO] [stdout] | [INFO] [stdout] 766 | let buffer = Global.alloc(Layout::from_size_align(size, alignment) [INFO] [stdout] | -------^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `allocate` with a similar name [INFO] [stdout] | [INFO] [stdout] 766 | let buffer = Global.allocate(Layout::from_size_align(size, alignment) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dealloc` found for struct `alloc_crate::alloc::Global` in the current scope [INFO] [stdout] --> src/table.rs:1204:20 [INFO] [stdout] | [INFO] [stdout] 1204 | Global.dealloc( [INFO] [stdout] | -------^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `deallocate` with a similar name [INFO] [stdout] | [INFO] [stdout] 1204 | Global.deallocate( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_opaque` found for struct `NonNull` in the current scope [INFO] [stdout] --> src/table.rs:1205:59 [INFO] [stdout] | [INFO] [stdout] 1205 | NonNull::new_unchecked(self.hashes.ptr()).as_opaque(), [INFO] [stdout] | ^^^^^^^^^ method not found in `NonNull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hashmap_core2` (lib) due to 6 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "08a493ca0663b9ab06bddc5c9b67cbf391603ce98b32a2a10a082347e823ae17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08a493ca0663b9ab06bddc5c9b67cbf391603ce98b32a2a10a082347e823ae17", kill_on_drop: false }` [INFO] [stdout] 08a493ca0663b9ab06bddc5c9b67cbf391603ce98b32a2a10a082347e823ae17