[INFO] cloning repository https://github.com/AlexCrowd3/MiniChain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlexCrowd3/MiniChain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexCrowd3%2FMiniChain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexCrowd3%2FMiniChain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] df5aa7c4d03fe29e8e3bc2a66409ed3136121918
[INFO] checking AlexCrowd3/MiniChain against master#f8463896a9b36a04899c013bd8825a7fd29dd7a4 for pr-151920
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexCrowd3%2FMiniChain" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AlexCrowd3/MiniChain
[INFO] finished tweaking git repo https://github.com/AlexCrowd3/MiniChain
[INFO] tweaked toml for git repo https://github.com/AlexCrowd3/MiniChain written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AlexCrowd3/MiniChain on toolchain f8463896a9b36a04899c013bd8825a7fd29dd7a4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AlexCrowd3/MiniChain 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" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0cade9a5a323f33e619d89b67dab65eb28f29c0de72bd07deefe676c6579b10e
[INFO] running `Command { std: "docker" "start" "-a" "0cade9a5a323f33e619d89b67dab65eb28f29c0de72bd07deefe676c6579b10e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0cade9a5a323f33e619d89b67dab65eb28f29c0de72bd07deefe676c6579b10e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0cade9a5a323f33e619d89b67dab65eb28f29c0de72bd07deefe676c6579b10e", kill_on_drop: false }`
[INFO] [stdout] 0cade9a5a323f33e619d89b67dab65eb28f29c0de72bd07deefe676c6579b10e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 62bb4ce5815c0b6808d8ee44a8eceea18120049a3eb375483845761f7d040d4e
[INFO] running `Command { std: "docker" "start" "-a" "62bb4ce5815c0b6808d8ee44a8eceea18120049a3eb375483845761f7d040d4e", kill_on_drop: false }`
[INFO] [stderr]    Compiling zmij v1.0.17
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking minichain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `,`, found `*`
[INFO] [stdout]    --> tests/integration_tests.rs:194:18
[INFO] [stdout]     |
[INFO] [stdout] 194 |     println!("=" * 50);
[INFO] [stdout]     |                  ^ expected `,`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `,`, found `+`
[INFO] [stdout]    --> tests/integration_tests.rs:233:23
[INFO] [stdout]     |
[INFO] [stdout] 233 |         println!("\n" + "="*50);
[INFO] [stdout]     |                       ^ expected `,`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `,`, found `*`
[INFO] [stdout]    --> tests/integration_tests.rs:244:17
[INFO] [stdout]     |
[INFO] [stdout] 244 |     println!("="*50);
[INFO] [stdout]     |                 ^ expected `,`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::blockchain`
[INFO] [stdout]  --> tests/integration_tests.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::blockchain::{Blockchain, Block};
[INFO] [stdout]   |            ^^^^^^^^^^ could not find `blockchain` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::consensus`
[INFO] [stdout]  --> tests/integration_tests.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::consensus::{ConsensusConfig, ConsensusType, ConsensusFactory};
[INFO] [stdout]   |            ^^^^^^^^^ could not find `consensus` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::TcpStream`
[INFO] [stdout]  --> tests/integration_tests.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::TcpStream;
[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 imports: `Read` and `Write`
[INFO] [stdout]  --> tests/integration_tests.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{Write, Read};
[INFO] [stdout]   |               ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>`
[INFO] [stdout]   --> tests/integration_tests.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let blockchain_clone = Arc::clone(&blockchain);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |             let mut chain = blockchain_clone.lock().unwrap();
[INFO] [stdout]    |                             ---------------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `blockchain_clone` an explicit type, where the placeholders `_` are specified
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let blockchain_clone: Arc<T, A> = Arc::clone(&blockchain);
[INFO] [stdout]    |                             +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> tests/unit_tests.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Block`
[INFO] [stdout]  --> tests/unit_tests.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let block = Block::new(0, "test".to_string(), "0".to_string());
[INFO] [stdout]   |                     ^^^^^ use of undeclared type `Block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blockchain`
[INFO] [stdout]   --> tests/unit_tests.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let mut bc = Blockchain::new();
[INFO] [stdout]    |                      ^^^^^^^^^^ use of undeclared type `Blockchain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/integration_tests.rs:198:34
[INFO] [stdout]     |
[INFO] [stdout] 198 |         ("Алгоритмы консенсуса", test_different_consensus_algorithms),
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected fn item, found a different fn item
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn item `fn() {test_blockchain_creation_and_validation}`
[INFO] [stdout]                found fn item `fn() {test_different_consensus_algorithms}`
[INFO] [stdout]     = note: different fn items have unique types, even if their signatures are the same
[INFO] [stdout]     = help: consider casting both fn items to fn pointers using `as fn()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/integration_tests.rs:199:34
[INFO] [stdout]     |
[INFO] [stdout] 199 |         ("Многопоточный доступ", test_concurrent_blockchain_access),
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected fn item, found a different fn item
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn item `fn() {test_blockchain_creation_and_validation}`
[INFO] [stdout]                found fn item `fn() {test_concurrent_blockchain_access}`
[INFO] [stdout]     = note: different fn items have unique types, even if their signatures are the same
[INFO] [stdout]     = help: consider casting both fn items to fn pointers using `as fn()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/integration_tests.rs:200:36
[INFO] [stdout]     |
[INFO] [stdout] 200 |         ("Сетевое взаимодействие", test_network_simulation),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^ expected fn item, found a different fn item
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn item `fn() {test_blockchain_creation_and_validation}`
[INFO] [stdout]                found fn item `fn() {test_network_simulation}`
[INFO] [stdout]     = note: different fn items have unique types, even if their signatures are the same
[INFO] [stdout]     = help: consider casting both fn items to fn pointers using `as fn()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/integration_tests.rs:201:35
[INFO] [stdout]     |
[INFO] [stdout] 201 |         ("Устойчивость к данным", test_invalid_data_resistance),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected fn item, found a different fn item
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn item `fn() {test_blockchain_creation_and_validation}`
[INFO] [stdout]                found fn item `fn() {test_invalid_data_resistance}`
[INFO] [stdout]     = note: different fn items have unique types, even if their signatures are the same
[INFO] [stdout]     = help: consider casting both fn items to fn pointers using `as fn()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/integration_tests.rs:202:32
[INFO] [stdout]     |
[INFO] [stdout] 202 |         ("Производительность", test_performance),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^ expected fn item, found a different fn item
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn item `fn() {test_blockchain_creation_and_validation}`
[INFO] [stdout]                found fn item `fn() {test_performance}`
[INFO] [stdout]     = note: different fn items have unique types, even if their signatures are the same
[INFO] [stdout]     = help: consider casting both fn items to fn pointers using `as fn()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `join_timeout` found for struct `JoinHandle<T>` in the current scope
[INFO] [stdout]    --> tests/integration_tests.rs:218:29
[INFO] [stdout]     |
[INFO] [stdout] 218 |         let result = handle.join_timeout(Duration::from_secs(10));
[INFO] [stdout]     |                             ^^^^^^^^^^^^ method not found in `JoinHandle<()>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `minichain` (test "unit_tests") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `minichain` (test "integration_tests") due to 12 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "62bb4ce5815c0b6808d8ee44a8eceea18120049a3eb375483845761f7d040d4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62bb4ce5815c0b6808d8ee44a8eceea18120049a3eb375483845761f7d040d4e", kill_on_drop: false }`
[INFO] [stdout] 62bb4ce5815c0b6808d8ee44a8eceea18120049a3eb375483845761f7d040d4e
