[INFO] cloning repository https://github.com/xiuxiua8/blockchainRUST [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiuxiua8/blockchainRUST" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiuxiua8%2FblockchainRUST", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiuxiua8%2FblockchainRUST'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ada565c4c752f934f36866c2f330f9b7b185f351 [INFO] building xiuxiua8/blockchainRUST against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiuxiua8%2FblockchainRUST" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xiuxiua8/blockchainRUST [INFO] finished tweaking git repo https://github.com/xiuxiua8/blockchainRUST [INFO] tweaked toml for git repo https://github.com/xiuxiua8/blockchainRUST written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xiuxiua8/blockchainRUST 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/xiuxiua8/blockchainRUST 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.7.6 [INFO] [stderr] Adding base64 v0.21.7 [INFO] [stderr] Adding crunchy v0.2.4 [INFO] [stderr] Adding futures-ticker v0.0.3 [INFO] [stderr] Adding hex_fmt v0.3.0 [INFO] [stderr] Adding libp2p-gossipsub v0.45.2 [INFO] [stderr] Adding libp2p-kad v0.44.6 [INFO] [stderr] Adding uint v0.9.5 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.15 [INFO] [stderr] Downloaded unsigned-varint v0.8.0 [INFO] [stderr] Downloaded data-encoding-macro v0.1.17 [INFO] [stderr] Downloaded multihash v0.19.3 [INFO] [stderr] Downloaded rw-stream-sink v0.4.0 [INFO] [stderr] Downloaded enum-as-inner v0.6.1 [INFO] [stderr] Downloaded libp2p-connection-limits v0.2.1 [INFO] [stderr] Downloaded libp2p v0.52.4 [INFO] [stderr] Downloaded netlink-proto v0.11.5 [INFO] [stderr] Downloaded multiaddr v0.18.2 [INFO] [stderr] Downloaded attohttpc v0.24.1 [INFO] [stderr] Downloaded libp2p-allow-block-list v0.2.0 [INFO] [stderr] Downloaded enum-as-inner v0.5.1 [INFO] [stderr] Downloaded resolv-conf v0.7.1 [INFO] [stderr] Downloaded ipconfig v0.3.2 [INFO] [stderr] Downloaded prometheus-client v0.21.2 [INFO] [stderr] Downloaded aes-gcm v0.9.2 [INFO] [stderr] Downloaded trust-dns-proto v0.22.0 [INFO] [stderr] Downloaded rtnetlink v0.13.1 [INFO] [stderr] Downloaded async-process v2.3.0 [INFO] [stderr] Downloaded snow v0.9.3 [INFO] [stderr] Downloaded chacha20poly1305 v0.9.1 [INFO] [stderr] Downloaded libp2p-kad v0.44.6 [INFO] [stderr] Downloaded libp2p-swarm v0.43.7 [INFO] [stderr] Downloaded x509-parser v0.15.1 [INFO] [stderr] Downloaded ed25519-dalek v2.1.1 [INFO] [stderr] Downloaded libp2p-core v0.40.1 [INFO] [stderr] Downloaded quick-protobuf v0.8.1 [INFO] [stderr] Downloaded netlink-packet-route v0.17.1 [INFO] [stderr] Downloaded libp2p-dns v0.40.1 [INFO] [stderr] Downloaded dtoa v1.0.10 [INFO] [stderr] Downloaded trust-dns-resolver v0.23.2 [INFO] [stderr] Downloaded trust-dns-proto v0.23.2 [INFO] [stderr] Downloaded x25519-dalek v2.0.1 [INFO] [stderr] Downloaded libp2p-noise v0.43.2 [INFO] [stderr] Downloaded if-watch v3.2.1 [INFO] [stderr] Downloaded multistream-select v0.13.0 [INFO] [stderr] Downloaded libp2p-mdns v0.44.0 [INFO] [stderr] Downloaded hex_fmt v0.3.0 [INFO] [stderr] Downloaded if-addrs v0.10.2 [INFO] [stderr] Downloaded netlink-packet-core v0.7.0 [INFO] [stderr] Downloaded libp2p-tcp v0.40.1 [INFO] [stderr] Downloaded igd-next v0.14.3 [INFO] [stderr] Downloaded proc-macro-warning v0.4.2 [INFO] [stderr] Downloaded libp2p-swarm-derive v0.33.0 [INFO] [stderr] Downloaded futures-ticker v0.0.3 [INFO] [stderr] Downloaded libp2p-gossipsub v0.45.2 [INFO] [stderr] Downloaded futures-bounded v0.1.0 [INFO] [stderr] Downloaded libp2p-metrics v0.13.1 [INFO] [stderr] Downloaded universal-hash v0.4.0 [INFO] [stderr] Downloaded libp2p-tls v0.2.1 [INFO] [stderr] Downloaded libp2p-quic v0.9.3 [INFO] [stderr] Downloaded netlink-sys v0.8.7 [INFO] [stderr] Downloaded xmltree v0.10.3 [INFO] [stderr] Downloaded libp2p-upnp v0.1.1 [INFO] [stderr] Downloaded libp2p-websocket v0.42.2 [INFO] [stderr] Downloaded asynchronous-codec v0.6.2 [INFO] [stderr] Downloaded yamux v0.12.1 [INFO] [stderr] Downloaded libp2p-yamux v0.44.1 [INFO] [stderr] Downloaded libp2p-identity v0.2.10 [INFO] [stderr] Downloaded async-std-resolver v0.23.2 [INFO] [stderr] Downloaded hostname v0.4.0 [INFO] [stderr] Downloaded libp2p-identify v0.43.1 [INFO] [stderr] Downloaded quick-protobuf-codec v0.2.0 [INFO] [stderr] Downloaded prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Downloaded ctr v0.7.0 [INFO] [stderr] Downloaded ghash v0.4.4 [INFO] [stderr] Downloaded chacha20 v0.8.2 [INFO] [stderr] Downloaded libp2p-ping v0.43.1 [INFO] [stderr] Downloaded secp256k1 v0.24.3 [INFO] [stderr] Downloaded secp256k1-sys v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a563304127d5c23bc8b860b814bdfbe078076035b8ad56393c6dec48316932c9 [INFO] running `Command { std: "docker" "start" "-a" "a563304127d5c23bc8b860b814bdfbe078076035b8ad56393c6dec48316932c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a563304127d5c23bc8b860b814bdfbe078076035b8ad56393c6dec48316932c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a563304127d5c23bc8b860b814bdfbe078076035b8ad56393c6dec48316932c9", kill_on_drop: false }` [INFO] [stdout] a563304127d5c23bc8b860b814bdfbe078076035b8ad56393c6dec48316932c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1567bf23cb8e71d2febff58bf0f85d106b79af6ed9e54a32daab73195a2ebc49 [INFO] running `Command { std: "docker" "start" "-a" "1567bf23cb8e71d2febff58bf0f85d106b79af6ed9e54a32daab73195a2ebc49", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling proc-macro-warning v0.4.2 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling snow v0.9.3 [INFO] [stderr] Compiling prometheus-client v0.21.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling hostname v0.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling resolv-conf v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling enum-as-inner v0.5.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.15 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling libp2p-swarm-derive v0.33.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling data-encoding-macro v0.1.17 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling libp2p-identity v0.2.10 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-signal v0.2.10 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling async-process v2.3.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling asynchronous-codec v0.6.2 [INFO] [stderr] Compiling futures-bounded v0.1.0 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling quick-protobuf-codec v0.2.0 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling futures-ticker v0.0.3 [INFO] [stderr] Compiling soketto v0.8.1 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling futures-rustls v0.24.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling secp256k1 v0.24.3 [INFO] [stderr] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling trust-dns-proto v0.23.2 [INFO] [stderr] Compiling trust-dns-proto v0.22.0 [INFO] [stderr] Compiling libp2p-core v0.40.1 [INFO] [stderr] Compiling libp2p-swarm v0.43.7 [INFO] [stderr] Compiling libp2p-yamux v0.44.1 [INFO] [stderr] Compiling libp2p-tcp v0.40.1 [INFO] [stderr] Compiling libp2p-noise v0.43.2 [INFO] [stderr] Compiling libp2p-websocket v0.42.2 [INFO] [stderr] Compiling libp2p-connection-limits v0.2.1 [INFO] [stderr] Compiling libp2p-gossipsub v0.45.2 [INFO] [stderr] Compiling libp2p-allow-block-list v0.2.0 [INFO] [stderr] Compiling libp2p-kad v0.44.6 [INFO] [stderr] Compiling libp2p-identify v0.43.1 [INFO] [stderr] Compiling libp2p-ping v0.43.1 [INFO] [stderr] Compiling libp2p-mdns v0.44.0 [INFO] [stderr] Compiling trust-dns-resolver v0.23.2 [INFO] [stderr] Compiling async-std-resolver v0.23.2 [INFO] [stderr] Compiling libp2p-dns v0.40.1 [INFO] [stderr] Compiling libp2p v0.52.4 [INFO] [stderr] Compiling blockchain_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `libp2p::libp2p_swarm::THandlerErr`: Will be removed together with `ConnectionHandlerEvent::Close`. See for details. [INFO] [stdout] --> src/network.rs:417:60 [INFO] [stdout] | [INFO] [stdout] 417 | event: SwarmEvent>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/blockchain.rs:370:35 [INFO] [stdout] | [INFO] [stdout] 370 | for &(output_idx, amount) in outputs { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fs; [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_json` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libp2p::libp2p_swarm::THandlerErr`: Will be removed together with `ConnectionHandlerEvent::Close`. See for details. [INFO] [stdout] --> src/network.rs:417:60 [INFO] [stdout] | [INFO] [stdout] 417 | event: SwarmEvent>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/blockchain.rs:370:35 [INFO] [stdout] | [INFO] [stdout] 370 | for &(output_idx, amount) in outputs { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut network = network::Network::new_with_channel(app_tx.clone()).await; [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: `blockchain_file` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let blockchain_file = "blockchain.json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockchain_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pending_tx_for_network` [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let pending_tx_for_network = pending_transactions.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pending_tx_for_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/main.rs:655:25 [INFO] [stdout] | [INFO] [stdout] 655 | for (i, tx) in pending_tx_for_main.lock().await.iter().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load_from_file` is never used [INFO] [stdout] --> src/blockchain.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Blockchain { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn load_from_file(filename: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PeerDiscovered` is never constructed [INFO] [stdout] --> src/network.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum NetworkEvent { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | PeerDiscovered(PeerId, Multiaddr), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkEvent` 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: multiple associated items are never used [INFO] [stdout] --> src/network.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 144 | impl Network { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub async fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn set_auto_connect(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn set_max_connections(&mut self, max: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 610 | pub fn connected_peer_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | pub fn discovered_peer_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 640 | pub async fn discover_peers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | pub fn show_network_status(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 675 | pub async fn broadcast_block(&self, block: Block) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 681 | pub async fn broadcast_transaction(&self, transaction: Transaction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 687 | pub async fn sync_chain(&self, _blockchain: &Blockchain) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 717 | pub async fn dial(&self, addr: libp2p::Multiaddr) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "1567bf23cb8e71d2febff58bf0f85d106b79af6ed9e54a32daab73195a2ebc49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1567bf23cb8e71d2febff58bf0f85d106b79af6ed9e54a32daab73195a2ebc49", kill_on_drop: false }` [INFO] [stdout] 1567bf23cb8e71d2febff58bf0f85d106b79af6ed9e54a32daab73195a2ebc49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 204fd511a67cc7471686b1ea447c8eaecc9f1b6d392b4a98bc8d614b835d593c [INFO] running `Command { std: "docker" "start" "-a" "204fd511a67cc7471686b1ea447c8eaecc9f1b6d392b4a98bc8d614b835d593c", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated type alias `libp2p::libp2p_swarm::THandlerErr`: Will be removed together with `ConnectionHandlerEvent::Close`. See for details. [INFO] [stdout] --> src/network.rs:417:60 [INFO] [stdout] | [INFO] [stdout] 417 | event: SwarmEvent>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/blockchain.rs:370:35 [INFO] [stdout] | [INFO] [stdout] 370 | for &(output_idx, amount) in outputs { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling blockchain_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fs; [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_json` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libp2p::libp2p_swarm::THandlerErr`: Will be removed together with `ConnectionHandlerEvent::Close`. See for details. [INFO] [stdout] --> src/network.rs:417:60 [INFO] [stdout] | [INFO] [stdout] 417 | event: SwarmEvent>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/blockchain.rs:370:35 [INFO] [stdout] | [INFO] [stdout] 370 | for &(output_idx, amount) in outputs { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut network = network::Network::new_with_channel(app_tx.clone()).await; [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: `blockchain_file` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let blockchain_file = "blockchain.json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockchain_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pending_tx_for_network` [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let pending_tx_for_network = pending_transactions.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pending_tx_for_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/main.rs:655:25 [INFO] [stdout] | [INFO] [stdout] 655 | for (i, tx) in pending_tx_for_main.lock().await.iter().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load_from_file` is never used [INFO] [stdout] --> src/blockchain.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Blockchain { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn load_from_file(filename: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PeerDiscovered` is never constructed [INFO] [stdout] --> src/network.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum NetworkEvent { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | PeerDiscovered(PeerId, Multiaddr), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkEvent` 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: multiple associated items are never used [INFO] [stdout] --> src/network.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 144 | impl Network { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub async fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn set_auto_connect(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn set_max_connections(&mut self, max: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 610 | pub fn connected_peer_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | pub fn discovered_peer_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 640 | pub async fn discover_peers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | pub fn show_network_status(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 675 | pub async fn broadcast_block(&self, block: Block) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 681 | pub async fn broadcast_transaction(&self, transaction: Transaction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 687 | pub async fn sync_chain(&self, _blockchain: &Blockchain) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 717 | pub async fn dial(&self, addr: libp2p::Multiaddr) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> tests/wallet_tests.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use sha2::{Sha256, Digest}; [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: `hex` [INFO] [stdout] --> tests/wallet_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Block` [INFO] [stdout] --> tests/integration_tests.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use blockchain_demo::block::{Block, Transaction, TxInput, TxOutput}; [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: `std::collections::HashMap` [INFO] [stdout] --> tests/integration_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> tests/wallet_tests.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fs; [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_json` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libp2p::libp2p_swarm::THandlerErr`: Will be removed together with `ConnectionHandlerEvent::Close`. See for details. [INFO] [stdout] --> src/network.rs:417:60 [INFO] [stdout] | [INFO] [stdout] 417 | event: SwarmEvent>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libp2p::libp2p_swarm::THandlerErr`: Will be removed together with `ConnectionHandlerEvent::Close`. See for details. [INFO] [stdout] --> src/network.rs:417:60 [INFO] [stdout] | [INFO] [stdout] 417 | event: SwarmEvent>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> tests/network_tests.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let network = Network::new().await; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `broadcast_result` [INFO] [stdout] --> tests/network_tests.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | let broadcast_result = network.broadcast_block(test_block).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_broadcast_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction_result` [INFO] [stdout] --> tests/network_tests.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let transaction_result = network.broadcast_transaction(test_transaction).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sync_result` [INFO] [stdout] --> tests/network_tests.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let sync_result = network.sync_chain(&blockchain).await; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sync_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/network_tests.rs:263:15 [INFO] [stdout] | [INFO] [stdout] 263 | let (tx1, mut rx1) = mpsc::channel(100); [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] --> tests/network_tests.rs:264:15 [INFO] [stdout] | [INFO] [stdout] 264 | let (tx2, mut rx2) = mpsc::channel(100); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx1` [INFO] [stdout] --> tests/network_tests.rs:263:15 [INFO] [stdout] | [INFO] [stdout] 263 | let (tx1, mut rx1) = mpsc::channel(100); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rx1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx2` [INFO] [stdout] --> tests/network_tests.rs:264:15 [INFO] [stdout] | [INFO] [stdout] 264 | let (tx2, mut rx2) = mpsc::channel(100); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node1_handle` [INFO] [stdout] --> tests/network_tests.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | let node1_handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node1_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node2_handle` [INFO] [stdout] --> tests/network_tests.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | let node2_handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node2_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/blockchain.rs:370:35 [INFO] [stdout] | [INFO] [stdout] 370 | for &(output_idx, amount) in outputs { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/blockchain.rs:370:35 [INFO] [stdout] | [INFO] [stdout] 370 | for &(output_idx, amount) in outputs { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut network = network::Network::new_with_channel(app_tx.clone()).await; [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: `blockchain_file` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let blockchain_file = "blockchain.json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockchain_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pending_tx_for_network` [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let pending_tx_for_network = pending_transactions.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pending_tx_for_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/main.rs:655:25 [INFO] [stdout] | [INFO] [stdout] 655 | for (i, tx) in pending_tx_for_main.lock().await.iter().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load_from_file` is never used [INFO] [stdout] --> src/blockchain.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Blockchain { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn load_from_file(filename: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PeerDiscovered` is never constructed [INFO] [stdout] --> src/network.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum NetworkEvent { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | PeerDiscovered(PeerId, Multiaddr), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkEvent` 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: multiple associated items are never used [INFO] [stdout] --> src/network.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 144 | impl Network { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub async fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn set_auto_connect(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn set_max_connections(&mut self, max: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 610 | pub fn connected_peer_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | pub fn discovered_peer_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 640 | pub async fn discover_peers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | pub fn show_network_status(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 675 | pub async fn broadcast_block(&self, block: Block) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 681 | pub async fn broadcast_transaction(&self, transaction: Transaction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 687 | pub async fn sync_chain(&self, _blockchain: &Blockchain) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 717 | pub async fn dial(&self, addr: libp2p::Multiaddr) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcVUZZyU/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libblockchain_demo-c64565a4f085c6c9,libripemd-d9787c147d696101,libserde_json-4ccaecb6e7872e74,libryu-0ea4bafc9bef6d8b,liblibp2p-6b36e02f102129b9,liblibp2p_yamux-41ac8aeed418a24b,libyamux-5a26a273e7e7f6ed,libnohash_hasher-7182108947a1143f,liblibp2p_websocket-90dfef00b2b66dbc,libwebpki_roots-881d9833caf02a91,libsoketto-ba9834a543ac753d,libhttparse-7a931e33299a573f,libsha1-ee8bfed22abecb76,libbase64-f8724452d127c6dc,libfutures_rustls-577bf49e770c88b0,librustls-16e659b167a80cd5,libsct-d408c0b9c343fbb0,libwebpki-debd7006e393b226,libring-92563b423811b241,libuntrusted-3420b86308bec153,liblibp2p_tcp-c554e68fd534476c,liblibp2p_ping-5109f7c963c90cd7,liblibp2p_noise-c5e71da7b405776e,libx25519_dalek-d21cd477a07e90af,libsnow-e6a2fcfbce9f073c,libring-c2ffbc3fc7e9061b,libspin-bd5c65b66a03de3f,libuntrusted-4c6cc551cc2c6e70,liblibp2p_mdns-2225f2d75e50a8d6,libif_watch-67726d812250c46b,librtnetlink-a5b433c43d797ca1,libnix-65060205a2336473,libnetlink_proto-3e81de8780033d3f,libthiserror-5f9ab35a20f867d0,libnetlink_sys-d859302ba860068c,libnetlink_packet_route-a5de60a7f4c6570b,libnetlink_packet_core-3d930300e267b2df,libnetlink_packet_utils-3803c49e6f342710,libanyhow-58aff0c775a177d9,libasync_io-8cb4df59e2f39c0f,librustix-457ab5cecd0201f1,libio_lifetimes-1f0cf73469d66e2d,libbitflags-e2b4db6c651223da,liblinux_raw_sys-9826735127360e65,libpolling-1fb6b949f56fa5eb,libasync_lock-a5141d33c48d5c20,libfutures_lite-609268a97a97ffd0,libfastrand-1a1f7fa7e5b5edde,libwaker_fn-6a297a1ea9bc1088,libtrust_dns_proto-b4de4f96e72fb8ee,libidna-b4616842e0383538,libmatches-78daa3f1b5ec35b5,libsocket2-1fc8a472baf1509f,liblazy_static-b3603208c0de2608,liblibp2p_kad-00630f7ff9b0577b,libarrayvec-41dcfe80309d7422,libuint-b6d25de81b48eaa2,libcrunchy-d465a47b816b0c86,liblibp2p_identify-f9439be08ad22f28,libfutures_bounded-dda475cdeea16e3c,liblru-f530e243edb95291,libhashbrown-97601b58628c2431,libfoldhash-a84df4cbe8daa3b8,libequivalent-7e0e8cbe6c474a67,liballocator_api2-3bc2480ae44878f3,liblibp2p_gossipsub-992ddf4b69fcb6da,libhex_fmt-1332f399422be269,libregex-07d59f3792584a21,libregex_automata-b16ca0c62e99f813,libaho_corasick-5318fee7af990b33,libregex_syntax-13fc688ae7f36982,libquick_protobuf_codec-3d63cbc6c9563e6a,libbase64-64299f9d815d057c,libprometheus_client-e0c596c9d1b195a9,libdtoa-2f7f9a4bdcb0dcc3,libitoa-6b76ec393d6a2c41,libfutures_ticker-be3e6730da735b94,liblibp2p_dns-5be8ae38498fe3dd,libasync_std_resolver-39559086d317bdff,libtrust_dns_resolver-75ddb07a5470dc8a,libresolv_conf-0d01724d5ce90102,libhostname-6aed044b34ddbc86,liblru_cache-c0d43ae809a50523,liblinked_hash_map-40ad1551522f3eec,libtrust_dns_proto-e31093d2ec0012bf,libipnet-9aae67a4e846df6d,libidna-49eabded18b306d4,libunicode_normalization-8e9f3932fb2e2dd4,libunicode_bidi-e61eae15e30d3a28,libtinyvec-01b91c7fe633ba8a,libtinyvec_macros-1c14e8980bff1229,liblibp2p_connection_limits-84703b0d08a9478a,liblibp2p_allow_block_list-c9a6418310723c57,liblibp2p_swarm-5605764b6d8a3a8a,libasync_std-c4df3c186786bfdd,libasync_global_executor-49367866b6ad8023,libblocking-01f0f3d9a0d019c1,libpiper-579b2df9d5c67163,libatomic_waker-001109810bdecbaa,libasync_executor-52036692eaf4bbab,libasync_process-5cdbf9b6d0307f58,libasync_signal-2e9ee9f9bcc75881,libasync_task-65820d26b839a505,libasync_channel-877c2761afc30e84,libasync_io-062341c03306eda9,libpolling-6a21f1e8bdcc2f5a,librustix-597e762a45520976,libbitflags-ec9e26e8384cfc98,liblinux_raw_sys-aa9c2ff6a845f8dc,libfutures_lite-df45bbcdfd658e61,libfastrand-503f12a96d791409,libasync_channel-2ac6bb91816cf7ee,libevent_listener-67cd091983fb6763,libconcurrent_queue-522b130c0dde25fc,libcrossbeam_utils-e96e5b2bd6f91d93,libasync_lock-b1caef1f524cb8bf,libevent_listener_strategy-8d4d62f4575f0ec6,libevent_listener-2a54f6b9c51700f1,libparking-49fcf10303d3525f,libkv_log_macro-02566259672f0307,libtokio-baac3db58bc6f7a1,libsignal_hook_registry-1026e8243b0f60c6,libsocket2-dc5e04f2451b4d13,libmio-7c693b770674c1a7,liblibp2p_core-787bfcf888fd0b2c,libvoid-c8c62e9ffd6f4978,libmultistream_select-ad729c1e15083c73,libfutures_timer-2b3f729e26c119bb,librw_stream_sink-f81c0c7d3e313a18,libparking_lot-2fac933ddf896ed6,libparking_lot_core-ebb52cc1283a9234,liblock_api-448b9d64adfe79e1,libscopeguard-d52bd00767847e44,libfnv-2d77ec4f6f971b24,liblog-c853099735e2e2ff,libvalue_bag-e56b1fc7f9ce58e4,libunsigned_varint-66a515d4bcadc3da,libasynchronous_codec-25d693e7e47305e3,libinstant-7ca0f2602aa54eaa,libpin_project-eaee99df2e4e8d0a,libeither-1e551205f1478063,libmultiaddr-6ea61355b42f4fe2,liburl-a485c7b67cafb0dd,libidna-a144489bba7d6e19,libidna_adapter-ea7b4544221c6ef9,libicu_normalizer-21495a246924a23b,libicu_normalizer_data-924449c90d89dbe9,libwrite16-e3dc6fad88157cf5,libutf8_iter-0d9be7b316c2b184,libutf16_iter-d3264925eca367d9,libsmallvec-c045c8168691680a,libicu_properties-83d2b66fb3c50002,libicu_properties_data-51b5eb2cadc91212,libicu_locid_transform-b05b970856caf0e6,libicu_locid_transform_data-ad15ccbe3fb30a0f,libicu_collections-29c7d1e5153723ae,libicu_provider-c3d8179e9f008cf2,libicu_locid-69c138c157942897,liblitemap-705c4d2af7d10c57,libtinystr-1cae9a65495de39a,libzerovec-79690fa703196492,libwriteable-45c783735d88c2b0,libyoke-d10ebd5907f9989d,libzerofrom-dc1f35d885ae84e6,libstable_deref_trait-e5f295e98f1b80b2,libform_urlencoded-9f47de52e008ab1d,libpercent_encoding-9bee39bbc5bd523a,libmultibase-4ebf6728397a2cb6,libbase_x-aacb55c1704f712f,libdata_encoding_macro-b174facdaa77b2b9,libstatic_assertions-d53a9977dc6e27e5,liblibp2p_identity-ec13ff06c7a7ef20,libbs58-057a6ece2aba89a6,libhkdf-01955f5b498a74c4,libhmac-3ae5e9e93b1d7e41,libtracing-eedaf2a1651f7c97,libtracing_core-16d4740aeab57df8,libonce_cell-098292c3b8c25e48,libthiserror-b7acae870c85ab27,libquick_protobuf-5b7ec1118111d1ea,libed25519_dalek-181e12e0d4d1e65c,libcurve25519_dalek-c9d5f0782ad20f11,libzeroize-e690a92154eabd1d,libed25519-76c60643093d90cd,libsignature-5e5320f1c885308d,libdata_encoding-b2c98f7e771d5c4c,libbyteorder-1efcbe4f07366651,libarrayref-e2c56de32f019e08,libmultihash-88fc957f9a5cde33,libunsigned_varint-294164ca3421b08e,libfutures-79da5cce4bd57e69,libfutures_executor-5ff1d244d57359b1,libnum_cpus-f9b7cf6be28bd1fb,libfutures_util-6fb79469271d81fe,libmemchr-3ffe5f7a52883367,libfutures_io-27f9afa652f9fbc0,libslab-409083241c76168d,libfutures_channel-f3c6a7ed079cc06a,libpin_project_lite-bedc6e0acd72ff2a,libfutures_sink-be8442ee548d90f9,libfutures_task-11771fc23744b112,libpin_utils-9a5791cba021167a,libfutures_core-80383a8f754c92a8,libbytes-bfe11088fe358bd1,libsecp256k1-123268d5cc4822f5,librand-fb3f78e16273d551,librand_chacha-e75e14588c7785b3,libppv_lite86-06fbad8b768ea05c,libzerocopy-38091c63436eb4aa,librand_core-6f667ea0ae4bb93e,libgetrandom-031060e884436e47,liblibc-c6a39b03331c7023,libsecp256k1_sys-4fa39eaf849f2a79,libhex-28742b4ca144387c,libsha2-250fe85f40160dd8,libcpufeatures-471354fefbcaf2d8,libcfg_if-33ef6c02a07f9fec,libdigest-ac71f6ccc3655c1a,libsubtle-6ff5d44cdfa0bfdf,libblock_buffer-9b17ba49550eac6e,libcrypto_common-67092a521ddc8f85,libgeneric_array-0766847dfcb97189,libtypenum-755f4fb03d2ae566,libserde-35747db2eec59b7b,libchrono-69c2ad5ee1309464,libnum_traits-103532d9f6223e1e,libiana_time_zone-33839373f004bfb1}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcVUZZyU/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/ring-8b33fe89a1d8df4e/out" "-L" "/opt/rustwide/target/debug/build/ring-c1d58cb0fc726597/out" "-L" "/opt/rustwide/target/debug/build/secp256k1-sys-753ef69f8335108f/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/blockchain_tests-223c1039071181b9" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blockchain_demo` (test "blockchain_tests") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "204fd511a67cc7471686b1ea447c8eaecc9f1b6d392b4a98bc8d614b835d593c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "204fd511a67cc7471686b1ea447c8eaecc9f1b6d392b4a98bc8d614b835d593c", kill_on_drop: false }` [INFO] [stdout] 204fd511a67cc7471686b1ea447c8eaecc9f1b6d392b4a98bc8d614b835d593c