[INFO] cloning repository https://github.com/sandshrewmetaprotocols/metashrew-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sandshrewmetaprotocols/metashrew-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandshrewmetaprotocols%2Fmetashrew-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandshrewmetaprotocols%2Fmetashrew-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74fb18e70f2668f28ae7eb5201de8fc6497a847c [INFO] checking sandshrewmetaprotocols/metashrew-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandshrewmetaprotocols%2Fmetashrew-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sandshrewmetaprotocols/metashrew-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sandshrewmetaprotocols/metashrew-rs [INFO] finished tweaking git repo https://github.com/sandshrewmetaprotocols/metashrew-rs [INFO] tweaked toml for git repo https://github.com/sandshrewmetaprotocols/metashrew-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sandshrewmetaprotocols/metashrew-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex-conservative v0.1.1 [INFO] [stderr] Downloaded ordinals v0.0.8 [INFO] [stderr] Downloaded bech32 v0.10.0-beta [INFO] [stderr] Downloaded bitcoin v0.31.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc09acd4925d8d8794c51ee7acc4969979cf8a596b147d5983145cad8c46ea1e [INFO] running `Command { std: "docker" "start" "-a" "dc09acd4925d8d8794c51ee7acc4969979cf8a596b147d5983145cad8c46ea1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc09acd4925d8d8794c51ee7acc4969979cf8a596b147d5983145cad8c46ea1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc09acd4925d8d8794c51ee7acc4969979cf8a596b147d5983145cad8c46ea1e", kill_on_drop: false }` [INFO] [stdout] dc09acd4925d8d8794c51ee7acc4969979cf8a596b147d5983145cad8c46ea1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7a80e4650bcafb7043eecd1e0df4fce68750dc1a78b9e230ad934bcdcc65b6f [INFO] running `Command { std: "docker" "start" "-a" "a7a80e4650bcafb7043eecd1e0df4fce68750dc1a78b9e230ad934bcdcc65b6f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling bitcoin v0.30.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling bitcoin v0.31.2 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking bech32 v0.10.0-beta [INFO] [stderr] Checking bitcoin_hashes v0.12.0 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Checking serde_with v3.8.1 [INFO] [stderr] Checking ordinals v0.0.8 [INFO] [stderr] Checking metashrew-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `flush` and `input` [INFO] [stdout] --> src/index_pointer.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{flush, get, input, set}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `flush` and `input` [INFO] [stdout] --> src/index_pointer.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{flush, get, input, set}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `size_of_val` and `size_of` [INFO] [stdout] --> src/index_pointer.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::mem::{size_of, size_of_val}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `size_of_val` and `size_of` [INFO] [stdout] --> src/index_pointer.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::mem::{size_of, size_of_val}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/compat.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn panic_hook(info: &panic::PanicInfo) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/compat.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn panic_hook(info: &panic::PanicInfo) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_bytes` [INFO] [stdout] --> src/bst.rs:213:43 [INFO] [stdout] | [INFO] [stdout] 213 | fn _find_boundary_from_partial(&self, key_bytes: Vec, seek_higher: bool) -> K { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_bytes` [INFO] [stdout] --> src/bst.rs:213:43 [INFO] [stdout] | [INFO] [stdout] 213 | fn _find_boundary_from_partial(&self, key_bytes: Vec, seek_higher: bool) -> K { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seek_higher` [INFO] [stdout] --> src/bst.rs:213:63 [INFO] [stdout] | [INFO] [stdout] 213 | fn _find_boundary_from_partial(&self, key_bytes: Vec, seek_higher: bool) -> K { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seek_higher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seek_higher` [INFO] [stdout] --> src/bst.rs:213:63 [INFO] [stdout] | [INFO] [stdout] 213 | fn _find_boundary_from_partial(&self, key_bytes: Vec, seek_higher: bool) -> K { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seek_higher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/bst.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn nullify(key: K) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/bst.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn nullify(key: K) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/byte_view.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let x = v.to_le_bytes(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/byte_view.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let x = v.to_le_bytes(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bst` [INFO] [stdout] --> src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let bst = BST::::new(IndexPointer::from_keyword("test")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bst` [INFO] [stdout] --> src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let bst = BST::::new(IndexPointer::from_keyword("test")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ptr` is never read [INFO] [stdout] --> src/bst.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BST { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 11 | ptr: IndexPointer, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BST` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maskLowerThan` is never used [INFO] [stdout] --> src/bst.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn maskLowerThan(v: Arc>, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maskGreaterThan` is never used [INFO] [stdout] --> src/bst.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn maskGreaterThan(v: Arc>, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ptr` is never read [INFO] [stdout] --> src/bst.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BST { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 11 | ptr: IndexPointer, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BST` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_bit_u256` is never used [INFO] [stdout] --> src/bst.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn set_bit_u256(mut mask: Vec, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unset_bit_u256` is never used [INFO] [stdout] --> src/bst.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn unset_bit_u256(mut mask: Vec, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_set_u256` is never used [INFO] [stdout] --> src/bst.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn is_set_u256(mask: &Vec, position: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maskLowerThan` is never used [INFO] [stdout] --> src/bst.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn maskLowerThan(v: Arc>, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_search` is never used [INFO] [stdout] --> src/bst.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn binary_search(_word: Vec, for_highest: bool) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maskGreaterThan` is never used [INFO] [stdout] --> src/bst.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn maskGreaterThan(v: Arc>, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_bit_u256` is never used [INFO] [stdout] --> src/bst.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn set_bit_u256(mut mask: Vec, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unset_bit_u256` is never used [INFO] [stdout] --> src/bst.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn unset_bit_u256(mut mask: Vec, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bst.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 164 | / impl + Clone> BST [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | >::Error: Debug, [INFO] [stdout] | |________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn get_mask_pointer(&self, partial_key: Vec) -> IndexPointer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn mark_path(&self, key: K) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn unmark_path(&self, key: K) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn seek_lower(&self, start: K) -> K { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn seek_greater(&self, start: K) -> K { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn set(&self, k: K, v: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn get(&self, k: K) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn nullify(key: K) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_set_u256` is never used [INFO] [stdout] --> src/bst.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn is_set_u256(mask: &Vec, position: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `to_bytes` and `maximum` are never used [INFO] [stdout] --> src/byte_view.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait ByteView { [INFO] [stdout] | -------- associated functions in this trait [INFO] [stdout] 2 | fn from_bytes(v: Vec) -> Self; [INFO] [stdout] 3 | fn to_bytes(v: Self) -> Vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | fn maximum() -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_search` is never used [INFO] [stdout] --> src/bst.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn binary_search(_word: Vec, for_highest: bool) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shrink_back` is never used [INFO] [stdout] --> src/byte_view.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn shrink_back(b: Vec, v: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/index_pointer.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct IndexPointer(Arc>); [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `IndexPointer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bst.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 164 | / impl + Clone> BST [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | >::Error: Debug, [INFO] [stdout] | |________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn get_mask_pointer(&self, partial_key: Vec) -> IndexPointer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn mark_path(&self, key: K) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn unmark_path(&self, key: K) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn seek_lower(&self, start: K) -> K { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn seek_greater(&self, start: K) -> K { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn set(&self, k: K, v: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn get(&self, k: K) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn nullify(key: K) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `to_bytes` and `maximum` are never used [INFO] [stdout] --> src/byte_view.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait ByteView { [INFO] [stdout] | -------- associated functions in this trait [INFO] [stdout] 2 | fn from_bytes(v: Vec) -> Self; [INFO] [stdout] 3 | fn to_bytes(v: Self) -> Vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | fn maximum() -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shrink_back` is never used [INFO] [stdout] --> src/byte_view.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn shrink_back(b: Vec, v: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/index_pointer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl IndexPointer { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn unwrap(&self) -> Arc> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn set(&self, v: Arc>) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get(&self) -> Arc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn select(&self, word: &Vec) -> IndexPointer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn keyword(&self, word: &str) -> IndexPointer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn set_value(&self, v: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_value(&self) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn select_value(&self, key: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn length_key(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn length(&self) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn select_index(&self, index: u32) -> IndexPointer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_list(&self) -> Vec>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_list_values(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn nullify(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn set_or_nullify(&self, v: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/index_pointer.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct IndexPointer(Arc>); [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `IndexPointer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/index_pointer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl IndexPointer { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn unwrap(&self) -> Arc> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn set(&self, v: Arc>) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get(&self) -> Arc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn select(&self, word: &Vec) -> IndexPointer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn keyword(&self, word: &str) -> IndexPointer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn set_value(&self, v: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_value(&self) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn select_value(&self, key: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn length_key(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn length(&self) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn select_index(&self, index: u32) -> IndexPointer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_list(&self) -> Vec>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_list_values(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn nullify(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn set_or_nullify(&self, v: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maskLowerThan` should have a snake case name [INFO] [stdout] --> src/bst.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn maskLowerThan(v: Arc>, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `mask_lower_than` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maskLowerThan` should have a snake case name [INFO] [stdout] --> src/bst.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn maskLowerThan(v: Arc>, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `mask_lower_than` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maskGreaterThan` should have a snake case name [INFO] [stdout] --> src/bst.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn maskGreaterThan(v: Arc>, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `mask_greater_than` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maskGreaterThan` should have a snake case name [INFO] [stdout] --> src/bst.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn maskGreaterThan(v: Arc>, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `mask_greater_than` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.43s [INFO] running `Command { std: "docker" "inspect" "a7a80e4650bcafb7043eecd1e0df4fce68750dc1a78b9e230ad934bcdcc65b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7a80e4650bcafb7043eecd1e0df4fce68750dc1a78b9e230ad934bcdcc65b6f", kill_on_drop: false }` [INFO] [stdout] a7a80e4650bcafb7043eecd1e0df4fce68750dc1a78b9e230ad934bcdcc65b6f [INFO] checking sandshrewmetaprotocols/metashrew-rs against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandshrewmetaprotocols%2Fmetashrew-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sandshrewmetaprotocols/metashrew-rs on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sandshrewmetaprotocols/metashrew-rs [INFO] finished tweaking git repo https://github.com/sandshrewmetaprotocols/metashrew-rs [INFO] tweaked toml for git repo https://github.com/sandshrewmetaprotocols/metashrew-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sandshrewmetaprotocols/metashrew-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f989bb02790e3cc6cf8a3fd748bf36ac71e5796edd55f9ae4ad895a40a62ea2 [INFO] running `Command { std: "docker" "start" "-a" "7f989bb02790e3cc6cf8a3fd748bf36ac71e5796edd55f9ae4ad895a40a62ea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f989bb02790e3cc6cf8a3fd748bf36ac71e5796edd55f9ae4ad895a40a62ea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f989bb02790e3cc6cf8a3fd748bf36ac71e5796edd55f9ae4ad895a40a62ea2", kill_on_drop: false }` [INFO] [stdout] 7f989bb02790e3cc6cf8a3fd748bf36ac71e5796edd55f9ae4ad895a40a62ea2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c37fa9b6d69ee93a4f87ad10772e66be0ed7e015ad359a90664dae2a433c1adf [INFO] running `Command { std: "docker" "start" "-a" "c37fa9b6d69ee93a4f87ad10772e66be0ed7e015ad359a90664dae2a433c1adf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling bitcoin v0.30.2 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling bitcoin v0.31.2 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking bech32 v0.10.0-beta [INFO] [stderr] Checking bitcoin_hashes v0.12.0 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Checking serde_with v3.8.1 [INFO] [stderr] Checking ordinals v0.0.8 [INFO] [stderr] Checking metashrew-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `flush` and `input` [INFO] [stdout] --> src/index_pointer.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{flush, get, input, set}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `flush` and `input` [INFO] [stdout] --> src/index_pointer.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{flush, get, input, set}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `size_of_val` and `size_of` [INFO] [stdout] --> src/index_pointer.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::mem::{size_of, size_of_val}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `size_of_val` and `size_of` [INFO] [stdout] --> src/index_pointer.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::mem::{size_of, size_of_val}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/compat.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn panic_hook(info: &panic::PanicInfo) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/compat.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn panic_hook(info: &panic::PanicInfo) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_bytes` [INFO] [stdout] --> src/bst.rs:213:43 [INFO] [stdout] | [INFO] [stdout] 213 | fn _find_boundary_from_partial(&self, key_bytes: Vec, seek_higher: bool) -> K { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seek_higher` [INFO] [stdout] --> src/bst.rs:213:63 [INFO] [stdout] | [INFO] [stdout] 213 | fn _find_boundary_from_partial(&self, key_bytes: Vec, seek_higher: bool) -> K { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seek_higher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_bytes` [INFO] [stdout] --> src/bst.rs:213:43 [INFO] [stdout] | [INFO] [stdout] 213 | fn _find_boundary_from_partial(&self, key_bytes: Vec, seek_higher: bool) -> K { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seek_higher` [INFO] [stdout] --> src/bst.rs:213:63 [INFO] [stdout] | [INFO] [stdout] 213 | fn _find_boundary_from_partial(&self, key_bytes: Vec, seek_higher: bool) -> K { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seek_higher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/bst.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn nullify(key: K) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/bst.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn nullify(key: K) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/byte_view.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let x = v.to_le_bytes(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/byte_view.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let x = v.to_le_bytes(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bst` [INFO] [stdout] --> src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let bst = BST::::new(IndexPointer::from_keyword("test")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ptr` is never read [INFO] [stdout] --> src/bst.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BST { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 11 | ptr: IndexPointer, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BST` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maskLowerThan` is never used [INFO] [stdout] --> src/bst.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn maskLowerThan(v: Arc>, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maskGreaterThan` is never used [INFO] [stdout] --> src/bst.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn maskGreaterThan(v: Arc>, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_bit_u256` is never used [INFO] [stdout] --> src/bst.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn set_bit_u256(mut mask: Vec, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unset_bit_u256` is never used [INFO] [stdout] --> src/bst.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn unset_bit_u256(mut mask: Vec, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_set_u256` is never used [INFO] [stdout] --> src/bst.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn is_set_u256(mask: &Vec, position: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_search` is never used [INFO] [stdout] --> src/bst.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn binary_search(_word: Vec, for_highest: bool) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bst.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 164 | / impl + Clone> BST [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | >::Error: Debug, [INFO] [stdout] | |________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn get_mask_pointer(&self, partial_key: Vec) -> IndexPointer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn mark_path(&self, key: K) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn unmark_path(&self, key: K) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn seek_lower(&self, start: K) -> K { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn seek_greater(&self, start: K) -> K { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn set(&self, k: K, v: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn get(&self, k: K) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn nullify(key: K) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `to_bytes` and `maximum` are never used [INFO] [stdout] --> src/byte_view.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait ByteView { [INFO] [stdout] | -------- associated functions in this trait [INFO] [stdout] 2 | fn from_bytes(v: Vec) -> Self; [INFO] [stdout] 3 | fn to_bytes(v: Self) -> Vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | fn maximum() -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shrink_back` is never used [INFO] [stdout] --> src/byte_view.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn shrink_back(b: Vec, v: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/index_pointer.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct IndexPointer(Arc>); [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `IndexPointer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bst` [INFO] [stdout] --> src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let bst = BST::::new(IndexPointer::from_keyword("test")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/index_pointer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl IndexPointer { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn unwrap(&self) -> Arc> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn set(&self, v: Arc>) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get(&self) -> Arc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn select(&self, word: &Vec) -> IndexPointer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn keyword(&self, word: &str) -> IndexPointer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn set_value(&self, v: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_value(&self) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn select_value(&self, key: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn length_key(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn length(&self) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn select_index(&self, index: u32) -> IndexPointer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_list(&self) -> Vec>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_list_values(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn nullify(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn set_or_nullify(&self, v: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maskLowerThan` should have a snake case name [INFO] [stdout] --> src/bst.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn maskLowerThan(v: Arc>, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `mask_lower_than` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maskGreaterThan` should have a snake case name [INFO] [stdout] --> src/bst.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn maskGreaterThan(v: Arc>, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `mask_greater_than` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bst.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn new(ptr: IndexPointer) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | _val: K::from_bytes(vec![0]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bst.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn get(&self, k: K) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | Arc::try_unwrap(self.ptr.select(&usize::to_bytes(key_bytes)).get()).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/index_pointer.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set(&self, v: Arc>) { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | set(self.unwrap(), v) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/index_pointer.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|(i, _x)| self.select_index(i as u32).get().clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/index_pointer.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | .map(|(i, _x)| self.select_index(i as u32).get_value::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ptr` is never read [INFO] [stdout] --> src/bst.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BST { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 11 | ptr: IndexPointer, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BST` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maskLowerThan` is never used [INFO] [stdout] --> src/bst.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn maskLowerThan(v: Arc>, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maskGreaterThan` is never used [INFO] [stdout] --> src/bst.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn maskGreaterThan(v: Arc>, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_bit_u256` is never used [INFO] [stdout] --> src/bst.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn set_bit_u256(mut mask: Vec, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unset_bit_u256` is never used [INFO] [stdout] --> src/bst.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn unset_bit_u256(mut mask: Vec, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_set_u256` is never used [INFO] [stdout] --> src/bst.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn is_set_u256(mask: &Vec, position: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_search` is never used [INFO] [stdout] --> src/bst.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn binary_search(_word: Vec, for_highest: bool) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bst.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 164 | / impl + Clone> BST [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | >::Error: Debug, [INFO] [stdout] | |________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn get_mask_pointer(&self, partial_key: Vec) -> IndexPointer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn mark_path(&self, key: K) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn unmark_path(&self, key: K) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn seek_lower(&self, start: K) -> K { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn seek_greater(&self, start: K) -> K { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn set(&self, k: K, v: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn get(&self, k: K) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn nullify(key: K) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `to_bytes` and `maximum` are never used [INFO] [stdout] --> src/byte_view.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait ByteView { [INFO] [stdout] | -------- associated functions in this trait [INFO] [stdout] 2 | fn from_bytes(v: Vec) -> Self; [INFO] [stdout] 3 | fn to_bytes(v: Self) -> Vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | fn maximum() -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shrink_back` is never used [INFO] [stdout] --> src/byte_view.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn shrink_back(b: Vec, v: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/index_pointer.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct IndexPointer(Arc>); [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `IndexPointer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/index_pointer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl IndexPointer { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn unwrap(&self) -> Arc> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn set(&self, v: Arc>) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get(&self) -> Arc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn select(&self, word: &Vec) -> IndexPointer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn keyword(&self, word: &str) -> IndexPointer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn set_value(&self, v: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_value(&self) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn select_value(&self, key: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn length_key(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn length(&self) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn select_index(&self, index: u32) -> IndexPointer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_list(&self) -> Vec>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_list_values(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn nullify(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn set_or_nullify(&self, v: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maskLowerThan` should have a snake case name [INFO] [stdout] --> src/bst.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn maskLowerThan(v: Arc>, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `mask_lower_than` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maskGreaterThan` should have a snake case name [INFO] [stdout] --> src/bst.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn maskGreaterThan(v: Arc>, position: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `mask_greater_than` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bst.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn new(ptr: IndexPointer) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | _val: K::from_bytes(vec![0]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bst.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn get(&self, k: K) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | Arc::try_unwrap(self.ptr.select(&usize::to_bytes(key_bytes)).get()).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/index_pointer.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set(&self, v: Arc>) { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | set(self.unwrap(), v) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/index_pointer.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|(i, _x)| self.select_index(i as u32).get().clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/index_pointer.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | .map(|(i, _x)| self.select_index(i as u32).get_value::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `metashrew-rs` (lib) due to 6 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `metashrew-rs` (lib test) due to 6 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c37fa9b6d69ee93a4f87ad10772e66be0ed7e015ad359a90664dae2a433c1adf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c37fa9b6d69ee93a4f87ad10772e66be0ed7e015ad359a90664dae2a433c1adf", kill_on_drop: false }` [INFO] [stdout] c37fa9b6d69ee93a4f87ad10772e66be0ed7e015ad359a90664dae2a433c1adf