[INFO] fetching crate sc-transaction-graph 2.0.0-alpha.3... [INFO] checking sc-transaction-graph-2.0.0-alpha.3 against master#3dbade652ed8ebac70f903e01f51cd92c4e4302c for pr-69741 [INFO] extracting crate sc-transaction-graph 2.0.0-alpha.3 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate sc-transaction-graph 2.0.0-alpha.3 on toolchain 3dbade652ed8ebac70f903e01f51cd92c4e4302c [INFO] running `"/workspace/cargo-home/bin/cargo" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-transaction-graph 2.0.0-alpha.3 [INFO] finished tweaking crates.io crate sc-transaction-graph 2.0.0-alpha.3 [INFO] tweaked toml for crates.io crate sc-transaction-graph 2.0.0-alpha.3 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1df14eb19f12327fc6186efa0e429439895774e50a0d2271e936120a94628856 [INFO] running `"docker" "start" "-a" "1df14eb19f12327fc6186efa0e429439895774e50a0d2271e936120a94628856"` [INFO] [stderr] Checking sp-block-builder v2.0.0-alpha.3 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-alpha.3 [INFO] [stderr] Checking sp-blockchain v2.0.0-alpha.3 [INFO] [stderr] Checking sc-transaction-graph v2.0.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `codec` [INFO] [stderr] --> src/pool.rs:426:6 [INFO] [stderr] | [INFO] [stderr] 426 | use codec::Encode; [INFO] [stderr] | ^^^^^ help: a similar path exists: `sp_runtime::codec` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `substrate_test_runtime` [INFO] [stderr] --> src/pool.rs:427:6 [INFO] [stderr] | [INFO] [stderr] 427 | use substrate_test_runtime::{Block, Extrinsic, Transfer, H256, AccountId}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `assert_matches` [INFO] [stderr] --> src/pool.rs:428:6 [INFO] [stderr] | [INFO] [stderr] 428 | use assert_matches::assert_matches; [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/pool.rs:569:3 [INFO] [stderr] | [INFO] [stderr] 569 | assert_matches!(res.unwrap_err(), error::Error::TemporarilyBanned); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/pool.rs:743:3 [INFO] [stderr] | [INFO] [stderr] 743 | assert_matches!(err, error::Error::NoTagsProvided); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for struct `libp2p::futures::executor::BlockingStream<_>` in the current scope [INFO] [stderr] --> src/pool.rs:769:22 [INFO] [stderr] | [INFO] [stderr] 769 | assert_eq!(stream.next(), Some(TransactionStatus::Ready)); [INFO] [stderr] | ^^^^ method not found in `libp2p::futures::executor::BlockingStream<_>` [INFO] [stderr] | [INFO] [stderr] = note: `stream` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for struct `libp2p::futures::executor::BlockingStream<_>` in the current scope [INFO] [stderr] --> src/pool.rs:770:22 [INFO] [stderr] | [INFO] [stderr] 770 | assert_eq!(stream.next(), Some(TransactionStatus::InBlock(H256::from_low_u64_be(2).into()))); [INFO] [stderr] | ^^^^ method not found in `libp2p::futures::executor::BlockingStream<_>` [INFO] [stderr] | [INFO] [stderr] = note: `stream` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for struct `libp2p::futures::executor::BlockingStream<_>` in the current scope [INFO] [stderr] --> src/pool.rs:793:22 [INFO] [stderr] | [INFO] [stderr] 793 | assert_eq!(stream.next(), Some(TransactionStatus::Ready)); [INFO] [stderr] | ^^^^ method not found in `libp2p::futures::executor::BlockingStream<_>` [INFO] [stderr] | [INFO] [stderr] = note: `stream` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for struct `libp2p::futures::executor::BlockingStream<_>` in the current scope [INFO] [stderr] --> src/pool.rs:794:22 [INFO] [stderr] | [INFO] [stderr] 794 | assert_eq!(stream.next(), Some(TransactionStatus::InBlock(H256::from_low_u64_be(2).into()))); [INFO] [stderr] | ^^^^ method not found in `libp2p::futures::executor::BlockingStream<_>` [INFO] [stderr] | [INFO] [stderr] = note: `stream` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for struct `libp2p::futures::executor::BlockingStream<_>` in the current scope [INFO] [stderr] --> src/pool.rs:821:22 [INFO] [stderr] | [INFO] [stderr] 821 | assert_eq!(stream.next(), Some(TransactionStatus::Future)); [INFO] [stderr] | ^^^^ method not found in `libp2p::futures::executor::BlockingStream<_>` [INFO] [stderr] | [INFO] [stderr] = note: `stream` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for struct `libp2p::futures::executor::BlockingStream<_>` in the current scope [INFO] [stderr] --> src/pool.rs:822:22 [INFO] [stderr] | [INFO] [stderr] 822 | assert_eq!(stream.next(), Some(TransactionStatus::Ready)); [INFO] [stderr] | ^^^^ method not found in `libp2p::futures::executor::BlockingStream<_>` [INFO] [stderr] | [INFO] [stderr] = note: `stream` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for struct `libp2p::futures::executor::BlockingStream<_>` in the current scope [INFO] [stderr] --> src/pool.rs:844:22 [INFO] [stderr] | [INFO] [stderr] 844 | assert_eq!(stream.next(), Some(TransactionStatus::Ready)); [INFO] [stderr] | ^^^^ method not found in `libp2p::futures::executor::BlockingStream<_>` [INFO] [stderr] | [INFO] [stderr] = note: `stream` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for struct `libp2p::futures::executor::BlockingStream<_>` in the current scope [INFO] [stderr] --> src/pool.rs:845:22 [INFO] [stderr] | [INFO] [stderr] 845 | assert_eq!(stream.next(), Some(TransactionStatus::Invalid)); [INFO] [stderr] | ^^^^ method not found in `libp2p::futures::executor::BlockingStream<_>` [INFO] [stderr] | [INFO] [stderr] = note: `stream` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for struct `libp2p::futures::executor::BlockingStream<_>` in the current scope [INFO] [stderr] --> src/pool.rs:846:22 [INFO] [stderr] | [INFO] [stderr] 846 | assert_eq!(stream.next(), None); [INFO] [stderr] | ^^^^ method not found in `libp2p::futures::executor::BlockingStream<_>` [INFO] [stderr] | [INFO] [stderr] = note: `stream` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for struct `libp2p::futures::executor::BlockingStream<_>` in the current scope [INFO] [stderr] --> src/pool.rs:871:22 [INFO] [stderr] | [INFO] [stderr] 871 | assert_eq!(stream.next(), Some(TransactionStatus::Ready)); [INFO] [stderr] | ^^^^ method not found in `libp2p::futures::executor::BlockingStream<_>` [INFO] [stderr] | [INFO] [stderr] = note: `stream` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for struct `libp2p::futures::executor::BlockingStream<_>` in the current scope [INFO] [stderr] --> src/pool.rs:872:22 [INFO] [stderr] | [INFO] [stderr] 872 | assert_eq!(stream.next(), Some(TransactionStatus::Broadcast(peers))); [INFO] [stderr] | ^^^^ method not found in `libp2p::futures::executor::BlockingStream<_>` [INFO] [stderr] | [INFO] [stderr] = note: `stream` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for struct `libp2p::futures::executor::BlockingStream<_>` in the current scope [INFO] [stderr] --> src/pool.rs:909:22 [INFO] [stderr] | [INFO] [stderr] 909 | assert_eq!(stream.next(), Some(TransactionStatus::Ready)); [INFO] [stderr] | ^^^^ method not found in `libp2p::futures::executor::BlockingStream<_>` [INFO] [stderr] | [INFO] [stderr] = note: `stream` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for struct `libp2p::futures::executor::BlockingStream<_>` in the current scope [INFO] [stderr] --> src/pool.rs:910:22 [INFO] [stderr] | [INFO] [stderr] 910 | assert_eq!(stream.next(), Some(TransactionStatus::Dropped)); [INFO] [stderr] | ^^^^ method not found in `libp2p::futures::executor::BlockingStream<_>` [INFO] [stderr] | [INFO] [stderr] = note: `stream` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `sc-transaction-graph`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `criterion` [INFO] [stderr] --> benches/basics.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `criterion` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `codec` [INFO] [stderr] --> benches/basics.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use codec::Encode; [INFO] [stderr] | ^^^^^ help: a similar path exists: `sp_runtime::codec` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `substrate_test_runtime` [INFO] [stderr] --> benches/basics.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use substrate_test_runtime::{Block, Extrinsic, Transfer, H256, AccountId}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `criterion_group` [INFO] [stderr] --> benches/basics.rs:169:1 [INFO] [stderr] | [INFO] [stderr] 169 | criterion_group!(benches, benchmark_main); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `criterion_main` [INFO] [stderr] --> benches/basics.rs:170:1 [INFO] [stderr] | [INFO] [stderr] 170 | criterion_main!(benches); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `basics` [INFO] [stderr] --> benches/basics.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stderr] 18 | | [INFO] [stderr] 19 | | use futures::{future::{ready, Ready}, executor::block_on}; [INFO] [stderr] 20 | | use sc_transaction_graph::*; [INFO] [stderr] ... | [INFO] [stderr] 169 | | criterion_group!(benches, benchmark_main); [INFO] [stderr] 170 | | criterion_main!(benches); [INFO] [stderr] | |_________________________^ consider adding a `main` function to `benches/basics.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0601. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `sc-transaction-graph`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1df14eb19f12327fc6186efa0e429439895774e50a0d2271e936120a94628856"` [INFO] running `"docker" "rm" "-f" "1df14eb19f12327fc6186efa0e429439895774e50a0d2271e936120a94628856"` [INFO] [stdout] 1df14eb19f12327fc6186efa0e429439895774e50a0d2271e936120a94628856