[INFO] fetching crate hash_arr_map 0.4.0... [INFO] checking hash_arr_map-0.4.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate hash_arr_map 0.4.0 into /workspace/builds/worker-1-tc1/source [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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hash_arr_map 0.4.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded imm_gc v0.2.1 [INFO] [stderr] Downloaded bacon_rajan_cc v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 063f395d7ee554c1ac963b338010b415f4b86e4f0bd4c1caae98792c87ab68a0 [INFO] running `Command { std: "docker" "start" "-a" "063f395d7ee554c1ac963b338010b415f4b86e4f0bd4c1caae98792c87ab68a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "063f395d7ee554c1ac963b338010b415f4b86e4f0bd4c1caae98792c87ab68a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "063f395d7ee554c1ac963b338010b415f4b86e4f0bd4c1caae98792c87ab68a0", kill_on_drop: false }` [INFO] [stdout] 063f395d7ee554c1ac963b338010b415f4b86e4f0bd4c1caae98792c87ab68a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36445fda5424d7e6edb51aaae5a841fdc6582e2264339cb1325debc31ef9521c [INFO] running `Command { std: "docker" "start" "-a" "36445fda5424d7e6edb51aaae5a841fdc6582e2264339cb1325debc31ef9521c", kill_on_drop: false }` [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking 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 1.63.0; see for more information [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] 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 1.63.0; see for more information [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] 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: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: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 `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_usize(max)?.into_value()) [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: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_usize(max)?.into_value()) [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_usize(i)?.into_value()) [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 `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_usize(i)?.into_value()) [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] 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] [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 test) due to 9 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hash_arr_map` (lib) due to 9 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "36445fda5424d7e6edb51aaae5a841fdc6582e2264339cb1325debc31ef9521c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36445fda5424d7e6edb51aaae5a841fdc6582e2264339cb1325debc31ef9521c", kill_on_drop: false }` [INFO] [stdout] 36445fda5424d7e6edb51aaae5a841fdc6582e2264339cb1325debc31ef9521c