[INFO] cloning repository https://github.com/mosesprime/hearsay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mosesprime/hearsay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmosesprime%2Fhearsay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmosesprime%2Fhearsay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cbb2c6db930508325020399b29b477f0c983c846 [INFO] checking mosesprime/hearsay against try#de39175d9e0f63ff8967b81f9639ba28d11ae6ef for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmosesprime%2Fhearsay" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mosesprime/hearsay on toolchain de39175d9e0f63ff8967b81f9639ba28d11ae6ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mosesprime/hearsay [INFO] finished tweaking git repo https://github.com/mosesprime/hearsay [INFO] tweaked toml for git repo https://github.com/mosesprime/hearsay written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mosesprime/hearsay already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking mosesprime/hearsay against try#de39175d9e0f63ff8967b81f9639ba28d11ae6ef for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmosesprime%2Fhearsay" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mosesprime/hearsay on toolchain de39175d9e0f63ff8967b81f9639ba28d11ae6ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mosesprime/hearsay [INFO] finished tweaking git repo https://github.com/mosesprime/hearsay [INFO] tweaked toml for git repo https://github.com/mosesprime/hearsay written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mosesprime/hearsay already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded multihash v0.19.2 [INFO] [stderr] Downloaded allocator-api2 v0.2.19 [INFO] [stderr] Downloaded libp2p-upnp v0.3.0 [INFO] [stderr] Downloaded libp2p-allow-block-list v0.4.0 [INFO] [stderr] Downloaded libp2p-connection-limits v0.4.0 [INFO] [stderr] Downloaded libp2p v0.54.1 [INFO] [stderr] Downloaded libp2p-dns v0.42.0 [INFO] [stderr] Downloaded libp2p-tls v0.5.0 [INFO] [stderr] Downloaded libp2p-core v0.42.0 [INFO] [stderr] Downloaded strobe-rs v0.10.0 [INFO] [stderr] Downloaded libp2p-mdns v0.46.0 [INFO] [stderr] Downloaded libp2p-metrics v0.15.0 [INFO] [stderr] Downloaded libp2p-swarm v0.45.1 [INFO] [stderr] Downloaded libp2p-gossipsub v0.47.0 [INFO] [stderr] Downloaded libp2p-kad v0.46.2 [INFO] [stderr] Downloaded libp2p-noise v0.45.0 [INFO] [stderr] Downloaded libp2p-quic v0.11.1 [INFO] [stderr] Downloaded libp2p-tcp v0.42.0 [INFO] [stderr] Downloaded libp2p-yamux v0.46.0 [INFO] [stderr] Downloaded libp2p-swarm-derive v0.35.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 944d8695bc333c377de9e40707648040dd7c7eb873af7ef9f5147417a0344323 [INFO] running `Command { std: "docker" "start" "-a" "944d8695bc333c377de9e40707648040dd7c7eb873af7ef9f5147417a0344323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "944d8695bc333c377de9e40707648040dd7c7eb873af7ef9f5147417a0344323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "944d8695bc333c377de9e40707648040dd7c7eb873af7ef9f5147417a0344323", kill_on_drop: false }` [INFO] [stdout] 944d8695bc333c377de9e40707648040dd7c7eb873af7ef9f5147417a0344323 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2952d7762ccb0c879e76bf3b6182d0691c059429cc90cfce68fa0b7aa4cb1996 [INFO] running `Command { std: "docker" "start" "-a" "2952d7762ccb0c879e76bf3b6182d0691c059429cc90cfce68fa0b7aa4cb1996", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking multihash v0.19.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking data-encoding-macro v0.1.15 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling rustls v0.23.15 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking allocator-api2 v0.2.19 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rustix v0.38.38 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Checking netlink-packet-core v0.4.2 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking asn1-rs v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling prost-derive v0.13.4 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking netlink-packet-route v0.12.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking libp2p-identity v0.2.9 [INFO] [stderr] Compiling libp2p-swarm-derive v0.35.0 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking asynchronous-codec v0.7.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling prost v0.13.4 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking quinn-proto v0.11.8 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking netlink-sys v0.8.6 [INFO] [stderr] Checking netlink-proto v0.10.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking rtnetlink v0.10.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking rcgen v0.11.3 [INFO] [stderr] Checking url v2.5.3 [INFO] [stderr] Checking if-watch v3.2.0 [INFO] [stderr] Checking futures-rustls v0.26.0 [INFO] [stderr] Compiling prost-types v0.13.4 [INFO] [stderr] Checking quinn-udp v0.5.5 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking multiaddr v0.18.2 [INFO] [stderr] Checking hickory-proto v0.24.1 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking yamux v0.13.3 [INFO] [stderr] Compiling multihash-derive-impl v0.1.2 [INFO] [stderr] Checking yamux v0.12.1 [INFO] [stderr] Checking libp2p-core v0.42.0 [INFO] [stderr] Checking quick-protobuf-codec v0.3.1 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking futures-bounded v0.2.4 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking multihash-derive v0.9.1 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Checking multihash-codetable v0.1.4 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Compiling prost-build v0.13.4 [INFO] [stderr] Checking libp2p-swarm v0.45.1 [INFO] [stderr] Checking libp2p-tls v0.5.0 [INFO] [stderr] Checking libp2p-noise v0.45.0 [INFO] [stderr] Checking quinn v0.11.5 [INFO] [stderr] Checking libp2p-yamux v0.46.0 [INFO] [stderr] Checking libp2p-tcp v0.42.0 [INFO] [stderr] Checking cid v0.11.1 [INFO] [stderr] Compiling hearsay-ipfs v0.1.0 (/opt/rustwide/workdir/hearsay-ipfs) [INFO] [stderr] Checking libp2p-quic v0.11.1 [INFO] [stderr] Checking libp2p-kad v0.46.2 [INFO] [stderr] Checking libp2p-allow-block-list v0.4.0 [INFO] [stderr] Checking libp2p-connection-limits v0.4.0 [INFO] [stderr] Checking hickory-resolver v0.24.1 [INFO] [stderr] Checking libp2p-dns v0.42.0 [INFO] [stderr] Checking libp2p v0.54.1 [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_cbor/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ResolverConfig` and `ResolverOpts` [INFO] [stdout] --> hearsay-ipfs/src/ipns/mod.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use libp2p::dns::{ResolverConfig, ResolverOpts}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxStream` and `self` [INFO] [stdout] --> hearsay-ipfs/src/repo/keystore/mem.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use libp2p::futures::stream::{self, BoxStream}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> hearsay-ipfs/src/repo/keystore/mem.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{io::{self, Read, Write}, path::{Path, PathBuf}}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use libp2p::futures::{stream::BoxStream, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `repo::Repository` [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{path::IpfsPath, repo::Repository, Ipfs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unix::pb::*` [INFO] [stdout] --> hearsay-ipfs/src/unixfs/pb/mod.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) use unix::pb::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `p2p::IpfsBehaviour` [INFO] [stdout] --> hearsay-ipfs/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use p2p::IpfsBehaviour; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NetworkBehaviour` and `Swarm` [INFO] [stdout] --> hearsay-ipfs/src/lib.rs:21:108 [INFO] [stdout] | [INFO] [stdout] 21 | ...ity::Keypair, swarm::{dial_opts::DialOpts, NetworkBehaviour}, PeerId, StreamProtocol, Swarm}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `ipld` [INFO] [stdout] --> hearsay-ipfs/src/ipld/mod.rs:307:14 [INFO] [stdout] | [INFO] [stdout] 307 | macro_rules! ipld { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ResolverConfig` and `ResolverOpts` [INFO] [stdout] --> hearsay-ipfs/src/ipns/mod.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use libp2p::dns::{ResolverConfig, ResolverOpts}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxStream` and `self` [INFO] [stdout] --> hearsay-ipfs/src/repo/keystore/mem.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use libp2p::futures::stream::{self, BoxStream}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{io::{self, Read, Write}, path::{Path, PathBuf}}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use libp2p::futures::{stream::BoxStream, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `repo::Repository` [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{path::IpfsPath, repo::Repository, Ipfs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unix::pb::*` [INFO] [stdout] --> hearsay-ipfs/src/unixfs/pb/mod.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) use unix::pb::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `p2p::IpfsBehaviour` [INFO] [stdout] --> hearsay-ipfs/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use p2p::IpfsBehaviour; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StreamProtocol`, `Swarm`, and `identity::Keypair` [INFO] [stdout] --> hearsay-ipfs/src/lib.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | ...neshot}, SinkExt}, identity::Keypair, swarm::{dial_opts::DialOpts, NetworkBehaviour}, PeerId, StreamProtocol, Swarm}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> hearsay-ipfs/src/config.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | let repo: Repository = todo!(); // TODO: init repo [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 40 | [INFO] [stdout] 41 | let swarm = create_swarm(self).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> hearsay-ipfs/src/config.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let repo: Repository = todo!(); // TODO: init repo [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> hearsay-ipfs/src/ipns/mod.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn resolve_ipns(&self, path: &IpfsPath, recursive: bool) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recursive` [INFO] [stdout] --> hearsay-ipfs/src/ipns/mod.rs:7:55 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn resolve_ipns(&self, path: &IpfsPath, recursive: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recursive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domain` [INFO] [stdout] --> hearsay-ipfs/src/ipns/mod.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn resolve_dnslink(domain: &str, mut path: impl Iterator) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_domain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> hearsay-ipfs/src/ipns/mod.rs:11:52 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn resolve_dnslink(domain: &str, mut path: impl Iterator) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hearsay-ipfs/src/ipns/mod.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn resolve_dnslink(domain: &str, mut path: impl Iterator) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> hearsay-ipfs/src/ipns/mod.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn publish_ipns(&self, path: &IpfsPath) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> hearsay-ipfs/src/p2p/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let peer_id = keypair.public().to_peer_id(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> hearsay-ipfs/src/config.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | let repo: Repository = todo!(); // TODO: init repo [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 40 | [INFO] [stdout] 41 | let swarm = create_swarm(self).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> hearsay-ipfs/src/config.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let repo: Repository = todo!(); // TODO: init repo [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cid` [INFO] [stdout] --> hearsay-ipfs/src/repo/mod.rs:77:38 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn remove_block(&self, cid: &Cid) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> hearsay-ipfs/src/ipns/mod.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn resolve_ipns(&self, path: &IpfsPath, recursive: bool) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recursive` [INFO] [stdout] --> hearsay-ipfs/src/ipns/mod.rs:7:55 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn resolve_ipns(&self, path: &IpfsPath, recursive: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recursive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domain` [INFO] [stdout] --> hearsay-ipfs/src/ipns/mod.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn resolve_dnslink(domain: &str, mut path: impl Iterator) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_domain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> hearsay-ipfs/src/ipns/mod.rs:11:52 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn resolve_dnslink(domain: &str, mut path: impl Iterator) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hearsay-ipfs/src/ipns/mod.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn resolve_dnslink(domain: &str, mut path: impl Iterator) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> hearsay-ipfs/src/ipns/mod.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn publish_ipns(&self, path: &IpfsPath) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> hearsay-ipfs/src/p2p/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let peer_id = keypair.public().to_peer_id(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cid` [INFO] [stdout] --> hearsay-ipfs/src/repo/mod.rs:77:38 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn remove_block(&self, cid: &Cid) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NetworkBehaviour` [INFO] [stdout] --> hearsay-ipfs/src/lib.rs:21:108 [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p::{futures::{channel::{mpsc, oneshot}, SinkExt}, identity::Keypair, swarm::{dial_opts::DialOpts, NetworkBehaviour}, PeerId, Str... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_json/mod.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | fn encode(&self, c: &DagJson, w: &mut W) -> Result<(), CodecError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_json/mod.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | fn encode(&self, c: &DagJson, w: &mut W) -> Result<(), CodecError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_json/mod.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | fn decode(c: &DagJson, r: &mut R) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_json/mod.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | fn decode(c: &DagJson, r: &mut R) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_pb/mod.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | fn encode(&self, c: &DagPb, w: &mut W) -> Result<(), CodecError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_pb/mod.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | fn encode(&self, c: &DagPb, w: &mut W) -> Result<(), CodecError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_pb/mod.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | fn decode(c: &DagPb, r: &mut R) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_pb/mod.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | fn decode(c: &DagPb, r: &mut R) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_json/mod.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | fn encode(&self, c: &DagJson, w: &mut W) -> Result<(), CodecError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> hearsay-ipfs/src/p2p/behaviour.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | for addr in bootstrap { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_json/mod.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | fn encode(&self, c: &DagJson, w: &mut W) -> Result<(), CodecError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_json/mod.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | fn decode(c: &DagJson, r: &mut R) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_json/mod.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | fn decode(c: &DagJson, r: &mut R) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_pb/mod.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | fn encode(&self, c: &DagPb, w: &mut W) -> Result<(), CodecError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_pb/mod.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | fn encode(&self, c: &DagPb, w: &mut W) -> Result<(), CodecError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_pb/mod.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | fn decode(c: &DagPb, r: &mut R) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_pb/mod.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | fn decode(c: &DagPb, r: &mut R) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cid` [INFO] [stdout] --> hearsay-ipfs/src/repo/pinstore/mem.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | async fn is_pinned(&self, cid: &Cid) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> hearsay-ipfs/src/p2p/behaviour.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | for addr in bootstrap { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cid` [INFO] [stdout] --> hearsay-ipfs/src/repo/pinstore/mem.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | async fn unpin(&self, cid: &Cid) -> Result<(), RepoError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dial_opts` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | Connect(dial_opts, tx) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dial_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | Connect(dial_opts, tx) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | IsConnected(peer_id, tx) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | IsConnected(peer_id, tx) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | ConnectionEstablished { peer_id, connection_id, endpoint, num_established, concurrent_dial_errors, established_in } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `peer_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:68:46 [INFO] [stdout] | [INFO] [stdout] 68 | ConnectionEstablished { peer_id, connection_id, endpoint, num_established, concurrent_dial_errors, established_in } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:68:61 [INFO] [stdout] | [INFO] [stdout] 68 | ConnectionEstablished { peer_id, connection_id, endpoint, num_established, concurrent_dial_errors, established_in } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `endpoint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_established` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:68:71 [INFO] [stdout] | [INFO] [stdout] 68 | ConnectionEstablished { peer_id, connection_id, endpoint, num_established, concurrent_dial_errors, established_in } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `num_established: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `concurrent_dial_errors` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:68:88 [INFO] [stdout] | [INFO] [stdout] 68 | ConnectionEstablished { peer_id, connection_id, endpoint, num_established, concurrent_dial_errors, established_in } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `concurrent_dial_errors: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `established_in` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:68:112 [INFO] [stdout] | [INFO] [stdout] 68 | ConnectionEstablished { peer_id, connection_id, endpoint, num_established, concurrent_dial_errors, established_in } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `established_in: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | ConnectionClosed { peer_id, connection_id, endpoint, num_established, cause } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `peer_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:69:41 [INFO] [stdout] | [INFO] [stdout] 69 | ConnectionClosed { peer_id, connection_id, endpoint, num_established, cause } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:69:56 [INFO] [stdout] | [INFO] [stdout] 69 | ConnectionClosed { peer_id, connection_id, endpoint, num_established, cause } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `endpoint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_established` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:69:66 [INFO] [stdout] | [INFO] [stdout] 69 | ConnectionClosed { peer_id, connection_id, endpoint, num_established, cause } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `num_established: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:69:83 [INFO] [stdout] | [INFO] [stdout] 69 | ConnectionClosed { peer_id, connection_id, endpoint, num_established, cause } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `cause: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | IncomingConnection { connection_id, local_addr, send_back_addr } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_addr` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:70:49 [INFO] [stdout] | [INFO] [stdout] 70 | IncomingConnection { connection_id, local_addr, send_back_addr } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `local_addr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_back_addr` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:70:61 [INFO] [stdout] | [INFO] [stdout] 70 | IncomingConnection { connection_id, local_addr, send_back_addr } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `send_back_addr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | IncomingConnectionError { connection_id, local_addr, send_back_addr, error } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_addr` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:71:54 [INFO] [stdout] | [INFO] [stdout] 71 | IncomingConnectionError { connection_id, local_addr, send_back_addr, error } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `local_addr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_back_addr` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:71:66 [INFO] [stdout] | [INFO] [stdout] 71 | IncomingConnectionError { connection_id, local_addr, send_back_addr, error } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `send_back_addr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:71:82 [INFO] [stdout] | [INFO] [stdout] 71 | IncomingConnectionError { connection_id, local_addr, send_back_addr, error } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `error: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | OutgoingConnectionError { connection_id, peer_id, error } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:72:54 [INFO] [stdout] | [INFO] [stdout] 72 | OutgoingConnectionError { connection_id, peer_id, error } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `peer_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:72:63 [INFO] [stdout] | [INFO] [stdout] 72 | OutgoingConnectionError { connection_id, peer_id, error } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `error: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listener_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | ExpiredListenAddr { listener_id, address } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `listener_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | ExpiredListenAddr { listener_id, address } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `address: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listener_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | ListenerClosed { listener_id, addresses, reason } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `listener_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addresses` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | ListenerClosed { listener_id, addresses, reason } => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `addresses: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:78:54 [INFO] [stdout] | [INFO] [stdout] 78 | ListenerClosed { listener_id, addresses, reason } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `reason: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listener_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | ListenerError { listener_id, error } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `listener_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:79:42 [INFO] [stdout] | [INFO] [stdout] 79 | ListenerError { listener_id, error } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `error: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | Dialing { peer_id, connection_id } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `peer_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | Dialing { peer_id, connection_id } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 81 | NewExternalAddrCandidate { address } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `address: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | ExternalAddrConfirmed { address } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `address: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | ExternalAddrExpired { address } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `address: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | NewExternalAddrOfPeer { peer_id, address } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `peer_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | NewExternalAddrOfPeer { peer_id, address } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `address: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:89:43 [INFO] [stdout] | [INFO] [stdout] 89 | OutboundQueryProgressed { id, result, stats, step } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:89:47 [INFO] [stdout] | [INFO] [stdout] 89 | OutboundQueryProgressed { id, result, stats, step } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `result: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:89:55 [INFO] [stdout] | [INFO] [stdout] 89 | OutboundQueryProgressed { id, result, stats, step } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `stats: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:89:62 [INFO] [stdout] | [INFO] [stdout] 89 | OutboundQueryProgressed { id, result, stats, step } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `step: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cid` [INFO] [stdout] --> hearsay-ipfs/src/repo/pinstore/mem.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | async fn is_pinned(&self, cid: &Cid) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cid` [INFO] [stdout] --> hearsay-ipfs/src/repo/pinstore/mem.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | async fn unpin(&self, cid: &Cid) -> Result<(), RepoError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dial_opts` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | Connect(dial_opts, tx) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dial_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | Connect(dial_opts, tx) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | IsConnected(peer_id, tx) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | IsConnected(peer_id, tx) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn add(&self, stream: R) -> BoxStream { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get(&self, src: IpfsPath, dest: W) -> BoxStream { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | ConnectionEstablished { peer_id, connection_id, endpoint, num_established, concurrent_dial_errors, established_in } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `peer_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:68:46 [INFO] [stdout] | [INFO] [stdout] 68 | ConnectionEstablished { peer_id, connection_id, endpoint, num_established, concurrent_dial_errors, established_in } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:68:61 [INFO] [stdout] | [INFO] [stdout] 68 | ConnectionEstablished { peer_id, connection_id, endpoint, num_established, concurrent_dial_errors, established_in } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `endpoint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_established` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:68:71 [INFO] [stdout] | [INFO] [stdout] 68 | ConnectionEstablished { peer_id, connection_id, endpoint, num_established, concurrent_dial_errors, established_in } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `num_established: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `concurrent_dial_errors` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:68:88 [INFO] [stdout] | [INFO] [stdout] 68 | ConnectionEstablished { peer_id, connection_id, endpoint, num_established, concurrent_dial_errors, established_in } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `concurrent_dial_errors: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `established_in` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:68:112 [INFO] [stdout] | [INFO] [stdout] 68 | ConnectionEstablished { peer_id, connection_id, endpoint, num_established, concurrent_dial_errors, established_in } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `established_in: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | ConnectionClosed { peer_id, connection_id, endpoint, num_established, cause } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `peer_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:69:41 [INFO] [stdout] | [INFO] [stdout] 69 | ConnectionClosed { peer_id, connection_id, endpoint, num_established, cause } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:69:56 [INFO] [stdout] | [INFO] [stdout] 69 | ConnectionClosed { peer_id, connection_id, endpoint, num_established, cause } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `endpoint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_established` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:69:66 [INFO] [stdout] | [INFO] [stdout] 69 | ConnectionClosed { peer_id, connection_id, endpoint, num_established, cause } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `num_established: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:69:83 [INFO] [stdout] | [INFO] [stdout] 69 | ConnectionClosed { peer_id, connection_id, endpoint, num_established, cause } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `cause: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | IncomingConnection { connection_id, local_addr, send_back_addr } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:29:48 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get(&self, src: IpfsPath, dest: W) -> BoxStream { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `repo` and `cancel_token` are never read [INFO] [stdout] --> hearsay-ipfs/src/lib.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Ipfs { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 26 | pub(crate) repo: Repository, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | pub(crate) cancel_token: CancellationToken, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ipfs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IpfsConfig` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/config.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct IpfsConfig [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `start` are never used [INFO] [stdout] --> hearsay-ipfs/src/config.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 22 | / impl IpfsConfig [INFO] [stdout] 23 | | where [INFO] [stdout] 24 | | C: NetworkBehaviour + Send, [INFO] [stdout] 25 | | ::ToSwarm: Debug + Send, [INFO] [stdout] | |___________________________________________________- associated items in this implementation [INFO] [stdout] 26 | { [INFO] [stdout] 27 | pub fn new(keypair: Keypair) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub async fn start(self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `encode` and `encode_to_vec` are never used [INFO] [stdout] --> hearsay-ipfs/src/ipld/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Codec: Sized { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 29 | fn encode, W: Write>(&self, data: &T, w: &mut W) -> Result<(), CodecError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn encode_to_vec>(&self, data: &T) -> Result, CodecError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IpldError` is never used [INFO] [stdout] --> hearsay-ipfs/src/ipld/mod.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum IpldError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpldError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> hearsay-ipfs/src/ipld/mod.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl Ipld { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 147 | pub fn kind(&self) -> IpldKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IpldKind` is never used [INFO] [stdout] --> hearsay-ipfs/src/ipld/mod.rs:295:10 [INFO] [stdout] | [INFO] [stdout] 295 | pub enum IpldKind { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpldKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `BREAK` is never used [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_cbor/mod.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 115 | impl Header { [INFO] [stdout] | ----------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub(crate) const BREAK: Header = Header::new(MajorType::Other, 31); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_swarm` is never used [INFO] [stdout] --> hearsay-ipfs/src/p2p/mod.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) async fn create_swarm( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IpfsBehaviour` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/p2p/behaviour.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct IpfsBehaviour [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hearsay-ipfs/src/p2p/behaviour.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 16 | / impl IpfsBehaviour [INFO] [stdout] 17 | | where [INFO] [stdout] 18 | | C: NetworkBehaviour, [INFO] [stdout] 19 | | ::ToSwarm: Debug + Send, [INFO] [stdout] | |___________________________________________________- associated function in this implementation [INFO] [stdout] 20 | { [INFO] [stdout] 21 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> hearsay-ipfs/src/repo/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) struct Repository { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 30 | inner: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_addr` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:70:49 [INFO] [stdout] | [INFO] [stdout] 70 | IncomingConnection { connection_id, local_addr, send_back_addr } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `local_addr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_back_addr` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:70:61 [INFO] [stdout] | [INFO] [stdout] 70 | IncomingConnection { connection_id, local_addr, send_back_addr } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `send_back_addr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | IncomingConnectionError { connection_id, local_addr, send_back_addr, error } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_addr` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:71:54 [INFO] [stdout] | [INFO] [stdout] 71 | IncomingConnectionError { connection_id, local_addr, send_back_addr, error } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `local_addr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_back_addr` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:71:66 [INFO] [stdout] | [INFO] [stdout] 71 | IncomingConnectionError { connection_id, local_addr, send_back_addr, error } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `send_back_addr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:71:82 [INFO] [stdout] | [INFO] [stdout] 71 | IncomingConnectionError { connection_id, local_addr, send_back_addr, error } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `error: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | OutgoingConnectionError { connection_id, peer_id, error } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:72:54 [INFO] [stdout] | [INFO] [stdout] 72 | OutgoingConnectionError { connection_id, peer_id, error } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `peer_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:72:63 [INFO] [stdout] | [INFO] [stdout] 72 | OutgoingConnectionError { connection_id, peer_id, error } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `error: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_store`, `pin_store`, and `key_store` are never read [INFO] [stdout] --> hearsay-ipfs/src/repo/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct RepoInner { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 34 | /// Raw key-value store for blocks. [INFO] [stdout] 35 | block_store: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 36 | /// Tracks pinning of blocks. [INFO] [stdout] 37 | pin_store: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 38 | /// Key management store [INFO] [stdout] 39 | key_store: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> hearsay-ipfs/src/repo/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Repository { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 43 | pub fn new(block_store: impl BlockStore + 'static, pin_store: impl PinStore + 'static, key_store: impl KeyStore + 'static) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn shutdown(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub async fn contains(&self, cid: &Cid) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn get_block(&self, cid: &Cid) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn put_block(&self, block: Block, pin_mode: PinMode) -> Result<(), RepoError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn remove_block(&self, cid: &Cid) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn list_blocks(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> hearsay-ipfs/src/repo/blockstore/mod.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait BlockStore: Send + Sync { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 12 | [INFO] [stdout] 13 | async fn contains(&self, cid: &Cid) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | async fn get(&self, cid: &Cid) -> Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | async fn get_many(&self, cids: &[&Cid]) -> Result, RepoError>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | [INFO] [stdout] 19 | async fn put(&self, block: Block) -> Result<(), RepoError>; [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | async fn remove(&self, cid: &Cid) -> Result<(), RepoError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | [INFO] [stdout] 23 | async fn remove_many(&self, cids: &[&Cid]) -> Result<(), RepoError>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | async fn list(&self) -> Result, RepoError>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hearsay-ipfs/src/repo/blockstore/mem.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MemBlockStore { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listener_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | ExpiredListenAddr { listener_id, address } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `listener_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | ExpiredListenAddr { listener_id, address } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `address: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listener_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | ListenerClosed { listener_id, addresses, reason } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `listener_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addresses` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | ListenerClosed { listener_id, addresses, reason } => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `addresses: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:78:54 [INFO] [stdout] | [INFO] [stdout] 78 | ListenerClosed { listener_id, addresses, reason } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `reason: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listener_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | ListenerError { listener_id, error } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `listener_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:79:42 [INFO] [stdout] | [INFO] [stdout] 79 | ListenerError { listener_id, error } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `error: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | Dialing { peer_id, connection_id } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `peer_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | Dialing { peer_id, connection_id } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 81 | NewExternalAddrCandidate { address } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `address: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | ExternalAddrConfirmed { address } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `address: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | ExternalAddrExpired { address } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `address: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | NewExternalAddrOfPeer { peer_id, address } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `peer_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | NewExternalAddrOfPeer { peer_id, address } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `address: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:89:43 [INFO] [stdout] | [INFO] [stdout] 89 | OutboundQueryProgressed { id, result, stats, step } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:89:47 [INFO] [stdout] | [INFO] [stdout] 89 | OutboundQueryProgressed { id, result, stats, step } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `result: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:89:55 [INFO] [stdout] | [INFO] [stdout] 89 | OutboundQueryProgressed { id, result, stats, step } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `stats: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> hearsay-ipfs/src/task.rs:89:62 [INFO] [stdout] | [INFO] [stdout] 89 | OutboundQueryProgressed { id, result, stats, step } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `step: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains`, `list`, `get`, `put`, and `remove` are never used [INFO] [stdout] --> hearsay-ipfs/src/repo/keystore/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait KeyStore: Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 9 | [INFO] [stdout] 10 | async fn contains(&self, domain: &str) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | async fn list(&self) -> Result, RepoError>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | async fn get(&self, domain: &str) -> Result, RepoError>; [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | async fn put(&self, domain: &str, key: &[u8]) -> Result<(), RepoError>; [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | async fn remove(&self, domain: &str) -> Result<(), RepoError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hearsay-ipfs/src/repo/keystore/mem.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MemKeyStore { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_pinned`, `pin`, `unpin`, and `list` are never used [INFO] [stdout] --> hearsay-ipfs/src/repo/pinstore/mod.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait PinStore: Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 11 | async fn is_pinned(&self, cid: &Cid) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | async fn pin(&self, cid: &Cid, mode: PinMode) -> Result<(), RepoError>; [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | async fn unpin(&self, cid: &Cid) -> Result<(), RepoError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | async fn list(&self) -> Result, RepoError>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PinInfo` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/repo/pinstore/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PinInfo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Direct`, `Indirect`, and `Recursive` are never constructed [INFO] [stdout] --> hearsay-ipfs/src/repo/pinstore/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum PinMode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 26 | Direct, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | Indirect(Cid), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | Recursive, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemPinStore` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/repo/pinstore/mem.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct MemPinStore { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> hearsay-ipfs/src/task.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Connect(DialOpts, oneshot::Sender<()>), [INFO] [stdout] | ------- ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 11 | Connect((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> hearsay-ipfs/src/task.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | IsConnected(PeerId, oneshot::Sender), [INFO] [stdout] | ----------- ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 13 | IsConnected((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IpfsHandler` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/task.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct IpfsHandler [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, `handle_ipfs_task`, and `handle_swarm_event` are never used [INFO] [stdout] --> hearsay-ipfs/src/task.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 28 | / impl IpfsHandler [INFO] [stdout] 29 | | where [INFO] [stdout] 30 | | C: NetworkBehaviour + Send, [INFO] [stdout] 31 | | ::ToSwarm: Debug + Send, [INFO] [stdout] | |___________________________________________________- associated items in this implementation [INFO] [stdout] 32 | { [INFO] [stdout] 33 | pub(crate) fn new(repo: Repository, swarm: Swarm>, cancel_token: CancellationToken, task_rx: mpsc::Receiver as NetworkBehaviour>::ToSwarm>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnixFs` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct UnixFs { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `get` are never used [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl UnixFs { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(ipfs: Ipfs) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn add(&self, stream: R) -> BoxStream { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn get(&self, src: IpfsPath, dest: W) -> BoxStream { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnixFsStatus` is never used [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum UnixFsStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnixFsStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Exporter` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/unixfs/export.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct Exporter {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_WIDTH` is never used [INFO] [stdout] --> hearsay-ipfs/src/unixfs/import.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const DEFAULT_MAX_WIDTH: usize = 174; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Importer` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/unixfs/import.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct Importer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hearsay-ipfs/src/unixfs/import.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | BySize(usize), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChunkStrat` has a derived impl for the trait `Debug`, but this is 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] 24 | BySize(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Rabin` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/unixfs/import.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum ChunkStrat { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 21 | // TODO: IDK [INFO] [stdout] 22 | Rabin, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkStrat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Trickle` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/unixfs/import.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 34 | enum LayoutStrat { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 37 | Trickle, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LayoutStrat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn add(&self, stream: R) -> BoxStream { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get(&self, src: IpfsPath, dest: W) -> BoxStream { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:29:48 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get(&self, src: IpfsPath, dest: W) -> BoxStream { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `repo` and `cancel_token` are never read [INFO] [stdout] --> hearsay-ipfs/src/lib.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Ipfs { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 26 | pub(crate) repo: Repository, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | pub(crate) cancel_token: CancellationToken, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ipfs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hearsay-ipfs/src/config.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 22 | / impl IpfsConfig [INFO] [stdout] 23 | | where [INFO] [stdout] 24 | | C: NetworkBehaviour + Send, [INFO] [stdout] 25 | | ::ToSwarm: Debug + Send, [INFO] [stdout] | |___________________________________________________- associated function in this implementation [INFO] [stdout] 26 | { [INFO] [stdout] 27 | pub fn new(keypair: Keypair) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `encode` and `encode_to_vec` are never used [INFO] [stdout] --> hearsay-ipfs/src/ipld/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Codec: Sized { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 29 | fn encode, W: Write>(&self, data: &T, w: &mut W) -> Result<(), CodecError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn encode_to_vec>(&self, data: &T) -> Result, CodecError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IpldError` is never used [INFO] [stdout] --> hearsay-ipfs/src/ipld/mod.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum IpldError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpldError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> hearsay-ipfs/src/ipld/mod.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl Ipld { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 147 | pub fn kind(&self) -> IpldKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IpldKind` is never used [INFO] [stdout] --> hearsay-ipfs/src/ipld/mod.rs:295:10 [INFO] [stdout] | [INFO] [stdout] 295 | pub enum IpldKind { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpldKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `BREAK` is never used [INFO] [stdout] --> hearsay-ipfs/src/ipld/dag_cbor/mod.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 115 | impl Header { [INFO] [stdout] | ----------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub(crate) const BREAK: Header = Header::new(MajorType::Other, 31); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> hearsay-ipfs/src/repo/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) struct Repository { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 30 | inner: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_store`, `pin_store`, and `key_store` are never read [INFO] [stdout] --> hearsay-ipfs/src/repo/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct RepoInner { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 34 | /// Raw key-value store for blocks. [INFO] [stdout] 35 | block_store: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 36 | /// Tracks pinning of blocks. [INFO] [stdout] 37 | pin_store: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 38 | /// Key management store [INFO] [stdout] 39 | key_store: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `contains`, `get_block`, `put_block`, `remove_block`, and `list_blocks` are never used [INFO] [stdout] --> hearsay-ipfs/src/repo/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Repository { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 43 | pub fn new(block_store: impl BlockStore + 'static, pin_store: impl PinStore + 'static, key_store: impl KeyStore + 'static) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub async fn contains(&self, cid: &Cid) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn get_block(&self, cid: &Cid) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn put_block(&self, block: Block, pin_mode: PinMode) -> Result<(), RepoError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn remove_block(&self, cid: &Cid) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn list_blocks(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> hearsay-ipfs/src/repo/blockstore/mod.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait BlockStore: Send + Sync { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 12 | [INFO] [stdout] 13 | async fn contains(&self, cid: &Cid) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | async fn get(&self, cid: &Cid) -> Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | async fn get_many(&self, cids: &[&Cid]) -> Result, RepoError>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | [INFO] [stdout] 19 | async fn put(&self, block: Block) -> Result<(), RepoError>; [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | async fn remove(&self, cid: &Cid) -> Result<(), RepoError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | [INFO] [stdout] 23 | async fn remove_many(&self, cids: &[&Cid]) -> Result<(), RepoError>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | async fn list(&self) -> Result, RepoError>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hearsay-ipfs/src/repo/blockstore/mem.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MemBlockStore { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains`, `list`, `get`, `put`, and `remove` are never used [INFO] [stdout] --> hearsay-ipfs/src/repo/keystore/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait KeyStore: Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 9 | [INFO] [stdout] 10 | async fn contains(&self, domain: &str) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | async fn list(&self) -> Result, RepoError>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | async fn get(&self, domain: &str) -> Result, RepoError>; [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | async fn put(&self, domain: &str, key: &[u8]) -> Result<(), RepoError>; [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | async fn remove(&self, domain: &str) -> Result<(), RepoError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hearsay-ipfs/src/repo/keystore/mem.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MemKeyStore { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_pinned`, `pin`, `unpin`, and `list` are never used [INFO] [stdout] --> hearsay-ipfs/src/repo/pinstore/mod.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait PinStore: Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 11 | async fn is_pinned(&self, cid: &Cid) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | async fn pin(&self, cid: &Cid, mode: PinMode) -> Result<(), RepoError>; [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | async fn unpin(&self, cid: &Cid) -> Result<(), RepoError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | async fn list(&self) -> Result, RepoError>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PinInfo` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/repo/pinstore/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PinInfo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Direct`, `Indirect`, and `Recursive` are never constructed [INFO] [stdout] --> hearsay-ipfs/src/repo/pinstore/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum PinMode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 26 | Direct, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | Indirect(Cid), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | Recursive, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemPinStore` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/repo/pinstore/mem.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct MemPinStore { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnixFs` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct UnixFs { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `get` are never used [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl UnixFs { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(ipfs: Ipfs) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn add(&self, stream: R) -> BoxStream { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn get(&self, src: IpfsPath, dest: W) -> BoxStream { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnixFsStatus` is never used [INFO] [stdout] --> hearsay-ipfs/src/unixfs/mod.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum UnixFsStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnixFsStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Exporter` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/unixfs/export.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct Exporter {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_WIDTH` is never used [INFO] [stdout] --> hearsay-ipfs/src/unixfs/import.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const DEFAULT_MAX_WIDTH: usize = 174; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Importer` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/unixfs/import.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct Importer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hearsay-ipfs/src/unixfs/import.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | BySize(usize), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChunkStrat` has a derived impl for the trait `Debug`, but this is 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] 24 | BySize(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Rabin` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/unixfs/import.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum ChunkStrat { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 21 | // TODO: IDK [INFO] [stdout] 22 | Rabin, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkStrat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Trickle` is never constructed [INFO] [stdout] --> hearsay-ipfs/src/unixfs/import.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 34 | enum LayoutStrat { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 37 | Trickle, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LayoutStrat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 06s [INFO] running `Command { std: "docker" "inspect" "2952d7762ccb0c879e76bf3b6182d0691c059429cc90cfce68fa0b7aa4cb1996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2952d7762ccb0c879e76bf3b6182d0691c059429cc90cfce68fa0b7aa4cb1996", kill_on_drop: false }` [INFO] [stdout] 2952d7762ccb0c879e76bf3b6182d0691c059429cc90cfce68fa0b7aa4cb1996