[INFO] cloning repository https://github.com/thereal-atom/blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thereal-atom/blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthereal-atom%2Fblockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthereal-atom%2Fblockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5900dae8dc43428dff5981249cb3ac07535e24c5
[INFO] checking thereal-atom/blockchain against e3607d549209cc9fdfe7e907123b4185210e2c2b for pr-158915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthereal-atom%2Fblockchain" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/thereal-atom/blockchain
[INFO] finished tweaking git repo https://github.com/thereal-atom/blockchain
[INFO] tweaked toml for git repo https://github.com/thereal-atom/blockchain written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/thereal-atom/blockchain on toolchain e3607d549209cc9fdfe7e907123b4185210e2c2b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/thereal-atom/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" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "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]  Downloading crates ...
[INFO] [stderr]   Downloaded sha256 v1.1.2
[INFO] [stderr]   Downloaded scratch v1.0.5
[INFO] [stderr]   Downloaded cxx-build v1.0.92
[INFO] [stderr]   Downloaded cxxbridge-flags v1.0.92
[INFO] [stderr]   Downloaded proc-macro2 v1.0.52
[INFO] [stderr]   Downloaded cxxbridge-macro v1.0.92
[INFO] [stderr]   Downloaded chrono v0.4.24
[INFO] [stderr]   Downloaded cxx v1.0.92
[INFO] [stderr]   Downloaded libc v0.2.140
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 93c408e3620d77f7125c6f673bec57fe9e4af0f74f9d9e9e9a0e9e2cc8636ca8
[INFO] running `Command { std: "docker" "start" "93c408e3620d77f7125c6f673bec57fe9e4af0f74f9d9e9e9a0e9e2cc8636ca8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "93c408e3620d77f7125c6f673bec57fe9e4af0f74f9d9e9e9a0e9e2cc8636ca8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "93c408e3620d77f7125c6f673bec57fe9e4af0f74f9d9e9e9a0e9e2cc8636ca8" "/opt/rustwide/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "93c408e3620d77f7125c6f673bec57fe9e4af0f74f9d9e9e9a0e9e2cc8636ca8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "93c408e3620d77f7125c6f673bec57fe9e4af0f74f9d9e9e9a0e9e2cc8636ca8" "/opt/rustwide/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking cpufeatures v0.2.5
[INFO] [stderr]     Checking iana-time-zone v0.1.53
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking chrono v0.4.24
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking sha256 v1.1.2
[INFO] [stderr]     Checking blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `created_at` is never read
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Transaction {
[INFO] [stdout]   |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     created_at: DateTime<Utc>,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index`, `previous_hash`, and `transactions` are never read
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Block {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 34 |     index: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 35 |     hash: String,
[INFO] [stdout] 36 |     previous_hash: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 37 |     transactions: Vec<Transaction>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PartialBlock` is never constructed
[INFO] [stdout]   --> src/main.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct PartialBlock<'a> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `calculate_hash` and `create_transaction` are never used
[INFO] [stdout]   --> src/main.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl Block {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 70 |     fn calculate_hash(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn create_transaction(&mut self, sender_address: String, recipient_address: String, amount: f64) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BlockChain` is never constructed
[INFO] [stdout]   --> src/main.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | struct BlockChain {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `new` is never used
[INFO] [stdout]   --> src/main.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 89 | impl BlockChain {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 90 |     fn new(&self) -> BlockChain {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `created_at` is never read
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Transaction {
[INFO] [stdout]   |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     created_at: DateTime<Utc>,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Wallet` is never constructed
[INFO] [stdout]   --> src/main.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | struct Wallet {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `create_transaction` are never used
[INFO] [stdout]    --> src/main.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl Wallet {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 105 |     fn new() -> Wallet {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     fn create_transaction(&mut self, transaction: Transaction) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index`, `previous_hash`, and `transactions` are never read
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Block {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 34 |     index: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 35 |     hash: String,
[INFO] [stdout] 36 |     previous_hash: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 37 |     transactions: Vec<Transaction>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PartialBlock` is never constructed
[INFO] [stdout]   --> src/main.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct PartialBlock<'a> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `calculate_hash` and `create_transaction` are never used
[INFO] [stdout]   --> src/main.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl Block {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 70 |     fn calculate_hash(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn create_transaction(&mut self, sender_address: String, recipient_address: String, amount: f64) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BlockChain` is never constructed
[INFO] [stdout]   --> src/main.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | struct BlockChain {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `new` is never used
[INFO] [stdout]   --> src/main.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 89 | impl BlockChain {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 90 |     fn new(&self) -> BlockChain {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Wallet` is never constructed
[INFO] [stdout]   --> src/main.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | struct Wallet {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `create_transaction` are never used
[INFO] [stdout]    --> src/main.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl Wallet {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 105 |     fn new() -> Wallet {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     fn create_transaction(&mut self, transaction: Transaction) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.68s
[INFO] running `Command { std: "docker" "inspect" "93c408e3620d77f7125c6f673bec57fe9e4af0f74f9d9e9e9a0e9e2cc8636ca8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93c408e3620d77f7125c6f673bec57fe9e4af0f74f9d9e9e9a0e9e2cc8636ca8", kill_on_drop: false }`
[INFO] [stdout] 93c408e3620d77f7125c6f673bec57fe9e4af0f74f9d9e9e9a0e9e2cc8636ca8
