[INFO] fetching crate taple-core 0.3.3... [INFO] testing taple-core-0.3.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate taple-core 0.3.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate taple-core 0.3.3 [INFO] finished tweaking crates.io crate taple-core 0.3.3 [INFO] tweaked toml for crates.io crate taple-core 0.3.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate taple-core 0.3.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 462 packages to latest compatible versions [INFO] [stderr] Adding aes-gcm v0.9.2 (available: v0.9.4) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding borsh v0.10.4 (available: v1.5.7) [INFO] [stderr] Adding config v0.13.4 (available: v0.15.15) [INFO] [stderr] Adding ed25519-dalek v1.0.1 (available: v2.2.0) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding json-patch v1.4.0 (available: v4.0.0) [INFO] [stderr] Adding jsonschema v0.17.1 (available: v0.33.0) [INFO] [stderr] Adding libp2p v0.45.1 (available: v0.56.0) [INFO] [stderr] Adding proc-macro-crate v1.1.3 (available: v1.3.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding serial_test v1.0.0 (available: v3.2.0) [INFO] [stderr] Adding snow v0.9.3 (available: v0.9.6) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding universal-hash v0.4.0 (available: v0.4.1) [INFO] [stderr] Adding unsigned-varint v0.7.2 (available: v0.8.0) [INFO] [stderr] Adding wasmtime v9.0.4 (available: v36.0.2) [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `jsonschema` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `libp2p` dependency) [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfffb5dcfee63ec08dbc456719ce14ed92972d8d72cd6f9b4ae717b47bb9753d [INFO] running `Command { std: "docker" "start" "-a" "cfffb5dcfee63ec08dbc456719ce14ed92972d8d72cd6f9b4ae717b47bb9753d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfffb5dcfee63ec08dbc456719ce14ed92972d8d72cd6f9b4ae717b47bb9753d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfffb5dcfee63ec08dbc456719ce14ed92972d8d72cd6f9b4ae717b47bb9753d", kill_on_drop: false }` [INFO] [stdout] cfffb5dcfee63ec08dbc456719ce14ed92972d8d72cd6f9b4ae717b47bb9753d [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" "-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f69b6545351de2acb45314c5fa8c3055987f29c5354cbc19f58be682c15b591a [INFO] running `Command { std: "docker" "start" "-a" "f69b6545351de2acb45314c5fa8c3055987f29c5354cbc19f58be682c15b591a", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `jsonschema` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `libp2p` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling asn1_der v0.7.6 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling snow v0.9.3 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ctr v0.7.0 [INFO] [stderr] Compiling poly1305 v0.7.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling aes-gcm v0.9.2 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling lru v0.7.8 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling resolv-conf v0.7.4 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling time-core v0.1.5 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling if-addrs v0.7.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fraction v0.13.1 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling serde_derive v1.0.219 [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 futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling chacha20 v0.8.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling chacha20poly1305 v0.9.1 [INFO] [stderr] Compiling prometheus-client-derive-text-encode v0.2.0 [INFO] [stderr] Compiling x25519-dalek v1.2.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling libp2p-swarm-derive v0.27.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling prometheus-client v0.16.0 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling iso8601 v0.6.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling libp2p-core v0.33.0 [INFO] [stderr] Compiling libp2p-identify v0.36.1 [INFO] [stderr] Compiling libp2p-kad v0.37.1 [INFO] [stderr] Compiling libp2p-noise v0.36.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling asynchronous-codec v0.6.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rw-stream-sink v0.3.0 [INFO] [stderr] Compiling yamux v0.10.2 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling multistream-select v0.11.0 [INFO] [stderr] Compiling prost-codec v0.1.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling json-patch v1.4.0 [INFO] [stderr] Compiling jsonschema v0.17.1 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling multihash v0.16.3 [INFO] [stderr] Compiling multiaddr v0.14.0 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling libp2p-swarm v0.36.1 [INFO] [stderr] Compiling libp2p-yamux v0.37.0 [INFO] [stderr] Compiling libp2p-dns v0.33.0 [INFO] [stderr] Compiling libp2p-tcp v0.33.0 [INFO] [stderr] Compiling libp2p-mplex v0.33.0 [INFO] [stderr] Compiling libp2p-metrics v0.6.1 [INFO] [stderr] Compiling libp2p v0.45.1 [INFO] [stderr] Compiling taple-core v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::protocol::errors::EventCreationError` [INFO] [stdout] --> src/api/error.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use crate::protocol::errors::EventCreationError; [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: `crate::identifier::derive::Derivator` [INFO] [stdout] --> src/message/message_sender.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::identifier::derive::Derivator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetApprovals` is never constructed [INFO] [stdout] --> src/api/mod.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct GetApprovals { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/api/api.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 449 | pub struct ApiManager { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 453 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestApproval` is never constructed [INFO] [stdout] --> src/approval/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct RequestApproval { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/authorized_subjecs/manager.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct AuthorizedSubjectsManager { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Identifier` is never used [INFO] [stdout] --> src/commons/identifier/mod.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) enum Identifier { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schema` is never constructed [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | pub struct Schema { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Member` is never constructed [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct Member { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Validation` is never constructed [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct Validation { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Policy` is never constructed [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | pub struct Policy { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Governance` is never constructed [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 339 | pub struct Governance { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GovernanceEvent` is never used [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:347:10 [INFO] [stdout] | [INFO] [stdout] 347 | pub enum GovernanceEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `change_settings` and `check_if_signature_present` are never used [INFO] [stdout] --> src/commons/self_signature_manager.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait SelfSignatureInterface { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] 12 | fn change_settings(&mut self, settings: &Settings); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn check_if_signature_present(&self, signers: &HashSet) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VotationType` is never used [INFO] [stdout] --> src/commons/settings/mod.rs:282:10 [INFO] [stdout] | [INFO] [stdout] 282 | pub enum VotationType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `validation_db` and `contract_db` are never read [INFO] [stdout] --> src/database/db.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DB { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | validation_db: ValidationDb, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 46 | /// The contract database. [INFO] [stdout] 47 | contract_db: ContractDb, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/database/db.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl DB { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn del_subject(&self, subject_id: &DigestIdentifier) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn get_all_request(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn get_taple_all_request(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn del_taple_request(&self, request_id: &DigestIdentifier) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn get_validation_register( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn set_validation_register( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn get_contract( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn put_contract( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn get_all_keys(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | pub fn get_approvals( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | pub fn del_approval(&self, request_id: &DigestIdentifier) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn get_approvals_by_subject( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 457 | pub fn del_subject_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 466 | pub fn set_subject_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn get_approvals_by_governance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 482 | pub fn del_governance_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 491 | pub fn set_governance_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index_collection`, `index_by_governance_collection`, `index_prefix`, and `governance_prefix` are never read [INFO] [stdout] --> src/database/layers/approvals.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ApprovalsDb { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | index_collection: C, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | index_by_governance_collection: C, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | index_prefix: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | prefix: String, [INFO] [stdout] 15 | governance_prefix: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/database/layers/approvals.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ApprovalsDb { [INFO] [stdout] | ------------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn set_subject_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn del_subject_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn set_governance_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn del_governance_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_approvals_by_governance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn get_approvals_by_subject( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn get_approvals( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn del_approval(&self, request_id: &DigestIdentifier) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `collection` and `prefix` are never read [INFO] [stdout] --> src/database/layers/contract.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct ContractDb { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | collection: C, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | prefix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_contract` and `put_contract` are never used [INFO] [stdout] --> src/database/layers/contract.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ContractDb { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_contract( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn put_contract( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_all_request` is never used [INFO] [stdout] --> src/database/layers/event_request.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl EventRequestDb { [INFO] [stdout] | --------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_all_request(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_all_keys` is never used [INFO] [stdout] --> src/database/layers/keys.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl KeysDb { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn get_all_keys(&self) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_request` and `del_request` are never used [INFO] [stdout] --> src/database/layers/request.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl RequestDb { [INFO] [stdout] | ---------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_all_request(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn del_request(&self, request_id: &DigestIdentifier) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `del_subject` is never used [INFO] [stdout] --> src/database/layers/subject.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SubjectDb { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn del_subject(&self, subject_id: &DigestIdentifier) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `collection` and `prefix` are never read [INFO] [stdout] --> src/database/layers/validation.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ValidationDb { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | collection: C, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | prefix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_validation_register` and `set_validation_register` are never used [INFO] [stdout] --> src/database/layers/validation.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ValidationDb { [INFO] [stdout] | ------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get_validation_register( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_validation_register( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LedgerMessages` is never used [INFO] [stdout] --> src/distribution/mod.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum LedgerMessages { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LceRequested` is never constructed [INFO] [stdout] --> src/distribution/mod.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct LceRequested { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventRequested` is never constructed [INFO] [stdout] --> src/distribution/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct EventRequested { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/distribution/error.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum DistributionErrorResponses { [INFO] [stdout] | -------------------------- variants in this enum [INFO] [stdout] 30 | #[error("The node is not a witness of subject")] [INFO] [stdout] 31 | NoValidWitness, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | #[error("Channel not available")] [INFO] [stdout] 33 | ChannelNotAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | #[error("The event is not signed with the cryptographic material of the subject")] [INFO] [stdout] 35 | InvalidSubjectSignature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | #[error("The previous hash of the event does not link with previous registered event")] [INFO] [stdout] 37 | InvalidEventLink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | #[error("Invalid signatures at the event")] [INFO] [stdout] 39 | InvalidEventSignatures, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | #[error("Invalid invokator of event")] [INFO] [stdout] 41 | InvalidInvokator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | #[error("Invalid request type")] [INFO] [stdout] 43 | InvalidRequestType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | #[error("Governance {0} not found")] [INFO] [stdout] 45 | GovernanceNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | #[error("Invalid Key identifier detected: {0}")] [INFO] [stdout] 47 | InvalidKeyIdentifier(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | #[error("The event has not reached approval quorum")] [INFO] [stdout] 49 | ApprovalQuorumNotReached, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | #[error("Approval quorum mismatch")] [INFO] [stdout] 51 | ApprovalQuorumMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | #[error("Invalid validation signatures")] [INFO] [stdout] 53 | InvalidValidationSignatures, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | #[error("Schema {0} not found")] [INFO] [stdout] 55 | SchemaNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | SubjectNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | NoValidatorSignatures, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | #[error("Invalid Validators signatures hash")] [INFO] [stdout] 65 | InvalidValidatorSignatureHash, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | #[error("Event not needed")] [INFO] [stdout] 67 | EventNotNeeded, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 68 | #[error("Event without validator signatures")] [INFO] [stdout] 69 | InvalidEvent, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 70 | #[error("Signatures not needed")] [INFO] [stdout] 71 | SignatureNotNeeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | #[error("Invalid evaluator signatures")] [INFO] [stdout] 73 | InvalidEvaluatorSignatures, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | InvalidDigestIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistributionErrorResponses` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/distribution/manager.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DistributionManager { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EvaluatorResponse` is never used [INFO] [stdout] --> src/evaluator/mod.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum EvaluatorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AskForEvaluationResponse` is never constructed [INFO] [stdout] --> src/evaluator/mod.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct AskForEvaluationResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GovernanceStateError` is never used [INFO] [stdout] --> src/evaluator/errors.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | pub enum GovernanceStateError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GovernanceMember` is never constructed [INFO] [stdout] --> src/governance/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct GovernanceMember { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SingleGovernance` is never constructed [INFO] [stdout] --> src/governance/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SingleGovernance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GetSchema` and `GetContracts` are never constructed [INFO] [stdout] --> src/governance/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum GovernanceMessage { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 44 | GetSchema { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | GetContracts { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GovernanceMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/governance/mod.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | GetSchema(Result), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GovernanceResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 82 - GetSchema(Result), [INFO] [stdout] 82 + GetSchema(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/governance/mod.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | GetContracts(Result, RequestError>), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GovernanceResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 - GetContracts(Result, RequestError>), [INFO] [stdout] 86 + GetContracts(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NoResponse` is never constructed [INFO] [stdout] --> src/governance/mod.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum GovernanceResponse { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 89 | NoResponse, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GovernanceResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/governance/governance.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Governance, C: DatabaseCollection> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_schema` and `get_contracts` are never used [INFO] [stdout] --> src/governance/governance.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 200 | pub trait GovernanceInterface: Sync + Send { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 207 | async fn get_schema( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | async fn get_contracts( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ledger/mod.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | GetEvent(Result, errors::LedgerError>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LedgerResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 - GetEvent(Result, errors::LedgerError>), [INFO] [stdout] 57 + GetEvent(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ledger/mod.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | GetNextGov(Result<(Signed, HashSet), errors::LedgerError>), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LedgerResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 58 - GetNextGov(Result<(Signed, HashSet), errors::LedgerError>), [INFO] [stdout] 58 + GetNextGov(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ledger/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | GetLCE(Result<(Signed, HashSet), errors::LedgerError>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LedgerResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 - GetLCE(Result<(Signed, HashSet), errors::LedgerError>), [INFO] [stdout] 59 + GetLCE(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ErrorApplyingPatch`, `InvalidLCEAfterGenesis`, and `StateEventWithZeroSNDetected` are never constructed [INFO] [stdout] --> src/ledger/errors.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum LedgerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | ErrorApplyingPatch(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | InvalidLCEAfterGenesis(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | StateEventWithZeroSNDetected, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LedgerError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/ledger/manager.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct LedgerManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/message/message_receiver.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MessageReceiver [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/message/message_task_manager/manager.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct MessageTaskManager [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/network/network.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct NetworkProcessor { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 159 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PatchErrors` is never used [INFO] [stdout] --> src/utils/patch.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum PatchErrors { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_patch` is never used [INFO] [stdout] --> src/utils/patch.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn apply_patch Deserialize<'a> + Serialize>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/event/manager.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct EventManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProtocolErrors` is never used [INFO] [stdout] --> src/protocol/errors.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ProtocolErrors { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventCreationError` is never used [INFO] [stdout] --> src/protocol/errors.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum EventCreationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResponseError` is never used [INFO] [stdout] --> src/protocol/errors.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum ResponseError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/protocol/protocol_message_manager/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ProtocolManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database/memory.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | fn iter(&self, prefix: String) -> MemoryIterator { [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] 30 | fn iter(&self, prefix: String) -> MemoryIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database/memory.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | fn rev_iter(&self, prefix: String) -> RevMemoryIterator { [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] 34 | fn rev_iter(&self, prefix: String) -> RevMemoryIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "f69b6545351de2acb45314c5fa8c3055987f29c5354cbc19f58be682c15b591a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f69b6545351de2acb45314c5fa8c3055987f29c5354cbc19f58be682c15b591a", kill_on_drop: false }` [INFO] [stdout] f69b6545351de2acb45314c5fa8c3055987f29c5354cbc19f58be682c15b591a [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" "-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10e76d3c695991b84987c1d7bef62127d653f3c163e0598f76c8653b96d7e4d7 [INFO] running `Command { std: "docker" "start" "-a" "10e76d3c695991b84987c1d7bef62127d653f3c163e0598f76c8653b96d7e4d7", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `jsonschema` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `libp2p` dependency) [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serial_test_derive v1.0.0 [INFO] [stdout] warning: unused import: `crate::protocol::errors::EventCreationError` [INFO] [stdout] --> src/api/error.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use crate::protocol::errors::EventCreationError; [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: `crate::identifier::derive::Derivator` [INFO] [stdout] --> src/message/message_sender.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::identifier::derive::Derivator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetApprovals` is never constructed [INFO] [stdout] --> src/api/mod.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct GetApprovals { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/api/api.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 449 | pub struct ApiManager { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 453 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestApproval` is never constructed [INFO] [stdout] --> src/approval/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct RequestApproval { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/authorized_subjecs/manager.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct AuthorizedSubjectsManager { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Identifier` is never used [INFO] [stdout] --> src/commons/identifier/mod.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) enum Identifier { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schema` is never constructed [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | pub struct Schema { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Member` is never constructed [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct Member { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Validation` is never constructed [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct Validation { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Policy` is never constructed [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | pub struct Policy { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Governance` is never constructed [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 339 | pub struct Governance { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GovernanceEvent` is never used [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:347:10 [INFO] [stdout] | [INFO] [stdout] 347 | pub enum GovernanceEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `change_settings` and `check_if_signature_present` are never used [INFO] [stdout] --> src/commons/self_signature_manager.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait SelfSignatureInterface { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] 12 | fn change_settings(&mut self, settings: &Settings); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn check_if_signature_present(&self, signers: &HashSet) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VotationType` is never used [INFO] [stdout] --> src/commons/settings/mod.rs:282:10 [INFO] [stdout] | [INFO] [stdout] 282 | pub enum VotationType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `validation_db` and `contract_db` are never read [INFO] [stdout] --> src/database/db.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DB { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | validation_db: ValidationDb, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 46 | /// The contract database. [INFO] [stdout] 47 | contract_db: ContractDb, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/database/db.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl DB { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn del_subject(&self, subject_id: &DigestIdentifier) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn get_all_request(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn get_taple_all_request(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn del_taple_request(&self, request_id: &DigestIdentifier) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn get_validation_register( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn set_validation_register( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn get_contract( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn put_contract( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn get_all_keys(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | pub fn get_approvals( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | pub fn del_approval(&self, request_id: &DigestIdentifier) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn get_approvals_by_subject( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 457 | pub fn del_subject_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 466 | pub fn set_subject_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn get_approvals_by_governance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 482 | pub fn del_governance_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 491 | pub fn set_governance_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index_collection`, `index_by_governance_collection`, `index_prefix`, and `governance_prefix` are never read [INFO] [stdout] --> src/database/layers/approvals.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ApprovalsDb { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | index_collection: C, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | index_by_governance_collection: C, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | index_prefix: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | prefix: String, [INFO] [stdout] 15 | governance_prefix: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/database/layers/approvals.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ApprovalsDb { [INFO] [stdout] | ------------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn set_subject_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn del_subject_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn set_governance_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn del_governance_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_approvals_by_governance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn get_approvals_by_subject( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn get_approvals( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn del_approval(&self, request_id: &DigestIdentifier) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `collection` and `prefix` are never read [INFO] [stdout] --> src/database/layers/contract.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct ContractDb { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | collection: C, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | prefix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_contract` and `put_contract` are never used [INFO] [stdout] --> src/database/layers/contract.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ContractDb { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_contract( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn put_contract( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_all_request` is never used [INFO] [stdout] --> src/database/layers/event_request.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl EventRequestDb { [INFO] [stdout] | --------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_all_request(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_all_keys` is never used [INFO] [stdout] --> src/database/layers/keys.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl KeysDb { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn get_all_keys(&self) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_request` and `del_request` are never used [INFO] [stdout] --> src/database/layers/request.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl RequestDb { [INFO] [stdout] | ---------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_all_request(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn del_request(&self, request_id: &DigestIdentifier) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `del_subject` is never used [INFO] [stdout] --> src/database/layers/subject.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SubjectDb { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn del_subject(&self, subject_id: &DigestIdentifier) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `collection` and `prefix` are never read [INFO] [stdout] --> src/database/layers/validation.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ValidationDb { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | collection: C, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | prefix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_validation_register` and `set_validation_register` are never used [INFO] [stdout] --> src/database/layers/validation.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ValidationDb { [INFO] [stdout] | ------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get_validation_register( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_validation_register( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LedgerMessages` is never used [INFO] [stdout] --> src/distribution/mod.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum LedgerMessages { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LceRequested` is never constructed [INFO] [stdout] --> src/distribution/mod.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct LceRequested { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventRequested` is never constructed [INFO] [stdout] --> src/distribution/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct EventRequested { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/distribution/error.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum DistributionErrorResponses { [INFO] [stdout] | -------------------------- variants in this enum [INFO] [stdout] 30 | #[error("The node is not a witness of subject")] [INFO] [stdout] 31 | NoValidWitness, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | #[error("Channel not available")] [INFO] [stdout] 33 | ChannelNotAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | #[error("The event is not signed with the cryptographic material of the subject")] [INFO] [stdout] 35 | InvalidSubjectSignature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | #[error("The previous hash of the event does not link with previous registered event")] [INFO] [stdout] 37 | InvalidEventLink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | #[error("Invalid signatures at the event")] [INFO] [stdout] 39 | InvalidEventSignatures, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | #[error("Invalid invokator of event")] [INFO] [stdout] 41 | InvalidInvokator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | #[error("Invalid request type")] [INFO] [stdout] 43 | InvalidRequestType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | #[error("Governance {0} not found")] [INFO] [stdout] 45 | GovernanceNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | #[error("Invalid Key identifier detected: {0}")] [INFO] [stdout] 47 | InvalidKeyIdentifier(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | #[error("The event has not reached approval quorum")] [INFO] [stdout] 49 | ApprovalQuorumNotReached, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | #[error("Approval quorum mismatch")] [INFO] [stdout] 51 | ApprovalQuorumMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | #[error("Invalid validation signatures")] [INFO] [stdout] 53 | InvalidValidationSignatures, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | #[error("Schema {0} not found")] [INFO] [stdout] 55 | SchemaNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | SubjectNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | NoValidatorSignatures, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | #[error("Invalid Validators signatures hash")] [INFO] [stdout] 65 | InvalidValidatorSignatureHash, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | #[error("Event not needed")] [INFO] [stdout] 67 | EventNotNeeded, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 68 | #[error("Event without validator signatures")] [INFO] [stdout] 69 | InvalidEvent, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 70 | #[error("Signatures not needed")] [INFO] [stdout] 71 | SignatureNotNeeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | #[error("Invalid evaluator signatures")] [INFO] [stdout] 73 | InvalidEvaluatorSignatures, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | InvalidDigestIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistributionErrorResponses` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/distribution/manager.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DistributionManager { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EvaluatorResponse` is never used [INFO] [stdout] --> src/evaluator/mod.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum EvaluatorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AskForEvaluationResponse` is never constructed [INFO] [stdout] --> src/evaluator/mod.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct AskForEvaluationResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GovernanceStateError` is never used [INFO] [stdout] --> src/evaluator/errors.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | pub enum GovernanceStateError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GovernanceMember` is never constructed [INFO] [stdout] --> src/governance/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct GovernanceMember { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SingleGovernance` is never constructed [INFO] [stdout] --> src/governance/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SingleGovernance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GetSchema` and `GetContracts` are never constructed [INFO] [stdout] --> src/governance/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum GovernanceMessage { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 44 | GetSchema { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | GetContracts { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GovernanceMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/governance/mod.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | GetSchema(Result), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GovernanceResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 82 - GetSchema(Result), [INFO] [stdout] 82 + GetSchema(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/governance/mod.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | GetContracts(Result, RequestError>), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GovernanceResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 - GetContracts(Result, RequestError>), [INFO] [stdout] 86 + GetContracts(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NoResponse` is never constructed [INFO] [stdout] --> src/governance/mod.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum GovernanceResponse { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 89 | NoResponse, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GovernanceResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/governance/governance.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Governance, C: DatabaseCollection> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_schema` and `get_contracts` are never used [INFO] [stdout] --> src/governance/governance.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 200 | pub trait GovernanceInterface: Sync + Send { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 207 | async fn get_schema( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | async fn get_contracts( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ledger/mod.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | GetEvent(Result, errors::LedgerError>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LedgerResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 - GetEvent(Result, errors::LedgerError>), [INFO] [stdout] 57 + GetEvent(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ledger/mod.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | GetNextGov(Result<(Signed, HashSet), errors::LedgerError>), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LedgerResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 58 - GetNextGov(Result<(Signed, HashSet), errors::LedgerError>), [INFO] [stdout] 58 + GetNextGov(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ledger/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | GetLCE(Result<(Signed, HashSet), errors::LedgerError>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LedgerResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 - GetLCE(Result<(Signed, HashSet), errors::LedgerError>), [INFO] [stdout] 59 + GetLCE(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ErrorApplyingPatch`, `InvalidLCEAfterGenesis`, and `StateEventWithZeroSNDetected` are never constructed [INFO] [stdout] --> src/ledger/errors.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum LedgerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | ErrorApplyingPatch(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | InvalidLCEAfterGenesis(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | StateEventWithZeroSNDetected, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LedgerError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/ledger/manager.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct LedgerManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/message/message_receiver.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MessageReceiver [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/message/message_task_manager/manager.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct MessageTaskManager [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/network/network.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct NetworkProcessor { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 159 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PatchErrors` is never used [INFO] [stdout] --> src/utils/patch.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum PatchErrors { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_patch` is never used [INFO] [stdout] --> src/utils/patch.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn apply_patch Deserialize<'a> + Serialize>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/event/manager.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct EventManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProtocolErrors` is never used [INFO] [stdout] --> src/protocol/errors.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ProtocolErrors { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventCreationError` is never used [INFO] [stdout] --> src/protocol/errors.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum EventCreationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResponseError` is never used [INFO] [stdout] --> src/protocol/errors.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum ResponseError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/protocol/protocol_message_manager/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ProtocolManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database/memory.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | fn iter(&self, prefix: String) -> MemoryIterator { [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] 30 | fn iter(&self, prefix: String) -> MemoryIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database/memory.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | fn rev_iter(&self, prefix: String) -> RevMemoryIterator { [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] 34 | fn rev_iter(&self, prefix: String) -> RevMemoryIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling serial_test v1.0.0 [INFO] [stderr] Compiling taple-core v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0609]: no field `smartcontracts_directory` on type `NodeSettings` [INFO] [stdout] --> tests/common/node_builder.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | settings.node.smartcontracts_directory = path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `key_derivator`, `secret_key`, `digest_derivator`, `replication_factor`, `timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stderr] error: could not compile `taple-core` (test "integration_test") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `crate::protocol::errors::EventCreationError` [INFO] [stdout] --> src/api/error.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use crate::protocol::errors::EventCreationError; [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: `crate::identifier::derive::Derivator` [INFO] [stdout] --> src/message/message_sender.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::identifier::derive::Derivator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageReceiver` and `MessageSender` [INFO] [stdout] --> src/network/mod.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | pub use crate::message::{MessageReceiver, MessageSender, NetworkEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `notification_rx` [INFO] [stdout] --> src/network/mod.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | let (notification_tx, notification_rx) = mpsc::channel(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_notification_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetApprovals` is never constructed [INFO] [stdout] --> src/api/mod.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct GetApprovals { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/api/api.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 449 | pub struct ApiManager { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 453 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestApproval` is never constructed [INFO] [stdout] --> src/approval/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct RequestApproval { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/authorized_subjecs/manager.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct AuthorizedSubjectsManager { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Identifier` is never used [INFO] [stdout] --> src/commons/identifier/mod.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) enum Identifier { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schema` is never constructed [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | pub struct Schema { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Member` is never constructed [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct Member { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Validation` is never constructed [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct Validation { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Policy` is never constructed [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | pub struct Policy { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Governance` is never constructed [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 339 | pub struct Governance { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GovernanceEvent` is never used [INFO] [stdout] --> src/commons/schema_handler/gov_models.rs:347:10 [INFO] [stdout] | [INFO] [stdout] 347 | pub enum GovernanceEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `change_settings` and `check_if_signature_present` are never used [INFO] [stdout] --> src/commons/self_signature_manager.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait SelfSignatureInterface { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] 12 | fn change_settings(&mut self, settings: &Settings); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn check_if_signature_present(&self, signers: &HashSet) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VotationType` is never used [INFO] [stdout] --> src/commons/settings/mod.rs:282:10 [INFO] [stdout] | [INFO] [stdout] 282 | pub enum VotationType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `validation_db` and `contract_db` are never read [INFO] [stdout] --> src/database/db.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DB { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | validation_db: ValidationDb, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 46 | /// The contract database. [INFO] [stdout] 47 | contract_db: ContractDb, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/database/db.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl DB { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn del_subject(&self, subject_id: &DigestIdentifier) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn get_all_request(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn get_taple_all_request(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn del_taple_request(&self, request_id: &DigestIdentifier) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn get_validation_register( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn set_validation_register( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn get_contract( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn put_contract( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn get_all_keys(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | pub fn get_approvals( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | pub fn del_approval(&self, request_id: &DigestIdentifier) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn get_approvals_by_subject( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 457 | pub fn del_subject_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 466 | pub fn set_subject_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn get_approvals_by_governance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 482 | pub fn del_governance_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 491 | pub fn set_governance_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index_collection`, `index_by_governance_collection`, `index_prefix`, and `governance_prefix` are never read [INFO] [stdout] --> src/database/layers/approvals.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ApprovalsDb { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | index_collection: C, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | index_by_governance_collection: C, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | index_prefix: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | prefix: String, [INFO] [stdout] 15 | governance_prefix: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/database/layers/approvals.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ApprovalsDb { [INFO] [stdout] | ------------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn set_subject_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn del_subject_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn set_governance_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn del_governance_approval_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_approvals_by_governance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn get_approvals_by_subject( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn get_approvals( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn del_approval(&self, request_id: &DigestIdentifier) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `collection` and `prefix` are never read [INFO] [stdout] --> src/database/layers/contract.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct ContractDb { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | collection: C, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | prefix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_contract` and `put_contract` are never used [INFO] [stdout] --> src/database/layers/contract.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ContractDb { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_contract( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn put_contract( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_all_request` is never used [INFO] [stdout] --> src/database/layers/event_request.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl EventRequestDb { [INFO] [stdout] | --------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_all_request(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_all_keys` is never used [INFO] [stdout] --> src/database/layers/keys.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl KeysDb { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn get_all_keys(&self) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_request` and `del_request` are never used [INFO] [stdout] --> src/database/layers/request.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl RequestDb { [INFO] [stdout] | ---------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_all_request(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn del_request(&self, request_id: &DigestIdentifier) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `del_subject` is never used [INFO] [stdout] --> src/database/layers/subject.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SubjectDb { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn del_subject(&self, subject_id: &DigestIdentifier) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `collection` and `prefix` are never read [INFO] [stdout] --> src/database/layers/validation.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ValidationDb { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | collection: C, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | prefix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_validation_register` and `set_validation_register` are never used [INFO] [stdout] --> src/database/layers/validation.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ValidationDb { [INFO] [stdout] | ------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get_validation_register( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_validation_register( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LedgerMessages` is never used [INFO] [stdout] --> src/distribution/mod.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum LedgerMessages { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LceRequested` is never constructed [INFO] [stdout] --> src/distribution/mod.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct LceRequested { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventRequested` is never constructed [INFO] [stdout] --> src/distribution/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct EventRequested { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/distribution/error.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum DistributionErrorResponses { [INFO] [stdout] | -------------------------- variants in this enum [INFO] [stdout] 30 | #[error("The node is not a witness of subject")] [INFO] [stdout] 31 | NoValidWitness, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | #[error("Channel not available")] [INFO] [stdout] 33 | ChannelNotAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | #[error("The event is not signed with the cryptographic material of the subject")] [INFO] [stdout] 35 | InvalidSubjectSignature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | #[error("The previous hash of the event does not link with previous registered event")] [INFO] [stdout] 37 | InvalidEventLink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | #[error("Invalid signatures at the event")] [INFO] [stdout] 39 | InvalidEventSignatures, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | #[error("Invalid invokator of event")] [INFO] [stdout] 41 | InvalidInvokator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | #[error("Invalid request type")] [INFO] [stdout] 43 | InvalidRequestType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | #[error("Governance {0} not found")] [INFO] [stdout] 45 | GovernanceNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | #[error("Invalid Key identifier detected: {0}")] [INFO] [stdout] 47 | InvalidKeyIdentifier(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | #[error("The event has not reached approval quorum")] [INFO] [stdout] 49 | ApprovalQuorumNotReached, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | #[error("Approval quorum mismatch")] [INFO] [stdout] 51 | ApprovalQuorumMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | #[error("Invalid validation signatures")] [INFO] [stdout] 53 | InvalidValidationSignatures, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | #[error("Schema {0} not found")] [INFO] [stdout] 55 | SchemaNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | SubjectNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | NoValidatorSignatures, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | #[error("Invalid Validators signatures hash")] [INFO] [stdout] 65 | InvalidValidatorSignatureHash, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | #[error("Event not needed")] [INFO] [stdout] 67 | EventNotNeeded, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 68 | #[error("Event without validator signatures")] [INFO] [stdout] 69 | InvalidEvent, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 70 | #[error("Signatures not needed")] [INFO] [stdout] 71 | SignatureNotNeeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | #[error("Invalid evaluator signatures")] [INFO] [stdout] 73 | InvalidEvaluatorSignatures, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | InvalidDigestIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistributionErrorResponses` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/distribution/manager.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DistributionManager { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EvaluatorResponse` is never used [INFO] [stdout] --> src/evaluator/mod.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum EvaluatorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AskForEvaluationResponse` is never constructed [INFO] [stdout] --> src/evaluator/mod.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct AskForEvaluationResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GovernanceStateError` is never used [INFO] [stdout] --> src/evaluator/errors.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | pub enum GovernanceStateError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GovernanceMember` is never constructed [INFO] [stdout] --> src/governance/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct GovernanceMember { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SingleGovernance` is never constructed [INFO] [stdout] --> src/governance/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SingleGovernance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GetSchema` and `GetContracts` are never constructed [INFO] [stdout] --> src/governance/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum GovernanceMessage { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 44 | GetSchema { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | GetContracts { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GovernanceMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/governance/mod.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | GetSchema(Result), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GovernanceResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 82 - GetSchema(Result), [INFO] [stdout] 82 + GetSchema(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/governance/mod.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | GetContracts(Result, RequestError>), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GovernanceResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 - GetContracts(Result, RequestError>), [INFO] [stdout] 86 + GetContracts(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NoResponse` is never constructed [INFO] [stdout] --> src/governance/mod.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum GovernanceResponse { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 89 | NoResponse, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GovernanceResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/governance/governance.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Governance, C: DatabaseCollection> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_schema` and `get_contracts` are never used [INFO] [stdout] --> src/governance/governance.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 200 | pub trait GovernanceInterface: Sync + Send { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 207 | async fn get_schema( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | async fn get_contracts( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ledger/mod.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | GetEvent(Result, errors::LedgerError>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LedgerResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 - GetEvent(Result, errors::LedgerError>), [INFO] [stdout] 57 + GetEvent(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ledger/mod.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | GetNextGov(Result<(Signed, HashSet), errors::LedgerError>), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LedgerResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 58 - GetNextGov(Result<(Signed, HashSet), errors::LedgerError>), [INFO] [stdout] 58 + GetNextGov(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ledger/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | GetLCE(Result<(Signed, HashSet), errors::LedgerError>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LedgerResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 - GetLCE(Result<(Signed, HashSet), errors::LedgerError>), [INFO] [stdout] 59 + GetLCE(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ErrorApplyingPatch`, `InvalidLCEAfterGenesis`, and `StateEventWithZeroSNDetected` are never constructed [INFO] [stdout] --> src/ledger/errors.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum LedgerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | ErrorApplyingPatch(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | InvalidLCEAfterGenesis(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | StateEventWithZeroSNDetected, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LedgerError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/ledger/manager.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct LedgerManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/message/message_receiver.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MessageReceiver [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/message/message_task_manager/manager.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct MessageTaskManager [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/network/network.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct NetworkProcessor { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 159 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PatchErrors` is never used [INFO] [stdout] --> src/utils/patch.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum PatchErrors { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_patch` is never used [INFO] [stdout] --> src/utils/patch.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn apply_patch Deserialize<'a> + Serialize>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/event/manager.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct EventManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProtocolErrors` is never used [INFO] [stdout] --> src/protocol/errors.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ProtocolErrors { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventCreationError` is never used [INFO] [stdout] --> src/protocol/errors.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum EventCreationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResponseError` is never used [INFO] [stdout] --> src/protocol/errors.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum ResponseError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notification_tx` is never read [INFO] [stdout] --> src/protocol/protocol_message_manager/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ProtocolManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | notification_tx: tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database/memory.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | fn iter(&self, prefix: String) -> MemoryIterator { [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] 30 | fn iter(&self, prefix: String) -> MemoryIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database/memory.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | fn rev_iter(&self, prefix: String) -> RevMemoryIterator { [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] 34 | fn rev_iter(&self, prefix: String) -> RevMemoryIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "10e76d3c695991b84987c1d7bef62127d653f3c163e0598f76c8653b96d7e4d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10e76d3c695991b84987c1d7bef62127d653f3c163e0598f76c8653b96d7e4d7", kill_on_drop: false }` [INFO] [stdout] 10e76d3c695991b84987c1d7bef62127d653f3c163e0598f76c8653b96d7e4d7