[INFO] fetching crate ic-stable-memory 0.4.4... [INFO] checking ic-stable-memory-0.4.4 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate ic-stable-memory 0.4.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate ic-stable-memory 0.4.4 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ic-stable-memory 0.4.4 [INFO] finished tweaking crates.io crate ic-stable-memory 0.4.4 [INFO] tweaked toml for crates.io crate ic-stable-memory 0.4.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 129 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding candid v0.8.4 (available: v0.10.10) [INFO] [stderr] Adding candid_derive v0.5.0 (available: v0.6.6) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding ic-cdk v0.7.4 (available: v0.16.0) [INFO] [stderr] Adding ic-cdk-macros v0.6.10 (available: v0.16.0) [INFO] [stderr] Adding ic-certified-map v0.3.4 (available: v0.4.0) [INFO] [stderr] Adding ic0 v0.18.11 (available: v0.23.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding lalrpop v0.19.12 (available: v0.21.0) [INFO] [stderr] Adding lalrpop-util v0.19.12 (available: v0.21.0) [INFO] [stderr] Adding logos v0.12.1 (available: v0.14.2) [INFO] [stderr] Adding logos-derive v0.12.1 (available: v0.14.2) [INFO] [stderr] Adding num_enum v0.5.11 (available: v0.7.3) [INFO] [stderr] Adding num_enum_derive v0.5.11 (available: v0.7.3) [INFO] [stderr] Adding phf_shared v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding pretty v0.10.0 (available: v0.12.3) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (available: v3.2.0) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding serde_tokenstream v0.1.7 (available: v0.2.2) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding term v0.7.0 (available: v1.0.0) [INFO] [stderr] Adding toml_edit v0.19.15 (available: v0.22.22) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding winnow v0.5.40 (available: v0.6.20) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a0cc6fc0d7efe3651c5f4eef6a53196ecfaa630cf3b9c3f5ad6d68b4e484c9e [INFO] running `Command { std: "docker" "start" "-a" "6a0cc6fc0d7efe3651c5f4eef6a53196ecfaa630cf3b9c3f5ad6d68b4e484c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a0cc6fc0d7efe3651c5f4eef6a53196ecfaa630cf3b9c3f5ad6d68b4e484c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a0cc6fc0d7efe3651c5f4eef6a53196ecfaa630cf3b9c3f5ad6d68b4e484c9e", kill_on_drop: false }` [INFO] [stdout] 6a0cc6fc0d7efe3651c5f4eef6a53196ecfaa630cf3b9c3f5ad6d68b4e484c9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66bc79c8cd9bd8c38418b6473e6b557d9ea1dcf52ab043cf41f0316fcd60d268 [INFO] running `Command { std: "docker" "start" "-a" "66bc79c8cd9bd8c38418b6473e6b557d9ea1dcf52ab043cf41f0316fcd60d268", 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] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Checking lalrpop-util v0.19.12 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking ic0 v0.18.11 [INFO] [stderr] Checking zwohash v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling ic-stable-memory-derive v0.4.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking ic-certified-map v0.3.4 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling ic-cdk-macros v0.6.10 [INFO] [stderr] Checking ic-cdk v0.7.4 [INFO] [stderr] Checking ic-stable-memory v0.4.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ic_stable_memory` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/benches/mod.rs [INFO] [stderr] * src/collections/btree_map/internal_node.rs [INFO] [stderr] * src/collections/btree_map/leaf_node.rs [INFO] [stderr] * src/collections/btree_map/mod.rs [INFO] [stderr] * src/collections/btree_set/mod.rs [INFO] [stderr] * src/collections/certified_btree_map/mod.rs [INFO] [stderr] * src/collections/hash_map/mod.rs [INFO] [stderr] * src/collections/hash_set/mod.rs [INFO] [stderr] * src/collections/vec/mod.rs [INFO] [stderr] * src/encoding/fixed_size.rs [INFO] [stderr] * src/mem/allocator.rs [INFO] [stderr] * src/mem/free_block.rs [INFO] [stderr] * src/primitive/s_box.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/benches/mod.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | ($name:literal, $iterations:expr_2021, $it:block) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/encoding/fixed_size.rs:174:14 [INFO] [stderr] | [INFO] [stderr] 174 | ($ty:ty, $zero:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/encoding/fixed_size.rs:209:14 [INFO] [stderr] | [INFO] [stderr] 209 | ($ty:ty, $zero:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused import: `Buffer` [INFO] [stderr] --> src/mem/allocator.rs:13:57 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::encoding::{AsDynSizeBytes, AsFixedSizeBytes, Buffer}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Buffer` [INFO] [stderr] --> src/mem/free_block.rs:8:41 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::encoding::{AsFixedSizeBytes, Buffer}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/collections/btree_map/internal_node.rs:412:47 [INFO] [stderr] | [INFO] [stderr] 412 | unsafe { crate::mem::write_fixed(ptr, &mut NODE_TYPE_INTERNAL) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/collections/btree_map/mod.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | pub(crate) const NODE_TYPE_INTERNAL: u8 = 127; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/collections/btree_map/leaf_node.rs:480:47 [INFO] [stderr] | [INFO] [stderr] 480 | unsafe { crate::mem::write_fixed(ptr, &mut NODE_TYPE_LEAF) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/collections/btree_map/mod.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | pub(crate) const NODE_TYPE_LEAF: u8 = 255; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/collections/btree_map/mod.rs:2035:36 [INFO] [stderr] | [INFO] [stderr] 2035 | ... Ok(idx) => {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `set` [INFO] [stderr] --> src/collections/btree_set/mod.rs:167:17 [INFO] [stderr] | [INFO] [stderr] 167 | let set = SBTreeSet::::new(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/collections/btree_set/mod.rs:255:32 [INFO] [stderr] | [INFO] [stderr] 255 | ... Ok(idx) => {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rb_w1` [INFO] [stderr] --> src/collections/certified_btree_map/mod.rs:1255:17 [INFO] [stderr] | [INFO] [stderr] 1255 | let rb_w1 = rb.witness(&11u64.to_le_bytes()); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rb_w1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rb_w2` [INFO] [stderr] --> src/collections/certified_btree_map/mod.rs:1256:17 [INFO] [stderr] | [INFO] [stderr] 1256 | let rb_w2 = rb.witness(&22u64.to_le_bytes()); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rb_w2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rb_w3` [INFO] [stderr] --> src/collections/certified_btree_map/mod.rs:1258:17 [INFO] [stderr] | [INFO] [stderr] 1258 | let rb_w3 = rb.key_range(&9u64.to_le_bytes(), &100u64.to_le_bytes()); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rb_w3` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `map_w3` [INFO] [stderr] --> src/collections/certified_btree_map/mod.rs:1259:17 [INFO] [stderr] | [INFO] [stderr] 1259 | let map_w3 = map.prove_range(&9, &100); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_w3` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/collections/certified_btree_map/mod.rs:1435:36 [INFO] [stderr] | [INFO] [stderr] 1435 | ... Ok(idx) => {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/collections/certified_btree_map/mod.rs:1490:25 [INFO] [stderr] | [INFO] [stderr] 1490 | for i in 0..count { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/collections/certified_btree_map/mod.rs:1504:48 [INFO] [stderr] | [INFO] [stderr] 1504 | ... Ok(idx) => {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k` [INFO] [stderr] --> src/collections/hash_map/mod.rs:383:54 [INFO] [stderr] | [INFO] [stderr] 383 | match self.read_and_disown_key(i) { Some(k) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/collections/hash_map/mod.rs:384:21 [INFO] [stderr] | [INFO] [stderr] 384 | let v = self.read_and_disown_val(i); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/collections/hash_map/mod.rs:522:51 [INFO] [stderr] | [INFO] [stderr] 522 | unsafe { crate::mem::write_fixed(ptr, &mut OCCUPIED) }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/collections/hash_map/mod.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | const OCCUPIED: u8 = 255; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/collections/hash_map/mod.rs:528:47 [INFO] [stderr] | [INFO] [stderr] 528 | unsafe { crate::mem::write_fixed(ptr, &mut EMPTY) }; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/collections/hash_map/mod.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | const EMPTY: u8 = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/collections/hash_map/mod.rs:991:36 [INFO] [stderr] | [INFO] [stderr] 991 | ... Ok(idx) => {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/collections/hash_set/mod.rs:287:32 [INFO] [stderr] | [INFO] [stderr] 287 | ... Ok(idx) => {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/collections/vec/mod.rs:887:17 [INFO] [stderr] | [INFO] [stderr] 887 | for i in 0..iterations { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/collections/vec/mod.rs:949:17 [INFO] [stderr] | [INFO] [stderr] 949 | for i in 0..10 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slice` [INFO] [stderr] --> src/mem/allocator.rs:491:17 [INFO] [stderr] | [INFO] [stderr] 491 | let slice = sma.allocate(100).unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/mem/allocator.rs:487:9 [INFO] [stderr] | [INFO] [stderr] 487 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slice` [INFO] [stderr] --> src/mem/allocator.rs:514:17 [INFO] [stderr] | [INFO] [stderr] 514 | let slice = sma.allocate(100); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/mem/allocator.rs:512:9 [INFO] [stderr] | [INFO] [stderr] 512 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/mem/allocator.rs:606:41 [INFO] [stderr] | [INFO] [stderr] 606 | if let Ok(slice1) = unsafe { self.allocator.reallocate(slice, size) } { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/mem/allocator.rs:658:13 [INFO] [stderr] | [INFO] [stderr] 658 | for i in 0..10_000 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/mem/allocator.rs:674:13 [INFO] [stderr] | [INFO] [stderr] 674 | for i in 0..10_000 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/mem/allocator.rs:704:21 [INFO] [stderr] | [INFO] [stderr] 704 | slice = unsafe { sma.reallocate(slice, 2 * 1024).unwrap() }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/mem/allocator.rs:729:9 [INFO] [stderr] | [INFO] [stderr] 729 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/primitive/s_box.rs:182:9 [INFO] [stderr] | [INFO] [stderr] 169 | unsafe fn lazy_read(&self, drop_flag: bool) { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 182 | unsafe { crate::mem::read_bytes(slice.offset(0), &mut buf) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sbox` [INFO] [stderr] --> src/primitive/s_box.rs:427:17 [INFO] [stderr] | [INFO] [stderr] 427 | let sbox = SBox::new(100).unwrap(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sbox` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `oo_sbox` is never read [INFO] [stderr] --> src/primitive/s_box.rs:439:13 [INFO] [stderr] | [INFO] [stderr] 439 | oo_sbox = retrieve_custom_data::>>(0).unwrap(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 34 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/collections/btree_map/mod.rs:2094:38 [INFO] [stdout] | [INFO] [stdout] 2094 | let seed: u32 = self.rng.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] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/benches/mod.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | ($name:literal, $iterations:expr, $it:block) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 21 | ($name:literal, $iterations:expr_2021, $it:block) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::primitive::StableType` [INFO] [stdout] --> src/collections/hash_map/mod.rs:712:9 [INFO] [stdout] | [INFO] [stdout] 712 | use crate::primitive::StableType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/collections/hash_map/mod.rs:725:9 [INFO] [stdout] | [INFO] [stdout] 725 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `deinit_allocator` [INFO] [stdout] --> src/collections/vec/mod.rs:554:60 [INFO] [stdout] | [INFO] [stdout] 554 | _debug_print_allocator, _debug_validate_allocator, deinit_allocator, get_allocated_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/collections/vec/mod.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::primitive::s_box::SBox` [INFO] [stdout] --> src/encoding/dyn_size.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::primitive::s_box::SBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/encoding/fixed_size.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | ($ty:ty, $zero:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 174 | ($ty:ty, $zero:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/encoding/fixed_size.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | ($ty:ty, $zero:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 209 | ($ty:ty, $zero:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::primitive::s_box::SBox` [INFO] [stdout] --> src/mem/allocator.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | use crate::primitive::s_box::SBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/primitive/s_box.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | use candid::types::{Serializer, Type, TypeId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Deserializer` [INFO] [stdout] --> src/primitive/s_box.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::ManuallyDrop` [INFO] [stdout] --> src/primitive/s_box.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::mem::ManuallyDrop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/primitive/s_ref.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use candid::types::{Serializer, Type, TypeId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType` and `encode_one` [INFO] [stdout] --> src/utils/certification.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{encode_one, CandidType}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/utils/mem_context.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils/mem_context.rs:235:30 [INFO] [stdout] | [INFO] [stdout] 235 | let size_range = (0..(u16::MAX as usize * 2)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 235 - let size_range = (0..(u16::MAX as usize * 2)); [INFO] [stdout] 235 + let size_range = 0..(u16::MAX as usize * 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buffer` [INFO] [stdout] --> src/mem/allocator.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::encoding::{AsDynSizeBytes, AsFixedSizeBytes, Buffer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buffer` [INFO] [stdout] --> src/mem/free_block.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::encoding::{AsFixedSizeBytes, Buffer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/collections/btree_map/internal_node.rs:412:47 [INFO] [stdout] | [INFO] [stdout] 412 | unsafe { crate::mem::write_fixed(ptr, &mut NODE_TYPE_INTERNAL) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/collections/btree_map/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) const NODE_TYPE_INTERNAL: u8 = 127; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `collections::btree_map::IBTreeNode::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_map/internal_node.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | Self::from_ptr(self.ptr) [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/collections/btree_map/internal_node.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe fn copy(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/collections/btree_map/leaf_node.rs:480:47 [INFO] [stdout] | [INFO] [stdout] 480 | unsafe { crate::mem::write_fixed(ptr, &mut NODE_TYPE_LEAF) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/collections/btree_map/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) const NODE_TYPE_LEAF: u8 = 255; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `collections::btree_map::IBTreeNode::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_map/leaf_node.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | Self::from_ptr(self.ptr) [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/collections/btree_map/leaf_node.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | unsafe fn copy(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `collections::btree_map::IBTreeNode::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_map/mod.rs:1849:49 [INFO] [stdout] | [INFO] [stdout] 1849 | Self::Internal(i) => Self::Internal(i.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/collections/btree_map/mod.rs:1847:5 [INFO] [stdout] | [INFO] [stdout] 1847 | pub(crate) unsafe fn copy(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `collections::btree_map::IBTreeNode::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_map/mod.rs:1850:41 [INFO] [stdout] | [INFO] [stdout] 1850 | Self::Leaf(l) => Self::Leaf(l.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] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/btree_map/mod.rs:1949:18 [INFO] [stdout] | [INFO] [stdout] 1949 | for (mut k, mut v) in map.iter() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/btree_map/mod.rs:1949:25 [INFO] [stdout] | [INFO] [stdout] 1949 | for (mut k, mut v) in map.iter() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/collections/btree_map/mod.rs:2035:36 [INFO] [stdout] | [INFO] [stdout] 2035 | ... Ok(idx) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_set/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | self.map.stable_drop_flag_on(); [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/collections/btree_set/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_set/mod.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | self.map.stable_drop_flag_off() [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/collections/btree_set/mod.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set` [INFO] [stdout] --> src/collections/btree_set/mod.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let set = SBTreeSet::::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/btree_set/mod.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | for (idx, mut i) in set.iter().enumerate() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/collections/btree_set/mod.rs:255:32 [INFO] [stdout] | [INFO] [stdout] 255 | ... Ok(idx) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:615:9 [INFO] [stdout] | [INFO] [stdout] 615 | self.inner.stable_drop_flag_on(); [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/collections/certified_btree_map/mod.rs:614:5 [INFO] [stdout] | [INFO] [stdout] 614 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:620:9 [INFO] [stdout] | [INFO] [stdout] 620 | self.inner.stable_drop_flag_off(); [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/collections/certified_btree_map/mod.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 619 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rb_w1` [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1255:17 [INFO] [stdout] | [INFO] [stdout] 1255 | let rb_w1 = rb.witness(&11u64.to_le_bytes()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rb_w1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rb_w2` [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1256:17 [INFO] [stdout] | [INFO] [stdout] 1256 | let rb_w2 = rb.witness(&22u64.to_le_bytes()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rb_w2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rb_w3` [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1258:17 [INFO] [stdout] | [INFO] [stdout] 1258 | let rb_w3 = rb.key_range(&9u64.to_le_bytes(), &100u64.to_le_bytes()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rb_w3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_w3` [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1259:17 [INFO] [stdout] | [INFO] [stdout] 1259 | let map_w3 = map.prove_range(&9, &100); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_w3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1435:36 [INFO] [stdout] | [INFO] [stdout] 1435 | ... Ok(idx) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1490:25 [INFO] [stdout] | [INFO] [stdout] 1490 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1504:48 [INFO] [stdout] | [INFO] [stdout] 1504 | ... Ok(idx) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/certified_btree_set/mod.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | self.map.stable_drop_flag_on(); [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/collections/certified_btree_set/mod.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/certified_btree_set/mod.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | self.map.stable_drop_flag_off() [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/collections/certified_btree_set/mod.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/certified_btree_set/mod.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | for (idx, mut i) in set.iter().enumerate() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/collections/hash_map/mod.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(k) = self.read_and_disown_key(i) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/collections/hash_map/mod.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 385 | let v = self.read_and_disown_val(i); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/collections/hash_map/mod.rs:523:51 [INFO] [stdout] | [INFO] [stdout] 523 | unsafe { crate::mem::write_fixed(ptr, &mut OCCUPIED) }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/collections/hash_map/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const OCCUPIED: u8 = 255; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/collections/hash_map/mod.rs:529:47 [INFO] [stdout] | [INFO] [stdout] 529 | unsafe { crate::mem::write_fixed(ptr, &mut EMPTY) }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/collections/hash_map/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | const EMPTY: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::s_slice::SSlice::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/hash_map/mod.rs:689:25 [INFO] [stdout] | [INFO] [stdout] 689 | let slice = SSlice::from_ptr(self.table_ptr).unwrap(); [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/collections/hash_map/mod.rs:685:5 [INFO] [stdout] | [INFO] [stdout] 685 | unsafe fn stable_drop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/hash_map/mod.rs:907:18 [INFO] [stdout] | [INFO] [stdout] 907 | for (mut k, _) in map.iter() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/collections/hash_map/mod.rs:992:36 [INFO] [stdout] | [INFO] [stdout] 992 | ... Ok(idx) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/hash_set/mod.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | self.map.stable_drop_flag_off(); [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/collections/hash_set/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/hash_set/mod.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | self.map.stable_drop_flag_on(); [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/collections/hash_set/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/collections/hash_set/mod.rs:287:32 [INFO] [stdout] | [INFO] [stdout] 287 | ... Ok(idx) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/log/mod.rs:693:17 [INFO] [stdout] | [INFO] [stdout] 693 | for mut i in log.rev_iter() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::s_slice::SSlice::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/vec/mod.rs:527:25 [INFO] [stdout] | [INFO] [stdout] 527 | let slice = SSlice::from_ptr(self.ptr).unwrap(); [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/collections/vec/mod.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 523 | unsafe fn stable_drop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/vec/mod.rs:845:23 [INFO] [stdout] | [INFO] [stdout] 845 | for (idx, mut i) in vec.iter().enumerate() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/collections/vec/mod.rs:887:17 [INFO] [stdout] | [INFO] [stdout] 887 | for i in 0..iterations { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/collections/vec/mod.rs:949:17 [INFO] [stdout] | [INFO] [stdout] 949 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/vec/mod.rs:1058:25 [INFO] [stdout] | [INFO] [stdout] 1058 | let mut idx1 = self.rng.gen_range(0..len); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/mem/allocator.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | let slice = sma.allocate(100).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/allocator.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mem/allocator.rs:499:17 [INFO] [stdout] | [INFO] [stdout] 499 | let mut sma = StableMemoryAllocator::retrieve(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/mem/allocator.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | let slice = sma.allocate(100); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/allocator.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/allocator.rs:606:41 [INFO] [stdout] | [INFO] [stdout] 606 | if let Ok(slice1) = unsafe { self.allocator.reallocate(slice, size) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mem/allocator.rs:569:29 [INFO] [stdout] | [INFO] [stdout] 569 | let mut buf = vec![100u8; slice.get_size_bytes() as usize]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mem/allocator.rs:615:29 [INFO] [stdout] | [INFO] [stdout] 615 | let mut buf = vec![100u8; slice1.get_size_bytes() as usize]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mem/allocator.rs:658:13 [INFO] [stdout] | [INFO] [stdout] 658 | for i in 0..10_000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mem/allocator.rs:674:13 [INFO] [stdout] | [INFO] [stdout] 674 | for i in 0..10_000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/allocator.rs:704:21 [INFO] [stdout] | [INFO] [stdout] 704 | slice = unsafe { sma.reallocate(slice, 2 * 1024).unwrap() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/allocator.rs:729:9 [INFO] [stdout] | [INFO] [stdout] 729 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/mem/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | it.stable_drop_flag_off(); [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/mem/mod.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | pub unsafe fn read_fixed_for_reference(ptr: StablePtr) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/mem/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | it.stable_drop_flag_on(); [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/mem/mod.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | pub unsafe fn read_fixed_for_move(ptr: StablePtr) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/mem/mod.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | it.stable_drop_flag_off(); [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/mem/mod.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | pub unsafe fn write_fixed(ptr: StablePtr, it: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::s_slice::SSlice::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | let slice = SSlice::from_ptr(ptr).unwrap(); [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/primitive/s_box.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub unsafe fn from_ptr(ptr: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:172:27 [INFO] [stdout] | [INFO] [stdout] 172 | if let Some(it) = (*self.inner.get()).as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/primitive/s_box.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | unsafe fn lazy_read(&self, drop_flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | it.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | it.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | inner.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | inner.stable_drop_flag_off(); [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | *self.inner.get() = Some(inner); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sbox` [INFO] [stdout] --> src/primitive/s_box.rs:429:17 [INFO] [stdout] | [INFO] [stdout] 429 | let sbox = SBox::new(100).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sbox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `oo_sbox` is never read [INFO] [stdout] --> src/primitive/s_box.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | oo_sbox = retrieve_custom_data::>>(0).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/primitive/s_box.rs:436:17 [INFO] [stdout] | [INFO] [stdout] 436 | let mut sbox = SBox::new(100).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/primitive/s_box.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | let mut o_sbox = SBox::new(sbox).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/primitive/s_box.rs:450:17 [INFO] [stdout] | [INFO] [stdout] 450 | let mut oo_sbox = SBox::new(o_sbox).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/primitive/s_box.rs:468:17 [INFO] [stdout] | [INFO] [stdout] 468 | let mut sbox1 = SBox::new(10).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/primitive/s_box.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | let mut sbox11 = SBox::new(10).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/primitive/s_box.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | let mut sbox2 = SBox::new(20).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if (*self.inner.get()).is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/primitive/s_ref.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe fn read(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::read_fixed_for_reference` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let it = crate::mem::read_fixed_for_reference(self.ptr); [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | *self.inner.get() = Some(it); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref_mut.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if (*self.inner.get()).is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/primitive/s_ref_mut.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe fn read(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::read_fixed_for_move` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref_mut.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let it = crate::mem::read_fixed_for_move(self.ptr); [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref_mut.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | *self.inner.get() = Some(it); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::write_fixed` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref_mut.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | crate::mem::write_fixed(self.ptr, it); [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/primitive/s_ref_mut.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe fn repersist(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | it.stable_drop_flag_on(); [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/primitive/mod.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | it.stable_drop_flag_off(); [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/primitive/mod.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | self.2.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | self.2.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | self.2.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | self.3.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | self.2.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | self.3.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | self.2.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | self.3.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | self.4.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | self.2.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | self.3.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | self.4.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | self.2.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | self.3.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | self.4.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | self.5.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | self.2.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | self.3.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | self.4.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | self.5.stable_drop_flag_off(); [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: method `write_and_own_key` is never used [INFO] [stdout] --> src/collections/btree_map/leaf_node.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl LeafBTreeNode { [INFO] [stdout] | -------------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn write_and_own_key(&mut self, idx: usize, mut key: K) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_element_mut` is never used [INFO] [stdout] --> src/collections/log/mod.rs:447:8 [INFO] [stdout] | [INFO] [stdout] 374 | impl Sector { [INFO] [stdout] | ------------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 447 | fn get_element_mut(&mut self, offset: u64) -> SRefMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/collections/vec/mod.rs:926:14 [INFO] [stdout] | [INFO] [stdout] 926 | Push(usize), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 926 | Push(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/collections/vec/mod.rs:927:13 [INFO] [stdout] | [INFO] [stdout] 927 | Pop(usize), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 927 | Pop(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/collections/vec/mod.rs:928:16 [INFO] [stdout] | [INFO] [stdout] 928 | Insert(usize, usize), [INFO] [stdout] | ------ ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 928 | Insert((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/collections/vec/mod.rs:929:16 [INFO] [stdout] | [INFO] [stdout] 929 | Remove(usize, usize), [INFO] [stdout] | ------ ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 929 | Remove((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/collections/vec/mod.rs:930:14 [INFO] [stdout] | [INFO] [stdout] 930 | Swap(usize, usize, usize), [INFO] [stdout] | ---- ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 930 | Swap((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/collections/vec/mod.rs:931:17 [INFO] [stdout] | [INFO] [stdout] 931 | Replace(usize, usize), [INFO] [stdout] | ------- ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 931 | Replace((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/collections/vec/mod.rs:933:16 [INFO] [stdout] | [INFO] [stdout] 933 | GetMut(usize, usize), [INFO] [stdout] | ------ ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 933 | GetMut((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/collections/vec/mod.rs:934:15 [INFO] [stdout] | [INFO] [stdout] 934 | Clear(usize), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 934 | Clear(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALLOCATOR_PTR` is never used [INFO] [stdout] --> src/mem/allocator.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) const ALLOCATOR_PTR: StablePtr = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mem/allocator.rs:529:15 [INFO] [stdout] | [INFO] [stdout] 529 | Alloc(SSlice), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 529 | Alloc(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mem/allocator.rs:530:18 [INFO] [stdout] | [INFO] [stdout] 530 | AllocOOM(u64), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 530 | AllocOOM(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mem/allocator.rs:531:17 [INFO] [stdout] | [INFO] [stdout] 531 | Dealloc(SSlice), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 531 | Dealloc(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/mem/allocator.rs:532:17 [INFO] [stdout] | [INFO] [stdout] 532 | Realloc(SSlice, SSlice), [INFO] [stdout] | ------- ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 532 | Realloc((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mem/allocator.rs:533:20 [INFO] [stdout] | [INFO] [stdout] 533 | ReallocOOM(u64), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 533 | ReallocOOM(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_ptr` is never used [INFO] [stdout] --> src/mem/free_block.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl FreeBlock { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn from_ptr(ptr: StablePtr) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StableMemContext` is never constructed [INFO] [stdout] --> src/utils/mem_context.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) struct StableMemContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 327 | if let Some(alloc) = &mut *it.borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 327 ~ match &mut *it.borrow_mut() { Some(alloc) => { [INFO] [stdout] 328 | alloc.store_custom_data(idx, data) [INFO] [stdout] 329 ~ } _ => { [INFO] [stdout] 330 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 331 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 356 | if let Some(alloc) = &mut *it.borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 356 ~ match &mut *it.borrow_mut() { Some(alloc) => { [INFO] [stdout] 357 | alloc.retrieve_custom_data(idx) [INFO] [stdout] 358 ~ } _ => { [INFO] [stdout] 359 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 360 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:404:12 [INFO] [stdout] | [INFO] [stdout] 404 | if let Some(alloc) = &mut *it.borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 404 ~ match &mut *it.borrow_mut() { Some(alloc) => { [INFO] [stdout] 405 | alloc.allocate(size) [INFO] [stdout] 406 ~ } _ => { [INFO] [stdout] 407 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 408 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:435:12 [INFO] [stdout] | [INFO] [stdout] 435 | if let Some(alloc) = &mut *it.borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 435 ~ match &mut *it.borrow_mut() { Some(alloc) => { [INFO] [stdout] 436 | alloc.deallocate(slice) [INFO] [stdout] 437 ~ } _ => { [INFO] [stdout] 438 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 439 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 484 | if let Some(alloc) = &mut *it.borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 484 ~ match &mut *it.borrow_mut() { Some(alloc) => { [INFO] [stdout] 485 | alloc.reallocate(slice, new_size) [INFO] [stdout] 486 ~ } _ => { [INFO] [stdout] 487 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 488 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | if let Some(alloc) = &mut *it.borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 517 ~ match &mut *it.borrow_mut() { Some(alloc) => { [INFO] [stdout] 518 | alloc.make_sure_can_allocate(size) [INFO] [stdout] 519 ~ } _ => { [INFO] [stdout] 520 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 521 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:536:12 [INFO] [stdout] | [INFO] [stdout] 536 | if let Some(alloc) = &*it.borrow() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:538:9 [INFO] [stdout] | [INFO] [stdout] 538 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 536 ~ match &*it.borrow() { Some(alloc) => { [INFO] [stdout] 537 | alloc.get_available_size() [INFO] [stdout] 538 ~ } _ => { [INFO] [stdout] 539 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 540 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:553:12 [INFO] [stdout] | [INFO] [stdout] 553 | if let Some(alloc) = &*it.borrow() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 555 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 553 ~ match &*it.borrow() { Some(alloc) => { [INFO] [stdout] 554 | alloc.get_free_size() [INFO] [stdout] 555 ~ } _ => { [INFO] [stdout] 556 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 557 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:572:12 [INFO] [stdout] | [INFO] [stdout] 572 | if let Some(alloc) = &*it.borrow() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:574:9 [INFO] [stdout] | [INFO] [stdout] 574 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 572 ~ match &*it.borrow() { Some(alloc) => { [INFO] [stdout] 573 | alloc.get_allocated_size() [INFO] [stdout] 574 ~ } _ => { [INFO] [stdout] 575 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 576 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:589:12 [INFO] [stdout] | [INFO] [stdout] 589 | if let Some(alloc) = &*it.borrow() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 589 ~ match &*it.borrow() { Some(alloc) => { [INFO] [stdout] 590 | alloc.get_max_pages() [INFO] [stdout] 591 ~ } _ => { [INFO] [stdout] 592 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 593 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/lib.rs:598:1 [INFO] [stdout] | [INFO] [stdout] 598 | pub fn _debug_validate_allocator() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:600:12 [INFO] [stdout] | [INFO] [stdout] 600 | if let Some(alloc) = &*it.borrow() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:602:9 [INFO] [stdout] | [INFO] [stdout] 602 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 600 ~ match &*it.borrow() { Some(alloc) => { [INFO] [stdout] 601 | alloc.debug_validate_free_blocks(); [INFO] [stdout] 602 ~ } _ => { [INFO] [stdout] 603 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 604 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/lib.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn _debug_print_allocator() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 611 | if let Some(alloc) = &*it.borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:613:9 [INFO] [stdout] | [INFO] [stdout] 613 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 611 ~ match &*it.borrow_mut() { Some(alloc) => { [INFO] [stdout] 612 | isoprint(format!("{alloc:?}").as_str()); [INFO] [stdout] 613 ~ } _ => { [INFO] [stdout] 614 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 615 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> src/benches/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | macro_rules! measure { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/benches/btree_map.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | stable_btree_map.insert(example[i], example[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = stable_btree_map.insert(example[i], example[i]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/benches/btree_set.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | stable_btree_map.insert(example[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = stable_btree_map.insert(example[i]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/benches/certified_map.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | stable_certified_btree_map.insert_and_commit(example[i], example[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = stable_certified_btree_map.insert_and_commit(example[i], example[i]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/benches/certified_map.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | ... stable_certified_btree_map.insert(example[j], example[j]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 151 | let _ = stable_certified_btree_map.insert(example[j], example[j]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/benches/certified_map.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | ... stable_certified_btree_map.insert(example[j], example[j]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = stable_certified_btree_map.insert(example[j], example[j]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/benches/hash_map.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | stable_hash_map.insert(example[i], example[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = stable_hash_map.insert(example[i], example[i]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/benches/hash_set.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | stable_hash_set.insert(example[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = stable_hash_set.insert(example[i]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/benches/log.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | stable_log.push(i as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = stable_log.push(i as u64); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/benches/vec.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | stable_vec.push(i as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = stable_vec.push(i as u64); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/benches/vec.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | stable_vec.insert(0, i as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = stable_vec.insert(0, i as u64); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/btree_map/mod.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | if let Some((right, _k)) = self.insert_internal( [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |____________________________________________| [INFO] [stdout] 158 | || &mut parent, [INFO] [stdout] 159 | || parent_len, [INFO] [stdout] 160 | || idx, [INFO] [stdout] ... || [INFO] [stdout] 163 | || modified, [INFO] [stdout] 164 | || ) { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/btree_map/mod.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 157 ~ match self.insert_internal( [INFO] [stdout] 158 | &mut parent, [INFO] [stdout] ... [INFO] [stdout] 163 | modified, [INFO] [stdout] 164 ~ ) { Some((right, _k)) => { [INFO] [stdout] 165 | key_to_index = _k; [INFO] [stdout] 166 | ptr = right.as_ptr(); [INFO] [stdout] 167 | node = BTreeNode::Internal(parent); [INFO] [stdout] 168 ~ } _ => { [INFO] [stdout] 169 | self.clear_stack(modified); [INFO] [stdout] ... [INFO] [stdout] 172 | return Ok(None); [INFO] [stdout] 173 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/btree_map/mod.rs:1944:17 [INFO] [stdout] | [INFO] [stdout] 1944 | map.insert(i, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1944 | let _ = map.insert(i, i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/btree_map/mod.rs:2027:24 [INFO] [stdout] | [INFO] [stdout] 2027 | if let Ok(key_data) = SBox::new(key.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/btree_map/mod.rs:2043:21 [INFO] [stdout] | [INFO] [stdout] 2043 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2027 ~ match SBox::new(key.clone()) { Ok(key_data) => { [INFO] [stdout] 2028 | if let Ok(val_data) = SBox::new(value.clone()) { [INFO] [stdout] ... [INFO] [stdout] 2042 | } [INFO] [stdout] 2043 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/btree_map/mod.rs:2028:28 [INFO] [stdout] | [INFO] [stdout] 2028 | if let Ok(val_data) = SBox::new(value.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/btree_map/mod.rs:2042:25 [INFO] [stdout] | [INFO] [stdout] 2042 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2028 ~ match SBox::new(value.clone()) { Ok(val_data) => { [INFO] [stdout] 2029 | if self.map().insert(key_data, val_data).is_err() { [INFO] [stdout] ... [INFO] [stdout] 2041 | self.log.push(Action::Insert); [INFO] [stdout] 2042 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/btree_set/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | set.insert(10); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 157 | let _ = set.insert(10); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/btree_set/mod.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | set.insert(20); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 158 | let _ = set.insert(20); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/btree_set/mod.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | set.insert(i); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 198 | let _ = set.insert(i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/btree_set/mod.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 248 | if let Ok(data) = SBox::new(key.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/btree_set/mod.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 248 ~ match SBox::new(key.clone()) { Ok(data) => { [INFO] [stdout] 249 | if self.set().insert(data).is_err() { [INFO] [stdout] ... [INFO] [stdout] 261 | self.log.push(Action::Insert); [INFO] [stdout] 262 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1073:21 [INFO] [stdout] | [INFO] [stdout] 1073 | map.insert(example[j], example[j]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1073 | let _ = map.insert(example[j], example[j]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1148:17 [INFO] [stdout] | [INFO] [stdout] 1148 | map.insert(i * 2, i * 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1148 | let _ = map.insert(i * 2, i * 2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1276:17 [INFO] [stdout] | [INFO] [stdout] 1276 | map.insert(i, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1276 | let _ = map.insert(i, i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1314:13 [INFO] [stdout] | [INFO] [stdout] 1314 | nested_map_1.insert(1, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1314 | let _ = nested_map_1.insert(1, 1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1317:13 [INFO] [stdout] | [INFO] [stdout] 1317 | nested_map_2.insert(2, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1317 | let _ = nested_map_2.insert(2, 2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1320:13 [INFO] [stdout] | [INFO] [stdout] 1320 | map.insert(1, nested_map_1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1320 | let _ = map.insert(1, nested_map_1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1321:13 [INFO] [stdout] | [INFO] [stdout] 1321 | map.insert(2, nested_map_2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1321 | let _ = map.insert(2, nested_map_2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1428:24 [INFO] [stdout] | [INFO] [stdout] 1428 | if let Ok(key_data) = SBox::new(key.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1443:21 [INFO] [stdout] | [INFO] [stdout] 1443 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1428 ~ match SBox::new(key.clone()) { Ok(key_data) => { [INFO] [stdout] 1429 | if let Ok(val_data) = SBox::new(value.clone()) { [INFO] [stdout] ... [INFO] [stdout] 1442 | } [INFO] [stdout] 1443 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1429:28 [INFO] [stdout] | [INFO] [stdout] 1429 | if let Ok(val_data) = SBox::new(value.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1442:25 [INFO] [stdout] | [INFO] [stdout] 1442 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1429 ~ match SBox::new(value.clone()) { Ok(val_data) => { [INFO] [stdout] 1430 | if self.map().insert_and_commit(key_data, val_data).is_err() { [INFO] [stdout] ... [INFO] [stdout] 1441 | self.log.push(Action::Insert); [INFO] [stdout] 1442 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1497:36 [INFO] [stdout] | [INFO] [stdout] 1497 | ... if let Ok(key_data) = SBox::new(key.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1510:33 [INFO] [stdout] | [INFO] [stdout] 1510 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1497 ~ match SBox::new(key.clone()) { Ok(key_data) => { [INFO] [stdout] 1498 | if let Ok(val_data) = SBox::new(value.clone()) { [INFO] [stdout] ... [INFO] [stdout] 1509 | } [INFO] [stdout] 1510 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1498:40 [INFO] [stdout] | [INFO] [stdout] 1498 | ... if let Ok(val_data) = SBox::new(value.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1509:37 [INFO] [stdout] | [INFO] [stdout] 1509 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1498 ~ match SBox::new(value.clone()) { Ok(val_data) => { [INFO] [stdout] 1499 | if self.map().insert(key_data, val_data).is_err() { [INFO] [stdout] ... [INFO] [stdout] 1508 | }; [INFO] [stdout] 1509 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/certified_btree_set/mod.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | set.insert(i); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 244 | let _ = set.insert(i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/hash_map/mod.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | if let Ok(mut new) = [INFO] [stdout] | ____________________________^ [INFO] [stdout] 181 | | Self::new_with_capacity(self.capacity().checked_mul(2).unwrap() - 1) [INFO] [stdout] | |_____________________________-------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/hash_map/mod.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 180 ~ match Self::new_with_capacity(self.capacity().checked_mul(2).unwrap() - 1) [INFO] [stdout] 181 ~ { Ok(mut new) => { [INFO] [stdout] 182 | for i in 0..self.cap { [INFO] [stdout] ... [INFO] [stdout] 201 | return Ok(res); [INFO] [stdout] 202 ~ } _ => { [INFO] [stdout] 203 | return Err((key, value)); [INFO] [stdout] 204 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/hash_map/mod.rs:184:36 [INFO] [stdout] | [INFO] [stdout] 184 | ... if let Some(k) = self.read_and_disown_key(i) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/hash_map/mod.rs:188:33 [INFO] [stdout] | [INFO] [stdout] 188 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 184 ~ match self.read_and_disown_key(i) { Some(k) => { [INFO] [stdout] 185 | let v = self.read_and_disown_val(i); [INFO] [stdout] 186 | [INFO] [stdout] 187 | new.insert(k, v).debugless_unwrap(); [INFO] [stdout] 188 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/hash_map/mod.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(k) = self.read_and_disown_key(i) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/hash_map/mod.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 384 ~ match self.read_and_disown_key(i) { Some(k) => { [INFO] [stdout] 385 | let v = self.read_and_disown_val(i); [INFO] [stdout] 386 | [INFO] [stdout] 387 | self.write_and_own_key(i, None); [INFO] [stdout] 388 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/hash_map/mod.rs:744:13 [INFO] [stdout] | [INFO] [stdout] 744 | map.insert(k1, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 744 | let _ = map.insert(k1, 1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/hash_map/mod.rs:745:13 [INFO] [stdout] | [INFO] [stdout] 745 | map.insert(k2, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 745 | let _ = map.insert(k2, 2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/hash_map/mod.rs:746:13 [INFO] [stdout] | [INFO] [stdout] 746 | map.insert(k3, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 746 | let _ = map.insert(k3, 3); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/hash_map/mod.rs:747:13 [INFO] [stdout] | [INFO] [stdout] 747 | map.insert(k4, 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 747 | let _ = map.insert(k4, 4); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/hash_map/mod.rs:748:13 [INFO] [stdout] | [INFO] [stdout] 748 | map.insert(k5, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 748 | let _ = map.insert(k5, 5); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/hash_map/mod.rs:749:13 [INFO] [stdout] | [INFO] [stdout] 749 | map.insert(k6, 6); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 749 | let _ = map.insert(k6, 6); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/hash_map/mod.rs:750:13 [INFO] [stdout] | [INFO] [stdout] 750 | map.insert(k7, 7); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 750 | let _ = map.insert(k7, 7); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/hash_map/mod.rs:751:13 [INFO] [stdout] | [INFO] [stdout] 751 | map.insert(k8, 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 751 | let _ = map.insert(k8, 8); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/hash_map/mod.rs:839:17 [INFO] [stdout] | [INFO] [stdout] 839 | map.insert(499 - i, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 839 | let _ = map.insert(499 - i, i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/hash_map/mod.rs:850:17 [INFO] [stdout] | [INFO] [stdout] 850 | map.insert(i, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 850 | let _ = map.insert(i, i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/hash_map/mod.rs:854:17 [INFO] [stdout] | [INFO] [stdout] 854 | map.insert(i, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 854 | let _ = map.insert(i, i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/hash_map/mod.rs:876:13 [INFO] [stdout] | [INFO] [stdout] 876 | map.insert(0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 876 | let _ = map.insert(0, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/hash_map/mod.rs:903:17 [INFO] [stdout] | [INFO] [stdout] 903 | map.insert(i, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 903 | let _ = map.insert(i, i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/hash_map/mod.rs:984:24 [INFO] [stdout] | [INFO] [stdout] 984 | if let Ok(key_data) = SBox::new(key.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/hash_map/mod.rs:1000:21 [INFO] [stdout] | [INFO] [stdout] 1000 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 984 ~ match SBox::new(key.clone()) { Ok(key_data) => { [INFO] [stdout] 985 | if let Ok(val_data) = SBox::new(value.clone()) { [INFO] [stdout] ... [INFO] [stdout] 999 | } [INFO] [stdout] 1000 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/hash_map/mod.rs:985:28 [INFO] [stdout] | [INFO] [stdout] 985 | if let Ok(val_data) = SBox::new(value.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/hash_map/mod.rs:999:25 [INFO] [stdout] | [INFO] [stdout] 999 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 985 ~ match SBox::new(value.clone()) { Ok(val_data) => { [INFO] [stdout] 986 | if self.map().insert(key_data, val_data).is_err() { [INFO] [stdout] ... [INFO] [stdout] 998 | self.log.push(Action::Insert); [INFO] [stdout] 999 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/hash_set/mod.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | set.insert(i); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 205 | let _ = set.insert(i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/hash_set/mod.rs:280:24 [INFO] [stdout] | [INFO] [stdout] 280 | if let Ok(data) = SBox::new(key.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/hash_set/mod.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 280 ~ match SBox::new(key.clone()) { Ok(data) => { [INFO] [stdout] 281 | if self.set().insert(data).is_err() { [INFO] [stdout] ... [INFO] [stdout] 293 | self.log.push(Action::Insert); [INFO] [stdout] 294 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/log/mod.rs:626:17 [INFO] [stdout] | [INFO] [stdout] 626 | log.push(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 626 | let _ = log.push(i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/log/mod.rs:653:17 [INFO] [stdout] | [INFO] [stdout] 653 | log.push(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 653 | let _ = log.push(i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/log/mod.rs:686:17 [INFO] [stdout] | [INFO] [stdout] 686 | log.push(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 686 | let _ = log.push(i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/log/mod.rs:741:24 [INFO] [stdout] | [INFO] [stdout] 741 | if let Ok(data) = SBox::new(str.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/log/mod.rs:746:21 [INFO] [stdout] | [INFO] [stdout] 746 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 741 ~ match SBox::new(str.clone()) { Ok(data) => { [INFO] [stdout] 742 | self.it().push(data); [INFO] [stdout] ... [INFO] [stdout] 745 | self.log.push(Action::Push); [INFO] [stdout] 746 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/log/mod.rs:742:25 [INFO] [stdout] | [INFO] [stdout] 742 | self.it().push(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 742 | let _ = self.it().push(data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/vec/mod.rs:708:19 [INFO] [stdout] | [INFO] [stdout] 708 | while let Some(elem) = array.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/vec/mod.rs:710:13 [INFO] [stdout] | [INFO] [stdout] 710 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/vec/mod.rs:752:19 [INFO] [stdout] | [INFO] [stdout] 752 | while let Some(elem) = array.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/vec/mod.rs:754:13 [INFO] [stdout] | [INFO] [stdout] 754 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/vec/mod.rs:779:17 [INFO] [stdout] | [INFO] [stdout] 779 | array.push(initial[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 779 | let _ = array.push(initial[i]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/vec/mod.rs:798:13 [INFO] [stdout] | [INFO] [stdout] 798 | vec.push(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 798 | let _ = vec.push(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/vec/mod.rs:799:13 [INFO] [stdout] | [INFO] [stdout] 799 | vec.push(2); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 799 | let _ = vec.push(2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/vec/mod.rs:800:13 [INFO] [stdout] | [INFO] [stdout] 800 | vec.push(3); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 800 | let _ = vec.push(3); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/vec/mod.rs:839:17 [INFO] [stdout] | [INFO] [stdout] 839 | vec.push(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 839 | let _ = vec.push(i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/vec/mod.rs:876:17 [INFO] [stdout] | [INFO] [stdout] 876 | svec.push(example[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 876 | let _ = svec.push(example[i]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/vec/mod.rs:880:17 [INFO] [stdout] | [INFO] [stdout] 880 | svec.insert(rng.gen_range(0..svec.len()), example[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 880 | let _ = svec.insert(rng.gen_range(0..svec.len()), example[i]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/vec/mod.rs:914:17 [INFO] [stdout] | [INFO] [stdout] 914 | vec.push(b); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 914 | let _ = vec.push(b); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/vec/mod.rs:950:17 [INFO] [stdout] | [INFO] [stdout] 950 | svec.push(SVec::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 950 | let _ = svec.push(SVec::default()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/vec/mod.rs:974:24 [INFO] [stdout] | [INFO] [stdout] 974 | if let Ok(data) = SBox::new(str.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/vec/mod.rs:984:21 [INFO] [stdout] | [INFO] [stdout] 984 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 974 ~ match SBox::new(str.clone()) { Ok(data) => { [INFO] [stdout] 975 | let outer_idx = self.rng.gen_range(0..10); [INFO] [stdout] ... [INFO] [stdout] 983 | self.log.push(Action::Push(outer_idx)); [INFO] [stdout] 984 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/vec/mod.rs:990:24 [INFO] [stdout] | [INFO] [stdout] 990 | if let Ok(data) = SBox::new(str.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/vec/mod.rs:1016:21 [INFO] [stdout] | [INFO] [stdout] 1016 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 990 ~ match SBox::new(str.clone()) { Ok(data) => { [INFO] [stdout] 991 | let outer_idx = self.rng.gen_range(0..10); [INFO] [stdout] ... [INFO] [stdout] 1015 | self.log.push(Action::Insert(outer_idx, idx)); [INFO] [stdout] 1016 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/vec/mod.rs:1087:24 [INFO] [stdout] | [INFO] [stdout] 1087 | if let Ok(data) = SBox::new(str.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/vec/mod.rs:1100:21 [INFO] [stdout] | [INFO] [stdout] 1100 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1087 ~ match SBox::new(str.clone()) { Ok(data) => { [INFO] [stdout] 1088 | self.vec().get_mut(outer_idx).unwrap().replace(idx, data); [INFO] [stdout] ... [INFO] [stdout] 1099 | self.log.push(Action::Replace(outer_idx, idx)); [INFO] [stdout] 1100 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/collections/vec/mod.rs:1090:25 [INFO] [stdout] | [INFO] [stdout] 1090 | / std::mem::replace( [INFO] [stdout] 1091 | | self.example [INFO] [stdout] 1092 | | .get_mut(outer_idx) [INFO] [stdout] 1093 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 1096 | | str.clone(), [INFO] [stdout] 1097 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1090 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/encoding/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub mod dyn_size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/encoding/dyn_size.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / pub fn candid_decode_args_allow_trailing<'a, Tuple>(bytes: &'a [u8]) -> Result [INFO] [stdout] 107 | | where [INFO] [stdout] 108 | | Tuple: ArgumentDecoder<'a>, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/encoding/dyn_size.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / pub fn candid_decode_one_allow_trailing<'a, T>(bytes: &'a [u8]) -> Result [INFO] [stdout] 117 | | where [INFO] [stdout] 118 | | T: Deserialize<'a> + CandidType, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mem/allocator.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | sma.allocate(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 471 | let _ = sma.allocate(100); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mem/allocator.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | sma.store(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 496 | let _ = sma.store(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mem/allocator.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | sma.store(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 518 | let _ = sma.store(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mem/allocator.rs:733:13 [INFO] [stdout] | [INFO] [stdout] 733 | allocator.store(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 733 | let _ = allocator.store(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mem/allocator.rs:771:13 [INFO] [stdout] | [INFO] [stdout] 771 | allocator.store(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 771 | let _ = allocator.store(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/primitive/s_box.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | / b.with(|it: &mut Option>| { [INFO] [stdout] 498 | | if let Some(v) = it.as_mut() { [INFO] [stdout] 499 | | v.push(10); [INFO] [stdout] 500 | | } [INFO] [stdout] 501 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 497 | let _ = b.with(|it: &mut Option>| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/primitive/s_box.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | v.push(10); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 499 | let _ = v.push(10); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/primitive/s_box.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | / b.with(|it: &mut Option>| { [INFO] [stdout] 512 | | *it = None; [INFO] [stdout] 513 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 511 | let _ = b.with(|it: &mut Option>| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/primitive/s_ref_mut.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some(it) = self.inner.get_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/primitive/s_ref_mut.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match self.inner.get_mut() { Some(it) => { [INFO] [stdout] 49 | crate::mem::write_fixed(self.ptr, it); [INFO] [stdout] 50 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/utils/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod test; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `c` should have an upper case name [INFO] [stdout] --> src/utils/certification.rs:375:11 [INFO] [stdout] | [INFO] [stdout] 375 | const c: [u8; 10] = [0u8; 10]; [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `C` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/utils/mem_context.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 187 | pub mod stable { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/utils/mem_context.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn clear() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/utils/mem_context.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn size_pages() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/utils/mem_context.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn grow(new_pages: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/utils/mem_context.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn read(offset: u64, buf: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/utils/mem_context.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn write(offset: u64, buf: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | stable_memory_pre_upgrade(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 631 | let _ = stable_memory_pre_upgrade(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | deinit_allocator(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 660 | let _ = deinit_allocator(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:673:18 [INFO] [stdout] | [INFO] [stdout] 673 | unsafe { allocate(10) }; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 673 | unsafe { let _ = allocate(10); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:685:18 [INFO] [stdout] | [INFO] [stdout] 685 | unsafe { reallocate(SSlice::new(0, 10, false), 20) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 685 | unsafe { let _ = reallocate(SSlice::new(0, 10, false), 20); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 269 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ic_stable_memory` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/benches/mod.rs [INFO] [stderr] * src/collections/btree_map/internal_node.rs [INFO] [stderr] * src/collections/btree_map/leaf_node.rs [INFO] [stderr] * src/collections/hash_map/mod.rs [INFO] [stderr] * src/encoding/fixed_size.rs [INFO] [stderr] * src/mem/allocator.rs [INFO] [stderr] * src/mem/free_block.rs [INFO] [stderr] * src/primitive/s_box.rs [INFO] [stderr] * src/utils/certification.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/benches/mod.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | ($name:literal, $iterations:expr_2021, $it:block) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/encoding/fixed_size.rs:174:14 [INFO] [stderr] | [INFO] [stderr] 174 | ($ty:ty, $zero:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/encoding/fixed_size.rs:209:14 [INFO] [stderr] | [INFO] [stderr] 209 | ($ty:ty, $zero:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused import: `Deserializer` [INFO] [stderr] --> src/primitive/s_box.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | use serde::{Deserialize, Deserializer}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Deserialize` [INFO] [stderr] --> src/primitive/s_box.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use serde::{Deserialize, Deserializer}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `candid::CandidType` [INFO] [stderr] --> src/utils/certification.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use candid::CandidType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Buffer` [INFO] [stderr] --> src/mem/allocator.rs:13:57 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::encoding::{AsDynSizeBytes, AsFixedSizeBytes, Buffer}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Buffer` [INFO] [stderr] --> src/mem/free_block.rs:8:41 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::encoding::{AsFixedSizeBytes, Buffer}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/collections/btree_map/internal_node.rs:412:47 [INFO] [stderr] | [INFO] [stderr] 412 | unsafe { crate::mem::write_fixed(ptr, &mut NODE_TYPE_INTERNAL) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/collections/btree_map/mod.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | pub(crate) const NODE_TYPE_INTERNAL: u8 = 127; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/collections/btree_map/leaf_node.rs:480:47 [INFO] [stderr] | [INFO] [stderr] 480 | unsafe { crate::mem::write_fixed(ptr, &mut NODE_TYPE_LEAF) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/collections/btree_map/mod.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | pub(crate) const NODE_TYPE_LEAF: u8 = 255; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/collections/btree_map/mod.rs:2094:38 [INFO] [stdout] | [INFO] [stdout] 2094 | let seed: u32 = self.rng.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] [INFO] [stdout] [INFO] [stderr] --> src/collections/hash_map/mod.rs:383:54 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/benches/mod.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | ($name:literal, $iterations:expr, $it:block) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 21 | ($name:literal, $iterations:expr_2021, $it:block) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused import: `crate::primitive::s_box::SBox` [INFO] [stdout] --> src/encoding/dyn_size.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::primitive::s_box::SBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 383 | match self.read_and_disown_key(i) { Some(k) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/encoding/fixed_size.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | ($ty:ty, $zero:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 174 | ($ty:ty, $zero:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/encoding/fixed_size.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | ($ty:ty, $zero:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 209 | ($ty:ty, $zero:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/primitive/s_box.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | use candid::types::{Serializer, Type, TypeId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] warning: unused import: `std::mem::ManuallyDrop` [INFO] [stdout] --> src/primitive/s_box.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::mem::ManuallyDrop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/collections/hash_map/mod.rs:384:21 [INFO] [stderr] | [INFO] [stderr] 384 | let v = self.read_and_disown_val(i); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/collections/hash_map/mod.rs:522:51 [INFO] [stderr] | [INFO] [stderr] 522 | unsafe { crate::mem::write_fixed(ptr, &mut OCCUPIED) }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/collections/hash_map/mod.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | const OCCUPIED: u8 = 255; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/collections/hash_map/mod.rs:528:47 [INFO] [stderr] | [INFO] [stderr] 528 | unsafe { crate::mem::write_fixed(ptr, &mut EMPTY) }; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/collections/hash_map/mod.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | const EMPTY: u8 = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/primitive/s_box.rs:183:9 [INFO] [stderr] | [INFO] [stderr] 170 | unsafe fn lazy_read(&self, drop_flag: bool) { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 183 | unsafe { crate::mem::read_bytes(slice.offset(0), &mut buf) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 12 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/primitive/s_ref.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use candid::types::{Serializer, Type, TypeId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `encode_one` [INFO] [stdout] --> src/utils/certification.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{encode_one, CandidType}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/primitive/s_box.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/primitive/s_box.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CandidType` [INFO] [stdout] --> src/utils/certification.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{encode_one, CandidType}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buffer` [INFO] [stdout] --> src/mem/allocator.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::encoding::{AsDynSizeBytes, AsFixedSizeBytes, Buffer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buffer` [INFO] [stdout] --> src/mem/free_block.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::encoding::{AsFixedSizeBytes, Buffer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/collections/btree_map/internal_node.rs:412:47 [INFO] [stdout] | [INFO] [stdout] 412 | unsafe { crate::mem::write_fixed(ptr, &mut NODE_TYPE_INTERNAL) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/collections/btree_map/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) const NODE_TYPE_INTERNAL: u8 = 127; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `collections::btree_map::IBTreeNode::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_map/internal_node.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | Self::from_ptr(self.ptr) [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/collections/btree_map/internal_node.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe fn copy(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/collections/btree_map/leaf_node.rs:480:47 [INFO] [stdout] | [INFO] [stdout] 480 | unsafe { crate::mem::write_fixed(ptr, &mut NODE_TYPE_LEAF) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/collections/btree_map/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) const NODE_TYPE_LEAF: u8 = 255; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `collections::btree_map::IBTreeNode::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_map/leaf_node.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | Self::from_ptr(self.ptr) [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/collections/btree_map/leaf_node.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | unsafe fn copy(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `collections::btree_map::IBTreeNode::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_map/mod.rs:1849:49 [INFO] [stdout] | [INFO] [stdout] 1849 | Self::Internal(i) => Self::Internal(i.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/collections/btree_map/mod.rs:1847:5 [INFO] [stdout] | [INFO] [stdout] 1847 | pub(crate) unsafe fn copy(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `collections::btree_map::IBTreeNode::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_map/mod.rs:1850:41 [INFO] [stdout] | [INFO] [stdout] 1850 | Self::Leaf(l) => Self::Leaf(l.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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_set/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | self.map.stable_drop_flag_on(); [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/collections/btree_set/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_set/mod.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | self.map.stable_drop_flag_off() [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/collections/btree_set/mod.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:615:9 [INFO] [stdout] | [INFO] [stdout] 615 | self.inner.stable_drop_flag_on(); [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/collections/certified_btree_map/mod.rs:614:5 [INFO] [stdout] | [INFO] [stdout] 614 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:620:9 [INFO] [stdout] | [INFO] [stdout] 620 | self.inner.stable_drop_flag_off(); [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/collections/certified_btree_map/mod.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 619 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/certified_btree_set/mod.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | self.map.stable_drop_flag_on(); [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/collections/certified_btree_set/mod.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/certified_btree_set/mod.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | self.map.stable_drop_flag_off() [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/collections/certified_btree_set/mod.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/collections/hash_map/mod.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(k) = self.read_and_disown_key(i) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/collections/hash_map/mod.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 385 | let v = self.read_and_disown_val(i); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/collections/hash_map/mod.rs:523:51 [INFO] [stdout] | [INFO] [stdout] 523 | unsafe { crate::mem::write_fixed(ptr, &mut OCCUPIED) }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/collections/hash_map/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const OCCUPIED: u8 = 255; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/collections/hash_map/mod.rs:529:47 [INFO] [stdout] | [INFO] [stdout] 529 | unsafe { crate::mem::write_fixed(ptr, &mut EMPTY) }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/collections/hash_map/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | const EMPTY: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::s_slice::SSlice::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/hash_map/mod.rs:689:25 [INFO] [stdout] | [INFO] [stdout] 689 | let slice = SSlice::from_ptr(self.table_ptr).unwrap(); [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/collections/hash_map/mod.rs:685:5 [INFO] [stdout] | [INFO] [stdout] 685 | unsafe fn stable_drop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/hash_set/mod.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | self.map.stable_drop_flag_off(); [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/collections/hash_set/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/hash_set/mod.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | self.map.stable_drop_flag_on(); [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/collections/hash_set/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::s_slice::SSlice::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/vec/mod.rs:527:25 [INFO] [stdout] | [INFO] [stdout] 527 | let slice = SSlice::from_ptr(self.ptr).unwrap(); [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/collections/vec/mod.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 523 | unsafe fn stable_drop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/mem/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | it.stable_drop_flag_off(); [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/mem/mod.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | pub unsafe fn read_fixed_for_reference(ptr: StablePtr) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/mem/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | it.stable_drop_flag_on(); [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/mem/mod.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | pub unsafe fn read_fixed_for_move(ptr: StablePtr) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/mem/mod.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | it.stable_drop_flag_off(); [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/mem/mod.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | pub unsafe fn write_fixed(ptr: StablePtr, it: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::s_slice::SSlice::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | let slice = SSlice::from_ptr(ptr).unwrap(); [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/primitive/s_box.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub unsafe fn from_ptr(ptr: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:172:27 [INFO] [stdout] | [INFO] [stdout] 172 | if let Some(it) = (*self.inner.get()).as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/primitive/s_box.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | unsafe fn lazy_read(&self, drop_flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | it.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | it.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | inner.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | inner.stable_drop_flag_off(); [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | *self.inner.get() = Some(inner); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if (*self.inner.get()).is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/primitive/s_ref.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe fn read(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::read_fixed_for_reference` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let it = crate::mem::read_fixed_for_reference(self.ptr); [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | *self.inner.get() = Some(it); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref_mut.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if (*self.inner.get()).is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/primitive/s_ref_mut.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe fn read(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::read_fixed_for_move` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref_mut.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let it = crate::mem::read_fixed_for_move(self.ptr); [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref_mut.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | *self.inner.get() = Some(it); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::write_fixed` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref_mut.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | crate::mem::write_fixed(self.ptr, it); [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/primitive/s_ref_mut.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe fn repersist(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | it.stable_drop_flag_on(); [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/primitive/mod.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | it.stable_drop_flag_off(); [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/primitive/mod.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | self.2.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | self.2.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | self.2.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | self.3.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | self.2.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | self.3.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | self.2.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | self.3.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | self.4.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | self.2.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | self.3.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | self.4.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | self.2.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | self.3.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | self.4.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | self.5.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | self.2.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | self.3.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | self.4.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | self.5.stable_drop_flag_off(); [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: function `now_milli` is never used [INFO] [stdout] --> src/benches/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn now_milli() -> u128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_and_own_key` is never used [INFO] [stdout] --> src/collections/btree_map/leaf_node.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl LeafBTreeNode { [INFO] [stdout] | -------------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn write_and_own_key(&mut self, idx: usize, mut key: K) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_element_mut` is never used [INFO] [stdout] --> src/collections/log/mod.rs:447:8 [INFO] [stdout] | [INFO] [stdout] 374 | impl Sector { [INFO] [stdout] | ------------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 447 | fn get_element_mut(&mut self, offset: u64) -> SRefMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALLOCATOR_PTR` is never used [INFO] [stdout] --> src/mem/allocator.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) const ALLOCATOR_PTR: StablePtr = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_ptr` is never used [INFO] [stdout] --> src/mem/free_block.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl FreeBlock { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn from_ptr(ptr: StablePtr) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StableMemContext` is never constructed [INFO] [stdout] --> src/utils/mem_context.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) struct StableMemContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 327 | if let Some(alloc) = &mut *it.borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 327 ~ match &mut *it.borrow_mut() { Some(alloc) => { [INFO] [stdout] 328 | alloc.store_custom_data(idx, data) [INFO] [stdout] 329 ~ } _ => { [INFO] [stdout] 330 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 331 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 356 | if let Some(alloc) = &mut *it.borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 356 ~ match &mut *it.borrow_mut() { Some(alloc) => { [INFO] [stdout] 357 | alloc.retrieve_custom_data(idx) [INFO] [stdout] 358 ~ } _ => { [INFO] [stdout] 359 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 360 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:404:12 [INFO] [stdout] | [INFO] [stdout] 404 | if let Some(alloc) = &mut *it.borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 404 ~ match &mut *it.borrow_mut() { Some(alloc) => { [INFO] [stdout] 405 | alloc.allocate(size) [INFO] [stdout] 406 ~ } _ => { [INFO] [stdout] 407 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 408 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:435:12 [INFO] [stdout] | [INFO] [stdout] 435 | if let Some(alloc) = &mut *it.borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 435 ~ match &mut *it.borrow_mut() { Some(alloc) => { [INFO] [stdout] 436 | alloc.deallocate(slice) [INFO] [stdout] 437 ~ } _ => { [INFO] [stdout] 438 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 439 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 484 | if let Some(alloc) = &mut *it.borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 484 ~ match &mut *it.borrow_mut() { Some(alloc) => { [INFO] [stdout] 485 | alloc.reallocate(slice, new_size) [INFO] [stdout] 486 ~ } _ => { [INFO] [stdout] 487 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 488 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | if let Some(alloc) = &mut *it.borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 517 ~ match &mut *it.borrow_mut() { Some(alloc) => { [INFO] [stdout] 518 | alloc.make_sure_can_allocate(size) [INFO] [stdout] 519 ~ } _ => { [INFO] [stdout] 520 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 521 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:536:12 [INFO] [stdout] | [INFO] [stdout] 536 | if let Some(alloc) = &*it.borrow() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:538:9 [INFO] [stdout] | [INFO] [stdout] 538 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 536 ~ match &*it.borrow() { Some(alloc) => { [INFO] [stdout] 537 | alloc.get_available_size() [INFO] [stdout] 538 ~ } _ => { [INFO] [stdout] 539 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 540 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:553:12 [INFO] [stdout] | [INFO] [stdout] 553 | if let Some(alloc) = &*it.borrow() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 555 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 553 ~ match &*it.borrow() { Some(alloc) => { [INFO] [stdout] 554 | alloc.get_free_size() [INFO] [stdout] 555 ~ } _ => { [INFO] [stdout] 556 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 557 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:572:12 [INFO] [stdout] | [INFO] [stdout] 572 | if let Some(alloc) = &*it.borrow() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:574:9 [INFO] [stdout] | [INFO] [stdout] 574 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 572 ~ match &*it.borrow() { Some(alloc) => { [INFO] [stdout] 573 | alloc.get_allocated_size() [INFO] [stdout] 574 ~ } _ => { [INFO] [stdout] 575 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 576 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:589:12 [INFO] [stdout] | [INFO] [stdout] 589 | if let Some(alloc) = &*it.borrow() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 589 ~ match &*it.borrow() { Some(alloc) => { [INFO] [stdout] 590 | alloc.get_max_pages() [INFO] [stdout] 591 ~ } _ => { [INFO] [stdout] 592 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 593 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/lib.rs:598:1 [INFO] [stdout] | [INFO] [stdout] 598 | pub fn _debug_validate_allocator() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:600:12 [INFO] [stdout] | [INFO] [stdout] 600 | if let Some(alloc) = &*it.borrow() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:602:9 [INFO] [stdout] | [INFO] [stdout] 602 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 600 ~ match &*it.borrow() { Some(alloc) => { [INFO] [stdout] 601 | alloc.debug_validate_free_blocks(); [INFO] [stdout] 602 ~ } _ => { [INFO] [stdout] 603 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 604 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/lib.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn _debug_print_allocator() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 611 | if let Some(alloc) = &*it.borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:613:9 [INFO] [stdout] | [INFO] [stdout] 613 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 611 ~ match &*it.borrow_mut() { Some(alloc) => { [INFO] [stdout] 612 | isoprint(format!("{alloc:?}").as_str()); [INFO] [stdout] 613 ~ } _ => { [INFO] [stdout] 614 | unreachable!("StableMemoryAllocator is not initialized"); [INFO] [stdout] 615 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> src/benches/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | macro_rules! measure { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/btree_map/mod.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | if let Some((right, _k)) = self.insert_internal( [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |____________________________________________| [INFO] [stdout] 158 | || &mut parent, [INFO] [stdout] 159 | || parent_len, [INFO] [stdout] 160 | || idx, [INFO] [stdout] ... || [INFO] [stdout] 163 | || modified, [INFO] [stdout] 164 | || ) { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/btree_map/mod.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 157 ~ match self.insert_internal( [INFO] [stdout] 158 | &mut parent, [INFO] [stdout] ... [INFO] [stdout] 163 | modified, [INFO] [stdout] 164 ~ ) { Some((right, _k)) => { [INFO] [stdout] 165 | key_to_index = _k; [INFO] [stdout] 166 | ptr = right.as_ptr(); [INFO] [stdout] 167 | node = BTreeNode::Internal(parent); [INFO] [stdout] 168 ~ } _ => { [INFO] [stdout] 169 | self.clear_stack(modified); [INFO] [stdout] ... [INFO] [stdout] 172 | return Ok(None); [INFO] [stdout] 173 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/hash_map/mod.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | if let Ok(mut new) = [INFO] [stdout] | ____________________________^ [INFO] [stdout] 181 | | Self::new_with_capacity(self.capacity().checked_mul(2).unwrap() - 1) [INFO] [stdout] | |_____________________________-------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/hash_map/mod.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 180 ~ match Self::new_with_capacity(self.capacity().checked_mul(2).unwrap() - 1) [INFO] [stdout] 181 ~ { Ok(mut new) => { [INFO] [stdout] 182 | for i in 0..self.cap { [INFO] [stdout] ... [INFO] [stdout] 201 | return Ok(res); [INFO] [stdout] 202 ~ } _ => { [INFO] [stdout] 203 | return Err((key, value)); [INFO] [stdout] 204 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/hash_map/mod.rs:184:36 [INFO] [stdout] | [INFO] [stdout] 184 | ... if let Some(k) = self.read_and_disown_key(i) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/hash_map/mod.rs:188:33 [INFO] [stdout] | [INFO] [stdout] 188 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 184 ~ match self.read_and_disown_key(i) { Some(k) => { [INFO] [stdout] 185 | let v = self.read_and_disown_val(i); [INFO] [stdout] 186 | [INFO] [stdout] 187 | new.insert(k, v).debugless_unwrap(); [INFO] [stdout] 188 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/hash_map/mod.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(k) = self.read_and_disown_key(i) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/hash_map/mod.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 384 ~ match self.read_and_disown_key(i) { Some(k) => { [INFO] [stdout] 385 | let v = self.read_and_disown_val(i); [INFO] [stdout] 386 | [INFO] [stdout] 387 | self.write_and_own_key(i, None); [INFO] [stdout] 388 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/encoding/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub mod dyn_size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/encoding/dyn_size.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / pub fn candid_decode_args_allow_trailing<'a, Tuple>(bytes: &'a [u8]) -> Result [INFO] [stdout] 107 | | where [INFO] [stdout] 108 | | Tuple: ArgumentDecoder<'a>, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/encoding/dyn_size.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / pub fn candid_decode_one_allow_trailing<'a, T>(bytes: &'a [u8]) -> Result [INFO] [stdout] 117 | | where [INFO] [stdout] 118 | | T: Deserialize<'a> + CandidType, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/primitive/s_ref_mut.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some(it) = self.inner.get_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/primitive/s_ref_mut.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match self.inner.get_mut() { Some(it) => { [INFO] [stdout] 49 | crate::mem::write_fixed(self.ptr, it); [INFO] [stdout] 50 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/utils/mem_context.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 187 | pub mod stable { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/utils/mem_context.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn clear() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/utils/mem_context.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn size_pages() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/utils/mem_context.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn grow(new_pages: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/utils/mem_context.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn read(offset: u64, buf: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/utils/mem_context.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn write(offset: u64, buf: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 130 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.02s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ic-stable-memory v0.4.4 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/collections/btree_map/mod.rs:2094:38 [INFO] [stdout] | [INFO] [stdout] 2094 | let seed: u32 = self.rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 2094 | let seed: u32 = self.rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/collections/btree_map/mod.rs:2094:38 [INFO] [stdout] | [INFO] [stdout] 2094 | let seed: u32 = self.rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 2094 | let seed: u32 = self.rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::primitive::s_box::SBox` [INFO] [stdout] --> src/encoding/dyn_size.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::primitive::s_box::SBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/primitive/s_box.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | use candid::types::{Serializer, Type, TypeId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::ManuallyDrop` [INFO] [stdout] --> src/primitive/s_box.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::mem::ManuallyDrop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/primitive/s_ref.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use candid::types::{Serializer, Type, TypeId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `encode_one` [INFO] [stdout] --> src/utils/certification.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{encode_one, CandidType}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::primitive::StableType` [INFO] [stdout] --> src/collections/hash_map/mod.rs:712:9 [INFO] [stdout] | [INFO] [stdout] 712 | use crate::primitive::StableType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/collections/hash_map/mod.rs:725:9 [INFO] [stdout] | [INFO] [stdout] 725 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `deinit_allocator` [INFO] [stdout] --> src/collections/vec/mod.rs:554:60 [INFO] [stdout] | [INFO] [stdout] 554 | _debug_print_allocator, _debug_validate_allocator, deinit_allocator, get_allocated_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/collections/vec/mod.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::primitive::s_box::SBox` [INFO] [stdout] --> src/encoding/dyn_size.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::primitive::s_box::SBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::primitive::s_box::SBox` [INFO] [stdout] --> src/mem/allocator.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | use crate::primitive::s_box::SBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/primitive/s_box.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | use candid::types::{Serializer, Type, TypeId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Deserializer` [INFO] [stdout] --> src/primitive/s_box.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::ManuallyDrop` [INFO] [stdout] --> src/primitive/s_box.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::mem::ManuallyDrop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/primitive/s_ref.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use candid::types::{Serializer, Type, TypeId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType` and `encode_one` [INFO] [stdout] --> src/utils/certification.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{encode_one, CandidType}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/utils/mem_context.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils/mem_context.rs:235:30 [INFO] [stdout] | [INFO] [stdout] 235 | let size_range = (0..(u16::MAX as usize * 2)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 235 - let size_range = (0..(u16::MAX as usize * 2)); [INFO] [stdout] 235 + let size_range = 0..(u16::MAX as usize * 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/primitive/s_box.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/primitive/s_box.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CandidType` [INFO] [stdout] --> src/utils/certification.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{encode_one, CandidType}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buffer` [INFO] [stdout] --> src/mem/allocator.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::encoding::{AsDynSizeBytes, AsFixedSizeBytes, Buffer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buffer` [INFO] [stdout] --> src/mem/free_block.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::encoding::{AsFixedSizeBytes, Buffer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/collections/btree_map/internal_node.rs:412:47 [INFO] [stdout] | [INFO] [stdout] 412 | unsafe { crate::mem::write_fixed(ptr, &mut NODE_TYPE_INTERNAL) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/collections/btree_map/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) const NODE_TYPE_INTERNAL: u8 = 127; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `collections::btree_map::IBTreeNode::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_map/internal_node.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | Self::from_ptr(self.ptr) [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/collections/btree_map/internal_node.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe fn copy(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/collections/btree_map/leaf_node.rs:480:47 [INFO] [stdout] | [INFO] [stdout] 480 | unsafe { crate::mem::write_fixed(ptr, &mut NODE_TYPE_LEAF) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/collections/btree_map/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) const NODE_TYPE_LEAF: u8 = 255; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `collections::btree_map::IBTreeNode::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_map/leaf_node.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | Self::from_ptr(self.ptr) [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/collections/btree_map/leaf_node.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | unsafe fn copy(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `collections::btree_map::IBTreeNode::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_map/mod.rs:1849:49 [INFO] [stdout] | [INFO] [stdout] 1849 | Self::Internal(i) => Self::Internal(i.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/collections/btree_map/mod.rs:1847:5 [INFO] [stdout] | [INFO] [stdout] 1847 | pub(crate) unsafe fn copy(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `collections::btree_map::IBTreeNode::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_map/mod.rs:1850:41 [INFO] [stdout] | [INFO] [stdout] 1850 | Self::Leaf(l) => Self::Leaf(l.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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_set/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | self.map.stable_drop_flag_on(); [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/collections/btree_set/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_set/mod.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | self.map.stable_drop_flag_off() [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/collections/btree_set/mod.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:615:9 [INFO] [stdout] | [INFO] [stdout] 615 | self.inner.stable_drop_flag_on(); [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/collections/certified_btree_map/mod.rs:614:5 [INFO] [stdout] | [INFO] [stdout] 614 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:620:9 [INFO] [stdout] | [INFO] [stdout] 620 | self.inner.stable_drop_flag_off(); [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/collections/certified_btree_map/mod.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 619 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/certified_btree_set/mod.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | self.map.stable_drop_flag_on(); [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/collections/certified_btree_set/mod.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/certified_btree_set/mod.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | self.map.stable_drop_flag_off() [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/collections/certified_btree_set/mod.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/collections/hash_map/mod.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(k) = self.read_and_disown_key(i) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/collections/hash_map/mod.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 385 | let v = self.read_and_disown_val(i); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/collections/hash_map/mod.rs:523:51 [INFO] [stdout] | [INFO] [stdout] 523 | unsafe { crate::mem::write_fixed(ptr, &mut OCCUPIED) }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/collections/hash_map/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const OCCUPIED: u8 = 255; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/collections/hash_map/mod.rs:529:47 [INFO] [stdout] | [INFO] [stdout] 529 | unsafe { crate::mem::write_fixed(ptr, &mut EMPTY) }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/collections/hash_map/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | const EMPTY: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::s_slice::SSlice::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/hash_map/mod.rs:689:25 [INFO] [stdout] | [INFO] [stdout] 689 | let slice = SSlice::from_ptr(self.table_ptr).unwrap(); [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/collections/hash_map/mod.rs:685:5 [INFO] [stdout] | [INFO] [stdout] 685 | unsafe fn stable_drop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/hash_set/mod.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | self.map.stable_drop_flag_off(); [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/collections/hash_set/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/hash_set/mod.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | self.map.stable_drop_flag_on(); [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/collections/hash_set/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::s_slice::SSlice::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/vec/mod.rs:527:25 [INFO] [stdout] | [INFO] [stdout] 527 | let slice = SSlice::from_ptr(self.ptr).unwrap(); [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/collections/vec/mod.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 523 | unsafe fn stable_drop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/mem/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | it.stable_drop_flag_off(); [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/mem/mod.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | pub unsafe fn read_fixed_for_reference(ptr: StablePtr) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/mem/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | it.stable_drop_flag_on(); [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/mem/mod.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | pub unsafe fn read_fixed_for_move(ptr: StablePtr) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/mem/mod.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | it.stable_drop_flag_off(); [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/mem/mod.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | pub unsafe fn write_fixed(ptr: StablePtr, it: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::s_slice::SSlice::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | let slice = SSlice::from_ptr(ptr).unwrap(); [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/primitive/s_box.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub unsafe fn from_ptr(ptr: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:172:27 [INFO] [stdout] | [INFO] [stdout] 172 | if let Some(it) = (*self.inner.get()).as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/primitive/s_box.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | unsafe fn lazy_read(&self, drop_flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | it.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | it.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | inner.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | inner.stable_drop_flag_off(); [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | *self.inner.get() = Some(inner); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if (*self.inner.get()).is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/primitive/s_ref.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe fn read(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::read_fixed_for_reference` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let it = crate::mem::read_fixed_for_reference(self.ptr); [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | *self.inner.get() = Some(it); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref_mut.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if (*self.inner.get()).is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/primitive/s_ref_mut.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe fn read(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::read_fixed_for_move` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref_mut.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let it = crate::mem::read_fixed_for_move(self.ptr); [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref_mut.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | *self.inner.get() = Some(it); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::write_fixed` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref_mut.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | crate::mem::write_fixed(self.ptr, it); [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/primitive/s_ref_mut.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe fn repersist(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | it.stable_drop_flag_on(); [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/primitive/mod.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | it.stable_drop_flag_off(); [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/primitive/mod.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | self.2.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | self.2.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | self.2.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | self.3.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | self.2.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | self.3.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | self.2.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | self.3.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | self.4.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | self.2.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | self.3.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | self.4.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | self.2.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | self.3.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | self.4.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | self.5.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | self.2.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | self.3.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | self.4.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | self.5.stable_drop_flag_off(); [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] error: aborting due to 1 previous error; 91 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ic-stable-memory` (lib) due to 2 previous errors; 91 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Buffer` [INFO] [stdout] --> src/mem/allocator.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::encoding::{AsDynSizeBytes, AsFixedSizeBytes, Buffer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buffer` [INFO] [stdout] --> src/mem/free_block.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::encoding::{AsFixedSizeBytes, Buffer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/collections/btree_map/internal_node.rs:412:47 [INFO] [stdout] | [INFO] [stdout] 412 | unsafe { crate::mem::write_fixed(ptr, &mut NODE_TYPE_INTERNAL) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/collections/btree_map/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) const NODE_TYPE_INTERNAL: u8 = 127; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `collections::btree_map::IBTreeNode::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_map/internal_node.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | Self::from_ptr(self.ptr) [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/collections/btree_map/internal_node.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe fn copy(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/collections/btree_map/leaf_node.rs:480:47 [INFO] [stdout] | [INFO] [stdout] 480 | unsafe { crate::mem::write_fixed(ptr, &mut NODE_TYPE_LEAF) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/collections/btree_map/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) const NODE_TYPE_LEAF: u8 = 255; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `collections::btree_map::IBTreeNode::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_map/leaf_node.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | Self::from_ptr(self.ptr) [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/collections/btree_map/leaf_node.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | unsafe fn copy(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `collections::btree_map::IBTreeNode::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_map/mod.rs:1849:49 [INFO] [stdout] | [INFO] [stdout] 1849 | Self::Internal(i) => Self::Internal(i.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/collections/btree_map/mod.rs:1847:5 [INFO] [stdout] | [INFO] [stdout] 1847 | pub(crate) unsafe fn copy(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `collections::btree_map::IBTreeNode::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_map/mod.rs:1850:41 [INFO] [stdout] | [INFO] [stdout] 1850 | Self::Leaf(l) => Self::Leaf(l.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] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/btree_map/mod.rs:1949:18 [INFO] [stdout] | [INFO] [stdout] 1949 | for (mut k, mut v) in map.iter() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/btree_map/mod.rs:1949:25 [INFO] [stdout] | [INFO] [stdout] 1949 | for (mut k, mut v) in map.iter() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/collections/btree_map/mod.rs:2035:36 [INFO] [stdout] | [INFO] [stdout] 2035 | ... Ok(idx) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_set/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | self.map.stable_drop_flag_on(); [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/collections/btree_set/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/btree_set/mod.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | self.map.stable_drop_flag_off() [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/collections/btree_set/mod.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set` [INFO] [stdout] --> src/collections/btree_set/mod.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let set = SBTreeSet::::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/btree_set/mod.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | for (idx, mut i) in set.iter().enumerate() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/collections/btree_set/mod.rs:255:32 [INFO] [stdout] | [INFO] [stdout] 255 | ... Ok(idx) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:615:9 [INFO] [stdout] | [INFO] [stdout] 615 | self.inner.stable_drop_flag_on(); [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/collections/certified_btree_map/mod.rs:614:5 [INFO] [stdout] | [INFO] [stdout] 614 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:620:9 [INFO] [stdout] | [INFO] [stdout] 620 | self.inner.stable_drop_flag_off(); [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/collections/certified_btree_map/mod.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 619 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rb_w1` [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1255:17 [INFO] [stdout] | [INFO] [stdout] 1255 | let rb_w1 = rb.witness(&11u64.to_le_bytes()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rb_w1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rb_w2` [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1256:17 [INFO] [stdout] | [INFO] [stdout] 1256 | let rb_w2 = rb.witness(&22u64.to_le_bytes()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rb_w2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rb_w3` [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1258:17 [INFO] [stdout] | [INFO] [stdout] 1258 | let rb_w3 = rb.key_range(&9u64.to_le_bytes(), &100u64.to_le_bytes()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rb_w3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_w3` [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1259:17 [INFO] [stdout] | [INFO] [stdout] 1259 | let map_w3 = map.prove_range(&9, &100); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_w3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1435:36 [INFO] [stdout] | [INFO] [stdout] 1435 | ... Ok(idx) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1490:25 [INFO] [stdout] | [INFO] [stdout] 1490 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/collections/certified_btree_map/mod.rs:1504:48 [INFO] [stdout] | [INFO] [stdout] 1504 | ... Ok(idx) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/certified_btree_set/mod.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | self.map.stable_drop_flag_on(); [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/collections/certified_btree_set/mod.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/certified_btree_set/mod.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | self.map.stable_drop_flag_off() [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/collections/certified_btree_set/mod.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/certified_btree_set/mod.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | for (idx, mut i) in set.iter().enumerate() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/collections/hash_map/mod.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(k) = self.read_and_disown_key(i) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/collections/hash_map/mod.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 385 | let v = self.read_and_disown_val(i); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/collections/hash_map/mod.rs:523:51 [INFO] [stdout] | [INFO] [stdout] 523 | unsafe { crate::mem::write_fixed(ptr, &mut OCCUPIED) }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/collections/hash_map/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const OCCUPIED: u8 = 255; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/collections/hash_map/mod.rs:529:47 [INFO] [stdout] | [INFO] [stdout] 529 | unsafe { crate::mem::write_fixed(ptr, &mut EMPTY) }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/collections/hash_map/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | const EMPTY: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::s_slice::SSlice::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/hash_map/mod.rs:689:25 [INFO] [stdout] | [INFO] [stdout] 689 | let slice = SSlice::from_ptr(self.table_ptr).unwrap(); [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/collections/hash_map/mod.rs:685:5 [INFO] [stdout] | [INFO] [stdout] 685 | unsafe fn stable_drop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/hash_map/mod.rs:907:18 [INFO] [stdout] | [INFO] [stdout] 907 | for (mut k, _) in map.iter() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/collections/hash_map/mod.rs:992:36 [INFO] [stdout] | [INFO] [stdout] 992 | ... Ok(idx) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/hash_set/mod.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | self.map.stable_drop_flag_off(); [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/collections/hash_set/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/hash_set/mod.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | self.map.stable_drop_flag_on(); [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/collections/hash_set/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/collections/hash_set/mod.rs:287:32 [INFO] [stdout] | [INFO] [stdout] 287 | ... Ok(idx) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/log/mod.rs:693:17 [INFO] [stdout] | [INFO] [stdout] 693 | for mut i in log.rev_iter() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::s_slice::SSlice::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/collections/vec/mod.rs:527:25 [INFO] [stdout] | [INFO] [stdout] 527 | let slice = SSlice::from_ptr(self.ptr).unwrap(); [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/collections/vec/mod.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 523 | unsafe fn stable_drop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/vec/mod.rs:845:23 [INFO] [stdout] | [INFO] [stdout] 845 | for (idx, mut i) in vec.iter().enumerate() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/collections/vec/mod.rs:887:17 [INFO] [stdout] | [INFO] [stdout] 887 | for i in 0..iterations { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/collections/vec/mod.rs:949:17 [INFO] [stdout] | [INFO] [stdout] 949 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/vec/mod.rs:1058:25 [INFO] [stdout] | [INFO] [stdout] 1058 | let mut idx1 = self.rng.gen_range(0..len); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/mem/allocator.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | let slice = sma.allocate(100).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/allocator.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mem/allocator.rs:499:17 [INFO] [stdout] | [INFO] [stdout] 499 | let mut sma = StableMemoryAllocator::retrieve(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/mem/allocator.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | let slice = sma.allocate(100); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/allocator.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/allocator.rs:606:41 [INFO] [stdout] | [INFO] [stdout] 606 | if let Ok(slice1) = unsafe { self.allocator.reallocate(slice, size) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mem/allocator.rs:569:29 [INFO] [stdout] | [INFO] [stdout] 569 | let mut buf = vec![100u8; slice.get_size_bytes() as usize]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mem/allocator.rs:615:29 [INFO] [stdout] | [INFO] [stdout] 615 | let mut buf = vec![100u8; slice1.get_size_bytes() as usize]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mem/allocator.rs:658:13 [INFO] [stdout] | [INFO] [stdout] 658 | for i in 0..10_000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mem/allocator.rs:674:13 [INFO] [stdout] | [INFO] [stdout] 674 | for i in 0..10_000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/allocator.rs:704:21 [INFO] [stdout] | [INFO] [stdout] 704 | slice = unsafe { sma.reallocate(slice, 2 * 1024).unwrap() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/allocator.rs:729:9 [INFO] [stdout] | [INFO] [stdout] 729 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/mem/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | it.stable_drop_flag_off(); [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/mem/mod.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | pub unsafe fn read_fixed_for_reference(ptr: StablePtr) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/mem/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | it.stable_drop_flag_on(); [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/mem/mod.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | pub unsafe fn read_fixed_for_move(ptr: StablePtr) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/mem/mod.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | it.stable_drop_flag_off(); [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/mem/mod.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | pub unsafe fn write_fixed(ptr: StablePtr, it: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::s_slice::SSlice::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | let slice = SSlice::from_ptr(ptr).unwrap(); [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/primitive/s_box.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub unsafe fn from_ptr(ptr: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:172:27 [INFO] [stdout] | [INFO] [stdout] 172 | if let Some(it) = (*self.inner.get()).as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/primitive/s_box.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | unsafe fn lazy_read(&self, drop_flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | it.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | it.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | inner.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | inner.stable_drop_flag_off(); [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_box.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | *self.inner.get() = Some(inner); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sbox` [INFO] [stdout] --> src/primitive/s_box.rs:429:17 [INFO] [stdout] | [INFO] [stdout] 429 | let sbox = SBox::new(100).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sbox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `oo_sbox` is never read [INFO] [stdout] --> src/primitive/s_box.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | oo_sbox = retrieve_custom_data::>>(0).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/primitive/s_box.rs:436:17 [INFO] [stdout] | [INFO] [stdout] 436 | let mut sbox = SBox::new(100).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/primitive/s_box.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | let mut o_sbox = SBox::new(sbox).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/primitive/s_box.rs:450:17 [INFO] [stdout] | [INFO] [stdout] 450 | let mut oo_sbox = SBox::new(o_sbox).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/primitive/s_box.rs:468:17 [INFO] [stdout] | [INFO] [stdout] 468 | let mut sbox1 = SBox::new(10).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/primitive/s_box.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | let mut sbox11 = SBox::new(10).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/primitive/s_box.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | let mut sbox2 = SBox::new(20).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if (*self.inner.get()).is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/primitive/s_ref.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe fn read(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::read_fixed_for_reference` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let it = crate::mem::read_fixed_for_reference(self.ptr); [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | *self.inner.get() = Some(it); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref_mut.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if (*self.inner.get()).is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/primitive/s_ref_mut.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe fn read(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::read_fixed_for_move` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref_mut.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let it = crate::mem::read_fixed_for_move(self.ptr); [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref_mut.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | *self.inner.get() = Some(it); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mem::write_fixed` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/s_ref_mut.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | crate::mem::write_fixed(self.ptr, it); [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/primitive/s_ref_mut.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe fn repersist(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | it.stable_drop_flag_on(); [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/primitive/mod.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | it.stable_drop_flag_off(); [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/primitive/mod.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | self.2.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | self.2.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | self.2.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | self.3.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | self.2.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | self.3.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | self.2.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | self.3.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | self.4.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | self.2.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | self.3.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | self.4.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | self.0.stable_drop_flag_on(); [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/primitive/mod.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | unsafe fn stable_drop_flag_on(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | self.1.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | self.2.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | self.3.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | self.4.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_on` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | self.5.stable_drop_flag_on(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | self.0.stable_drop_flag_off(); [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/primitive/mod.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn stable_drop_flag_off(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | self.1.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | self.2.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | self.3.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | self.4.stable_drop_flag_off(); [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 `primitive::StableType::stable_drop_flag_off` is unsafe and requires unsafe block [INFO] [stdout] --> src/primitive/mod.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | self.5.stable_drop_flag_off(); [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] error: aborting due to 1 previous error; 138 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ic-stable-memory` (lib test) due to 2 previous errors; 138 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "66bc79c8cd9bd8c38418b6473e6b557d9ea1dcf52ab043cf41f0316fcd60d268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66bc79c8cd9bd8c38418b6473e6b557d9ea1dcf52ab043cf41f0316fcd60d268", kill_on_drop: false }` [INFO] [stdout] 66bc79c8cd9bd8c38418b6473e6b557d9ea1dcf52ab043cf41f0316fcd60d268