[INFO] fetching crate concordium-std 10.1.0... [INFO] checking concordium-std-10.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate concordium-std 10.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate concordium-std 10.1.0 [INFO] finished tweaking crates.io crate concordium-std 10.1.0 [INFO] tweaked toml for crates.io crate concordium-std 10.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate concordium-std 10.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding ed25519-zebra v2.2.0 (available: v4.1.0) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding secp256k1 v0.22.2 (available: v0.31.1) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Downloaded ed25519-zebra v2.2.0 [INFO] [stderr] Downloaded concordium-contracts-common v9.2.0 [INFO] [stderr] Downloaded secp256k1 v0.22.2 [INFO] [stderr] Downloaded secp256k1-sys v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b1da84a185617fe53f3f7c4edf860b6c448f9f2cbeaa31c2bb3677a03b60442 [INFO] running `Command { std: "docker" "start" "-a" "4b1da84a185617fe53f3f7c4edf860b6c448f9f2cbeaa31c2bb3677a03b60442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b1da84a185617fe53f3f7c4edf860b6c448f9f2cbeaa31c2bb3677a03b60442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b1da84a185617fe53f3f7c4edf860b6c448f9f2cbeaa31c2bb3677a03b60442", kill_on_drop: false }` [INFO] [stdout] 4b1da84a185617fe53f3f7c4edf860b6c448f9f2cbeaa31c2bb3677a03b60442 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d28361fb39dd9d753d058e826c1227d86f75b096b36fd175fe4d8e1486336e6 [INFO] running `Command { std: "docker" "start" "-a" "0d28361fb39dd9d753d058e826c1227d86f75b096b36fd175fe4d8e1486336e6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Compiling concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking concordium-contracts-common v9.2.0 [INFO] [stderr] Checking concordium-std v10.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/impls.rs:902:16 [INFO] [stdout] | [INFO] [stdout] 902 | pub fn get(&self, key: &K) -> Option> { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 902 | pub fn get(&self, key: &K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/impls.rs:913:20 [INFO] [stdout] | [INFO] [stdout] 913 | pub fn get_mut(&mut self, key: &K) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 913 | pub fn get_mut(&mut self, key: &K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/impls.rs:1345:17 [INFO] [stdout] | [INFO] [stdout] 1345 | pub fn iter(&self) -> StateSetIter { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1345 | pub fn iter(&self) -> StateSetIter<'_, T, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn get(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 168 | pub fn get(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_mut(&mut self, key: &K) -> Option> [INFO] [stdout] | ^^^^^^^^^ ------------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_mut(&mut self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn higher(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 206 | pub fn higher(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn eq_or_higher(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 215 | pub fn eq_or_higher(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn lower(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn lower(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn eq_or_lower(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 233 | pub fn eq_or_lower(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn first_key(&self) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | pub fn first_key(&self) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn last_key(&self) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 251 | pub fn last_key(&self) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn iter(&self) -> StateBTreeMapIter { [INFO] [stdout] | ^^^^^ -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 268 | pub fn iter(&self) -> StateBTreeMapIter<'_, K, V, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:480:17 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn iter(&self) -> StateBTreeSetIter { [INFO] [stdout] | ^^^^^ ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 480 | pub fn iter(&self) -> StateBTreeSetIter<'_, K, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:505:19 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn higher(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 505 | pub fn higher(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:543:25 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn eq_or_higher(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 543 | pub fn eq_or_higher(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:581:18 [INFO] [stdout] | [INFO] [stdout] 581 | pub fn lower(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 581 | pub fn lower(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:614:24 [INFO] [stdout] | [INFO] [stdout] 614 | pub fn eq_or_lower(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 614 | pub fn eq_or_lower(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:651:18 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn first(&self) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 651 | pub fn first(&self) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:667:17 [INFO] [stdout] | [INFO] [stdout] 667 | pub fn last(&self) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 667 | pub fn last(&self) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking trybuild v1.0.110 [INFO] [stdout] warning: unused import: `super::TestStateApi` [INFO] [stdout] --> src/test_infrastructure.rs:1933:9 [INFO] [stdout] | [INFO] [stdout] 1933 | use super::TestStateApi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deletable`, `EntryRaw`, `HasStateApi`, `INITIAL_NEXT_ITEM_PREFIX`, `StateBTreeSet`, `StateMap`, `StateSet`, and `TestStateBuilder` [INFO] [stdout] --> src/test_infrastructure.rs:1937:31 [INFO] [stdout] | [INFO] [stdout] 1937 | test_infrastructure::{TestStateBuilder, TestStateEntry}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1938 | Deletable, EntryRaw, HasStateApi, HasStateEntry, StateBTreeSet, StateMap, StateSet, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 1939 | INITIAL_NEXT_ITEM_PREFIX, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserial` and `to_bytes` [INFO] [stdout] --> src/test_infrastructure.rs:1941:39 [INFO] [stdout] | [INFO] [stdout] 1941 | use concordium_contracts_common::{to_bytes, Deserial, Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::test::test_contract_state`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure.rs:2002:5 [INFO] [stdout] | [INFO] [stdout] 2002 | / fn test_contract_state() { [INFO] [stdout] 2003 | | let data = Rc::new(RefCell::new(vec![1; 100].into())); [INFO] [stdout] 2004 | | let mut state = TestStateEntry::open(data, Vec::new(), 0); [INFO] [stdout] 2005 | | assert_eq!(state.seek(SeekFrom::Start(100)), Ok(100), "Seeking to the end failed."); [INFO] [stdout] ... | [INFO] [stdout] 2059 | | ); [INFO] [stdout] 2060 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::test::test_contract_state_write`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure.rs:2063:5 [INFO] [stdout] | [INFO] [stdout] 2063 | / fn test_contract_state_write() { [INFO] [stdout] 2064 | | let data = Rc::new(RefCell::new(vec![0u8; 10].into())); [INFO] [stdout] 2065 | | let mut state = TestStateEntry::open(data, Vec::new(), 0); [INFO] [stdout] 2066 | | assert_eq!(state.write(&1u64.to_le_bytes()), Ok(8), "Incorrect number of bytes written."); [INFO] [stdout] ... | [INFO] [stdout] 2077 | | ); [INFO] [stdout] 2078 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::test::test_testhost_balance_queries_reflect_invoke`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure.rs:1968:5 [INFO] [stdout] | [INFO] [stdout] 1968 | / fn test_testhost_balance_queries_reflect_invoke() { [INFO] [stdout] 1969 | | use super::*; [INFO] [stdout] 1970 | | let mut host = TestHost::new((), TestStateBuilder::new()); [INFO] [stdout] ... | [INFO] [stdout] 1995 | | assert_eq!(self_new_balance, Amount::from_micro_ccd(2000)); [INFO] [stdout] 1996 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::test::test_testhost_balance_queries_reflect_transfers`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure.rs:1944:5 [INFO] [stdout] | [INFO] [stdout] 1944 | / fn test_testhost_balance_queries_reflect_transfers() { [INFO] [stdout] 1945 | | use super::*; [INFO] [stdout] 1946 | | let mut host = TestHost::new((), TestStateBuilder::new()); [INFO] [stdout] ... | [INFO] [stdout] 1964 | | assert_eq!(self_new_balance, Amount::from_micro_ccd(1000)); [INFO] [stdout] 1965 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::delete_entry_test`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | / fn delete_entry_test() { [INFO] [stdout] 390 | | let key1 = [0]; [INFO] [stdout] 391 | | let key2 = [0, 0]; // A leaf, which is the child of the key1 node. [INFO] [stdout] 392 | | let mut trie = StateTrie::new(); [INFO] [stdout] ... | [INFO] [stdout] 402 | | assert!(trie.lookup(&key2).is_some()); // The child should still exist. [INFO] [stdout] 403 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::delete_prefix_test`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | / fn delete_prefix_test() { [INFO] [stdout] 407 | | let key1 = [0]; [INFO] [stdout] 408 | | let key2 = [0, 0]; [INFO] [stdout] 409 | | let key3 = [0, 0, 0]; [INFO] [stdout] ... | [INFO] [stdout] 420 | | assert!(trie.lookup(&key3).is_none()); [INFO] [stdout] 421 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::double_create_overwrites_data`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | / fn double_create_overwrites_data() { [INFO] [stdout] 425 | | let key = []; [INFO] [stdout] 426 | | let mut trie = StateTrie::new(); [INFO] [stdout] 427 | | create_entry(&mut trie, &key) [INFO] [stdout] ... | [INFO] [stdout] 434 | | assert!(res.is_err()) [INFO] [stdout] 435 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::index_conversion`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 475 | / fn index_conversion() { [INFO] [stdout] 476 | | let expected_key1 = [1, 2, 3, 4, 5, 6, 7]; [INFO] [stdout] 477 | | let expected_key2 = [92, 255, 23, 5]; [INFO] [stdout] 478 | | let index1 = super::to_indexes(&expected_key1); [INFO] [stdout] ... | [INFO] [stdout] 483 | | assert_eq!(expected_key2, &actual_key2[..]); [INFO] [stdout] 484 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::insert_get_test`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | / fn insert_get_test() { [INFO] [stdout] 375 | | let expected_value = "hello"; [INFO] [stdout] 376 | | let key = [0, 1, 2]; [INFO] [stdout] 377 | | let mut trie = StateTrie::new(); [INFO] [stdout] ... | [INFO] [stdout] 385 | | assert_eq!(&expected_value, &actual_value); [INFO] [stdout] 386 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::iterator_test`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | / fn iterator_test() { [INFO] [stdout] 439 | | let mut trie = StateTrie::new(); [INFO] [stdout] 440 | | [INFO] [stdout] 441 | | create_entry(&mut trie, b"a").write_u8(42).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 471 | | assert!(new_trie.next().is_none()); [INFO] [stdout] 472 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::read_from_deleted_aliased_entry_should_fail`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:516:5 [INFO] [stdout] | [INFO] [stdout] 516 | / fn read_from_deleted_aliased_entry_should_fail() { [INFO] [stdout] 517 | | let mut trie = StateTrie::new(); [INFO] [stdout] 518 | | let mut entry = create_entry(&mut trie, b"ab"); [INFO] [stdout] 519 | | let mut alias_entry = create_entry(&mut trie, b"ab"); [INFO] [stdout] ... | [INFO] [stdout] 522 | | assert!(alias_entry.read_u8().is_err()); [INFO] [stdout] 523 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::read_from_deleted_entry_should_fail`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | / fn read_from_deleted_entry_should_fail() { [INFO] [stdout] 506 | | let mut trie = StateTrie::new(); [INFO] [stdout] 507 | | let mut entry = create_entry(&mut trie, b"ab"); [INFO] [stdout] 508 | | assert!(entry.write_u8(1).is_ok()); [INFO] [stdout] ... | [INFO] [stdout] 512 | | assert!(entry.read_u8().is_err()); [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::seek_on_deleted_entry_should_fail`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | / fn seek_on_deleted_entry_should_fail() { [INFO] [stdout] 497 | | let mut trie = StateTrie::new(); [INFO] [stdout] 498 | | let mut entry = create_entry(&mut trie, b"ab"); [INFO] [stdout] 499 | | assert!(entry.write_u8(1).is_ok()); [INFO] [stdout] 500 | | trie.delete_prefix(&[]).unwrap(); [INFO] [stdout] 501 | | assert!(entry.seek(SeekFrom::Start(0)).is_err()); [INFO] [stdout] 502 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::test_deep_clone`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:526:5 [INFO] [stdout] | [INFO] [stdout] 526 | / fn test_deep_clone() { [INFO] [stdout] 527 | | let mut trie = StateTrie::new(); [INFO] [stdout] ... | [INFO] [stdout] 565 | | assert!(trie_clone.lookup(b"qq").is_none()); [INFO] [stdout] 566 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::write_to_deleted_entry_should_fail`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 487 | / fn write_to_deleted_entry_should_fail() { [INFO] [stdout] 488 | | let mut trie = StateTrie::new(); [INFO] [stdout] 489 | | let mut entry = create_entry(&mut trie, b"ab"); [INFO] [stdout] 490 | | assert!(entry.write_u8(1).is_ok()); [INFO] [stdout] 491 | | trie.delete_prefix(&[]).unwrap(); [INFO] [stdout] 492 | | assert!(entry.write_u8(1).is_err()); [INFO] [stdout] 493 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/impls.rs:902:16 [INFO] [stdout] | [INFO] [stdout] 902 | pub fn get(&self, key: &K) -> Option> { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 902 | pub fn get(&self, key: &K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/impls.rs:913:20 [INFO] [stdout] | [INFO] [stdout] 913 | pub fn get_mut(&mut self, key: &K) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 913 | pub fn get_mut(&mut self, key: &K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/impls.rs:1345:17 [INFO] [stdout] | [INFO] [stdout] 1345 | pub fn iter(&self) -> StateSetIter { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1345 | pub fn iter(&self) -> StateSetIter<'_, T, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn get(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 168 | pub fn get(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_mut(&mut self, key: &K) -> Option> [INFO] [stdout] | ^^^^^^^^^ ------------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_mut(&mut self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn higher(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 206 | pub fn higher(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn eq_or_higher(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 215 | pub fn eq_or_higher(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn lower(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn lower(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn eq_or_lower(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 233 | pub fn eq_or_lower(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn first_key(&self) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | pub fn first_key(&self) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn last_key(&self) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 251 | pub fn last_key(&self) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn iter(&self) -> StateBTreeMapIter { [INFO] [stdout] | ^^^^^ -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 268 | pub fn iter(&self) -> StateBTreeMapIter<'_, K, V, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:480:17 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn iter(&self) -> StateBTreeSetIter { [INFO] [stdout] | ^^^^^ ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 480 | pub fn iter(&self) -> StateBTreeSetIter<'_, K, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:505:19 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn higher(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 505 | pub fn higher(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:543:25 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn eq_or_higher(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 543 | pub fn eq_or_higher(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:581:18 [INFO] [stdout] | [INFO] [stdout] 581 | pub fn lower(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 581 | pub fn lower(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:614:24 [INFO] [stdout] | [INFO] [stdout] 614 | pub fn eq_or_lower(&self, key: &K) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 614 | pub fn eq_or_lower(&self, key: &K) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:651:18 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn first(&self) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 651 | pub fn first(&self) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state_btree.rs:667:17 [INFO] [stdout] | [INFO] [stdout] 667 | pub fn last(&self) -> Option> [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 667 | pub fn last(&self) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.85s [INFO] running `Command { std: "docker" "inspect" "0d28361fb39dd9d753d058e826c1227d86f75b096b36fd175fe4d8e1486336e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d28361fb39dd9d753d058e826c1227d86f75b096b36fd175fe4d8e1486336e6", kill_on_drop: false }` [INFO] [stdout] 0d28361fb39dd9d753d058e826c1227d86f75b096b36fd175fe4d8e1486336e6