[INFO] cloning repository https://github.com/collapsinghierarchy/rustytransfer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/collapsinghierarchy/rustytransfer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcollapsinghierarchy%2Frustytransfer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcollapsinghierarchy%2Frustytransfer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec9462ab863659b7387bbb1c1fceca93b459ad02 [INFO] building collapsinghierarchy/rustytransfer against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcollapsinghierarchy%2Frustytransfer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/collapsinghierarchy/rustytransfer [INFO] finished tweaking git repo https://github.com/collapsinghierarchy/rustytransfer [INFO] tweaked toml for git repo https://github.com/collapsinghierarchy/rustytransfer written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/collapsinghierarchy/rustytransfer on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/collapsinghierarchy/rustytransfer 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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook-registry v1.4.7 [INFO] [stderr] Downloaded crc v3.4.0 [INFO] [stderr] Downloaded webrtc-media v0.11.0 [INFO] [stderr] Downloaded trait-variant v0.1.2 [INFO] [stderr] Downloaded deranged v0.5.5 [INFO] [stderr] Downloaded spake2 v0.4.0 [INFO] [stderr] Downloaded async_cell v0.2.3 [INFO] [stderr] Downloaded generator v0.8.7 [INFO] [stderr] Downloaded tokio-tungstenite v0.28.0 [INFO] [stderr] Downloaded webrtc-data v0.9.0 [INFO] [stderr] Downloaded webrtc-sctp v0.10.0 [INFO] [stderr] Downloaded webrtc-dtls v0.10.0 [INFO] [stderr] Downloaded tungstenite v0.28.0 [INFO] [stderr] Downloaded webrtc-ice v0.14.0 [INFO] [stderr] Downloaded webrtc v0.14.0 [INFO] [stderr] Downloaded webrtc v0.11.0 [INFO] [stderr] Downloaded webpki-roots v1.0.4 [INFO] [stderr] Downloaded ccm v0.5.0 [INFO] [stderr] Downloaded webrtc-ice v0.11.0 [INFO] [stderr] Downloaded turn v0.8.0 [INFO] [stderr] Downloaded dtls v0.13.0 [INFO] [stderr] Downloaded stun v0.9.0 [INFO] [stderr] Downloaded turn v0.11.0 [INFO] [stderr] Downloaded webrtc-sctp v0.13.0 [INFO] [stderr] Downloaded rtp v0.11.0 [INFO] [stderr] Downloaded webrtc-util v0.9.0 [INFO] [stderr] Downloaded sdp v0.10.0 [INFO] [stderr] Downloaded webrtc-mdns v0.10.0 [INFO] [stderr] Downloaded webrtc-srtp v0.16.0 [INFO] [stderr] Downloaded stun v0.6.0 [INFO] [stderr] Downloaded webrtc-mdns v0.7.0 [INFO] [stderr] Downloaded webrtc-media v0.8.0 [INFO] [stderr] Downloaded rtcp v0.11.0 [INFO] [stderr] Downloaded interceptor v0.15.0 [INFO] [stderr] Downloaded asn1-rs v0.6.2 [INFO] [stderr] Downloaded uuid v1.19.0 [INFO] [stderr] Downloaded rtp v0.14.0 [INFO] [stderr] Downloaded sdp v0.6.2 [INFO] [stderr] Downloaded webrtc-srtp v0.13.0 [INFO] [stderr] Downloaded pem v3.0.6 [INFO] [stderr] Downloaded oid-registry v0.7.1 [INFO] [stderr] Downloaded rtcp v0.14.0 [INFO] [stderr] Downloaded interceptor v0.12.0 [INFO] [stderr] Downloaded just-webrtc v0.2.0 [INFO] [stderr] Downloaded asn1-rs-derive v0.5.1 [INFO] [stderr] Downloaded webrtc-data v0.12.0 [INFO] [stderr] Downloaded webrtc-util v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0162ca9a33ad3f827e1112cc60980874ba9d503bcca4c6516497a88ab0e7644 [INFO] running `Command { std: "docker" "start" "-a" "f0162ca9a33ad3f827e1112cc60980874ba9d503bcca4c6516497a88ab0e7644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0162ca9a33ad3f827e1112cc60980874ba9d503bcca4c6516497a88ab0e7644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0162ca9a33ad3f827e1112cc60980874ba9d503bcca4c6516497a88ab0e7644", kill_on_drop: false }` [INFO] [stdout] f0162ca9a33ad3f827e1112cc60980874ba9d503bcca4c6516497a88ab0e7644 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21f02a586b82138bce0d7e05c9c6ed7652bb2c9b81335c676729bd298bb00a7c [INFO] running `Command { std: "docker" "start" "-a" "21f02a586b82138bce0d7e05c9c6ed7652bb2c9b81335c676729bd298bb00a7c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling base64ct v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls-pki-types v1.13.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling waitgroup v0.1.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling asn1-rs v0.6.2 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling ccm v0.5.0 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling sdp v0.6.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling sdp v0.10.0 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling der-parser v9.0.0 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling trait-variant v0.1.2 [INFO] [stderr] Compiling p384 v0.13.1 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling async_cell v0.2.3 [INFO] [stderr] Compiling spake2 v0.4.0 [INFO] [stderr] Compiling x509-parser v0.16.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling rcgen v0.13.2 [INFO] [stderr] Compiling asn1-rs v0.5.2 [INFO] [stderr] Compiling webrtc-util v0.9.0 [INFO] [stderr] Compiling webrtc-util v0.12.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling der-parser v8.2.0 [INFO] [stderr] Compiling rtp v0.11.0 [INFO] [stderr] Compiling rtcp v0.11.0 [INFO] [stderr] Compiling stun v0.6.0 [INFO] [stderr] Compiling webrtc-mdns v0.7.0 [INFO] [stderr] Compiling webrtc-sctp v0.10.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling rtp v0.14.0 [INFO] [stderr] Compiling stun v0.9.0 [INFO] [stderr] Compiling rtcp v0.14.0 [INFO] [stderr] Compiling webrtc-mdns v0.10.0 [INFO] [stderr] Compiling webrtc-sctp v0.13.0 [INFO] [stderr] Compiling webrtc-srtp v0.13.0 [INFO] [stderr] Compiling turn v0.8.0 [INFO] [stderr] Compiling webrtc-srtp v0.16.0 [INFO] [stderr] Compiling turn v0.11.0 [INFO] [stderr] Compiling webrtc-media v0.8.0 [INFO] [stderr] Compiling webrtc-media v0.11.0 [INFO] [stderr] Compiling webrtc-dtls v0.10.0 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling webrtc-data v0.9.0 [INFO] [stderr] Compiling interceptor v0.12.0 [INFO] [stderr] Compiling interceptor v0.15.0 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling dtls v0.13.0 [INFO] [stderr] Compiling webrtc-data v0.12.0 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling webrtc-ice v0.14.0 [INFO] [stderr] Compiling webrtc-ice v0.11.0 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.25 [INFO] [stderr] Compiling webrtc v0.11.0 [INFO] [stderr] Compiling webrtc v0.14.0 [INFO] [stderr] Compiling just-webrtc v0.2.0 [INFO] [stderr] Compiling rustytransfer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/transport/rendezvous.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [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: `serde::Deserialize` [INFO] [stdout] --> src/transport/rendezvous.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Room_Full` should have an upper camel case name [INFO] [stdout] --> src/transport/signal.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Room_Full, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `RoomFull` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/transport/webrtc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataChannelExt`, `ICECandidate`, `PeerConnectionState`, and `SessionDescription` [INFO] [stdout] --> src/transport/webrtc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | DataChannelExt, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | types::{SessionDescription, ICECandidate, PeerConnectionState} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote` [INFO] [stdout] --> src/transport/webrtc.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let remote = SimpleLocalPeerConnection::build(true).await?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offer` [INFO] [stdout] --> src/transport/webrtc.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let offer = local.get_local_description().await.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_offer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candidates` [INFO] [stdout] --> src/transport/webrtc.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let candidates = local.collect_ice_candidates().await?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rendezvous` [INFO] [stdout] --> src/protocol/sender.rs:55:76 [INFO] [stdout] | [INFO] [stdout] 55 | (State::Init {role: Role::Sender}, Some(Event::PakeStart { pw, rendezvous })) => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `rendezvous: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pw` [INFO] [stdout] --> src/protocol/sender.rs:63:47 [INFO] [stdout] | [INFO] [stdout] 63 | (State::Pake {role: Role::Sender, pw}, Some(Event::KemPkTag { pk_kem, tag })) => { [INFO] [stdout] | ^^ help: try ignoring the field: `pw: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/protocol/sender.rs:63:83 [INFO] [stdout] | [INFO] [stdout] 63 | (State::Pake {role: Role::Sender, pw}, Some(Event::KemPkTag { pk_kem, tag })) => { [INFO] [stdout] | ^^^ help: try ignoring the field: `tag: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RendezvousCodeResponse` is never constructed [INFO] [stdout] --> src/transport/rendezvous.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct RendezvousCodeResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `code_req` is never used [INFO] [stdout] --> src/transport/rendezvous.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn code_req() -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BASE_API_URL` is never used [INFO] [stdout] --> src/transport/constants.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub static BASE_API_URL: &str = "https://nt.whitenoise.systems"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `API_URL_CODE_REQ` is never used [INFO] [stdout] --> src/transport/constants.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub static API_URL_CODE_REQ: &str = "https://nt.whitenoise.systems/rendezvous/code"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `API_URL_CODE_REDEEM` is never used [INFO] [stdout] --> src/transport/constants.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub static API_URL_CODE_REDEEM: &str = "https://nt.whitenoise.systems/rendezvous/redeem"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SignalFrame` is never used [INFO] [stdout] --> src/transport/signal.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum SignalFrame { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_remote_peer` is never used [INFO] [stdout] --> src/transport/webrtc.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn run_remote_peer() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_local_peer` is never used [INFO] [stdout] --> src/transport/webrtc.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | async fn run_local_peer() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PakeState` is never constructed [INFO] [stdout] --> src/crypto/pake.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PakeState(Spake2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `start_receiver`, `start_sender`, and `finish` are never used [INFO] [stdout] --> src/crypto/pake.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl PakeState { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 9 | [INFO] [stdout] 10 | pub fn start_receiver(pw: &[u8]) -> (Self, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn start_sender(pw: &[u8]) -> (Self, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn finish(self,inbound_msg: &[u8]) -> Result, spake2::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `State` is never used [INFO] [stdout] --> src/protocol/fsm.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Role` is never used [INFO] [stdout] --> src/protocol/fsm.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PakeKey` is never constructed [INFO] [stdout] --> src/protocol/fsm.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct PakeKey; // later: actual key representation [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Password` is never constructed [INFO] [stdout] --> src/protocol/fsm.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Password; // later: actual password representation [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KemPublicKey` is never constructed [INFO] [stdout] --> src/protocol/fsm.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct KemPublicKey; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MacKey` is never constructed [INFO] [stdout] --> src/protocol/fsm.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MacKey; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DemKey` is never constructed [INFO] [stdout] --> src/protocol/fsm.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct DemKey; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileData` is never constructed [INFO] [stdout] --> src/protocol/fsm.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct FileData; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RendezvousInfo` is never constructed [INFO] [stdout] --> src/protocol/fsm.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct RendezvousInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MacTag` is never constructed [INFO] [stdout] --> src/protocol/fsm.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct MacTag; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KemCiphertext` is never constructed [INFO] [stdout] --> src/protocol/fsm.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct KemCiphertext; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DemData` is never constructed [INFO] [stdout] --> src/protocol/fsm.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct DemData; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StepError` is never used [INFO] [stdout] --> src/protocol/fsm.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum StepError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReceiverFsm` is never constructed [INFO] [stdout] --> src/protocol/receiver.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ReceiverFsm { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/protocol/receiver.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `step` are never used [INFO] [stdout] --> src/protocol/receiver.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl ReceiverFsm { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 51 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn step(&mut self, input: Option) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SenderFsm` is never constructed [INFO] [stdout] --> src/protocol/sender.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct SenderFsm { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/protocol/sender.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `step` are never used [INFO] [stdout] --> src/protocol/sender.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl SenderFsm { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 45 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn step(&mut self, input: Option) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expiresAt` should have a snake case name [INFO] [stdout] --> src/transport/rendezvous.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | expiresAt: Option, // optional, just in case [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `expires_at` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 03s [INFO] running `Command { std: "docker" "inspect" "21f02a586b82138bce0d7e05c9c6ed7652bb2c9b81335c676729bd298bb00a7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21f02a586b82138bce0d7e05c9c6ed7652bb2c9b81335c676729bd298bb00a7c", kill_on_drop: false }` [INFO] [stdout] 21f02a586b82138bce0d7e05c9c6ed7652bb2c9b81335c676729bd298bb00a7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65023d2b9b2c29ac143d52f47e238863743cb0c9026431bf2f5abeffeaba331a [INFO] running `Command { std: "docker" "start" "-a" "65023d2b9b2c29ac143d52f47e238863743cb0c9026431bf2f5abeffeaba331a", kill_on_drop: false }` [INFO] [stderr] Compiling rustytransfer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/transport/rendezvous.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [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: `serde::Deserialize` [INFO] [stdout] --> src/transport/rendezvous.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Room_Full` should have an upper camel case name [INFO] [stdout] --> src/transport/signal.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Room_Full, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `RoomFull` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/transport/webrtc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataChannelExt`, `ICECandidate`, `PeerConnectionState`, and `SessionDescription` [INFO] [stdout] --> src/transport/webrtc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | DataChannelExt, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | types::{SessionDescription, ICECandidate, PeerConnectionState} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/transport/websocket.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/transport/websocket.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/transport/websocket.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote` [INFO] [stdout] --> src/transport/webrtc.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let remote = SimpleLocalPeerConnection::build(true).await?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offer` [INFO] [stdout] --> src/transport/webrtc.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let offer = local.get_local_description().await.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_offer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candidates` [INFO] [stdout] --> src/transport/webrtc.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let candidates = local.collect_ice_candidates().await?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rendezvous` [INFO] [stdout] --> src/protocol/sender.rs:55:76 [INFO] [stdout] | [INFO] [stdout] 55 | (State::Init {role: Role::Sender}, Some(Event::PakeStart { pw, rendezvous })) => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `rendezvous: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pw` [INFO] [stdout] --> src/protocol/sender.rs:63:47 [INFO] [stdout] | [INFO] [stdout] 63 | (State::Pake {role: Role::Sender, pw}, Some(Event::KemPkTag { pk_kem, tag })) => { [INFO] [stdout] | ^^ help: try ignoring the field: `pw: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/protocol/sender.rs:63:83 [INFO] [stdout] | [INFO] [stdout] 63 | (State::Pake {role: Role::Sender, pw}, Some(Event::KemPkTag { pk_kem, tag })) => { [INFO] [stdout] | ^^^ help: try ignoring the field: `tag: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `app_id` and `expiresAt` are never read [INFO] [stdout] --> src/transport/rendezvous.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | struct RendezvousCodeResponse { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | app_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | #[serde(default)] [INFO] [stdout] 13 | expiresAt: Option, // optional, just in case [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RendezvousCodeResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BASE_API_URL` is never used [INFO] [stdout] --> src/transport/constants.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub static BASE_API_URL: &str = "https://nt.whitenoise.systems"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `API_URL_CODE_REDEEM` is never used [INFO] [stdout] --> src/transport/constants.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub static API_URL_CODE_REDEEM: &str = "https://nt.whitenoise.systems/rendezvous/redeem"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_remote_peer` is never used [INFO] [stdout] --> src/transport/webrtc.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn run_remote_peer() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_local_peer` is never used [INFO] [stdout] --> src/transport/webrtc.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | async fn run_local_peer() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `role`, `kem_pk`, and `mac_key` are never read [INFO] [stdout] --> src/protocol/fsm.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | KemAuth {role: Role, kem_pk: KemPublicKey, mac_key: MacKey}, [INFO] [stdout] | ------- ^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol/fsm.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | Failed(String) [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `State` 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] 9 - Failed(String) [INFO] [stdout] 9 + Failed(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Smt` and `Success` are never constructed [INFO] [stdout] --> src/protocol/fsm.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Smt {role: Role, dem_key: DemKey, file: FileData}, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | Success(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` 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 `Sender` is never constructed [INFO] [stdout] --> src/protocol/fsm.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Role { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 14 | Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Role` 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: struct `PakeKey` is never constructed [INFO] [stdout] --> src/protocol/fsm.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct PakeKey; // later: actual key representation [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidTransition` is never constructed [INFO] [stdout] --> src/protocol/fsm.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum StepError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 43 | InvalidTransition(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StepError` 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 `pw` and `rendezvous` are never read [INFO] [stdout] --> src/protocol/receiver.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | PakeInit { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 35 | pw: Password, [INFO] [stdout] | ^^ [INFO] [stdout] 36 | rendezvous: RendezvousInfo [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `KemPkTag` and `KemCtDem` are never constructed [INFO] [stdout] --> src/protocol/receiver.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Event { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 39 | KemPkTag { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | KemCtDem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` 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 `SenderFsm` is never constructed [INFO] [stdout] --> src/protocol/sender.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct SenderFsm { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/protocol/sender.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `step` are never used [INFO] [stdout] --> src/protocol/sender.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl SenderFsm { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 45 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn step(&mut self, input: Option) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expiresAt` should have a snake case name [INFO] [stdout] --> src/transport/rendezvous.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | expiresAt: Option, // optional, just in case [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `expires_at` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.50s [INFO] running `Command { std: "docker" "inspect" "65023d2b9b2c29ac143d52f47e238863743cb0c9026431bf2f5abeffeaba331a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65023d2b9b2c29ac143d52f47e238863743cb0c9026431bf2f5abeffeaba331a", kill_on_drop: false }` [INFO] [stdout] 65023d2b9b2c29ac143d52f47e238863743cb0c9026431bf2f5abeffeaba331a