[INFO] fetching crate calimero-storage 0.10.0-rc.40... [INFO] checking calimero-storage-0.10.0-rc.40 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate calimero-storage 0.10.0-rc.40 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate calimero-storage 0.10.0-rc.40 [INFO] finished tweaking crates.io crate calimero-storage 0.10.0-rc.40 [INFO] tweaked toml for crates.io crate calimero-storage 0.10.0-rc.40 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate calimero-storage 0.10.0-rc.40 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate calimero-storage 0.10.0-rc.40 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0769bda370a91af697880222cf20ed2ea8efd986ac3864e28c171395bd326297 [INFO] running `Command { std: "docker" "start" "-a" "0769bda370a91af697880222cf20ed2ea8efd986ac3864e28c171395bd326297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0769bda370a91af697880222cf20ed2ea8efd986ac3864e28c171395bd326297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0769bda370a91af697880222cf20ed2ea8efd986ac3864e28c171395bd326297", kill_on_drop: false }` [INFO] [stdout] 0769bda370a91af697880222cf20ed2ea8efd986ac3864e28c171395bd326297 [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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f76647879fc032cb214a8bdbe464a0a765a3322c403daf2d27d53c1782136c8 [INFO] running `Command { std: "docker" "start" "-a" "8f76647879fc032cb214a8bdbe464a0a765a3322c403daf2d27d53c1782136c8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.102 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking const-str v0.4.3 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking multihash v0.19.3 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking indenter v0.3.4 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling claims v0.7.1 [INFO] [stderr] Checking calimero-sys v0.10.0-rc.40 [INFO] [stderr] Checking sdd v3.0.10 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking scc v2.4.0 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling velcro_core v0.5.4 [INFO] [stderr] Compiling match-lookup v0.1.1 [INFO] [stderr] Compiling velcro_macros v0.5.4 [INFO] [stderr] Checking base256emoji v1.0.2 [INFO] [stderr] Checking velcro v0.5.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling calimero-storage-macros v0.10.0-rc.40 [INFO] [stderr] Checking data-encoding-macro v0.1.18 [INFO] [stderr] Checking multibase v0.9.2 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking libp2p-identity v0.2.12 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling calimero-sdk-macros v0.10.0-rc.40 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking calimero-wasm-abi v0.10.0-rc.40 [INFO] [stderr] Checking fixedstr v0.5.9 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking multiaddr v0.18.2 [INFO] [stderr] Checking calimero-primitives v0.10.0-rc.40 [INFO] [stderr] Checking calimero-sdk v0.10.0-rc.40 [INFO] [stderr] Checking calimero-storage v0.10.0-rc.40 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `logical_counter` [INFO] [stdout] --> src/delta.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::logical_clock::{logical_counter, HybridTimestamp}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logical_counter` [INFO] [stdout] --> src/delta.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::logical_clock::{logical_counter, HybridTimestamp}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming_created_at` [INFO] [stdout] --> src/interface.rs:951:13 [INFO] [stdout] | [INFO] [stdout] 951 | let incoming_created_at = metadata.created_at; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming_created_at` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming_updated_at` [INFO] [stdout] --> src/interface.rs:952:13 [INFO] [stdout] | [INFO] [stdout] 952 | let incoming_updated_at = metadata.updated_at(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming_updated_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `collections::Collection<(K, V), S>` is more private than the item `UnorderedMap::inner` [INFO] [stdout] --> src/collections/unordered_map.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) inner: Collection<(K, V), S>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `UnorderedMap::inner` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `collections::Collection<(K, V), S>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/collections.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | struct Collection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entries` is never constructed [INFO] [stdout] --> src/collections.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | struct Entries { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/lww_register.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl std::ops::Deref for LwwRegister { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 150 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/lww_register.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl std::ops::Deref for LwwRegister { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 150 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/lww_register.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn set(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl std::ops::Deref for LwwRegister { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 150 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/lww_register.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn timestamp(&self) -> HybridTimestamp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl std::ops::Deref for LwwRegister { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 150 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/lww_register.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn node_id(&self) -> [u8; 32] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl std::ops::Deref for LwwRegister { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 150 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/lww_register.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl std::ops::Deref for LwwRegister { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 150 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/lww_register.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn merge(&mut self, other: &Self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl std::ops::Deref for LwwRegister { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 150 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/lww_register.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn would_update(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl std::ops::Deref for LwwRegister { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 150 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/root.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn commit(mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | / impl Deref for Root [INFO] [stdout] 207 | | where [INFO] [stdout] 208 | | T: BorshSerialize + BorshDeserialize, [INFO] [stdout] 209 | | S: StorageAdaptor, [INFO] [stdout] | |______________________- trait implemented here [INFO] [stdout] 210 | { [INFO] [stdout] 211 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/js.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | missing_docs, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/js.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn id(&self) -> Id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/js.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/js.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn id(&self) -> Id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/js.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/js.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn id(&self) -> Id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/js.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn set(&mut self, value: Option<&[u8]>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/js.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn get(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/js.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/js.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn timestamp(&self) -> crate::logical_clock::HybridTimestamp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/js.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 497 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/js.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | pub fn id(&self) -> Id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `calimero-storage` (lib) due to 9 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `collection_name` [INFO] [stdout] --> src/tests/index.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let collection_name = "Books"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child_collection_name` [INFO] [stdout] --> src/tests/index.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let child_collection_name = "Books"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_child_collection_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grandchild_collection_name` [INFO] [stdout] --> src/tests/index.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let grandchild_collection_name = "Pages"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grandchild_collection_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `greatgrandchild_collection_name` [INFO] [stdout] --> src/tests/index.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | let greatgrandchild_collection_name = "Paragraphs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greatgrandchild_collection_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection_name` [INFO] [stdout] --> src/tests/index.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let collection_name = "Books"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection_name` [INFO] [stdout] --> src/tests/index.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | let collection_name = "Pages"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection_name` [INFO] [stdout] --> src/tests/index.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | let collection_name = "Books"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection_name` [INFO] [stdout] --> src/tests/index.rs:483:13 [INFO] [stdout] | [INFO] [stdout] 483 | let collection_name = "Books"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection_name` [INFO] [stdout] --> src/tests/index.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | let collection_name = "Books"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection` [INFO] [stdout] --> src/tests/index.rs:606:13 [INFO] [stdout] | [INFO] [stdout] 606 | let collection = "children"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection_name` [INFO] [stdout] --> src/tests/index.rs:681:13 [INFO] [stdout] | [INFO] [stdout] 681 | let collection_name = "Children"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child_collection_name` [INFO] [stdout] --> src/tests/index.rs:717:13 [INFO] [stdout] | [INFO] [stdout] 717 | let child_collection_name = "Books"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_child_collection_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grandchild_collection_name` [INFO] [stdout] --> src/tests/index.rs:718:13 [INFO] [stdout] | [INFO] [stdout] 718 | let grandchild_collection_name = "Pages"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grandchild_collection_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `greatgrandchild_collection_name` [INFO] [stdout] --> src/tests/index.rs:719:13 [INFO] [stdout] | [INFO] [stdout] 719 | let greatgrandchild_collection_name = "Paragraphs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greatgrandchild_collection_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming_created_at` [INFO] [stdout] --> src/interface.rs:951:13 [INFO] [stdout] | [INFO] [stdout] 951 | let incoming_created_at = metadata.created_at; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming_created_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming_updated_at` [INFO] [stdout] --> src/interface.rs:952:13 [INFO] [stdout] | [INFO] [stdout] 952 | let incoming_updated_at = metadata.updated_at(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming_updated_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `collections::Collection<(K, V), S>` is more private than the item `unordered_map::UnorderedMap::inner` [INFO] [stdout] --> src/collections/unordered_map.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) inner: Collection<(K, V), S>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `unordered_map::UnorderedMap::inner` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `collections::Collection<(K, V), S>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/collections.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | struct Collection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entries` is never constructed [INFO] [stdout] --> src/collections.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | struct Entries { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/lww_register.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl std::ops::Deref for LwwRegister { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 150 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/lww_register.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl std::ops::Deref for LwwRegister { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 150 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/lww_register.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn set(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl std::ops::Deref for LwwRegister { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 150 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/lww_register.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn timestamp(&self) -> HybridTimestamp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl std::ops::Deref for LwwRegister { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 150 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/lww_register.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn node_id(&self) -> [u8; 32] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl std::ops::Deref for LwwRegister { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 150 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/lww_register.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl std::ops::Deref for LwwRegister { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 150 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/lww_register.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn merge(&mut self, other: &Self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl std::ops::Deref for LwwRegister { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 150 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/lww_register.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn would_update(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl std::ops::Deref for LwwRegister { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 150 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/root.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn commit(mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | / impl Deref for Root [INFO] [stdout] 207 | | where [INFO] [stdout] 208 | | T: BorshSerialize + BorshDeserialize, [INFO] [stdout] 209 | | S: StorageAdaptor, [INFO] [stdout] | |______________________- trait implemented here [INFO] [stdout] 210 | { [INFO] [stdout] 211 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/js.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | missing_docs, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/js.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn id(&self) -> Id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/js.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/js.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn id(&self) -> Id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/js.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/js.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn id(&self) -> Id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/js.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn set(&mut self, value: Option<&[u8]>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/js.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn get(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/js.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/js.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn timestamp(&self) -> crate::logical_clock::HybridTimestamp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/js.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 497 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/js.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | pub fn id(&self) -> Id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `calimero-storage` (lib test) due to 9 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8f76647879fc032cb214a8bdbe464a0a765a3322c403daf2d27d53c1782136c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f76647879fc032cb214a8bdbe464a0a765a3322c403daf2d27d53c1782136c8", kill_on_drop: false }` [INFO] [stdout] 8f76647879fc032cb214a8bdbe464a0a765a3322c403daf2d27d53c1782136c8