[INFO] cloning repository https://github.com/Marandi269/unidrop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Marandi269/unidrop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarandi269%2Funidrop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarandi269%2Funidrop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] abcbd66c2dc7b84630b5b0060dbc341e60d91e51 [INFO] checking Marandi269/unidrop against master#cf79d034aa3d8f396d407aafce6f1ccd818e710e for pr-155657-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarandi269%2Funidrop" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Marandi269/unidrop [INFO] finished tweaking git repo https://github.com/Marandi269/unidrop [INFO] tweaked toml for git repo https://github.com/Marandi269/unidrop written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Marandi269/unidrop on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Marandi269/unidrop 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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded data-encoding-macro v0.1.18 [INFO] [stderr] Downloaded match-lookup v0.1.1 [INFO] [stderr] Downloaded multihash v0.19.3 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.16 [INFO] [stderr] Downloaded yamux v0.13.8 [INFO] [stderr] Downloaded windows-core v0.53.0 [INFO] [stderr] Downloaded if-watch v3.2.1 [INFO] [stderr] Downloaded fastbloom v0.14.0 [INFO] [stderr] Downloaded hickory-resolver v0.24.4 [INFO] [stderr] Downloaded hickory-proto v0.24.4 [INFO] [stderr] Downloaded get_if_addrs v0.5.3 [INFO] [stderr] Downloaded if-addrs v0.13.4 [INFO] [stderr] Downloaded get_if_addrs-sys v0.1.1 [INFO] [stderr] Downloaded c_linked_list v1.1.1 [INFO] [stderr] Downloaded hostname v0.4.2 [INFO] [stderr] Downloaded mdns-sd v0.11.5 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded oslog v0.2.0 [INFO] [stderr] Downloaded flutter_rust_bridge_macros v2.11.1 [INFO] [stderr] Downloaded android_logger v0.15.1 [INFO] [stderr] Downloaded allo-isolate v0.1.27 [INFO] [stderr] Downloaded dart-sys v4.1.5 [INFO] [stderr] Downloaded flutter_rust_bridge v2.11.1 [INFO] [stderr] Downloaded delegate-attr v0.3.0 [INFO] [stderr] Downloaded windows v0.53.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbff7b3b2ec6412f784bec3c49adb28dafbbe3eea07cd8e5ea558de59bf40853 [INFO] running `Command { std: "docker" "start" "-a" "dbff7b3b2ec6412f784bec3c49adb28dafbbe3eea07cd8e5ea558de59bf40853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbff7b3b2ec6412f784bec3c49adb28dafbbe3eea07cd8e5ea558de59bf40853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbff7b3b2ec6412f784bec3c49adb28dafbbe3eea07cd8e5ea558de59bf40853", kill_on_drop: false }` [INFO] [stdout] dbff7b3b2ec6412f784bec3c49adb28dafbbe3eea07cd8e5ea558de59bf40853 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ffc49268cf55ef20d855db1dda9b748134ff39613fa3b3f8501d6fc5637f98e [INFO] running `Command { std: "docker" "start" "-a" "9ffc49268cf55ef20d855db1dda9b748134ff39613fa3b3f8501d6fc5637f98e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking const-str v0.4.3 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Compiling aws-lc-rs v1.15.2 [INFO] [stderr] Checking multihash v0.19.3 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking openssl-probe v0.2.0 [INFO] [stderr] Compiling quinn-udp v0.5.14 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quinn v0.11.9 [INFO] [stderr] Checking lru-slab v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling syn v2.0.113 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking clap_builder v4.5.54 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking polling v2.8.0 [INFO] [stderr] Checking if-addrs v0.13.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.35.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking mdns-sd v0.11.5 [INFO] [stderr] Checking hostname v0.4.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking fastbloom v0.14.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling dart-sys v4.1.5 [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Compiling build-target v0.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling flutter_rust_bridge v2.11.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling match-lookup v0.1.1 [INFO] [stderr] Checking base256emoji v1.0.2 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking rcgen v0.11.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking rustls-pki-types v1.13.2 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling libp2p-swarm-derive v0.35.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking data-encoding-macro v0.1.18 [INFO] [stderr] Checking multibase v0.9.2 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking webpki-roots v1.0.5 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking rcgen v0.13.2 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking netlink-packet-core v0.7.0 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking asn1-rs v0.6.2 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Compiling delegate-attr v0.3.0 [INFO] [stderr] Checking netlink-packet-route v0.17.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking libp2p-identity v0.2.13 [INFO] [stderr] Compiling flutter_rust_bridge_macros v2.11.1 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking allo-isolate v0.1.27 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking asynchronous-codec v0.7.0 [INFO] [stderr] Checking futures-bounded v0.2.4 [INFO] [stderr] Checking clap v4.5.54 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking quick-protobuf-codec v0.3.1 [INFO] [stderr] Checking cbor4ii v0.3.3 [INFO] [stderr] Checking yamux v0.13.8 [INFO] [stderr] Checking yamux v0.12.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking netlink-sys v0.8.7 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Checking netlink-proto v0.11.5 [INFO] [stderr] Checking unidrop-core v0.1.0 (/opt/rustwide/workdir/crates/unidrop-core) [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stdout] warning: unused imports: `TransferProgress` and `TransferRequest` [INFO] [stdout] --> crates/unidrop-core/src/protocol.rs:13:62 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::{Device, DeviceId, Event, Result, TransferIntent, TransferProgress, TransferRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TransferProgress` and `TransferRequest` [INFO] [stdout] --> crates/unidrop-core/src/protocol.rs:13:62 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::{Device, DeviceId, Event, Result, TransferIntent, TransferProgress, TransferRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking unidrop-engine v0.1.0 (/opt/rustwide/workdir/crates/unidrop-engine) [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking rtnetlink v0.13.1 [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> crates/unidrop-engine/src/engine.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::sync::{broadcast, mpsc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> crates/unidrop-engine/src/registry.rs:8:73 [INFO] [stdout] | [INFO] [stdout] 8 | use unidrop_core::{Protocol, ProtocolFactory, ProtocolId, ProtocolInfo, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> crates/unidrop-engine/src/router.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Device` [INFO] [stdout] --> crates/unidrop-engine/src/router.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use unidrop_core::{Device, DeviceId, Protocol, ProtocolId, Result, TransferIntent}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> crates/unidrop-engine/src/engine.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::sync::{broadcast, mpsc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> crates/unidrop-engine/src/registry.rs:8:73 [INFO] [stdout] | [INFO] [stdout] 8 | use unidrop_core::{Protocol, ProtocolFactory, ProtocolId, ProtocolInfo, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> crates/unidrop-engine/src/registry.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> crates/unidrop-engine/src/router.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Device` [INFO] [stdout] --> crates/unidrop-engine/src/router.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use unidrop_core::{Device, DeviceId, Protocol, ProtocolId, Result, TransferIntent}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking idna v1.1.0 [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> crates/unidrop-engine/src/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking url v2.5.8 [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> crates/unidrop-engine/src/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking if-watch v3.2.1 [INFO] [stderr] Checking multiaddr v0.18.2 [INFO] [stderr] Checking libp2p-core v0.42.0 [INFO] [stderr] Checking libp2p-swarm v0.45.1 [INFO] [stderr] Checking libp2p-yamux v0.46.0 [INFO] [stderr] Checking libp2p-noise v0.45.0 [INFO] [stderr] Checking libp2p-tcp v0.42.0 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Checking libp2p-allow-block-list v0.4.0 [INFO] [stderr] Checking libp2p-identify v0.45.0 [INFO] [stderr] Checking libp2p-connection-limits v0.4.0 [INFO] [stderr] Checking libp2p-relay v0.18.0 [INFO] [stderr] Checking libp2p-request-response v0.27.0 [INFO] [stderr] Checking libp2p-dcutr v0.12.0 [INFO] [stderr] Checking libp2p-ping v0.45.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking futures-rustls v0.26.0 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking quinn-proto v0.11.13 [INFO] [stderr] Checking libp2p-tls v0.5.0 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking libp2p-quic v0.11.1 [INFO] [stderr] Checking libp2p v0.54.1 [INFO] [stderr] Checking unidrop-protocol-p2p v0.1.0 (/opt/rustwide/workdir/crates/unidrop-protocol-p2p) [INFO] [stderr] Checking unidrop-relay v0.1.0 (/opt/rustwide/workdir/crates/unidrop-relay) [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> crates/unidrop-relay/src/main.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> crates/unidrop-relay/src/main.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/protocol.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let address = if let Some(relay) = relay_addr { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/protocol.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let address = if let Some(relay) = relay_addr { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CHUNK_SIZE` is never used [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/behaviour.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | pub const DEFAULT_CHUNK_SIZE: usize = 64 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Dial`, `GetLocalPeerId`, and `SendFileChunk` are never constructed [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/protocol.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | enum SwarmCommand { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 44 | /// 连接到对端 [INFO] [stdout] 45 | Dial { addr: Multiaddr, reply: oneshot::Sender> }, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | GetLocalPeerId { reply: oneshot::Sender }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | /// 发送文件数据块 [INFO] [stdout] 51 | SendFileChunk { peer_id: PeerId, chunk: FileChunk, reply: oneshot::Sender }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_id`, `path`, `size`, `chunks_sent`, and `total_chunks` are never read [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/protocol.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct SendingFile { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 78 | /// 文件 ID [INFO] [stdout] 79 | file_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 80 | /// 文件路径 [INFO] [stdout] 81 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 82 | /// 文件大小 [INFO] [stdout] 83 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | /// 已发送的块数 [INFO] [stdout] 85 | chunks_sent: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | /// 总块数 [INFO] [stdout] 87 | total_chunks: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendingFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_id`, `name`, `size`, `save_dir`, `chunks_received`, and `total_chunks` are never read [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/protocol.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 92 | struct ReceivingFile { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 93 | /// 文件 ID [INFO] [stdout] 94 | file_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 95 | /// 文件名 [INFO] [stdout] 96 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | /// 文件大小 [INFO] [stdout] 98 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | /// 保存目录 [INFO] [stdout] 100 | save_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 101 | /// 已接收的块数 [INFO] [stdout] 102 | chunks_received: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | /// 总块数 [INFO] [stdout] 104 | total_chunks: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReceivingFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_id`, `files`, and `current_file` are never read [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/protocol.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 109 | struct SendSession { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 110 | /// 目标 Peer ID [INFO] [stdout] 111 | peer_id: PeerId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 112 | /// 待发送的文件列表 [INFO] [stdout] 113 | files: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 114 | /// 当前发送的文件索引 [INFO] [stdout] 115 | current_file: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_id`, `files`, and `save_dir` are never read [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/protocol.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 120 | struct ReceiveSession { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 121 | /// 来源 Peer ID [INFO] [stdout] 122 | peer_id: PeerId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 123 | /// 待接收的文件列表 [INFO] [stdout] 124 | files: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 125 | /// 保存目录 [INFO] [stdout] 126 | save_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReceiveSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `relay_addr`, `send_sessions`, and `receive_sessions` are never read [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/protocol.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct P2pProtocol { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 143 | relay_addr: RwLock>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 144 | /// 发送会话 [INFO] [stdout] 145 | send_sessions: RwLock>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 146 | /// 接收会话 [INFO] [stdout] 147 | receive_sessions: RwLock>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `emit_event` and `create_device` are never used [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/protocol.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 150 | impl P2pProtocol { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | fn emit_event(&self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn create_device(&self, peer_id: PeerId, name: String, relay_addr: Option<&str>) -> Device { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Transferring`, `Completed`, and `Failed` are never constructed [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/transfer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum TransferState { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | Transferring { progress: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | /// 完成 [INFO] [stdout] 16 | Completed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | /// 失败 [INFO] [stdout] 18 | Failed { error: String }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_id`, `file_name`, `file_size`, `save_path`, and `bytes_transferred` are never read [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/transfer.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct TransferSession { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 26 | pub id: String, [INFO] [stdout] 27 | pub peer_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | pub file_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | pub state: TransferState, [INFO] [stdout] 31 | pub save_path: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub bytes_transferred: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferSession` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `progress` is never used [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/transfer.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl TransferSession { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn progress(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_session`, `update_progress`, `complete`, `fail`, `remove`, and `all_sessions` are never used [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/transfer.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl TransferManager { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn get_session(&self, id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn update_progress(&self, id: &str, bytes: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn complete(&self, id: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn fail(&self, id: &str, error: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn remove(&self, id: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn all_sessions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CHUNK_SIZE` is never used [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/behaviour.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | pub const DEFAULT_CHUNK_SIZE: usize = 64 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Dial`, `GetLocalPeerId`, and `SendFileChunk` are never constructed [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/protocol.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | enum SwarmCommand { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 44 | /// 连接到对端 [INFO] [stdout] 45 | Dial { addr: Multiaddr, reply: oneshot::Sender> }, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | GetLocalPeerId { reply: oneshot::Sender }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | /// 发送文件数据块 [INFO] [stdout] 51 | SendFileChunk { peer_id: PeerId, chunk: FileChunk, reply: oneshot::Sender }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_id`, `path`, `size`, `chunks_sent`, and `total_chunks` are never read [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/protocol.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct SendingFile { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 78 | /// 文件 ID [INFO] [stdout] 79 | file_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 80 | /// 文件路径 [INFO] [stdout] 81 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 82 | /// 文件大小 [INFO] [stdout] 83 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | /// 已发送的块数 [INFO] [stdout] 85 | chunks_sent: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | /// 总块数 [INFO] [stdout] 87 | total_chunks: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendingFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_id`, `name`, `size`, `save_dir`, `chunks_received`, and `total_chunks` are never read [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/protocol.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 92 | struct ReceivingFile { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 93 | /// 文件 ID [INFO] [stdout] 94 | file_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 95 | /// 文件名 [INFO] [stdout] 96 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | /// 文件大小 [INFO] [stdout] 98 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | /// 保存目录 [INFO] [stdout] 100 | save_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 101 | /// 已接收的块数 [INFO] [stdout] 102 | chunks_received: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | /// 总块数 [INFO] [stdout] 104 | total_chunks: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReceivingFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_id`, `files`, and `current_file` are never read [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/protocol.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 109 | struct SendSession { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 110 | /// 目标 Peer ID [INFO] [stdout] 111 | peer_id: PeerId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 112 | /// 待发送的文件列表 [INFO] [stdout] 113 | files: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 114 | /// 当前发送的文件索引 [INFO] [stdout] 115 | current_file: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_id`, `files`, and `save_dir` are never read [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/protocol.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 120 | struct ReceiveSession { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 121 | /// 来源 Peer ID [INFO] [stdout] 122 | peer_id: PeerId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 123 | /// 待接收的文件列表 [INFO] [stdout] 124 | files: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 125 | /// 保存目录 [INFO] [stdout] 126 | save_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReceiveSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `relay_addr`, `send_sessions`, and `receive_sessions` are never read [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/protocol.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct P2pProtocol { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 143 | relay_addr: RwLock>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 144 | /// 发送会话 [INFO] [stdout] 145 | send_sessions: RwLock>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 146 | /// 接收会话 [INFO] [stdout] 147 | receive_sessions: RwLock>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `emit_event` and `create_device` are never used [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/protocol.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 150 | impl P2pProtocol { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | fn emit_event(&self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn create_device(&self, peer_id: PeerId, name: String, relay_addr: Option<&str>) -> Device { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Transferring`, `Completed`, and `Failed` are never constructed [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/transfer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum TransferState { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | Transferring { progress: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | /// 完成 [INFO] [stdout] 16 | Completed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | /// 失败 [INFO] [stdout] 18 | Failed { error: String }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_id`, `file_name`, `file_size`, `save_path`, and `bytes_transferred` are never read [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/transfer.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct TransferSession { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 26 | pub id: String, [INFO] [stdout] 27 | pub peer_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | pub file_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | pub state: TransferState, [INFO] [stdout] 31 | pub save_path: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub bytes_transferred: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferSession` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `progress` is never used [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/transfer.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl TransferSession { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn progress(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_session`, `update_progress`, `complete`, `fail`, `remove`, and `all_sessions` are never used [INFO] [stdout] --> crates/unidrop-protocol-p2p/src/transfer.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl TransferManager { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn get_session(&self, id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn update_progress(&self, id: &str, bytes: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn complete(&self, id: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn fail(&self, id: &str, error: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn remove(&self, id: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn all_sessions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dial_opts::DialOpts` [INFO] [stdout] --> crates/unidrop-protocol-p2p/examples/p2p_test.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | swarm::{NetworkBehaviour, SwarmEvent, dial_opts::DialOpts}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking unidrop-protocol-localsend v0.1.0 (/opt/rustwide/workdir/crates/unidrop-protocol-localsend) [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/discovery.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeviceId` [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/discovery.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use unidrop_core::{Device, DeviceId, DeviceType, Event, Peer, ProtocolId}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/multicast.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProtocolId` [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/protocol.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ProtocolId, ProtocolInfo, Result, TransferIntent, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/quic.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/discovery.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeviceId` [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/discovery.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use unidrop_core::{Device, DeviceId, DeviceType, Event, Peer, ProtocolId}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/multicast.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProtocolId` [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/protocol.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ProtocolId, ProtocolInfo, Result, TransferIntent, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/quic.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/multicast.rs:188:45 [INFO] [stdout] | [INFO] [stdout] 188 | ... let target = SocketAddr::new(ip, port); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/multicast.rs:188:45 [INFO] [stdout] | [INFO] [stdout] 188 | ... let target = SocketAddr::new(ip, port); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/quic.rs:337:41 [INFO] [stdout] | [INFO] [stdout] 337 | let (file_id, token, file_name, size) = match header { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cancel` is never used [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/client.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl HttpClient { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub async fn cancel(&self, target: &Device, session_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MulticastAnnounce` is never constructed [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/models.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct MulticastAnnounce { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `from` are never read [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/server.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TransferSession { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 29 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | pub from: Device, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_tx` is never read [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/server.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ServerState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub event_tx: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_upload_query` is never used [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/server.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | fn parse_upload_query(query: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking unidrop-cli v0.1.0 (/opt/rustwide/workdir/crates/unidrop-cli) [INFO] [stderr] Checking unidrop-daemon v0.1.0 (/opt/rustwide/workdir/crates/unidrop-daemon) [INFO] [stderr] Checking unidrop-ffi v0.1.0 (/opt/rustwide/workdir/crates/unidrop-ffi) [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[frb(dart_metadata=("freezed"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[frb(dart_metadata=("freezed"), unignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[frb(dart_metadata=("freezed"), unignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[frb(dart_metadata=("freezed"), unignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[frb(dart_metadata=("freezed"), unignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | #[frb(dart_metadata=("freezed"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | #[frb(sync)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:305:1 [INFO] [stdout] | [INFO] [stdout] 305 | #[frb(sync)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:312:1 [INFO] [stdout] | [INFO] [stdout] 312 | #[frb(sync)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceId` and `ProtocolId` [INFO] [stdout] --> crates/unidrop-cli/src/main.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use unidrop_core::{DeviceId, ProtocolId, TransferIntent}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[frb(dart_metadata=("freezed"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[frb(dart_metadata=("freezed"), unignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[frb(dart_metadata=("freezed"), unignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[frb(dart_metadata=("freezed"), unignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[frb(dart_metadata=("freezed"), unignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | #[frb(dart_metadata=("freezed"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | #[frb(sync)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:305:1 [INFO] [stdout] | [INFO] [stdout] 305 | #[frb(sync)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `frb_expand` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:312:1 [INFO] [stdout] | [INFO] [stdout] 312 | #[frb(sync)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `frb` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `frb` may come from an old version of the `flutter_rust_bridge_macros` crate, try updating your dependency with `cargo update -p flutter_rust_bridge_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `frb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceId` and `ProtocolId` [INFO] [stdout] --> crates/unidrop-cli/src/main.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use unidrop_core::{DeviceId, ProtocolId, TransferIntent}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_id` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | pub async fn accept_transfer(request_id: String, protocol: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:217:50 [INFO] [stdout] | [INFO] [stdout] 217 | pub async fn accept_transfer(request_id: String, protocol: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let engine = get_engine().ok_or("Engine not initialized")?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_id` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub async fn reject_transfer(request_id: String, protocol: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:226:50 [INFO] [stdout] | [INFO] [stdout] 226 | pub async fn reject_transfer(request_id: String, protocol: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | let engine = get_engine().ok_or("Engine not initialized")?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_runtime` is never used [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_runtime() -> &'static tokio::runtime::Runtime { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_id` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | pub async fn accept_transfer(request_id: String, protocol: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:217:50 [INFO] [stdout] | [INFO] [stdout] 217 | pub async fn accept_transfer(request_id: String, protocol: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let engine = get_engine().ok_or("Engine not initialized")?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_id` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub async fn reject_transfer(request_id: String, protocol: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:226:50 [INFO] [stdout] | [INFO] [stdout] 226 | pub async fn reject_transfer(request_id: String, protocol: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | let engine = get_engine().ok_or("Engine not initialized")?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_runtime` is never used [INFO] [stdout] --> crates/unidrop-ffi/src/api.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_runtime() -> &'static tokio::runtime::Runtime { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/quic.rs:337:41 [INFO] [stdout] | [INFO] [stdout] 337 | let (file_id, token, file_name, size) = match header { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cancel` is never used [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/client.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl HttpClient { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub async fn cancel(&self, target: &Device, session_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MulticastAnnounce` is never constructed [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/models.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct MulticastAnnounce { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `from` are never read [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/server.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TransferSession { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 29 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | pub from: Device, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_tx` is never read [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/server.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ServerState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub event_tx: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_upload_query` is never used [INFO] [stdout] --> crates/unidrop-protocol-localsend/src/server.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | fn parse_upload_query(query: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "9ffc49268cf55ef20d855db1dda9b748134ff39613fa3b3f8501d6fc5637f98e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ffc49268cf55ef20d855db1dda9b748134ff39613fa3b3f8501d6fc5637f98e", kill_on_drop: false }` [INFO] [stdout] 9ffc49268cf55ef20d855db1dda9b748134ff39613fa3b3f8501d6fc5637f98e