[INFO] cloning repository https://github.com/nqh2k3/blockchain_with_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nqh2k3/blockchain_with_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnqh2k3%2Fblockchain_with_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnqh2k3%2Fblockchain_with_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d60385b1596781798432f0f509f5b71937b9e25d
[INFO] testing nqh2k3/blockchain_with_rust against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnqh2k3%2Fblockchain_with_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nqh2k3/blockchain_with_rust
[INFO] finished tweaking git repo https://github.com/nqh2k3/blockchain_with_rust
[INFO] tweaked toml for git repo https://github.com/nqh2k3/blockchain_with_rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nqh2k3/blockchain_with_rust on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nqh2k3/blockchain_with_rust 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded multiaddr v0.13.0
[INFO] [stderr]   Downloaded quick-error v1.2.3
[INFO] [stderr]   Downloaded rw-stream-sink v0.2.1
[INFO] [stderr]   Downloaded libp2p v0.39.1
[INFO] [stderr]   Downloaded multihash v0.14.0
[INFO] [stderr]   Downloaded chacha20 v0.7.3
[INFO] [stderr]   Downloaded sha-1 v0.9.8
[INFO] [stderr]   Downloaded libp2p-pnet v0.21.0
[INFO] [stderr]   Downloaded libp2p-swarm-derive v0.24.0
[INFO] [stderr]   Downloaded libp2p-ping v0.30.0
[INFO] [stderr]   Downloaded libp2p-mdns v0.31.0
[INFO] [stderr]   Downloaded dns-parser v0.8.0
[INFO] [stderr]   Downloaded matches v0.1.10
[INFO] [stderr]   Downloaded hostname v0.4.1
[INFO] [stderr]   Downloaded windows-implement v0.60.0
[INFO] [stderr]   Downloaded windows-strings v0.4.0
[INFO] [stderr]   Downloaded windows-core v0.61.0
[INFO] [stderr]   Downloaded unicode-bidi v0.3.18
[INFO] [stderr]   Downloaded trust-dns-resolver v0.20.4
[INFO] [stderr]   Downloaded libp2p-gossipsub v0.32.0
[INFO] [stderr]   Downloaded libp2p-kad v0.31.0
[INFO] [stderr]   Downloaded rustix v0.37.28
[INFO] [stderr]   Downloaded trust-dns-proto v0.20.4
[INFO] [stderr]   Downloaded async-std v1.13.1
[INFO] [stderr]   Downloaded rustix v1.0.5
[INFO] [stderr]   Downloaded zerocopy v0.8.24
[INFO] [stderr]   Downloaded syn v2.0.100
[INFO] [stderr]   Downloaded libp2p-deflate v0.29.0
[INFO] [stderr]   Downloaded curve25519-dalek v3.2.1
[INFO] [stderr]   Downloaded aes-gcm v0.9.4
[INFO] [stderr]   Downloaded rustls v0.19.1
[INFO] [stderr]   Downloaded webpki-roots v0.21.1
[INFO] [stderr]   Downloaded snow v0.8.0
[INFO] [stderr]   Downloaded icu_properties_data v1.5.1
[INFO] [stderr]   Downloaded blake2 v0.9.2
[INFO] [stderr]   Downloaded tokio v1.44.2
[INFO] [stderr]   Downloaded libz-sys v1.1.22
[INFO] [stderr]   Downloaded widestring v0.4.3
[INFO] [stderr]   Downloaded uint v0.9.5
[INFO] [stderr]   Downloaded petgraph v0.5.1
[INFO] [stderr]   Downloaded linux-raw-sys v0.3.8
[INFO] [stderr]   Downloaded socket2 v0.3.19
[INFO] [stderr]   Downloaded winreg v0.6.2
[INFO] [stderr]   Downloaded resolv-conf v0.7.1
[INFO] [stderr]   Downloaded enum-as-inner v0.3.4
[INFO] [stderr]   Downloaded pest v2.8.0
[INFO] [stderr]   Downloaded windows-interface v0.59.1
[INFO] [stderr]   Downloaded windows-result v0.3.2
[INFO] [stderr]   Downloaded iana-time-zone v0.1.63
[INFO] [stderr]   Downloaded async-std-resolver v0.20.4
[INFO] [stderr]   Downloaded ipconfig v0.2.2
[INFO] [stderr]   Downloaded lru-cache v0.1.2
[INFO] [stderr]   Downloaded windows-link v0.1.1
[INFO] [stderr]   Downloaded libp2p-dns v0.29.0
[INFO] [stderr]   Downloaded cuckoofilter v0.5.0
[INFO] [stderr]   Downloaded libp2p-floodsub v0.30.0
[INFO] [stderr]   Downloaded hex_fmt v0.3.0
[INFO] [stderr]   Downloaded libp2p-identify v0.30.0
[INFO] [stderr]   Downloaded cc v1.2.19
[INFO] [stderr]   Downloaded chacha20poly1305 v0.8.2
[INFO] [stderr]   Downloaded x25519-dalek v1.2.0
[INFO] [stderr]   Downloaded libp2p-swarm v0.30.0
[INFO] [stderr]   Downloaded flate2 v1.1.1
[INFO] [stderr]   Downloaded r-efi v5.2.0
[INFO] [stderr]   Downloaded libp2p-core v0.29.0
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.24
[INFO] [stderr]   Downloaded polyval v0.5.3
[INFO] [stderr]   Downloaded poly1305 v0.7.2
[INFO] [stderr]   Downloaded ucd-trie v0.1.7
[INFO] [stderr]   Downloaded libp2p-relay v0.3.0
[INFO] [stderr]   Downloaded async-lock v2.8.0
[INFO] [stderr]   Downloaded polling v2.8.0
[INFO] [stderr]   Downloaded socket2 v0.4.10
[INFO] [stderr]   Downloaded bytes v0.5.6
[INFO] [stderr]   Downloaded webpki v0.21.4
[INFO] [stderr]   Downloaded getrandom v0.3.2
[INFO] [stderr]   Downloaded pin-project v0.4.30
[INFO] [stderr]   Downloaded yamux v0.9.0
[INFO] [stderr]   Downloaded libp2p-mplex v0.29.0
[INFO] [stderr]   Downloaded ghash v0.4.4
[INFO] [stderr]   Downloaded aead v0.4.3
[INFO] [stderr]   Downloaded universal-hash v0.4.1
[INFO] [stderr]   Downloaded semver-parser v0.10.3
[INFO] [stderr]   Downloaded semver v0.11.0
[INFO] [stderr]   Downloaded rustc_version v0.3.3
[INFO] [stderr]   Downloaded libp2p-noise v0.32.0
[INFO] [stderr]   Downloaded ahash v0.7.8
[INFO] [stderr]   Downloaded minicbor v0.8.1
[INFO] [stderr]   Downloaded libp2p-request-response v0.12.0
[INFO] [stderr]   Downloaded async-io v1.13.0
[INFO] [stderr]   Downloaded futures-lite v1.13.0
[INFO] [stderr]   Downloaded if-addrs v0.6.7
[INFO] [stderr]   Downloaded kv-log-macro v1.0.7
[INFO] [stderr]   Downloaded libp2p-wasm-ext v0.29.0
[INFO] [stderr]   Downloaded sct v0.6.1
[INFO] [stderr]   Downloaded futures-rustls v0.21.1
[INFO] [stderr]   Downloaded soketto v0.4.2
[INFO] [stderr]   Downloaded anyhow v1.0.98
[INFO] [stderr]   Downloaded prost v0.8.0
[INFO] [stderr]   Downloaded icu_normalizer_data v1.5.1
[INFO] [stderr]   Downloaded icu_locid_transform_data v1.5.1
[INFO] [stderr]   Downloaded libp2p-plaintext v0.29.0
[INFO] [stderr]   Downloaded salsa20 v0.8.1
[INFO] [stderr]   Downloaded ring v0.16.20
[INFO] [stderr]   Downloaded lru v0.6.6
[INFO] [stderr]   Downloaded async-global-executor v2.4.1
[INFO] [stderr]   Downloaded parity-send-wrapper v0.1.0
[INFO] [stderr]   Downloaded pin-project-lite v0.1.12
[INFO] [stderr]   Downloaded quicksink v0.1.2
[INFO] [stderr]   Downloaded libp2p-websocket v0.30.0
[INFO] [stderr]   Downloaded tempfile v3.19.1
[INFO] [stderr]   Downloaded pin-project-internal v0.4.30
[INFO] [stderr]   Downloaded waker-fn v1.2.0
[INFO] [stderr]   Downloaded if-addrs-sys v0.3.2
[INFO] [stderr]   Downloaded gloo-timers v0.3.0
[INFO] [stderr]   Downloaded multimap v0.8.3
[INFO] [stderr]   Downloaded prost-types v0.8.0
[INFO] [stderr]   Downloaded asynchronous-codec v0.6.2
[INFO] [stderr]   Downloaded env_logger v0.7.1
[INFO] [stderr]   Downloaded asn1_der v0.7.6
[INFO] [stderr]   Downloaded multistream-select v0.10.4
[INFO] [stderr]   Downloaded prost-derive v0.8.0
[INFO] [stderr]   Downloaded errno v0.3.11
[INFO] [stderr]   Downloaded untrusted v0.7.1
[INFO] [stderr]   Downloaded nohash-hasher v0.2.0
[INFO] [stderr]   Downloaded data-encoding v2.9.0
[INFO] [stderr]   Downloaded multihash-derive v0.7.2
[INFO] [stderr]   Downloaded unsigned-varint v0.7.2
[INFO] [stderr]   Downloaded fixedbitset v0.2.0
[INFO] [stderr]   Downloaded humantime v1.3.0
[INFO] [stderr]   Downloaded value-bag v1.11.1
[INFO] [stderr]   Downloaded pretty_env_logger v0.4.0
[INFO] [stderr]   Downloaded minicbor-derive v0.6.4
[INFO] [stderr]   Downloaded libp2p-tcp v0.29.0
[INFO] [stderr]   Downloaded if-watch v0.2.2
[INFO] [stderr]   Downloaded libp2p-uds v0.29.0
[INFO] [stderr]   Downloaded prost-build v0.8.0
[INFO] [stderr]   Downloaded libp2p-yamux v0.33.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e97d73a5a48e6babe551af7cba994528b0265fa5d86768c817479e067d13d385
[INFO] running `Command { std: "docker" "start" "-a" "e97d73a5a48e6babe551af7cba994528b0265fa5d86768c817479e067d13d385", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e97d73a5a48e6babe551af7cba994528b0265fa5d86768c817479e067d13d385", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e97d73a5a48e6babe551af7cba994528b0265fa5d86768c817479e067d13d385", kill_on_drop: false }`
[INFO] [stdout] e97d73a5a48e6babe551af7cba994528b0265fa5d86768c817479e067d13d385
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9c1e1fd33fba7f079c0f112497cd1818c553e0c2062229d8767d7641f7d99b7a
[INFO] running `Command { std: "docker" "start" "-a" "9c1e1fd33fba7f079c0f112497cd1818c553e0c2062229d8767d7641f7d99b7a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling rustix v1.0.5
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling value-bag v1.11.1
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling cc v1.2.19
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling crunchy v0.2.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling pin-project-internal v0.4.30
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling arrayref v0.3.9
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling signature v1.6.4
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling ed25519 v1.5.3
[INFO] [stderr]    Compiling libsecp256k1 v0.5.0
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling asn1_der v0.7.6
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling prost-build v0.8.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.100
[INFO] [stderr]    Compiling futures-lite v2.6.0
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling bumpalo v3.17.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling piper v0.2.4
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]    Compiling rustix v0.37.28
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling async-lock v3.4.0
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling libz-sys v1.1.22
[INFO] [stderr]    Compiling waker-fn v1.2.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling wasm-bindgen v0.2.100
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling blocking v1.6.1
[INFO] [stderr]    Compiling async-executor v1.13.1
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.8
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling async-lock v2.8.0
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling hostname v0.4.1
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.100
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling resolv-conf v0.7.1
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]    Compiling nohash-hasher v0.2.0
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling rustls v0.19.1
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling quicksink v0.1.2
[INFO] [stderr]    Compiling uint v0.9.5
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling lru v0.6.6
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.100
[INFO] [stderr]    Compiling salsa20 v0.8.1
[INFO] [stderr]    Compiling webpki-roots v0.21.1
[INFO] [stderr]    Compiling cuckoofilter v0.5.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling dns-parser v0.8.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling if-addrs v0.6.7
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling parity-send-wrapper v0.1.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling hex_fmt v0.3.0
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling atomic v0.5.3
[INFO] [stderr]    Compiling prost-derive v0.8.0
[INFO] [stderr]    Compiling multihash-derive v0.7.2
[INFO] [stderr]    Compiling enum-as-inner v0.3.4
[INFO] [stderr]    Compiling minicbor-derive v0.6.4
[INFO] [stderr]    Compiling libp2p-swarm-derive v0.24.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling polling v3.7.4
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.100
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling async-io v2.4.0
[INFO] [stderr]    Compiling pin-project v0.4.30
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling if-watch v0.2.2
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling prost v0.8.0
[INFO] [stderr]    Compiling x25519-dalek v1.2.0
[INFO] [stderr]    Compiling minicbor v0.8.1
[INFO] [stderr]    Compiling prost-types v0.8.0
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling async-global-executor v2.4.1
[INFO] [stderr]    Compiling futures-rustls v0.21.1
[INFO] [stderr]    Compiling pest v2.8.0
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling tokio v1.44.2
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling async-std v1.13.1
[INFO] [stderr]    Compiling js-sys v0.3.77
[INFO] [stderr]    Compiling pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling semver-parser v0.10.3
[INFO] [stderr]    Compiling libp2p-core v0.29.0
[INFO] [stderr]    Compiling libp2p-kad v0.31.0
[INFO] [stderr]    Compiling libp2p-plaintext v0.29.0
[INFO] [stderr]    Compiling libp2p-relay v0.3.0
[INFO] [stderr]    Compiling libp2p-noise v0.32.0
[INFO] [stderr]    Compiling libp2p-floodsub v0.30.0
[INFO] [stderr]    Compiling libp2p-gossipsub v0.32.0
[INFO] [stderr]    Compiling libp2p-identify v0.30.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling asynchronous-codec v0.6.2
[INFO] [stderr]    Compiling rustc_version v0.3.3
[INFO] [stderr]    Compiling unsigned-varint v0.7.2
[INFO] [stderr]    Compiling snow v0.8.0
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling rw-stream-sink v0.2.1
[INFO] [stderr]    Compiling wasm-timer v0.2.5
[INFO] [stderr]    Compiling soketto v0.4.2
[INFO] [stderr]    Compiling yamux v0.9.0
[INFO] [stderr]    Compiling libp2p-pnet v0.21.0
[INFO] [stderr]    Compiling multihash v0.14.0
[INFO] [stderr]    Compiling multistream-select v0.10.4
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.50
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[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.13.0
[INFO] [stderr]    Compiling trust-dns-proto v0.20.4
[INFO] [stderr]    Compiling trust-dns-resolver v0.20.4
[INFO] [stderr]    Compiling async-std-resolver v0.20.4
[INFO] [stderr]    Compiling libp2p-swarm v0.30.0
[INFO] [stderr]    Compiling libp2p-yamux v0.33.0
[INFO] [stderr]    Compiling libp2p-tcp v0.29.0
[INFO] [stderr]    Compiling libp2p-dns v0.29.0
[INFO] [stderr]    Compiling libp2p-websocket v0.30.0
[INFO] [stderr]    Compiling libp2p-mplex v0.29.0
[INFO] [stderr]    Compiling libp2p-wasm-ext v0.29.0
[INFO] [stderr]    Compiling libp2p-uds v0.29.0
[INFO] [stderr]    Compiling libp2p-deflate v0.29.0
[INFO] [stderr]    Compiling libp2p-mdns v0.31.0
[INFO] [stderr]    Compiling libp2p-ping v0.30.0
[INFO] [stderr]    Compiling libp2p-request-response v0.12.0
[INFO] [stderr]    Compiling libp2p v0.39.1
[INFO] [stderr]    Compiling blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `,`, found `msg`
[INFO] [stdout]   --> src/p2p.rs:92:46
[INFO] [stdout]    |
[INFO] [stdout] 92 |                     info!("Respone from {}," msg.source);
[INFO] [stdout]    |                                              ^^^ expected `,`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]   --> src/p2p.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde::Serialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/p2p.rs:12:28
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde::Deserialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]   --> src/p2p.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |  #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde::Serialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/p2p.rs:18:29
[INFO] [stdout]    |
[INFO] [stdout] 18 |  #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde::Deserialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `NetworkBehaviour` in this scope
[INFO] [stdout]   --> src/p2p.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 |  #[derive(NetworkBehaviour)]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `NetworkBehaviour` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/p2p.rs:1:101
[INFO] [stdout]    |
[INFO] [stdout]  1 | use libp2p::{floodsub::{Floodsub, FloodsubEvent}, identity::error, mdns::{Mdns, MdnsEvent}, swarm::{NetworkBehaviour, NetworkBehavio...
[INFO] [stdout]    |                                                                                                     ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use libp2p::NetworkBehaviour;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `behavious` in this scope
[INFO] [stdout]   --> src/p2p.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 |     #[behavious(ignore)]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: the derive macro `NetworkBehaviour` accepts the similarly named `behaviour` attribute
[INFO] [stdout]    |
[INFO] [stdout] 33 -     #[behavious(ignore)]
[INFO] [stdout] 33 +     #[behaviour(ignore)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `behaviour` in this scope
[INFO] [stdout]   --> src/p2p.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 |     #[behaviour(ignore)]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `behaviour` is an attribute that can be used by the derive macro `NetworkBehaviour`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `error` in this scope
[INFO] [stdout]   --> src/main.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |             error!("Could not add block - Invalid");
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout] note: `error` is imported here, but it is a module, not a macro
[INFO] [stdout]   --> src/main.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout]  3 | use core::error;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  3 + use log::error;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `Info` in this scope
[INFO] [stdout]    --> src/main.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 |     Info!("Mining block ...");
[INFO] [stdout]     |     ^^^^ help: a macro with a similar name exists (notice the capitalization): `info`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/log-0.4.27/src/macros.rs:252:1
[INFO] [stdout]     |
[INFO] [stdout] 252 | macro_rules! info {
[INFO] [stdout]     | ----------------- similarly named macro `info` defined here
[INFO] [stdout]     |
[INFO] [stdout] note: `Info` is imported here, but it is a struct, not a macro
[INFO] [stdout]    --> src/main.rs:7:133
[INFO] [stdout]     |
[INFO] [stdout]   7 | ...eypair, mplex, noise::NoiseConfig, swarm::{self, protocols_handler::multi::Info, SwarmBuilder}, tcp::TokioTcpConfig, Swarm};
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `select` in this scope
[INFO] [stdout]    --> src/main.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |             select! {
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   3 + use tokio::select;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Lazy` in this scope
[INFO] [stdout]  --> src/p2p.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub static KEYS: Lazy = Lazy::new(identiy::Keypair::generate_end25519);
[INFO] [stdout]   |                  ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 1 + use once_cell::sync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use once_cell::unsync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lazy`
[INFO] [stdout]  --> src/p2p.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub static KEYS: Lazy = Lazy::new(identiy::Keypair::generate_end25519);
[INFO] [stdout]   |                         ^^^^ use of undeclared type `Lazy`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 1 + use once_cell::sync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use once_cell::unsync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `identiy`
[INFO] [stdout]  --> src/p2p.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub static KEYS: Lazy = Lazy::new(identiy::Keypair::generate_end25519);
[INFO] [stdout]   |                                   ^^^^^^^ use of unresolved module or unlinked crate `identiy`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `identiy`, use `cargo add identiy` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::Keypair;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use libp2p::identity::Keypair;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use libp2p::identity::ed25519::Keypair;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use libp2p::identity::rsa::Keypair;
[INFO] [stdout]   |
[INFO] [stdout]   = and 1 other candidate
[INFO] [stdout] help: if you import `Keypair`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 7 - pub static KEYS: Lazy = Lazy::new(identiy::Keypair::generate_end25519);
[INFO] [stdout] 7 + pub static KEYS: Lazy = Lazy::new(Keypair::generate_end25519);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Lazy` in this scope
[INFO] [stdout]  --> src/p2p.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub static PEER_ID: Lazy = Lazy::new(|| PeerID::from(KEYS.public()));
[INFO] [stdout]   |                     ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 1 + use once_cell::sync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use once_cell::unsync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lazy`
[INFO] [stdout]  --> src/p2p.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub static PEER_ID: Lazy = Lazy::new(|| PeerID::from(KEYS.public()));
[INFO] [stdout]   |                            ^^^^ use of undeclared type `Lazy`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 1 + use once_cell::sync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use once_cell::unsync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Lazy` in this scope
[INFO] [stdout]  --> src/p2p.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub static CHAIN_TOPIC: Lazy = Lazy::new(|| Topic::new("chains"));
[INFO] [stdout]   |                         ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 1 + use once_cell::sync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use once_cell::unsync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lazy`
[INFO] [stdout]  --> src/p2p.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub static CHAIN_TOPIC: Lazy = Lazy::new(|| Topic::new("chains"));
[INFO] [stdout]   |                                ^^^^ use of undeclared type `Lazy`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 1 + use once_cell::sync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use once_cell::unsync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Lazy` in this scope
[INFO] [stdout]   --> src/p2p.rs:10:25
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub static BLOCK_TOPIC: Lazy = Lazy::new(|| Topic::new("blocks"));
[INFO] [stdout]    |                         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use once_cell::sync::Lazy;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use once_cell::unsync::Lazy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lazy`
[INFO] [stdout]   --> src/p2p.rs:10:32
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub static BLOCK_TOPIC: Lazy = Lazy::new(|| Topic::new("blocks"));
[INFO] [stdout]    |                                ^^^^ use of undeclared type `Lazy`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use once_cell::sync::Lazy;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use once_cell::unsync::Lazy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `PeerId`
[INFO] [stdout]   --> src/p2p.rs:50:38
[INFO] [stdout]    |
[INFO] [stdout] 50 |             floodsub: Floodsub::new(*PeerId),
[INFO] [stdout]    |                                      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-core-0.29.0/src/peer_id.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct PeerId {
[INFO] [stdout]    | ----------------- `PeerId` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `msg` in this scope
[INFO] [stdout]   --> src/p2p.rs:98:57
[INFO] [stdout]    |
[INFO] [stdout] 98 |         }else if let Ok(resp) = serde_json::from_slice(&msg.data) {
[INFO] [stdout]    |                                                         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `msg` in this scope
[INFO] [stdout]   --> src/p2p.rs:99:48
[INFO] [stdout]    |
[INFO] [stdout] 99 |             info!("Sending local chain to {}", msg.source.to_string());
[INFO] [stdout]    |                                                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `PeerId`
[INFO] [stdout]    --> src/p2p.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |             if PeerId.to_string() == peer_id {
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use the path separator to refer to an item
[INFO] [stdout]     |
[INFO] [stdout] 100 -             if PeerId.to_string() == peer_id {
[INFO] [stdout] 100 +             if PeerId::to_string() == peer_id {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peer_id` in this scope
[INFO] [stdout]    --> src/p2p.rs:100:38
[INFO] [stdout]     |
[INFO] [stdout]   8 | pub static PEER_ID: Lazy = Lazy::new(|| PeerID::from(KEYS.public()));
[INFO] [stdout]     | --------------------------------------------------------------------- similarly named static `PEER_ID` defined here
[INFO] [stdout] ...
[INFO] [stdout] 100 |             if PeerId.to_string() == peer_id {
[INFO] [stdout]     |                                      ^^^^^^^ help: a static with a similar name exists: `PEER_ID`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `msg` in this scope
[INFO] [stdout]    --> src/p2p.rs:103:31
[INFO] [stdout]     |
[INFO] [stdout] 103 |                     receiver: msg.source.to_string(),
[INFO] [stdout]     |                               ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `msg` in this scope
[INFO] [stdout]    --> src/p2p.rs:108:62
[INFO] [stdout]     |
[INFO] [stdout] 108 |             }else if let Ok(block) = serde_json::from_slice(&msg.data) {
[INFO] [stdout]     |                                                              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `msg` in this scope
[INFO] [stdout]    --> src/p2p.rs:109:53
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 info!("Received new block from {}", msg.source.to_string());
[INFO] [stdout]     |                                                     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Utc`
[INFO] [stdout]   --> src/main.rs:43:24
[INFO] [stdout]    |
[INFO] [stdout] 43 |             timestamp: Utc::now ().timestamp(),
[INFO] [stdout]    |                        ^^^ use of undeclared type `Utc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  3 + use chrono::Utc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i` in this scope
[INFO] [stdout]   --> src/main.rs:95:31
[INFO] [stdout]    |
[INFO] [stdout] 95 |         let first = chain.get(i - 1).expect("Has to exist");
[INFO] [stdout]    |                               ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i` in this scope
[INFO] [stdout]   --> src/main.rs:96:32
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let second = chain.get(i).expect("Has to exist");
[INFO] [stdout]    |                                ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Utc`
[INFO] [stdout]    --> src/main.rs:127:19
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let now = Utc::now();
[INFO] [stdout]     |                   ^^^ use of undeclared type `Utc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   3 + use chrono::Utc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `unbounded_channel` in module `mpsc`
[INFO] [stdout]    --> src/main.rs:184:52
[INFO] [stdout]     |
[INFO] [stdout] 184 |     let (respone_sender, mut response_rcv) = mpsc::unbounded_channel();
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^ not found in `mpsc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   3 + use tokio::sync::mpsc::unbounded_channel;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `unbounded_channel`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 184 -     let (respone_sender, mut response_rcv) = mpsc::unbounded_channel();
[INFO] [stdout] 184 +     let (respone_sender, mut response_rcv) = unbounded_channel();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `unbounded_channel` in module `mpsc`
[INFO] [stdout]    --> src/main.rs:185:45
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let (init_sender, mut init_rcv) = mpsc::unbounded_channel();
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^ not found in `mpsc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   3 + use tokio::sync::mpsc::unbounded_channel;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `unbounded_channel`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 185 -     let (init_sender, mut init_rcv) = mpsc::unbounded_channel();
[INFO] [stdout] 185 +     let (init_sender, mut init_rcv) = unbounded_channel();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader`
[INFO] [stdout]    --> src/main.rs:204:21
[INFO] [stdout]     |
[INFO] [stdout] 204 |     let mut stdin = BufReader::new(stdin()).lines();
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `BufReader`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   3 + use std::io::BufReader;
[INFO] [stdout]     |
[INFO] [stdout]   3 + use tokio::io::BufReader;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `stdin` in this scope
[INFO] [stdout]    --> src/main.rs:204:36
[INFO] [stdout]     |
[INFO] [stdout] 204 |     let mut stdin = BufReader::new(stdin()).lines();
[INFO] [stdout]     |                                    ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout]   3 + use std::io::stdin;
[INFO] [stdout]     |
[INFO] [stdout]   3 + use tokio::io::stdin;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_lisr_peers` in module `p2p`
[INFO] [stdout]    --> src/main.rs:241:38
[INFO] [stdout]     |
[INFO] [stdout] 241 |                     let peers = p2p::get_lisr_peers(&Swarm);
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^ not found in `p2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found type alias `Swarm`
[INFO] [stdout]    --> src/main.rs:241:54
[INFO] [stdout]     |
[INFO] [stdout] 241 |                     let peers = p2p::get_lisr_peers(&Swarm);
[INFO] [stdout]     |                                                      ^^^^^ help: a local variable with a similar name exists (notice the capitalization): `swarm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handle_print_peers` in module `p2p`
[INFO] [stdout]    --> src/main.rs:271:36
[INFO] [stdout]     |
[INFO] [stdout] 271 |                     "ls p" => p2p::handle_print_peers(&swarm),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^ not found in `p2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `handle_print` in module `p2p`
[INFO] [stdout]    --> src/main.rs:272:60
[INFO] [stdout]     |
[INFO] [stdout] 272 |                     cmd if cmd.starts_with("ls c") => p2p::handle_print+chain(&swarm),
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^ not found in `p2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `chain` in this scope
[INFO] [stdout]    --> src/main.rs:272:73
[INFO] [stdout]     |
[INFO] [stdout] 272 |                     cmd if cmd.starts_with("ls c") => p2p::handle_print+chain(&swarm),
[INFO] [stdout]     |                                                                         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   3 + use std::iter::chain;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handle_create_block` in module `p2p`
[INFO] [stdout]    --> src/main.rs:273:64
[INFO] [stdout]     |
[INFO] [stdout] 273 |                     cmd if cmd.starts_with("create b") => p2p::handle_create_block(cmd, &mut swarm),
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^^^^^^ not found in `p2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::format;
[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: `self`
[INFO] [stdout]  --> src/main.rs:7:127
[INFO] [stdout]   |
[INFO] [stdout] 7 | use libp2p::{core::transport::upgrade, futures::channel::mpsc, identity::ed25519::Keypair, mplex, noise::NoiseConfig, swarm::{self, p...
[INFO] [stdout]   |                                                                                                                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `Vec`
[INFO] [stdout]   --> src/p2p.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub blocks: Vec,
[INFO] [stdout]    |                 ^^^ expected at least 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub blocks: Vec<T>,
[INFO] [stdout]    |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `tokio::sync::mpsc::UnboundedSender`
[INFO] [stdout]   --> src/p2p.rs:34:32
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub response_sender: mpsc::UnboundedSender,
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^ expected 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 1 generic parameter: `T`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/sync/mpsc/unbounded.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct UnboundedSender<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^ -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub response_sender: mpsc::UnboundedSender<T>,
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for structs
[INFO] [stdout]   --> src/p2p.rs:37:40
[INFO] [stdout]    |
[INFO] [stdout] 37 |     init_sender: mpsc::UnboundedSender<_>,
[INFO] [stdout]    |                                        ^ not allowed in type signatures
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `Vec`
[INFO] [stdout]   --> src/main.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub blocks: Vec,
[INFO] [stdout]    |                 ^^^ expected at least 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub blocks: Vec<T>,
[INFO] [stdout]    |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for trait `NetworkBehaviourEventProcess`
[INFO] [stdout]    --> src/p2p.rs:87:8
[INFO] [stdout]     |
[INFO] [stdout]  87 |  impl  NetworkBehaviourEventProcess for AppBehaviour{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 generic argument
[INFO] [stdout]     |
[INFO] [stdout] note: trait defined here, with 1 generic parameter: `TEvent`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.30.0/src/behaviour.rs:219:11
[INFO] [stdout]     |
[INFO] [stdout] 219 | pub trait NetworkBehaviourEventProcess<TEvent> {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout]  87 |  impl  NetworkBehaviourEventProcess<TEvent> for AppBehaviour{
[INFO] [stdout]     |                                    ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for type alias `libp2p::Swarm`
[INFO] [stdout]    --> src/main.rs:281:35
[INFO] [stdout]     |
[INFO] [stdout] 281 |     pub fn get_lisr_peers(swarm: &Swarm) -> Vec {
[INFO] [stdout]     |                                   ^^^^^ expected 1 generic argument
[INFO] [stdout]     |
[INFO] [stdout] note: type alias defined here, with 1 generic parameter: `TBehaviour`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.30.0/src/lib.rs:135:10
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub type Swarm<TBehaviour> = ExpandedSwarm<
[INFO] [stdout]     |          ^^^^^ ----------
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 281 |     pub fn get_lisr_peers(swarm: &Swarm<TBehaviour>) -> Vec {
[INFO] [stdout]     |                                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `Vec`
[INFO] [stdout]    --> src/main.rs:281:45
[INFO] [stdout]     |
[INFO] [stdout] 281 |     pub fn get_lisr_peers(swarm: &Swarm) -> Vec {
[INFO] [stdout]     |                                             ^^^ expected at least 1 generic argument
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 281 |     pub fn get_lisr_peers(swarm: &Swarm) -> Vec<T> {
[INFO] [stdout]     |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for type alias `libp2p::Swarm`
[INFO] [stdout]    --> src/main.rs:291:39
[INFO] [stdout]     |
[INFO] [stdout] 291 |     pub fn handle_print_peers(swarm: &Swarm){
[INFO] [stdout]     |                                       ^^^^^ expected 1 generic argument
[INFO] [stdout]     |
[INFO] [stdout] note: type alias defined here, with 1 generic parameter: `TBehaviour`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.30.0/src/lib.rs:135:10
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub type Swarm<TBehaviour> = ExpandedSwarm<
[INFO] [stdout]     |          ^^^^^ ----------
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 291 |     pub fn handle_print_peers(swarm: &Swarm<TBehaviour>){
[INFO] [stdout]     |                                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for type alias `libp2p::Swarm`
[INFO] [stdout]    --> src/main.rs:296:55
[INFO] [stdout]     |
[INFO] [stdout] 296 |     pub fn handle_create_block(cmd: &str, swarm: &mut Swarm){
[INFO] [stdout]     |                                                       ^^^^^ expected 1 generic argument
[INFO] [stdout]     |
[INFO] [stdout] note: type alias defined here, with 1 generic parameter: `TBehaviour`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.30.0/src/lib.rs:135:10
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub type Swarm<TBehaviour> = ExpandedSwarm<
[INFO] [stdout]     |          ^^^^^ ----------
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 296 |     pub fn handle_create_block(cmd: &str, swarm: &mut Swarm<TBehaviour>){
[INFO] [stdout]     |                                                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `tokio::sync::mpsc::UnboundedSender`
[INFO] [stdout]   --> src/p2p.rs:44:32
[INFO] [stdout]    |
[INFO] [stdout] 44 |         response_sender: mpsc::UnboundedSender,
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^ expected 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 1 generic parameter: `T`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/sync/mpsc/unbounded.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct UnboundedSender<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^ -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 44 |         response_sender: mpsc::UnboundedSender<T>,
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `tokio::sync::mpsc::UnboundedSender`
[INFO] [stdout]   --> src/p2p.rs:45:27
[INFO] [stdout]    |
[INFO] [stdout] 45 |         init_sender:mpsc::UnboundedSender,
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^ expected 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 1 generic parameter: `T`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/sync/mpsc/unbounded.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct UnboundedSender<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^ -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 45 |         init_sender:mpsc::UnboundedSender<T>,
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `Vec`
[INFO] [stdout]    --> src/main.rs:103:39
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn choose_chain(&mut self, local: Vec, remote: Vec) -> Vec{
[INFO] [stdout]     |                                       ^^^ expected at least 1 generic argument
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn choose_chain(&mut self, local: Vec<T>, remote: Vec) -> Vec{
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `Vec`
[INFO] [stdout]    --> src/main.rs:103:52
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn choose_chain(&mut self, local: Vec, remote: Vec) -> Vec{
[INFO] [stdout]     |                                                    ^^^ expected at least 1 generic argument
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn choose_chain(&mut self, local: Vec, remote: Vec<T>) -> Vec{
[INFO] [stdout]     |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `Vec`
[INFO] [stdout]    --> src/main.rs:103:60
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn choose_chain(&mut self, local: Vec, remote: Vec) -> Vec{
[INFO] [stdout]     |                                                            ^^^ expected at least 1 generic argument
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn choose_chain(&mut self, local: Vec, remote: Vec) -> Vec<T>{
[INFO] [stdout]     |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerID`
[INFO] [stdout]  --> src/p2p.rs:8:41
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub static PEER_ID: Lazy = Lazy::new(|| PeerID::from(KEYS.public()));
[INFO] [stdout]   |                                         ^^^^^^
[INFO] [stdout]   |                                         |
[INFO] [stdout]   |                                         use of undeclared type `PeerID`
[INFO] [stdout]   |                                         help: a struct with a similar name exists: `PeerId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Topic`
[INFO] [stdout]  --> src/p2p.rs:9:45
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub static CHAIN_TOPIC: Lazy = Lazy::new(|| Topic::new("chains"));
[INFO] [stdout]   |                                             ^^^^^ use of undeclared type `Topic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Topic`
[INFO] [stdout]   --> src/p2p.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub static BLOCK_TOPIC: Lazy = Lazy::new(|| Topic::new("blocks"));
[INFO] [stdout]    |                                             ^^^^^ use of undeclared type `Topic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/p2p.rs:90:31
[INFO] [stdout]    |
[INFO] [stdout] 90 |             if let Ok(resp) = serde_json::from_slice(&msg.data){
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `from_slice`
[INFO] [stdout] 91 |                 if resp.receiver == PEER_ID.to_string(){
[INFO] [stdout]    |                    ---- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 90 |             if let Ok(resp) = serde_json::from_slice::<T>(&msg.data){
[INFO] [stdout]    |                                                     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found module `error`
[INFO] [stdout]    --> src/p2p.rs:106:21
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     error("Error sending via channel, {}", e);
[INFO] [stdout]     |                     ^^^^^ not a function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Block: serde::de::Deserialize<'_>` is not satisfied
[INFO] [stdout]     --> src/p2p.rs:108:38
[INFO] [stdout]      |
[INFO] [stdout]  108 |             }else if let Ok(block) = serde_json::from_slice(&msg.data) {
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::de::Deserialize<'_>` is not implemented for `Block`
[INFO] [stdout]     --> src/main.rs:19:1
[INFO] [stdout]      |
[INFO] [stdout]   19 | pub struct Block {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Block` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::de::Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 144 others
[INFO] [stdout] note: required by a bound in `from_slice`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2657:8
[INFO] [stdout]      |
[INFO] [stdout] 2655 | pub fn from_slice<'a, T>(v: &'a [u8]) -> Result<T>
[INFO] [stdout]      |        ---------- required by a bound in this function
[INFO] [stdout] 2656 | where
[INFO] [stdout] 2657 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |         res.push(&format!("{:b}",c));
[INFO] [stdout]    |             ---- ^^^^^^^^^^^^^^^^^^ expected `char`, found `&String`
[INFO] [stdout]    |             |
[INFO] [stdout]    |             arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/string.rs:1404:11
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:67:49
[INFO] [stdout]    |
[INFO] [stdout] 67 |         }else if !hash_to_binary_representation(&hex::decode(&block.hash).expect_err("Can decode from here"),)
[INFO] [stdout]    |                   ----------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `&FromHexError`
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&[u8]`
[INFO] [stdout]               found reference `&FromHexError`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn hash_to_binary_representation(hash: &[u8],) -> String{
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_block_valild` found for reference `&App` in the current scope
[INFO] [stdout]   --> src/main.rs:97:18
[INFO] [stdout]    |
[INFO] [stdout] 97 |         if !self.is_block_valild(second, first){
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `is_block_valid` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 97 -         if !self.is_block_valild(second, first){
[INFO] [stdout] 97 +         if !self.is_block_valid(second, first){
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/main.rs:148:5
[INFO] [stdout]     |
[INFO] [stdout] 142 | /     loop{
[INFO] [stdout] 143 | |         if nonce % 100000 ==0{
[INFO] [stdout] 144 | |             info!("Nonce: {}", nonce);
[INFO] [stdout] ...   |
[INFO] [stdout] 147 | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 148 |       let hash = caculate_hash(id, timestamp, previous_hash, data, nonce);
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Sha256` in the current scope
[INFO] [stdout]    --> src/main.rs:171:30
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let mut hasher = Sha256::new();
[INFO] [stdout]     |                              ^^^ function or associated item not found in `Sha256`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Digest` which provides `new` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use sha2::Digest;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `libp2p::identity::ed25519::Keypair` in the current scope
[INFO] [stdout]    --> src/main.rs:187:30
[INFO] [stdout]     |
[INFO] [stdout] 187 |     let auth_keys = Keypair::new()
[INFO] [stdout]     |                              ^^^ function or associated item not found in `libp2p::identity::ed25519::Keypair`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `libp2p::identity::ed25519::Keypair` consider using one of the following associated functions:
[INFO] [stdout]       libp2p::identity::ed25519::Keypair::generate
[INFO] [stdout]       libp2p::identity::ed25519::Keypair::decode
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-core-0.29.0/src/identity/ed25519.rs:35:5
[INFO] [stdout]     |
[INFO] [stdout]  35 |     pub fn generate() -> Keypair {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  48 |     pub fn decode(kp: &mut [u8]) -> Result<Keypair, DecodingError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `upgrade` found for struct `GenTcpConfig<T>` in the current scope
[INFO] [stdout]    --> src/main.rs:192:10
[INFO] [stdout]     |
[INFO] [stdout] 191 |       let transp = TokioTcpConfig::new()
[INFO] [stdout]     |  __________________-
[INFO] [stdout] 192 | |         .upgrade(upgrade::Version::V1)
[INFO] [stdout]     | |         -^^^^^^^ method not found in `GenTcpConfig<libp2p::libp2p_tcp::tokio::Tcp>`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-core-0.29.0/src/transport.rs:199:8
[INFO] [stdout]     |
[INFO] [stdout] 199 |       fn upgrade(self, version: upgrade::Version) -> upgrade::Builder<Self>
[INFO] [stdout]     |          ------- the method is available for `GenTcpConfig<libp2p::libp2p_tcp::tokio::Tcp>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Transport` which provides `upgrade` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libp2p::Transport;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:197:72
[INFO] [stdout]     |
[INFO] [stdout] 197 |     let beheviour = p2p::AppBehaviour::new(App::new(), respone_sender, init_sender.clone()).await;
[INFO] [stdout]     |                                                                        ^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `AppBehaviour: NetworkBehaviour` is not satisfied
[INFO] [stdout]    --> src/main.rs:198:47
[INFO] [stdout]     |
[INFO] [stdout] 198 |     let mut swarm = SwarmBuilder::new(transp, beheviour,*p2p::PEER_ID )
[INFO] [stdout]     |                     -----------------         ^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `AppBehaviour`
[INFO] [stdout]    --> src/p2p.rs:30:2
[INFO] [stdout]     |
[INFO] [stdout]  30 |  pub struct AppBehaviour{
[INFO] [stdout]     |  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `NetworkBehaviour`:
[INFO] [stdout]               DummyBehaviour
[INFO] [stdout]               Floodsub
[INFO] [stdout]               Gossipsub<C, F>
[INFO] [stdout]               Identify
[INFO] [stdout]               Kademlia<TStore>
[INFO] [stdout]               Mdns
[INFO] [stdout]               Relay
[INFO] [stdout]               RequestResponse<TCodec>
[INFO] [stdout]             and 3 others
[INFO] [stdout] note: required by a bound in `SwarmBuilder::<TBehaviour>::new`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.30.0/src/lib.rs:968:19
[INFO] [stdout]     |
[INFO] [stdout] 968 | where TBehaviour: NetworkBehaviour,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^ required by this bound in `SwarmBuilder::<TBehaviour>::new`
[INFO] [stdout] ...
[INFO] [stdout] 973 |     pub fn new(
[INFO] [stdout]     |            --- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `excutor` found for struct `SwarmBuilder<TBehaviour>` in the current scope
[INFO] [stdout]    --> src/main.rs:199:10
[INFO] [stdout]     |
[INFO] [stdout] 198 |       let mut swarm = SwarmBuilder::new(transp, beheviour,*p2p::PEER_ID )
[INFO] [stdout]     |  _____________________-
[INFO] [stdout] 199 | |         .excutor(Box::new(|fut|{
[INFO] [stdout]     | |         -^^^^^^^ method not found in `SwarmBuilder<AppBehaviour>`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: expected a `FnOnce()` closure, found `{async block@src/main.rs:212:11: 212:21}`
[INFO] [stdout]    --> src/main.rs:212:11
[INFO] [stdout]     |
[INFO] [stdout] 212 |       spawn(async move{
[INFO] [stdout]     |  _____-----_^
[INFO] [stdout]     | |     |
[INFO] [stdout]     | |     required by a bound introduced by this call
[INFO] [stdout] 213 | |         sleep(Duration::from_secs(1)).await;
[INFO] [stdout] 214 | |         info!("Sending init event");
[INFO] [stdout] 215 | |         init_sender.sen(true).expect("Can send init event");
[INFO] [stdout] 216 | |     });
[INFO] [stdout]     | |_____^ expected an `FnOnce()` closure, found `{async block@src/main.rs:212:11: 212:21}`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FnOnce()` is not implemented for `{async block@src/main.rs:212:11: 212:21}`
[INFO] [stdout]     = note: wrap the `{async block@src/main.rs:212:11: 212:21}` in a closure with no arguments: `|| { /* code */ }`
[INFO] [stdout] note: required by a bound in `std::thread::spawn`
[INFO] [stdout]    --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:725:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `LocalChainRequest: serde::ser::Serialize` is not satisfied
[INFO] [stdout]     --> src/main.rs:254:58
[INFO] [stdout]      |
[INFO] [stdout]  254 |                         let json = serde_json::to_string(&req).expect("Can jsonfy request");
[INFO] [stdout]      |                                    --------------------- ^^^^ unsatisfied trait bound
[INFO] [stdout]      |                                    |
[INFO] [stdout]      |                                    required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `LocalChainRequest`
[INFO] [stdout]     --> src/p2p.rs:19:2
[INFO] [stdout]      |
[INFO] [stdout]   19 |  pub struct LocalChainRequest{
[INFO] [stdout]      |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `LocalChainRequest` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::ser::Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 133 others
[INFO] [stdout] note: required by a bound in `serde_json::to_string`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/ser.rs:2239:17
[INFO] [stdout]      |
[INFO] [stdout] 2237 | pub fn to_string<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        --------- required by a bound in this function
[INFO] [stdout] 2238 | where
[INFO] [stdout] 2239 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ChainRespone: serde::ser::Serialize` is not satisfied
[INFO] [stdout]     --> src/main.rs:264:54
[INFO] [stdout]      |
[INFO] [stdout]  264 |                     let json = serde_json::to_string(&resp).expect("Can jsonfy respone");
[INFO] [stdout]      |                                --------------------- ^^^^^ unsatisfied trait bound
[INFO] [stdout]      |                                |
[INFO] [stdout]      |                                required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `ChainRespone`
[INFO] [stdout]     --> src/p2p.rs:13:2
[INFO] [stdout]      |
[INFO] [stdout]   13 |  pub struct ChainRespone{
[INFO] [stdout]      |  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `ChainRespone` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::ser::Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 133 others
[INFO] [stdout] note: required by a bound in `serde_json::to_string`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/ser.rs:2239:17
[INFO] [stdout]      |
[INFO] [stdout] 2237 | pub fn to_string<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        --------- required by a bound in this function
[INFO] [stdout] 2238 | where
[INFO] [stdout] 2239 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found module `error`
[INFO] [stdout]    --> src/main.rs:274:26
[INFO] [stdout]     |
[INFO] [stdout] 274 |                     _ => error("Unknown command"),
[INFO] [stdout]     |                          ^^^^^ not a function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&_`
[INFO] [stdout]    --> src/main.rs:288:34
[INFO] [stdout]     |
[INFO] [stdout] 288 |         unique_peers.iter().map(|p| p.to_string().collect())
[INFO] [stdout]     |                                  ^  - type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 288 |         unique_peers.iter().map(|p: &K| p.to_string().collect())
[INFO] [stdout]     |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Block: serde::ser::Serialize` is not satisfied
[INFO] [stdout]     --> src/main.rs:311:46
[INFO] [stdout]      |
[INFO] [stdout]  311 |             let json = serde_json::to_string(&block).expect("Can jsonfy request");
[INFO] [stdout]      |                        --------------------- ^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `Block`
[INFO] [stdout]     --> src/main.rs:19:1
[INFO] [stdout]      |
[INFO] [stdout]   19 | pub struct Block {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Block` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::ser::Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 133 others
[INFO] [stdout] note: required by a bound in `serde_json::to_string`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/ser.rs:2239:17
[INFO] [stdout]      |
[INFO] [stdout] 2237 | pub fn to_string<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        --------- required by a bound in this function
[INFO] [stdout] 2238 | where
[INFO] [stdout] 2239 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0121, E0277, E0282, E0308, E0412, E0423, E0425, E0433...
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockchain` (bin "blockchain") due to 77 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9c1e1fd33fba7f079c0f112497cd1818c553e0c2062229d8767d7641f7d99b7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c1e1fd33fba7f079c0f112497cd1818c553e0c2062229d8767d7641f7d99b7a", kill_on_drop: false }`
[INFO] [stdout] 9c1e1fd33fba7f079c0f112497cd1818c553e0c2062229d8767d7641f7d99b7a
