[INFO] fetching crate hash_arr_map 0.4.0... [INFO] building hash_arr_map-0.4.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate hash_arr_map 0.4.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate hash_arr_map 0.4.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hash_arr_map 0.4.0 [INFO] finished tweaking crates.io crate hash_arr_map 0.4.0 [INFO] tweaked toml for crates.io crate hash_arr_map 0.4.0 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding bacon_rajan_cc v0.3.2 (available: v0.4.0) [INFO] [stderr] Adding fastrand v1.9.0 (available: v2.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bacon_rajan_cc v0.3.2 [INFO] [stderr] Downloaded imm_gc v0.2.1 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f511c7cf3aa0e68a1fece12622f696184cbb03cf9cdb0bf661309d4cd07146eb [INFO] running `Command { std: "docker" "start" "-a" "f511c7cf3aa0e68a1fece12622f696184cbb03cf9cdb0bf661309d4cd07146eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f511c7cf3aa0e68a1fece12622f696184cbb03cf9cdb0bf661309d4cd07146eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f511c7cf3aa0e68a1fece12622f696184cbb03cf9cdb0bf661309d4cd07146eb", kill_on_drop: false }` [INFO] [stdout] f511c7cf3aa0e68a1fece12622f696184cbb03cf9cdb0bf661309d4cd07146eb [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 968d47a680067f284e73375cb48cfdad22baee89daf94603ec135277a31671c3 [INFO] running `Command { std: "docker" "start" "-a" "968d47a680067f284e73375cb48cfdad22baee89daf94603ec135277a31671c3", kill_on_drop: false }` [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling hash_arr_map v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | crate_visibility_modifier [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/test_index.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 56 | impl Idx { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 72 | crate fn try_new_usize(v: usize) -> Option { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] ... [INFO] [stdout] 75 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `const` [INFO] [stdout] --> src/test_index.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 77 | impl Idx { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 129 | crate const unsafe fn new_unchecked(v: usize) -> Self { [INFO] [stdout] | ^^^^^ expected one of `!` or `::` [INFO] [stdout] ... [INFO] [stdout] 132 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | const_mut_refs, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_refs_to_cell` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | const_refs_to_cell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_raw_ptr_deref` has been stable since 1.58.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | const_raw_ptr_deref, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_ptr_offset` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | const_ptr_offset, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_ptr_offset_from` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | const_ptr_offset_from, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unchecked` found for struct `Idx` in the current scope [INFO] [stdout] --> src/map/iter.rs:34:60 [INFO] [stdout] | [INFO] [stdout] 34 | return Some((Key::from_index(unsafe { Idx::new_unchecked(i + 1) }), val)); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Idx<_>` [INFO] [stdout] | [INFO] [stdout] ::: src/test_index.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Idx { [INFO] [stdout] | ------------------------- function or associated item `new_unchecked` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Idx<_>` consider using one of the following associated functions: [INFO] [stdout] Idx::::try_new [INFO] [stdout] Idx::::new [INFO] [stdout] Idx::::from_usize [INFO] [stdout] --> src/test_index.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn try_new(v: NonZeroUsize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub const unsafe fn new(v: NonZeroUsize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const unsafe fn from_usize(v: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unchecked` found for struct `Idx` in the current scope [INFO] [stdout] --> src/map/iter.rs:87:60 [INFO] [stdout] | [INFO] [stdout] 87 | return Some((Key::from_index(unsafe { Idx::new_unchecked(i + 1) }), val)); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Idx<_>` [INFO] [stdout] | [INFO] [stdout] ::: src/test_index.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Idx { [INFO] [stdout] | ------------------------- function or associated item `new_unchecked` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Idx<_>` consider using one of the following associated functions: [INFO] [stdout] Idx::::try_new [INFO] [stdout] Idx::::new [INFO] [stdout] Idx::::from_usize [INFO] [stdout] --> src/test_index.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn try_new(v: NonZeroUsize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub const unsafe fn new(v: NonZeroUsize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const unsafe fn from_usize(v: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unchecked` found for struct `Idx` in the current scope [INFO] [stdout] --> src/map/iter.rs:145:58 [INFO] [stdout] | [INFO] [stdout] 145 | return Some((K::from_index(unsafe { Idx::new_unchecked(i + 1) }), val)); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Idx<_>` [INFO] [stdout] | [INFO] [stdout] ::: src/test_index.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Idx { [INFO] [stdout] | ------------------------- function or associated item `new_unchecked` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Idx<_>` consider using one of the following associated functions: [INFO] [stdout] Idx::::try_new [INFO] [stdout] Idx::::new [INFO] [stdout] Idx::::from_usize [INFO] [stdout] --> src/test_index.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn try_new(v: NonZeroUsize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub const unsafe fn new(v: NonZeroUsize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const unsafe fn from_usize(v: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_new_usize` found for struct `Idx` in the current scope [INFO] [stdout] --> src/map.rs:638:33 [INFO] [stdout] | [INFO] [stdout] 638 | .get_hash(&Idx::try_new_usize(max)?.into_value()) [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Idx<_>` [INFO] [stdout] | [INFO] [stdout] ::: src/test_index.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Idx { [INFO] [stdout] | ------------------------- function or associated item `try_new_usize` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Idx<_>` consider using one of the following associated functions: [INFO] [stdout] Idx::::try_new [INFO] [stdout] Idx::::new [INFO] [stdout] Idx::::from_usize [INFO] [stdout] --> src/test_index.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn try_new(v: NonZeroUsize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub const unsafe fn new(v: NonZeroUsize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const unsafe fn from_usize(v: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `try_new` with a similar name [INFO] [stdout] | [INFO] [stdout] 638 | .get_hash(&Idx::try_new(max)?.into_value()) [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_new_usize` found for struct `Idx` in the current scope [INFO] [stdout] --> src/map.rs:649:41 [INFO] [stdout] | [INFO] [stdout] 649 | self.get_hash(&Idx::try_new_usize(i)?.into_value()) [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Idx<_>` [INFO] [stdout] | [INFO] [stdout] ::: src/test_index.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Idx { [INFO] [stdout] | ------------------------- function or associated item `try_new_usize` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Idx<_>` consider using one of the following associated functions: [INFO] [stdout] Idx::::try_new [INFO] [stdout] Idx::::new [INFO] [stdout] Idx::::from_usize [INFO] [stdout] --> src/test_index.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn try_new(v: NonZeroUsize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub const unsafe fn new(v: NonZeroUsize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const unsafe fn from_usize(v: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `try_new` with a similar name [INFO] [stdout] | [INFO] [stdout] 649 | self.get_hash(&Idx::try_new(i)?.into_value()) [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unchecked` found for struct `Idx` in the current scope [INFO] [stdout] --> src/map.rs:1054:53 [INFO] [stdout] | [INFO] [stdout] 1054 | K::from_index(unsafe { Idx::new_unchecked(array_part + i + 1) }), [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Idx<_>` [INFO] [stdout] | [INFO] [stdout] ::: src/test_index.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Idx { [INFO] [stdout] | ------------------------- function or associated item `new_unchecked` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Idx<_>` consider using one of the following associated functions: [INFO] [stdout] Idx::::try_new [INFO] [stdout] Idx::::new [INFO] [stdout] Idx::::from_usize [INFO] [stdout] --> src/test_index.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn try_new(v: NonZeroUsize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub const unsafe fn new(v: NonZeroUsize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const unsafe fn from_usize(v: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hash_arr_map` (lib) due to 9 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "968d47a680067f284e73375cb48cfdad22baee89daf94603ec135277a31671c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "968d47a680067f284e73375cb48cfdad22baee89daf94603ec135277a31671c3", kill_on_drop: false }` [INFO] [stdout] 968d47a680067f284e73375cb48cfdad22baee89daf94603ec135277a31671c3