[INFO] fetching crate concordium-smart-contract-engine 6.1.0... [INFO] checking concordium-smart-contract-engine-6.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate concordium-smart-contract-engine 6.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate concordium-smart-contract-engine 6.1.0 [INFO] finished tweaking crates.io crate concordium-smart-contract-engine 6.1.0 [INFO] tweaked toml for crates.io crate concordium-smart-contract-engine 6.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate concordium-smart-contract-engine 6.1.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 217 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding num_enum v0.6.1 (available: v0.7.5) [INFO] [stderr] Adding ptree v0.4.0 (available: v0.5.2) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding secp256k1 v0.22.2 (available: v0.31.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08391f728a13c5d86679220bb5bd0c22650ae0b0a72e6217615c1864bff02055 [INFO] running `Command { std: "docker" "start" "-a" "08391f728a13c5d86679220bb5bd0c22650ae0b0a72e6217615c1864bff02055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08391f728a13c5d86679220bb5bd0c22650ae0b0a72e6217615c1864bff02055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08391f728a13c5d86679220bb5bd0c22650ae0b0a72e6217615c1864bff02055", kill_on_drop: false }` [INFO] [stdout] 08391f728a13c5d86679220bb5bd0c22650ae0b0a72e6217615c1864bff02055 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d1ac4155b1e1a292b18fb0481c3de34127abe2c2d3fa553c5b8cd1efa695a63 [INFO] running `Command { std: "docker" "start" "-a" "3d1ac4155b1e1a292b18fb0481c3de34127abe2c2d3fa553c5b8cd1efa695a63", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling secp256k1-sys v0.5.2 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking secp256k1 v0.22.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking zerocopy v0.8.27 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking ed25519-zebra v4.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking concordium-contracts-common v9.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking criterion v0.7.0 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking concordium-wasm v5.1.0 [INFO] [stderr] Checking concordium-smart-contract-engine v6.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/mod.rs:1483:19 [INFO] [stdout] | [INFO] [stdout] 1483 | fn entrypoint(&self) -> ExecResult; [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] 1483 | fn entrypoint(&self) -> ExecResult>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/mod.rs:1506:19 [INFO] [stdout] | [INFO] [stdout] 1506 | fn entrypoint(&self) -> ExecResult { Ok(self.entrypoint.as_entrypoint_name()) } [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] 1506 | fn entrypoint(&self) -> ExecResult> { Ok(self.entrypoint.as_entrypoint_name()) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/mod.rs:1511:19 [INFO] [stdout] | [INFO] [stdout] 1511 | fn entrypoint(&self) -> ExecResult { (*self).entrypoint() } [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] 1511 | fn entrypoint(&self) -> ExecResult> { (*self).entrypoint() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/trie/api.rs:199:61 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn into_iterator(self, loader: &mut L) -> PersistentStateIterator { [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] 199 | pub fn into_iterator(self, loader: &mut L) -> PersistentStateIterator<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/api.rs:335:15 [INFO] [stdout] | [INFO] [stdout] 335 | match self.state.next(self.loader, iterator, &mut EmptyCounter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/trie/api.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn lock(&self) -> StateTrie { self.state.lock().expect("Another thread panicked.") } [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] 394 | pub fn lock(&self) -> StateTrie<'_> { self.state.lock().expect("Another thread panicked.") } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/trie/low_level.rs:410:37 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn get(&self, loader: &mut L) -> MaybeOwned { [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] 410 | pub fn get(&self, loader: &mut L) -> MaybeOwned<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/trie/low_level.rs:723:17 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn iter(&self) -> StemIter { [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] 723 | pub fn iter(&self) -> StemIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/trie/low_level.rs:981:23 [INFO] [stdout] | [INFO] [stdout] 981 | pub(crate) fn get(&self, loader: &mut impl BackingStoreLoad) -> ByteSlice { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 981 | pub(crate) fn get(&self, loader: &mut impl BackingStoreLoad) -> ByteSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/trie/low_level.rs:1002:9 [INFO] [stdout] | [INFO] [stdout] 1002 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1003 | loader: &mut impl BackingStoreLoad, [INFO] [stdout] 1004 | ) -> (Option<&Hash>, ByteSlice) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same 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] 1004 | ) -> (Option<&Hash>, ByteSlice<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `concordium-smart-contract-engine` (lib) due to 1 previous error; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/mod.rs:1483:19 [INFO] [stdout] | [INFO] [stdout] 1483 | fn entrypoint(&self) -> ExecResult; [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] 1483 | fn entrypoint(&self) -> ExecResult>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/mod.rs:1506:19 [INFO] [stdout] | [INFO] [stdout] 1506 | fn entrypoint(&self) -> ExecResult { Ok(self.entrypoint.as_entrypoint_name()) } [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] 1506 | fn entrypoint(&self) -> ExecResult> { Ok(self.entrypoint.as_entrypoint_name()) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/mod.rs:1511:19 [INFO] [stdout] | [INFO] [stdout] 1511 | fn entrypoint(&self) -> ExecResult { (*self).entrypoint() } [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] 1511 | fn entrypoint(&self) -> ExecResult> { (*self).entrypoint() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let entry = trie [INFO] [stdout] | _____________________^ [INFO] [stdout] 38 | | .next(loader, &mut iterator, &mut EmptyCounter) [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | trie.next(loader, &mut iterator, &mut EmptyCounter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:245:25 [INFO] [stdout] | [INFO] [stdout] 245 | let entry = mutable [INFO] [stdout] | _________________________^ [INFO] [stdout] 246 | | .next(&mut loader, &mut iterator, &mut EmptyCounter) [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:412:24 [INFO] [stdout] | [INFO] [stdout] 412 | == trie.delete_prefix(&mut loader, &prefix[..], &mut EmptyCounter).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mustuse_in_always_ok)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:479:25 [INFO] [stdout] | [INFO] [stdout] 479 | trie.delete_prefix(&mut loader, candidate, &mut EmptyCounter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:504:33 [INFO] [stdout] | [INFO] [stdout] 504 | ... trie.delete_prefix(&mut loader, candidate, &mut EmptyCounter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:583:25 [INFO] [stdout] | [INFO] [stdout] 583 | trie.delete_prefix(&mut loader, candidate, &mut EmptyCounter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | ... trie.delete_prefix(&mut loader, candidate, &mut EmptyCounter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:671:21 [INFO] [stdout] | [INFO] [stdout] 671 | trie.delete_prefix(&mut loader, &locked_prefix_extended, &mut EmptyCounter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:700:25 [INFO] [stdout] | [INFO] [stdout] 700 | trie.delete_prefix(&mut loader, &new_path, &mut EmptyCounter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:707:21 [INFO] [stdout] | [INFO] [stdout] 707 | trie.delete_prefix(&mut loader, &step_up, &mut EmptyCounter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:734:21 [INFO] [stdout] | [INFO] [stdout] 734 | trie.delete_prefix(&mut loader, &locked_prefix_extended, &mut EmptyCounter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:740:21 [INFO] [stdout] | [INFO] [stdout] 740 | trie.delete_prefix(&mut loader, &step_up, &mut EmptyCounter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:764:13 [INFO] [stdout] | [INFO] [stdout] 764 | trie.delete_prefix(&mut loader, &prefix[..], &mut EmptyCounter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:913:38 [INFO] [stdout] | [INFO] [stdout] 913 | if let Some(v) = trie [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 914 | | .get_mut(entry, &mut loader, &mut EmptyCounter) [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:946:38 [INFO] [stdout] | [INFO] [stdout] 946 | if let Some(entry) = trie [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 947 | | .next(&mut loader, &mut iterator_gen_1, &mut EmptyCounter) [INFO] [stdout] | |______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:965:16 [INFO] [stdout] | [INFO] [stdout] 965 | if trie [INFO] [stdout] | ________________^ [INFO] [stdout] 966 | | .next(&mut loader, &mut iterator_gen_1, &mut EmptyCounter) [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:984:34 [INFO] [stdout] | [INFO] [stdout] 984 | if let Some(entry) = trie [INFO] [stdout] | __________________________________^ [INFO] [stdout] 985 | | .next(&mut loader, &mut iterator, &mut EmptyCounter) [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:998:9 [INFO] [stdout] | [INFO] [stdout] 998 | trie.next(&mut loader, &mut iterator, &mut EmptyCounter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/tests.rs:1039:38 [INFO] [stdout] | [INFO] [stdout] 1039 | if let Some(entry) = trie [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 1040 | | .next(&mut loader, &mut iterator, &mut EmptyCounter) [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/trie/api.rs:199:61 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn into_iterator(self, loader: &mut L) -> PersistentStateIterator { [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] 199 | pub fn into_iterator(self, loader: &mut L) -> PersistentStateIterator<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, NoError> [INFO] [stdout] --> src/v1/trie/api.rs:335:15 [INFO] [stdout] | [INFO] [stdout] 335 | match self.state.next(self.loader, iterator, &mut EmptyCounter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/trie/api.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn lock(&self) -> StateTrie { self.state.lock().expect("Another thread panicked.") } [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] 394 | pub fn lock(&self) -> StateTrie<'_> { self.state.lock().expect("Another thread panicked.") } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/trie/low_level.rs:410:37 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn get(&self, loader: &mut L) -> MaybeOwned { [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] 410 | pub fn get(&self, loader: &mut L) -> MaybeOwned<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/trie/low_level.rs:723:17 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn iter(&self) -> StemIter { [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] 723 | pub fn iter(&self) -> StemIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/trie/low_level.rs:981:23 [INFO] [stdout] | [INFO] [stdout] 981 | pub(crate) fn get(&self, loader: &mut impl BackingStoreLoad) -> ByteSlice { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 981 | pub(crate) fn get(&self, loader: &mut impl BackingStoreLoad) -> ByteSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/trie/low_level.rs:1002:9 [INFO] [stdout] | [INFO] [stdout] 1002 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1003 | loader: &mut impl BackingStoreLoad, [INFO] [stdout] 1004 | ) -> (Option<&Hash>, ByteSlice) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same 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] 1004 | ) -> (Option<&Hash>, ByteSlice<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `concordium-smart-contract-engine` (lib test) due to 10 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3d1ac4155b1e1a292b18fb0481c3de34127abe2c2d3fa553c5b8cd1efa695a63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d1ac4155b1e1a292b18fb0481c3de34127abe2c2d3fa553c5b8cd1efa695a63", kill_on_drop: false }` [INFO] [stdout] 3d1ac4155b1e1a292b18fb0481c3de34127abe2c2d3fa553c5b8cd1efa695a63