[INFO] cloning repository https://github.com/elvisisvan/rust-blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elvisisvan/rust-blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felvisisvan%2Frust-blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felvisisvan%2Frust-blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 17e539d77b3d20526d3a0bd1ee9393ec474c9ded
[INFO] checking elvisisvan/rust-blockchain/17e539d77b3d20526d3a0bd1ee9393ec474c9ded against master#4068bafedd8ba724e332a5221c06a6fa531a30d2 for pr-146978
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felvisisvan%2Frust-blockchain" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/elvisisvan/rust-blockchain
[INFO] finished tweaking git repo https://github.com/elvisisvan/rust-blockchain
[INFO] tweaked toml for git repo https://github.com/elvisisvan/rust-blockchain written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/elvisisvan/rust-blockchain on toolchain 4068bafedd8ba724e332a5221c06a6fa531a30d2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/elvisisvan/rust-blockchain 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" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "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 73 packages to latest compatible versions
[INFO] [stderr]       Adding async-io v2.6.0
[INFO] [stderr]       Adding bitflags v2.10.0
[INFO] [stderr]       Adding bytes v1.10.1
[INFO] [stderr]     Updating concurrent-queue v2.1.0 -> v2.5.0
[INFO] [stderr]       Adding core-foundation v0.9.4
[INFO] [stderr]     Updating core-foundation-sys v0.8.3 -> v0.8.7
[INFO] [stderr]       Adding core2 v0.4.0
[INFO] [stderr]       Adding equivalent v1.0.2
[INFO] [stderr]       Adding errno v0.3.14
[INFO] [stderr]     Updating fixedbitset v0.2.0 -> v0.4.2
[INFO] [stderr]     Updating futures v0.3.25 -> v0.3.31
[INFO] [stderr]     Updating futures-channel v0.3.25 -> v0.3.31
[INFO] [stderr]     Updating futures-core v0.3.25 -> v0.3.31
[INFO] [stderr]     Updating futures-executor v0.3.25 -> v0.3.31
[INFO] [stderr]     Updating futures-io v0.3.25 -> v0.3.31
[INFO] [stderr]       Adding futures-lite v2.6.1
[INFO] [stderr]     Updating futures-macro v0.3.25 -> v0.3.31
[INFO] [stderr]     Updating futures-sink v0.3.25 -> v0.3.31
[INFO] [stderr]     Updating futures-task v0.3.25 -> v0.3.31
[INFO] [stderr]     Updating futures-util v0.3.25 -> v0.3.31
[INFO] [stderr]       Adding hashbrown v0.16.0
[INFO] [stderr]       Adding hermit-abi v0.5.2
[INFO] [stderr]     Updating if-addrs v0.6.7 -> v0.7.0
[INFO] [stderr]     Updating if-watch v0.2.2 -> v2.0.0
[INFO] [stderr]     Updating indexmap v1.9.2 -> v2.12.0
[INFO] [stderr]     Updating libc v0.2.139 -> v0.2.177
[INFO] [stderr]     Updating libp2p v0.39.1 -> v0.49.0 (available: v0.56.0)
[INFO] [stderr]     Updating libp2p-core v0.29.0 -> v0.37.0
[INFO] [stderr]     Updating libp2p-mdns v0.31.0 -> v0.41.0
[INFO] [stderr]     Updating libp2p-swarm v0.30.0 -> v0.40.1
[INFO] [stderr]     Updating libp2p-swarm-derive v0.24.0 -> v0.30.1
[INFO] [stderr]     Updating libp2p-tcp v0.29.0 -> v0.37.0
[INFO] [stderr]       Adding linux-raw-sys v0.11.0
[INFO] [stderr]     Updating lock_api v0.4.9 -> v0.4.14
[INFO] [stderr]     Updating multiaddr v0.13.0 -> v0.14.0
[INFO] [stderr]     Updating multihash v0.14.0 -> v0.16.3
[INFO] [stderr]     Updating multihash-derive v0.7.2 -> v0.8.1
[INFO] [stderr]     Updating multistream-select v0.10.4 -> v0.12.1
[INFO] [stderr]       Adding netlink-packet-core v0.4.2
[INFO] [stderr]       Adding netlink-packet-route v0.12.0
[INFO] [stderr]       Adding netlink-packet-utils v0.5.2
[INFO] [stderr]       Adding netlink-proto v0.10.0
[INFO] [stderr]       Adding netlink-sys v0.8.7
[INFO] [stderr]       Adding nix v0.24.3
[INFO] [stderr]     Updating parking_lot v0.11.2 -> v0.12.5
[INFO] [stderr]     Updating parking_lot_core v0.8.6 -> v0.9.12
[INFO] [stderr]       Adding paste v1.0.15
[INFO] [stderr]     Updating petgraph v0.5.1 -> v0.6.5
[INFO] [stderr]       Adding polling v3.11.0
[INFO] [stderr]       Adding prettyplease v0.1.25
[INFO] [stderr]  Downgrading proc-macro-crate v1.2.1 -> v1.1.3 (available: v1.3.1)
[INFO] [stderr]     Updating proc-macro2 v1.0.50 -> v1.0.101
[INFO] [stderr]     Updating prost v0.8.0 -> v0.11.9
[INFO] [stderr]     Updating prost-build v0.8.0 -> v0.11.9
[INFO] [stderr]     Updating prost-derive v0.8.0 -> v0.11.9
[INFO] [stderr]     Updating prost-types v0.8.0 -> v0.11.9
[INFO] [stderr]     Updating quote v1.0.23 -> v1.0.41
[INFO] [stderr]       Adding redox_syscall v0.5.18
[INFO] [stderr]       Adding rtnetlink v0.10.1
[INFO] [stderr]       Adding rustix v1.1.2
[INFO] [stderr]     Updating rw-stream-sink v0.2.1 -> v0.3.0
[INFO] [stderr]       Adding syn v2.0.107
[INFO] [stderr]       Adding system-configuration v0.5.1
[INFO] [stderr]       Adding system-configuration-sys v0.5.0
[INFO] [stderr]     Updating tokio-macros v0.3.2 -> v1.8.2
[INFO] [stderr]       Adding windows v0.34.0
[INFO] [stderr]       Adding windows-link v0.2.1
[INFO] [stderr]       Adding windows-sys v0.61.2
[INFO] [stderr]       Adding windows_aarch64_msvc v0.34.0
[INFO] [stderr]       Adding windows_i686_gnu v0.34.0
[INFO] [stderr]       Adding windows_i686_msvc v0.34.0
[INFO] [stderr]       Adding windows_x86_64_gnu v0.34.0
[INFO] [stderr]       Adding windows_x86_64_msvc v0.34.0
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded data-encoding v2.3.3
[INFO] [stderr]   Downloaded prost-build v0.11.9
[INFO] [stderr]   Downloaded prost v0.11.9
[INFO] [stderr]   Downloaded rtnetlink v0.10.1
[INFO] [stderr]   Downloaded netlink-packet-core v0.4.2
[INFO] [stderr]   Downloaded unsigned-varint v0.7.1
[INFO] [stderr]   Downloaded zeroize_derive v1.3.3
[INFO] [stderr]   Downloaded cxxbridge-flags v1.0.86
[INFO] [stderr]   Downloaded toml v0.5.10
[INFO] [stderr]   Downloaded prost-derive v0.11.9
[INFO] [stderr]   Downloaded cxxbridge-macro v1.0.86
[INFO] [stderr]   Downloaded atomic-waker v1.1.0
[INFO] [stderr]   Downloaded if-addrs v0.7.0
[INFO] [stderr]   Downloaded cxx v1.0.86
[INFO] [stderr]   Downloaded netlink-packet-utils v0.5.2
[INFO] [stderr]   Downloaded if-watch v2.0.0
[INFO] [stderr]   Downloaded libp2p-swarm-derive v0.30.1
[INFO] [stderr]   Downloaded blocking v1.3.0
[INFO] [stderr]   Downloaded windows_i686_gnu v0.34.0
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.34.0
[INFO] [stderr]   Downloaded libp2p v0.49.0
[INFO] [stderr]   Downloaded ipnet v2.7.1
[INFO] [stderr]   Downloaded netlink-sys v0.8.7
[INFO] [stderr]   Downloaded prost-types v0.11.9
[INFO] [stderr]   Downloaded which v4.3.0
[INFO] [stderr]   Downloaded multiaddr v0.14.0
[INFO] [stderr]   Downloaded pretty_env_logger v0.4.0
[INFO] [stderr]   Downloaded libp2p-mdns v0.41.0
[INFO] [stderr]   Downloaded libp2p-tcp v0.37.0
[INFO] [stderr]   Downloaded multihash v0.16.3
[INFO] [stderr]   Downloaded cxx-build v1.0.86
[INFO] [stderr]   Downloaded netlink-packet-route v0.12.0
[INFO] [stderr]   Downloaded netlink-proto v0.10.0
[INFO] [stderr]   Downloaded tokio v1.24.2
[INFO] [stderr]   Downloaded asn1_der v0.7.5
[INFO] [stderr]   Downloaded multistream-select v0.12.1
[INFO] [stderr]   Downloaded rw-stream-sink v0.3.0
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.34.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.34.0
[INFO] [stderr]   Downloaded windows v0.34.0
[INFO] [stderr]   Downloaded windows_i686_msvc v0.34.0
[INFO] [stderr]   Downloaded libp2p-core v0.37.0
[INFO] [stderr]   Downloaded libp2p-swarm v0.40.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b36055d7ee72ce5fc76f60c1bc6ceec3d593813c1391d50b89f4d1f2f8ea22a9
[INFO] running `Command { std: "docker" "start" "-a" "b36055d7ee72ce5fc76f60c1bc6ceec3d593813c1391d50b89f4d1f2f8ea22a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b36055d7ee72ce5fc76f60c1bc6ceec3d593813c1391d50b89f4d1f2f8ea22a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b36055d7ee72ce5fc76f60c1bc6ceec3d593813c1391d50b89f4d1f2f8ea22a9", kill_on_drop: false }`
[INFO] [stdout] b36055d7ee72ce5fc76f60c1bc6ceec3d593813c1391d50b89f4d1f2f8ea22a9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ca3bbaa9445f2f2b1093c3509d80931412fb079fde88c9d3f1e5dff4af1196ef
[INFO] running `Command { std: "docker" "start" "-a" "ca3bbaa9445f2f2b1093c3509d80931412fb079fde88c9d3f1e5dff4af1196ef", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]    Compiling anyhow v1.0.68
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling crossbeam-utils v0.8.14
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]     Checking parking v2.0.0
[INFO] [stderr]     Checking generic-array v0.14.6
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]     Checking event-listener v2.5.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking fastrand v1.8.0
[INFO] [stderr]     Checking waker-fn v1.1.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]    Compiling prettyplease v0.1.25
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]     Checking block-buffer v0.10.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking futures-lite v1.12.0
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]    Compiling async-io v2.6.0
[INFO] [stderr]    Compiling polling v2.5.2
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]     Checking digest v0.10.6
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking futures-lite v2.6.1
[INFO] [stderr]    Compiling tokio v1.24.2
[INFO] [stderr]    Compiling async-io v1.12.0
[INFO] [stderr]     Checking unsigned-varint v0.7.1
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]     Checking async-task v4.3.0
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling syn v2.0.107
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]     Checking sha2 v0.10.6
[INFO] [stderr]     Checking async-lock v2.6.0
[INFO] [stderr]     Checking async-channel v1.8.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking core2 v0.4.0
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking signature v1.6.4
[INFO] [stderr]     Checking atomic-waker v1.1.0
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking async-executor v1.5.0
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]     Checking blocking v1.3.0
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking ed25519 v1.5.3
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling which v4.3.0
[INFO] [stderr]     Checking data-encoding v2.3.3
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking once_cell v1.17.0
[INFO] [stderr]     Checking bs58 v0.4.0
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]    Compiling regex v1.7.1
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking mio v0.8.5
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking asn1_der v0.7.5
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking ipnet v2.7.1
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking dns-parser v0.8.0
[INFO] [stderr]     Checking termcolor v1.2.0
[INFO] [stderr]     Checking async-global-executor v2.3.1
[INFO] [stderr]    Compiling serde_json v1.0.91
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking iana-time-zone v0.1.53
[INFO] [stderr]    Compiling toml v0.5.10
[INFO] [stderr]     Checking chrono v0.4.23
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling prost-derive v0.11.9
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling zeroize_derive v1.3.3
[INFO] [stderr]    Compiling tokio-macros v1.8.2
[INFO] [stderr]    Compiling libp2p-swarm-derive v0.30.1
[INFO] [stderr]     Checking zeroize v1.3.0
[INFO] [stderr]     Checking curve25519-dalek v3.2.1
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]     Checking netlink-packet-utils v0.5.2
[INFO] [stderr]     Checking netlink-packet-core v0.4.2
[INFO] [stderr]    Compiling prost v0.11.9
[INFO] [stderr]     Checking netlink-packet-route v0.12.0
[INFO] [stderr]    Compiling multihash-derive v0.8.1
[INFO] [stderr]     Checking multihash v0.16.3
[INFO] [stderr]    Compiling prost-types v0.11.9
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking netlink-sys v0.8.7
[INFO] [stderr]     Checking multistream-select v0.12.1
[INFO] [stderr]     Checking rw-stream-sink v0.3.0
[INFO] [stderr]    Compiling prost-build v0.11.9
[INFO] [stderr]    Compiling libp2p-core v0.37.0
[INFO] [stderr]     Checking netlink-proto v0.10.0
[INFO] [stderr]     Checking rtnetlink v0.10.1
[INFO] [stderr]     Checking if-watch v2.0.0
[INFO] [stderr]     Checking multiaddr v0.14.0
[INFO] [stderr]     Checking ed25519-dalek v1.0.1
[INFO] [stderr]     Checking libp2p-swarm v0.40.1
[INFO] [stderr]     Checking libp2p-tcp v0.37.0
[INFO] [stderr]     Checking libp2p-mdns v0.41.0
[INFO] [stderr]     Checking libp2p v0.49.0
[INFO] [stderr]     Checking rust-blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/main.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Debug, Clone)]
[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/main.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Debug, Clone)]
[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/main.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Debug, Clone)]
[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/main.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Debug, Clone)]
[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 macro `error` in this scope
[INFO] [stdout]   --> src/main.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             error!("could not add block - invalid");
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use log::error;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `error` in this scope
[INFO] [stdout]   --> src/main.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             error!("could not add block - invalid");
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use log::error;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `warn` in this scope
[INFO] [stdout]   --> src/main.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |             warn!("block with id: {} has wrong previous hash, block.id");
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `warn` is in scope, but it is an attribute: `#[warn]`
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use log::warn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `warn` in this scope
[INFO] [stdout]   --> src/main.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |             warn!("block with id: {} has wrong previous hash, block.id");
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `warn` is in scope, but it is an attribute: `#[warn]`
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use log::warn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `warn` in this scope
[INFO] [stdout]   --> src/main.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |             warn!("block with id: {} has invalid difficulty", block.id);
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `warn` is in scope, but it is an attribute: `#[warn]`
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use log::warn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `warn` in this scope
[INFO] [stdout]   --> src/main.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |             warn!("block with id: {} has invalid difficulty", block.id);
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `warn` is in scope, but it is an attribute: `#[warn]`
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use log::warn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `warn` in this scope
[INFO] [stdout]   --> src/main.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             warn!(
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `warn` is in scope, but it is an attribute: `#[warn]`
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use log::warn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `warn` in this scope
[INFO] [stdout]   --> src/main.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             warn!(
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `warn` is in scope, but it is an attribute: `#[warn]`
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use log::warn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `warn` in this scope
[INFO] [stdout]   --> src/main.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |             warn !("block with id: {} has invalid hash", block .id);
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `warn` is in scope, but it is an attribute: `#[warn]`
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use log::warn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]    --> src/main.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |         info!("mining block...");
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   1 + use log::info;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `warn` in this scope
[INFO] [stdout]   --> src/main.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |             warn !("block with id: {} has invalid hash", block .id);
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `warn` is in scope, but it is an attribute: `#[warn]`
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use log::warn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]    --> src/main.rs:130:17
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 info!("nonce: {}", nonce);
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   1 + use log::info;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]    --> src/main.rs:135:17
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 info!(
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   1 + use log::info;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]    --> src/main.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |         info!("mining block...");
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   1 + use log::info;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]    --> src/main.rs:130:17
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 info!("nonce: {}", nonce);
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   1 + use log::info;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]    --> src/main.rs:135:17
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 info!(
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   1 + use log::info;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Utc`
[INFO] [stdout]   --> src/main.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |             timestamp: Utc::now().timestamp(),
[INFO] [stdout]    |                        ^^^ use of undeclared type `Utc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use chrono::Utc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIFFICULT_PREFIX` in this scope
[INFO] [stdout]   --> src/main.rs:58:21
[INFO] [stdout]    |
[INFO] [stdout] 15 | const DIFFICULTY_PREFIX: &str = "00";
[INFO] [stdout]    | ------------------------------------- similarly named constant `DIFFICULTY_PREFIX` defined here
[INFO] [stdout] ...
[INFO] [stdout] 58 |         .start_with(DIFFICULT_PREFIX){
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `DIFFICULTY_PREFIX`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Utc`
[INFO] [stdout]    --> src/main.rs:117:19
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let now = Utc::now();
[INFO] [stdout]     |                   ^^^ use of undeclared type `Utc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use chrono::Utc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sha256`
[INFO] [stdout]    --> src/main.rs:155:26
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut hasher = Sha256::new();
[INFO] [stdout]     |                          ^^^^^^ use of undeclared type `Sha256`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout]   1 + use sha2::Sha256;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Utc`
[INFO] [stdout]   --> src/main.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |             timestamp: Utc::now().timestamp(),
[INFO] [stdout]    |                        ^^^ use of undeclared type `Utc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use chrono::Utc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIFFICULT_PREFIX` in this scope
[INFO] [stdout]   --> src/main.rs:58:21
[INFO] [stdout]    |
[INFO] [stdout] 15 | const DIFFICULTY_PREFIX: &str = "00";
[INFO] [stdout]    | ------------------------------------- similarly named constant `DIFFICULTY_PREFIX` defined here
[INFO] [stdout] ...
[INFO] [stdout] 58 |         .start_with(DIFFICULT_PREFIX){
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `DIFFICULTY_PREFIX`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Utc`
[INFO] [stdout]    --> src/main.rs:117:19
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let now = Utc::now();
[INFO] [stdout]     |                   ^^^ use of undeclared type `Utc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use chrono::Utc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sha256`
[INFO] [stdout]    --> src/main.rs:155:26
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut hasher = Sha256::new();
[INFO] [stdout]     |                          ^^^^^^ use of undeclared type `Sha256`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout]   1 + use sha2::Sha256;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `rust_blockchain`
[INFO] [stdout]    --> src/main.rs:159:2
[INFO] [stdout]     |
[INFO] [stdout] 159 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `src/main.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `Vec`
[INFO] [stdout]  --> src/main.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 |     pub blocks: Vec,
[INFO] [stdout]   |                 ^^^ expected at least 1 generic argument
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 2 |     pub blocks: Vec<T>,
[INFO] [stdout]   |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `Vec`
[INFO] [stdout]  --> src/main.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 |     pub blocks: Vec,
[INFO] [stdout]   |                 ^^^ expected at least 1 generic argument
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 2 |     pub blocks: Vec<T>,
[INFO] [stdout]   |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `Vec`
[INFO] [stdout]   --> src/main.rs:95:39
[INFO] [stdout]    |
[INFO] [stdout] 95 |     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] 95 |     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:95:39
[INFO] [stdout]    |
[INFO] [stdout] 95 |     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] 95 |     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:95:52
[INFO] [stdout]    |
[INFO] [stdout] 95 |     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] 95 |     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:95:52
[INFO] [stdout]    |
[INFO] [stdout] 95 |     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] 95 |     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:95:60
[INFO] [stdout]    |
[INFO] [stdout] 95 |     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] 95 |     fn choose_chain(&mut self, local: Vec, remote: Vec) -> Vec<T> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `Vec`
[INFO] [stdout]   --> src/main.rs:95:60
[INFO] [stdout]    |
[INFO] [stdout] 95 |     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] 95 |     fn choose_chain(&mut self, local: Vec, remote: Vec) -> Vec<T> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hash_to_binary_presentation` in this scope
[INFO] [stdout]   --> src/main.rs:55:20
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn hash_to_binary_representation(hash: &[u8]) -> String {
[INFO] [stdout]    | ------------------------------------------------------- similarly named function `hash_to_binary_representation` defined here
[INFO] [stdout] ...
[INFO] [stdout] 55 |         } else if !hash_to_binary_presentation(
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `hash_to_binary_representation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hash_to_binary_presentation` in this scope
[INFO] [stdout]   --> src/main.rs:55:20
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn hash_to_binary_representation(hash: &[u8]) -> String {
[INFO] [stdout]    | ------------------------------------------------------- similarly named function `hash_to_binary_representation` defined here
[INFO] [stdout] ...
[INFO] [stdout] 55 |         } else if !hash_to_binary_presentation(
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `hash_to_binary_representation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `calculate_hash` in this scope
[INFO] [stdout]   --> src/main.rs:67:31
[INFO] [stdout]    |
[INFO] [stdout] 67 |         } else if hex::encode(calculate_hash(
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `calculate_hash` in this scope
[INFO] [stdout]   --> src/main.rs:67:31
[INFO] [stdout]    |
[INFO] [stdout] 67 |         } else if hex::encode(calculate_hash(
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `mine_block` in this scope
[INFO] [stdout]    --> src/main.rs:118:28
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let(nonce, hash) = mine_block(id, now.timestamp(), &previous_hash, &data);
[INFO] [stdout]     |                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider using the associated function on `Self`
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let(nonce, hash) = Self::mine_block(id, now.timestamp(), &previous_hash, &data);
[INFO] [stdout]     |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `mine_block` in this scope
[INFO] [stdout]    --> src/main.rs:118:28
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let(nonce, hash) = mine_block(id, now.timestamp(), &previous_hash, &data);
[INFO] [stdout]     |                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider using the associated function on `Self`
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let(nonce, hash) = Self::mine_block(id, now.timestamp(), &previous_hash, &data);
[INFO] [stdout]     |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `calculate_hash` in this scope
[INFO] [stdout]    --> src/main.rs:132:24
[INFO] [stdout]     |
[INFO] [stdout] 132 |             let hash = calculate_hash(id, timestamp, previous_hash, data, nonce);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider using the associated function on `Self`
[INFO] [stdout]     |
[INFO] [stdout] 132 |             let hash = Self::calculate_hash(id, timestamp, previous_hash, data, nonce);
[INFO] [stdout]     |                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `calculate_hash` in this scope
[INFO] [stdout]    --> src/main.rs:132:24
[INFO] [stdout]     |
[INFO] [stdout] 132 |             let hash = calculate_hash(id, timestamp, previous_hash, data, nonce);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider using the associated function on `Self`
[INFO] [stdout]     |
[INFO] [stdout] 132 |             let hash = Self::calculate_hash(id, timestamp, previous_hash, data, nonce);
[INFO] [stdout]     |                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_byte` found for struct `std::string::String` in the current scope
[INFO] [stdout]    --> src/main.rs:156:40
[INFO] [stdout]     |
[INFO] [stdout] 156 |         hasher.update(data.to_string().as_byte());
[INFO] [stdout]     |                                        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 156 |         hasher.update(data.to_string().as_bytes());
[INFO] [stdout]     |                                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_byte` found for struct `std::string::String` in the current scope
[INFO] [stdout]    --> src/main.rs:156:40
[INFO] [stdout]     |
[INFO] [stdout] 156 |         hasher.update(data.to_string().as_byte());
[INFO] [stdout]     |                                        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 156 |         hasher.update(data.to_string().as_bytes());
[INFO] [stdout]     |                                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433, E0599, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-blockchain` (bin "rust-blockchain") due to 24 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-blockchain` (bin "rust-blockchain" test) due to 23 previous errors
[INFO] running `Command { std: "docker" "inspect" "ca3bbaa9445f2f2b1093c3509d80931412fb079fde88c9d3f1e5dff4af1196ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca3bbaa9445f2f2b1093c3509d80931412fb079fde88c9d3f1e5dff4af1196ef", kill_on_drop: false }`
[INFO] [stdout] ca3bbaa9445f2f2b1093c3509d80931412fb079fde88c9d3f1e5dff4af1196ef
