[INFO] cloning repository https://github.com/c0llinx/mining-simulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/c0llinx/mining-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0llinx%2Fmining-simulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0llinx%2Fmining-simulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d43a9ebe428a7502a52ae492662291f4dc919eae
[INFO] testing c0llinx/mining-simulator against 1.99.0-beta.1 for beta-1.99-5
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0llinx%2Fmining-simulator" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/c0llinx/mining-simulator
[INFO] finished tweaking git repo https://github.com/c0llinx/mining-simulator
[INFO] tweaked toml for git repo https://github.com/c0llinx/mining-simulator written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/c0llinx/mining-simulator on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/c0llinx/mining-simulator 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] bd9cd5a4f64747e8110add3a5d1c8874c0fbdfa04354095908bf585149890082
[INFO] running `Command { std: "docker" "start" "bd9cd5a4f64747e8110add3a5d1c8874c0fbdfa04354095908bf585149890082", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bd9cd5a4f64747e8110add3a5d1c8874c0fbdfa04354095908bf585149890082", 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" "bd9cd5a4f64747e8110add3a5d1c8874c0fbdfa04354095908bf585149890082" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bd9cd5a4f64747e8110add3a5d1c8874c0fbdfa04354095908bf585149890082", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bd9cd5a4f64747e8110add3a5d1c8874c0fbdfa04354095908bf585149890082" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling cpufeatures v0.2.16
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/main.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::{DateTime, NaiveDateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:143:36
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let new_block = Block::new((i+1), String::new(), transaction.clone());
[INFO] [stdout]     |                                    ^   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 143 -         let new_block = Block::new((i+1), String::new(), transaction.clone());
[INFO] [stdout] 143 +         let new_block = Block::new(i+1, String::new(), transaction.clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/main.rs:78:62
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let datetime: NaiveDateTime = chrono::NaiveDateTime::from_timestamp
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stdout]    --> src/main.rs:158:46
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let end_datetime= chrono::NaiveDateTime::from_timestamp(end_timestamp as i64,
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.68s
[INFO] running `Command { std: "docker" "inspect" "bd9cd5a4f64747e8110add3a5d1c8874c0fbdfa04354095908bf585149890082", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bd9cd5a4f64747e8110add3a5d1c8874c0fbdfa04354095908bf585149890082" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/main.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::{DateTime, NaiveDateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:143:36
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let new_block = Block::new((i+1), String::new(), transaction.clone());
[INFO] [stdout]     |                                    ^   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 143 -         let new_block = Block::new((i+1), String::new(), transaction.clone());
[INFO] [stdout] 143 +         let new_block = Block::new(i+1, String::new(), transaction.clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/main.rs:78:62
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let datetime: NaiveDateTime = chrono::NaiveDateTime::from_timestamp
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stdout]    --> src/main.rs:158:46
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let end_datetime= chrono::NaiveDateTime::from_timestamp(end_timestamp as i64,
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] running `Command { std: "docker" "inspect" "bd9cd5a4f64747e8110add3a5d1c8874c0fbdfa04354095908bf585149890082", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bd9cd5a4f64747e8110add3a5d1c8874c0fbdfa04354095908bf585149890082" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] warning: unused imports: `DateTime` and `Utc`
[INFO] [stderr]  --> src/main.rs:6:14
[INFO] [stderr]   |
[INFO] [stderr] 6 | use chrono::{DateTime, NaiveDateTime, Utc};
[INFO] [stderr]   |              ^^^^^^^^                 ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]    --> src/main.rs:143:36
[INFO] [stderr]     |
[INFO] [stderr] 143 |         let new_block = Block::new((i+1), String::new(), transaction.clone());
[INFO] [stderr]     |                                    ^   ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 143 -         let new_block = Block::new((i+1), String::new(), transaction.clone());
[INFO] [stderr] 143 +         let new_block = Block::new(i+1, String::new(), transaction.clone());
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stderr]   --> src/main.rs:78:62
[INFO] [stderr]    |
[INFO] [stderr] 78 |         let datetime: NaiveDateTime = chrono::NaiveDateTime::from_timestamp
[INFO] [stderr]    |                                                              ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stderr]    --> src/main.rs:158:46
[INFO] [stderr]     |
[INFO] [stderr] 158 |     let end_datetime= chrono::NaiveDateTime::from_timestamp(end_timestamp as i64,
[INFO] [stderr]     |                                              ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `blockchain` (bin "blockchain" test) generated 4 warnings (run `cargo fix --bin "blockchain" -p blockchain --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/blockchain-2539c1d3538d0a4d)
[INFO] running `Command { std: "docker" "inspect" "bd9cd5a4f64747e8110add3a5d1c8874c0fbdfa04354095908bf585149890082", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd9cd5a4f64747e8110add3a5d1c8874c0fbdfa04354095908bf585149890082", kill_on_drop: false }`
[INFO] [stdout] bd9cd5a4f64747e8110add3a5d1c8874c0fbdfa04354095908bf585149890082
