[INFO] cloning repository https://github.com/ktff/refer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ktff/refer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fktff%2Frefer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fktff%2Frefer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6392e3bbe8565ac00c5c0117420f84a0c364323a [INFO] checking ktff/refer against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fktff%2Frefer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ktff/refer on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ktff/refer [INFO] finished tweaking git repo https://github.com/ktff/refer [INFO] tweaked toml for git repo https://github.com/ktff/refer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ktff/refer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.21 [INFO] [stderr] Downloaded modular-bitfield-impl v0.11.2 [INFO] [stderr] Downloaded modular-bitfield v0.11.2 [INFO] [stderr] Downloaded derive_utils v0.12.0 [INFO] [stderr] Downloaded auto_enums v0.8.0 [INFO] [stderr] Downloaded syn v1.0.100 [INFO] [stderr] Downloaded proc-macro2 v1.0.43 [INFO] [stderr] Downloaded libc v0.2.133 [INFO] [stderr] Downloaded unicode-ident v1.0.4 [INFO] [stderr] Downloaded getrandom v0.2.7 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7468ab00bcfd5ac2267f35497472ddb90c54375af94261f173bea96a499f067 [INFO] running `Command { std: "docker" "start" "-a" "c7468ab00bcfd5ac2267f35497472ddb90c54375af94261f173bea96a499f067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7468ab00bcfd5ac2267f35497472ddb90c54375af94261f173bea96a499f067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7468ab00bcfd5ac2267f35497472ddb90c54375af94261f173bea96a499f067", kill_on_drop: false }` [INFO] [stdout] c7468ab00bcfd5ac2267f35497472ddb90c54375af94261f173bea96a499f067 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0d385e7cd18522ee7c91cdbba9fff6c41197038b4e05b64e05b892afee0ed2d [INFO] running `Command { std: "docker" "start" "-a" "a0d385e7cd18522ee7c91cdbba9fff6c41197038b4e05b64e05b892afee0ed2d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling auto_enums v0.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling derive_utils v0.12.0 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Checking modular-bitfield v0.11.2 [INFO] [stderr] Checking refer v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/core/slot/dyn_slot.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | let ptr = std::ptr::from_raw_parts::(std::ptr::null(), self.metadata) as *const U; [INFO] [stdout] | ----------------------------- ^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `null` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `std::ptr::from_raw_parts` [INFO] [stdout] --> /rustc/91c0823ee63e793d990bb9fed898dc95b5d6db51/library/core/src/ptr/metadata.rs:122:1 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 77 | let ptr = std::ptr::from_raw_parts::(std::ptr::null::(), self.metadata) as *const U; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/core/slot/dyn_slot.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | let ptr = std::ptr::from_raw_parts::(std::ptr::null(), self.metadata) as *const U; [INFO] [stdout] | ----------------------------- ^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `null` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `std::ptr::from_raw_parts` [INFO] [stdout] --> /rustc/91c0823ee63e793d990bb9fed898dc95b5d6db51/library/core/src/ptr/metadata.rs:122:1 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 77 | let ptr = std::ptr::from_raw_parts::(std::ptr::null::(), self.metadata) as *const U; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/util/shard_vec.rs:406:42 [INFO] [stdout] | [INFO] [stdout] 406 | std::ptr::from_raw_parts(std::ptr::null(), new_capacity); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `null` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `std::ptr::from_raw_parts` [INFO] [stdout] --> /rustc/91c0823ee63e793d990bb9fed898dc95b5d6db51/library/core/src/ptr/metadata.rs:122:1 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 406 | std::ptr::from_raw_parts(std::ptr::null::(), new_capacity); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/util/shard_vec.rs:406:42 [INFO] [stdout] | [INFO] [stdout] 406 | std::ptr::from_raw_parts(std::ptr::null(), new_capacity); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `null` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `std::ptr::from_raw_parts` [INFO] [stdout] --> /rustc/91c0823ee63e793d990bb9fed898dc95b5d6db51/library/core/src/ptr/metadata.rs:122:1 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 406 | std::ptr::from_raw_parts(std::ptr::null::(), new_capacity); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `refer` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `refer` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "a0d385e7cd18522ee7c91cdbba9fff6c41197038b4e05b64e05b892afee0ed2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0d385e7cd18522ee7c91cdbba9fff6c41197038b4e05b64e05b892afee0ed2d", kill_on_drop: false }` [INFO] [stdout] a0d385e7cd18522ee7c91cdbba9fff6c41197038b4e05b64e05b892afee0ed2d [INFO] checking ktff/refer against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fktff%2Frefer" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ktff/refer on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ktff/refer [INFO] finished tweaking git repo https://github.com/ktff/refer [INFO] tweaked toml for git repo https://github.com/ktff/refer written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ktff/refer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d8371a57e995fb2dd283a1a2828cf47c41f7728c31eb98017844bd5f6def4fc [INFO] running `Command { std: "docker" "start" "-a" "1d8371a57e995fb2dd283a1a2828cf47c41f7728c31eb98017844bd5f6def4fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d8371a57e995fb2dd283a1a2828cf47c41f7728c31eb98017844bd5f6def4fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d8371a57e995fb2dd283a1a2828cf47c41f7728c31eb98017844bd5f6def4fc", kill_on_drop: false }` [INFO] [stdout] 1d8371a57e995fb2dd283a1a2828cf47c41f7728c31eb98017844bd5f6def4fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16f356d85ab8f3dbbb1428c4d19955a3dc3e716e3f29efb59be713497885ea41 [INFO] running `Command { std: "docker" "start" "-a" "16f356d85ab8f3dbbb1428c4d19955a3dc3e716e3f29efb59be713497885ea41", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (2 fixes) [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling auto_enums v0.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling derive_utils v0.12.0 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Checking modular-bitfield v0.11.2 [INFO] [stderr] Checking refer v0.3.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util/shard_vec.rs:757:36 [INFO] [stdout] | [INFO] [stdout] 757 | let val = rand.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(keyword_idents_2024)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/core/slot/dyn_slot.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | let ptr = std::ptr::from_raw_parts::(std::ptr::null(), self.metadata) as *const U; [INFO] [stdout] | ----------------------------- ^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `null` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `std::ptr::from_raw_parts` [INFO] [stdout] --> /rustc/519d6e23a6cb73c4d0f295f71ad37db8e95c54ab/library/core/src/ptr/metadata.rs:122:1 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 77 | let ptr = std::ptr::from_raw_parts::(std::ptr::null::(), self.metadata) as *const U; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/util/shard_vec.rs:406:42 [INFO] [stdout] | [INFO] [stdout] 406 | std::ptr::from_raw_parts(std::ptr::null(), new_capacity); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `null` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `std::ptr::from_raw_parts` [INFO] [stdout] --> /rustc/519d6e23a6cb73c4d0f295f71ad37db8e95c54ab/library/core/src/ptr/metadata.rs:122:1 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 406 | std::ptr::from_raw_parts(std::ptr::null::(), new_capacity); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::key::key::Key::::new_owned` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/locality.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | Key::new_owned(self.path.index()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/locality.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub unsafe fn owned_key(&self) -> Key { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::locality::LocalityRef::<'a, core::key::key::Key, T>, D, A>::owned_key` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/locality.rs:100:72 [INFO] [stdout] | [INFO] [stdout] 100 | drain.localized(|item, locality| item.add_drain_edge(locality, self.owned_key())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/locality.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | / pub unsafe fn add_drain( [INFO] [stdout] 97 | | &self, [INFO] [stdout] 98 | | drain: &mut Slot, [INFO] [stdout] 99 | | ) -> Key { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::locality::LocalityRef::<'a, core::key::key::Key, T>, D, A>::owned_key` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/locality.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | drain.locality().owned_key() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/locality.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | / pub unsafe fn add_drain( [INFO] [stdout] 97 | | &self, [INFO] [stdout] 98 | | drain: &mut Slot, [INFO] [stdout] 99 | | ) -> Key { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::locality::LocalityRef::<'a, core::key::key::Key, T>, D, A>::owned_key` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/locality.rs:113:51 [INFO] [stdout] | [INFO] [stdout] 113 | item.any_add_drain_edge(locality, self.owned_key().any()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/locality.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / pub unsafe fn add_dyn_drain( [INFO] [stdout] 108 | | &self, [INFO] [stdout] 109 | | drain: &mut DynSlot, [INFO] [stdout] 110 | | ) -> Option> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::locality::LocalityRef::<'a, core::key::key::Key, T>, D, A>::owned_key` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/locality.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | .map(|()| drain.locality().owned_key().assume()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/locality.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / pub unsafe fn add_dyn_drain( [INFO] [stdout] 108 | | &self, [INFO] [stdout] 109 | | drain: &mut DynSlot, [INFO] [stdout] 110 | | ) -> Option> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::locality::LocalityRef::<'a, core::key::key::Key, T>, D, A>::owned_key` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/locality.rs:128:75 [INFO] [stdout] | [INFO] [stdout] 128 | drain.localized(|item, locality| item.add_bi_edge(locality, data, self.owned_key())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/locality.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / pub unsafe fn add_bi>( [INFO] [stdout] 124 | | &self, [INFO] [stdout] 125 | | data: O, [INFO] [stdout] 126 | | drain: &mut Slot, [INFO] [stdout] 127 | | ) -> Key { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::locality::LocalityRef::<'a, core::key::key::Key, T>, D, A>::owned_key` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/locality.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | drain.locality().owned_key() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/locality.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / pub unsafe fn add_bi>( [INFO] [stdout] 124 | | &self, [INFO] [stdout] 125 | | data: O, [INFO] [stdout] 126 | | drain: &mut Slot, [INFO] [stdout] 127 | | ) -> Key { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `refer` (lib) due to 3 previous errors; 20 warnings emitted [INFO] [stdout] warning[E0133]: call to unsafe function `core::permit::Permit::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/permit/access/mod.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | permit: self.permit.copy(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/permit/access/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe fn unsafe_split

(&self, map: impl FnOnce(Self) -> P) -> P { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function `core::permit::Permit::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/permit/access/mod.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | permit: self.permit.copy(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/permit/access/mod.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / unsafe fn unsafe_type_split( [INFO] [stdout] 94 | | &self, [INFO] [stdout] 95 | | type_state: P::State, [INFO] [stdout] 96 | | ) -> Access<'a, C, R, P, K> { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::permit::Permit::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/permit/access/mod.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | permit: self.permit.copy(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/permit/access/mod.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe fn unsafe_key_split(&self, key_state: P::State) -> Access<'a, C, R, T, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | block.as_mut()[0] = head as usize as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/shard_alloc.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | unsafe fn add(&self, i: usize, mut block: NonNull<[u64; 2]>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | block.as_mut(), [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `util::shard_alloc::ShardAllocator::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | self.add(i, block); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/shard_alloc.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | unsafe fn deallocate(&self, mut ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | alloc::dealloc(ptr.as_mut(), layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:274:28 [INFO] [stdout] | [INFO] [stdout] 274 | alloc::dealloc(ptr.as_mut(), layout); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Allocator::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | self.0.deallocate(ptr, layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/shard_alloc.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn deallocate(&self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Allocator::grow` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | self.0.grow(ptr, old_layout, new_layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/shard_alloc.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | / unsafe fn grow( [INFO] [stdout] 330 | | &self, [INFO] [stdout] 331 | | ptr: NonNull, [INFO] [stdout] 332 | | old_layout: Layout, [INFO] [stdout] 333 | | new_layout: Layout, [INFO] [stdout] 334 | | ) -> Result, AllocError> { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Allocator::grow_zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | self.0.grow_zeroed(ptr, old_layout, new_layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/shard_alloc.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | / unsafe fn grow_zeroed( [INFO] [stdout] 339 | | &self, [INFO] [stdout] 340 | | ptr: NonNull, [INFO] [stdout] 341 | | old_layout: Layout, [INFO] [stdout] 342 | | new_layout: Layout, [INFO] [stdout] 343 | | ) -> Result, AllocError> { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Allocator::shrink` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | self.0.shrink(ptr, old_layout, new_layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/shard_alloc.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | / unsafe fn shrink( [INFO] [stdout] 348 | | &self, [INFO] [stdout] 349 | | ptr: NonNull, [INFO] [stdout] 350 | | old_layout: Layout, [INFO] [stdout] 351 | | new_layout: Layout, [INFO] [stdout] 352 | | ) -> Result, AllocError> { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0283. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util/shard_vec.rs:757:36 [INFO] [stdout] | [INFO] [stdout] 757 | let val = rand.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(keyword_idents_2024)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/core/slot/dyn_slot.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | let ptr = std::ptr::from_raw_parts::(std::ptr::null(), self.metadata) as *const U; [INFO] [stdout] | ----------------------------- ^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `null` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `std::ptr::from_raw_parts` [INFO] [stdout] --> /rustc/519d6e23a6cb73c4d0f295f71ad37db8e95c54ab/library/core/src/ptr/metadata.rs:122:1 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 77 | let ptr = std::ptr::from_raw_parts::(std::ptr::null::(), self.metadata) as *const U; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/util/shard_vec.rs:406:42 [INFO] [stdout] | [INFO] [stdout] 406 | std::ptr::from_raw_parts(std::ptr::null(), new_capacity); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `null` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `std::ptr::from_raw_parts` [INFO] [stdout] --> /rustc/519d6e23a6cb73c4d0f295f71ad37db8e95c54ab/library/core/src/ptr/metadata.rs:122:1 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 406 | std::ptr::from_raw_parts(std::ptr::null::(), new_capacity); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::key::key::Key::::new_owned` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/locality.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | Key::new_owned(self.path.index()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/locality.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub unsafe fn owned_key(&self) -> Key { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::locality::LocalityRef::<'a, core::key::key::Key, T>, D, A>::owned_key` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/locality.rs:100:72 [INFO] [stdout] | [INFO] [stdout] 100 | drain.localized(|item, locality| item.add_drain_edge(locality, self.owned_key())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/locality.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | / pub unsafe fn add_drain( [INFO] [stdout] 97 | | &self, [INFO] [stdout] 98 | | drain: &mut Slot, [INFO] [stdout] 99 | | ) -> Key { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::locality::LocalityRef::<'a, core::key::key::Key, T>, D, A>::owned_key` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/locality.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | drain.locality().owned_key() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/locality.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | / pub unsafe fn add_drain( [INFO] [stdout] 97 | | &self, [INFO] [stdout] 98 | | drain: &mut Slot, [INFO] [stdout] 99 | | ) -> Key { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::locality::LocalityRef::<'a, core::key::key::Key, T>, D, A>::owned_key` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/locality.rs:113:51 [INFO] [stdout] | [INFO] [stdout] 113 | item.any_add_drain_edge(locality, self.owned_key().any()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/locality.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / pub unsafe fn add_dyn_drain( [INFO] [stdout] 108 | | &self, [INFO] [stdout] 109 | | drain: &mut DynSlot, [INFO] [stdout] 110 | | ) -> Option> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::locality::LocalityRef::<'a, core::key::key::Key, T>, D, A>::owned_key` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/locality.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | .map(|()| drain.locality().owned_key().assume()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/locality.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / pub unsafe fn add_dyn_drain( [INFO] [stdout] 108 | | &self, [INFO] [stdout] 109 | | drain: &mut DynSlot, [INFO] [stdout] 110 | | ) -> Option> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::locality::LocalityRef::<'a, core::key::key::Key, T>, D, A>::owned_key` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/locality.rs:128:75 [INFO] [stdout] | [INFO] [stdout] 128 | drain.localized(|item, locality| item.add_bi_edge(locality, data, self.owned_key())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/locality.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / pub unsafe fn add_bi>( [INFO] [stdout] 124 | | &self, [INFO] [stdout] 125 | | data: O, [INFO] [stdout] 126 | | drain: &mut Slot, [INFO] [stdout] 127 | | ) -> Key { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::locality::LocalityRef::<'a, core::key::key::Key, T>, D, A>::owned_key` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/locality.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | drain.locality().owned_key() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/locality.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / pub unsafe fn add_bi>( [INFO] [stdout] 124 | | &self, [INFO] [stdout] 125 | | data: O, [INFO] [stdout] 126 | | drain: &mut Slot, [INFO] [stdout] 127 | | ) -> Key { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::permit::Permit::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/permit/access/mod.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | permit: self.permit.copy(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/permit/access/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe fn unsafe_split

(&self, map: impl FnOnce(Self) -> P) -> P { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::permit::Permit::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/permit/access/mod.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | permit: self.permit.copy(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/permit/access/mod.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / unsafe fn unsafe_type_split( [INFO] [stdout] 94 | | &self, [INFO] [stdout] 95 | | type_state: P::State, [INFO] [stdout] 96 | | ) -> Access<'a, C, R, P, K> { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::permit::Permit::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/core/permit/access/mod.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | permit: self.permit.copy(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/core/permit/access/mod.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe fn unsafe_key_split(&self, key_state: P::State) -> Access<'a, C, R, T, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | block.as_mut()[0] = head as usize as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/shard_alloc.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | unsafe fn add(&self, i: usize, mut block: NonNull<[u64; 2]>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | block.as_mut(), [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `util::shard_alloc::ShardAllocator::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | self.add(i, block); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/shard_alloc.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | unsafe fn deallocate(&self, mut ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | alloc::dealloc(ptr.as_mut(), layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:274:28 [INFO] [stdout] | [INFO] [stdout] 274 | alloc::dealloc(ptr.as_mut(), layout); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Allocator::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | self.0.deallocate(ptr, layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/shard_alloc.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn deallocate(&self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Allocator::grow` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | self.0.grow(ptr, old_layout, new_layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/shard_alloc.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | / unsafe fn grow( [INFO] [stdout] 330 | | &self, [INFO] [stdout] 331 | | ptr: NonNull, [INFO] [stdout] 332 | | old_layout: Layout, [INFO] [stdout] 333 | | new_layout: Layout, [INFO] [stdout] 334 | | ) -> Result, AllocError> { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Allocator::grow_zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | self.0.grow_zeroed(ptr, old_layout, new_layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/shard_alloc.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | / unsafe fn grow_zeroed( [INFO] [stdout] 339 | | &self, [INFO] [stdout] 340 | | ptr: NonNull, [INFO] [stdout] 341 | | old_layout: Layout, [INFO] [stdout] 342 | | new_layout: Layout, [INFO] [stdout] 343 | | ) -> Result, AllocError> { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Allocator::shrink` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/shard_alloc.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | self.0.shrink(ptr, old_layout, new_layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/shard_alloc.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | / unsafe fn shrink( [INFO] [stdout] 348 | | &self, [INFO] [stdout] 349 | | ptr: NonNull, [INFO] [stdout] 350 | | old_layout: Layout, [INFO] [stdout] 351 | | new_layout: Layout, [INFO] [stdout] 352 | | ) -> Result, AllocError> { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0283. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `refer` (lib test) due to 3 previous errors; 20 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "16f356d85ab8f3dbbb1428c4d19955a3dc3e716e3f29efb59be713497885ea41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16f356d85ab8f3dbbb1428c4d19955a3dc3e716e3f29efb59be713497885ea41", kill_on_drop: false }` [INFO] [stdout] 16f356d85ab8f3dbbb1428c4d19955a3dc3e716e3f29efb59be713497885ea41