[INFO] cloning repository https://github.com/gks2022004/zk-paynet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gks2022004/zk-paynet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgks2022004%2Fzk-paynet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgks2022004%2Fzk-paynet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b0257c4aa1703e86870f8376ec4f941886df582 [INFO] testing gks2022004/zk-paynet against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgks2022004%2Fzk-paynet" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gks2022004/zk-paynet [INFO] finished tweaking git repo https://github.com/gks2022004/zk-paynet [INFO] tweaked toml for git repo https://github.com/gks2022004/zk-paynet written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gks2022004/zk-paynet on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gks2022004/zk-paynet 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 457ac238a5f61d9e7b4b26119eaf7b799779a0180dbdc35c303902d73a464a65 [INFO] running `Command { std: "docker" "start" "-a" "457ac238a5f61d9e7b4b26119eaf7b799779a0180dbdc35c303902d73a464a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "457ac238a5f61d9e7b4b26119eaf7b799779a0180dbdc35c303902d73a464a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "457ac238a5f61d9e7b4b26119eaf7b799779a0180dbdc35c303902d73a464a65", kill_on_drop: false }` [INFO] [stdout] 457ac238a5f61d9e7b4b26119eaf7b799779a0180dbdc35c303902d73a464a65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a62a1f02c949552f3930becc6f112bfc7551d631b471c792b1669514350865d [INFO] running `Command { std: "docker" "start" "-a" "9a62a1f02c949552f3930becc6f112bfc7551d631b471c792b1669514350865d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.112 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling aws-lc-sys v0.35.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling aws-lc-rs v1.15.2 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling hex-conservative v0.2.2 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling bitcoin_hashes v0.14.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling openssl-probe v0.2.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling bip39 v2.2.2 [INFO] [stderr] Compiling crypto v0.1.0 (/opt/rustwide/workdir/crates/crypto) [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde-big-array v0.5.1 [INFO] [stderr] Compiling quinn-udp v0.5.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling fastbloom v0.14.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling protocol v0.1.0 (/opt/rustwide/workdir/crates/protocol) [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling quinn v0.11.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling lru-slab v0.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-relations v0.4.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling ark-snark v0.4.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rcgen v0.13.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling ark-crypto-primitives v0.4.0 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling ark-groth16 v0.4.0 [INFO] [stderr] Compiling ark-r1cs-std v0.4.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling relay v0.1.0 (/opt/rustwide/workdir/crates/relay) [INFO] [stderr] Compiling solana v0.1.0 (/opt/rustwide/workdir/crates/solana) [INFO] [stdout] warning: field `received_at` is never read [INFO] [stdout] --> crates/relay/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct StoredMessage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 35 | envelope: Envelope, [INFO] [stdout] 36 | received_at: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoredMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling zk v0.1.0 (/opt/rustwide/workdir/crates/zk) [INFO] [stderr] Compiling channel v0.1.0 (/opt/rustwide/workdir/crates/channel) [INFO] [stdout] warning: unused import: `serde_big_array::BigArray` [INFO] [stdout] --> crates/channel/src/state.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use serde_big_array::BigArray; [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: `Serialize` [INFO] [stdout] --> crates/channel/src/state.rs:347:44 [INFO] [stdout] | [INFO] [stdout] 347 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/channel/src/manager.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let mut final_state = ChannelOperations::receive_state_update( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pending_payments` is never read [INFO] [stdout] --> crates/channel/src/manager.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct ChannelManager { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 108 | pending_payments: HashMap<[u8; 32], (ChannelId, u64)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling quinn-proto v0.11.13 [INFO] [stderr] Compiling p2p v0.1.0 (/opt/rustwide/workdir/crates/p2p) [INFO] [stdout] warning: unused imports: `decrypt` and `encrypt` [INFO] [stdout] --> crates/p2p/src/quic.rs:10:60 [INFO] [stdout] | [INFO] [stdout] 10 | use protocol::{Envelope, Handshake, derive_encryption_key, encrypt, decrypt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/p2p/src/quic.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | Ok((mut send, mut recv)) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/p2p/src/quic.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut roots = rustls::RootCertStore::empty(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `roots` [INFO] [stdout] --> crates/p2p/src/quic.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut roots = rustls::RootCertStore::empty(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_roots` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send` [INFO] [stdout] --> crates/p2p/src/quic.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | Ok((mut send, mut recv)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_id` [INFO] [stdout] --> crates/p2p/src/quic.rs:345:28 [INFO] [stdout] | [INFO] [stdout] 345 | fn is_connected(&self, node_id: &NodeId) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_id` and `encryption_key` are never read [INFO] [stdout] --> crates/p2p/src/quic.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct PeerConnection { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 31 | node_id: NodeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | connection: Connection, [INFO] [stdout] 33 | encryption_key: [u8; 32], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zkpay v0.1.0 (/opt/rustwide/workdir/crates/cli) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 42s [INFO] running `Command { std: "docker" "inspect" "9a62a1f02c949552f3930becc6f112bfc7551d631b471c792b1669514350865d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a62a1f02c949552f3930becc6f112bfc7551d631b471c792b1669514350865d", kill_on_drop: false }` [INFO] [stdout] 9a62a1f02c949552f3930becc6f112bfc7551d631b471c792b1669514350865d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 076f3141399c070936dee6c508ce68bbd41520c49db1a79a2427296a790d64c1 [INFO] running `Command { std: "docker" "start" "-a" "076f3141399c070936dee6c508ce68bbd41520c49db1a79a2427296a790d64c1", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling zk v0.1.0 (/opt/rustwide/workdir/crates/zk) [INFO] [stderr] Compiling protocol v0.1.0 (/opt/rustwide/workdir/crates/protocol) [INFO] [stderr] Compiling crypto v0.1.0 (/opt/rustwide/workdir/crates/crypto) [INFO] [stderr] Compiling solana v0.1.0 (/opt/rustwide/workdir/crates/solana) [INFO] [stderr] Compiling quinn v0.11.9 [INFO] [stderr] Compiling relay v0.1.0 (/opt/rustwide/workdir/crates/relay) [INFO] [stderr] Compiling channel v0.1.0 (/opt/rustwide/workdir/crates/channel) [INFO] [stdout] warning: field `received_at` is never read [INFO] [stdout] --> crates/relay/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct StoredMessage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 35 | envelope: Envelope, [INFO] [stdout] 36 | received_at: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoredMessage` has derived impls for the traits `Clone` and `Debug`, but these are 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: unused import: `serde_big_array::BigArray` [INFO] [stdout] --> crates/channel/src/state.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use serde_big_array::BigArray; [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: `Serialize` [INFO] [stdout] --> crates/channel/src/state.rs:347:44 [INFO] [stdout] | [INFO] [stdout] 347 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling p2p v0.1.0 (/opt/rustwide/workdir/crates/p2p) [INFO] [stdout] warning: unused imports: `decrypt` and `encrypt` [INFO] [stdout] --> crates/p2p/src/quic.rs:10:60 [INFO] [stdout] | [INFO] [stdout] 10 | use protocol::{Envelope, Handshake, derive_encryption_key, encrypt, decrypt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/p2p/src/quic.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | Ok((mut send, mut recv)) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/p2p/src/quic.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut roots = rustls::RootCertStore::empty(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `roots` [INFO] [stdout] --> crates/p2p/src/quic.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut roots = rustls::RootCertStore::empty(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_roots` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send` [INFO] [stdout] --> crates/p2p/src/quic.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | Ok((mut send, mut recv)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/channel/src/manager.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let mut final_state = ChannelOperations::receive_state_update( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_id` [INFO] [stdout] --> crates/p2p/src/quic.rs:345:28 [INFO] [stdout] | [INFO] [stdout] 345 | fn is_connected(&self, node_id: &NodeId) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pending_payments` is never read [INFO] [stdout] --> crates/channel/src/manager.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct ChannelManager { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 108 | pending_payments: HashMap<[u8; 32], (ChannelId, u64)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_id` and `encryption_key` are never read [INFO] [stdout] --> crates/p2p/src/quic.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct PeerConnection { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 31 | node_id: NodeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | connection: Connection, [INFO] [stdout] 33 | encryption_key: [u8; 32], [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 imports: `decrypt` and `encrypt` [INFO] [stdout] --> crates/p2p/src/quic.rs:10:60 [INFO] [stdout] | [INFO] [stdout] 10 | use protocol::{Envelope, Handshake, derive_encryption_key, encrypt, decrypt}; [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_big_array::BigArray` [INFO] [stdout] --> crates/channel/src/state.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use serde_big_array::BigArray; [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: `Serialize` [INFO] [stdout] --> crates/channel/src/state.rs:347:44 [INFO] [stdout] | [INFO] [stdout] 347 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChannelState` and `SignedChannelState` [INFO] [stdout] --> crates/channel/src/messages.rs:364:24 [INFO] [stdout] | [INFO] [stdout] 364 | use crate::state::{ChannelState, SignedChannelState}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/p2p/src/quic.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | Ok((mut send, mut recv)) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/p2p/src/quic.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut roots = rustls::RootCertStore::empty(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `roots` [INFO] [stdout] --> crates/p2p/src/quic.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut roots = rustls::RootCertStore::empty(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_roots` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send` [INFO] [stdout] --> crates/p2p/src/quic.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | Ok((mut send, mut recv)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `received_at` is never read [INFO] [stdout] --> crates/relay/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct StoredMessage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 35 | envelope: Envelope, [INFO] [stdout] 36 | received_at: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoredMessage` has derived impls for the traits `Clone` and `Debug`, but these are 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: unused variable: `node_id` [INFO] [stdout] --> crates/p2p/src/quic.rs:345:28 [INFO] [stdout] | [INFO] [stdout] 345 | fn is_connected(&self, node_id: &NodeId) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_id` and `encryption_key` are never read [INFO] [stdout] --> crates/p2p/src/quic.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct PeerConnection { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 31 | node_id: NodeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | connection: Connection, [INFO] [stdout] 33 | encryption_key: [u8; 32], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zkpay v0.1.0 (/opt/rustwide/workdir/crates/cli) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/channel/src/manager.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let mut final_state = ChannelOperations::receive_state_update( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel_id` [INFO] [stdout] --> crates/channel/src/lib.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let channel_id = alice_channel.channel_id(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pending_payments` is never read [INFO] [stdout] --> crates/channel/src/manager.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct ChannelManager { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 108 | pending_payments: HashMap<[u8; 32], (ChannelId, u64)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 27.92s [INFO] running `Command { std: "docker" "inspect" "076f3141399c070936dee6c508ce68bbd41520c49db1a79a2427296a790d64c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "076f3141399c070936dee6c508ce68bbd41520c49db1a79a2427296a790d64c1", kill_on_drop: false }` [INFO] [stdout] 076f3141399c070936dee6c508ce68bbd41520c49db1a79a2427296a790d64c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 233fa1615369283c154c2c7e59fd9170e1d65933f2c58d563107a40be5382205 [INFO] running `Command { std: "docker" "start" "-a" "233fa1615369283c154c2c7e59fd9170e1d65933f2c58d563107a40be5382205", kill_on_drop: false }` [INFO] [stderr] warning: field `received_at` is never read [INFO] [stderr] --> crates/relay/src/lib.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 34 | struct StoredMessage { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 35 | envelope: Envelope, [INFO] [stderr] 36 | received_at: u64, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StoredMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `relay` (lib) generated 1 warning [INFO] [stderr] warning: unused imports: `decrypt` and `encrypt` [INFO] [stderr] --> crates/p2p/src/quic.rs:10:60 [INFO] [stderr] | [INFO] [stderr] 10 | use protocol::{Envelope, Handshake, derive_encryption_key, encrypt, decrypt}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crates/p2p/src/quic.rs:203:25 [INFO] [stderr] | [INFO] [stderr] 203 | Ok((mut send, mut recv)) => { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crates/p2p/src/quic.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | let mut roots = rustls::RootCertStore::empty(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `roots` [INFO] [stderr] --> crates/p2p/src/quic.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | let mut roots = rustls::RootCertStore::empty(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_roots` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `send` [INFO] [stderr] --> crates/p2p/src/quic.rs:203:25 [INFO] [stderr] | [INFO] [stderr] 203 | Ok((mut send, mut recv)) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node_id` [INFO] [stderr] --> crates/p2p/src/quic.rs:345:28 [INFO] [stderr] | [INFO] [stderr] 345 | fn is_connected(&self, node_id: &NodeId) -> bool { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stderr] [INFO] [stderr] warning: fields `node_id` and `encryption_key` are never read [INFO] [stderr] --> crates/p2p/src/quic.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 30 | struct PeerConnection { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 31 | node_id: NodeId, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 32 | connection: Connection, [INFO] [stderr] 33 | encryption_key: [u8; 32], [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `p2p` (lib) generated 7 warnings (run `cargo fix --lib -p p2p` to apply 6 suggestions) [INFO] [stderr] warning: unused import: `serde_big_array::BigArray` [INFO] [stderr] --> crates/channel/src/state.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use serde_big_array::BigArray; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> crates/channel/src/state.rs:347:44 [INFO] [stderr] | [INFO] [stderr] 347 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crates/channel/src/manager.rs:490:13 [INFO] [stderr] | [INFO] [stderr] 490 | let mut final_state = ChannelOperations::receive_state_update( [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `pending_payments` is never read [INFO] [stderr] --> crates/channel/src/manager.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 94 | pub struct ChannelManager { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 108 | pending_payments: HashMap<[u8; 32], (ChannelId, u64)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `channel` (lib) generated 4 warnings (run `cargo fix --lib -p channel` to apply 3 suggestions) [INFO] [stderr] warning: `p2p` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] warning: unused imports: `ChannelState` and `SignedChannelState` [INFO] [stderr] --> crates/channel/src/messages.rs:364:24 [INFO] [stderr] | [INFO] [stderr] 364 | use crate::state::{ChannelState, SignedChannelState}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `channel_id` [INFO] [stderr] --> crates/channel/src/lib.rs:161:13 [INFO] [stderr] | [INFO] [stderr] 161 | let channel_id = alice_channel.channel_id(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `channel` (lib test) generated 6 warnings (4 duplicates) (run `cargo fix --lib -p channel --tests` to apply 2 suggestions) [INFO] [stderr] warning: `relay` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/channel-82e02f0ad368a426) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test messages::tests::test_error_message ... ok [INFO] [stdout] test messages::tests::test_open_channel_message ... ok [INFO] [stdout] test manager::tests::test_channel_open_flow ... ok [INFO] [stdout] test messages::tests::test_message_types ... ok [INFO] [stdout] test messages::tests::test_message_serialization ... ok [INFO] [stdout] test operations::tests::test_htlc_flow ... ok [INFO] [stdout] test manager::tests::test_manager_creation ... ok [INFO] [stdout] test operations::tests::test_payment_hash_preimage ... ok [INFO] [stdout] test state::tests::test_htlc_expiry ... ok [INFO] [stdout] test state::tests::test_htlc_preimage_verification ... ok [INFO] [stdout] test state::tests::test_channel_creation ... ok [INFO] [stdout] test operations::tests::test_send_payment ... ok [INFO] [stdout] test state::tests::test_channel_id_derivation ... ok [INFO] [stdout] test state::tests::test_state_sequence_increment ... ok [INFO] [stdout] test tests::test_channel_config_defaults ... ok [INFO] [stdout] test operations::tests::test_insufficient_balance ... ok [INFO] [stdout] test tests::test_full_channel_lifecycle ... ok [INFO] [stdout] test tests::test_htlc_payment_hash ... ok [INFO] [stdout] test state::tests::test_channel_state_hash ... ok [INFO] [stdout] test operations::tests::test_sign_and_verify ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/crypto-a58b3c2448ba9db1) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/p2p-d91644f98a80ffe2) [INFO] [stdout] test identity::tests::test_key_separation ... ok [INFO] [stdout] test identity::tests::test_deterministic_derivation ... ok [INFO] [stdout] test storage::tests::test_hex_seed_roundtrip ... ok [INFO] [stdout] test identity::tests::test_node_id_encoding ... ok [INFO] [stdout] test identity::tests::test_shared_secret ... ok [INFO] [stdout] test storage::tests::test_mnemonic_generation ... ok [INFO] [stdout] test identity::tests::test_signature_verification ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/protocol-4393c92870d09d64) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test encryption::tests::test_wrong_key_fails ... ok [INFO] [stdout] test encryption::tests::test_encryption_roundtrip ... ok [INFO] [stdout] test messages::tests::test_handshake_serialization ... ok [INFO] [stdout] test messages::tests::test_message_serialization ... ok [INFO] [stdout] test messages::tests::test_envelope_expiry ... ok [INFO] [stdout] test messages::tests::test_envelope_serialization ... ok [INFO] [stdout] test encryption::tests::test_key_derivation ... ok [INFO] [stdout] test encryption::tests::test_nonce_uniqueness ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/relay-e988a01da595fec4) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_replay_protection ... ok [INFO] [stdout] test tests::test_store_and_retrieve ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/solana-7c29433eec922b0f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zk-2dfb5a86c42632c9) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test circuit::tests::test_simple_payment_circuit_invalid ... ok [INFO] [stdout] test circuit::tests::test_simple_payment_circuit_valid ... ok [INFO] [stdout] test circuit::tests::test_payment_circuit_constraints ... ok [INFO] [stdout] test nullifier::tests::test_nullifier_hex_roundtrip ... ok [INFO] [stdout] test nullifier::tests::test_nullifier_uniqueness ... ok [INFO] [stdout] test nullifier::tests::test_nullifier_registry ... ok [INFO] [stdout] test nullifier::tests::test_nullifier_computation ... ok [INFO] [stdout] test commitment::tests::test_commitment_serialization ... ok [INFO] [stdout] test commitment::tests::test_balance_commitment_receive ... ok [INFO] [stdout] test commitment::tests::test_commitment_hiding ... ok [INFO] [stdout] test tests::test_nullifier_double_spend_prevention ... ok [INFO] [stdout] test commitment::tests::test_balance_commitment_spend ... ok [INFO] [stdout] test tests::test_simple_payment_circuit ... ok [INFO] [stdout] test tests::test_pedersen_commitment ... ok [INFO] [stdout] test commitment::tests::test_commitment_binding ... ok [INFO] [stdout] test proof::tests::test_setup_and_prove ... ok [INFO] [stdout] test proof::tests::test_insufficient_balance ... ok [INFO] [stdout] test proof::tests::test_proof_serialization ... ok [INFO] [stdout] test proof::tests::test_invalid_proof ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.54s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/zkpay-c0d2268f8824a3f4) [INFO] [stderr] Doc-tests channel [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test crates/channel/src/lib.rs - (line 34) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests crypto [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests p2p [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests protocol [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests relay [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests solana [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests zk [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test crates/zk/src/lib.rs - (line 47) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "233fa1615369283c154c2c7e59fd9170e1d65933f2c58d563107a40be5382205", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "233fa1615369283c154c2c7e59fd9170e1d65933f2c58d563107a40be5382205", kill_on_drop: false }` [INFO] [stdout] 233fa1615369283c154c2c7e59fd9170e1d65933f2c58d563107a40be5382205