[INFO] crate sc-client-db 0.8.0-alpha.5 is already in cache [INFO] checking sc-client-db-0.8.0-alpha.5 against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917 [INFO] extracting crate sc-client-db 0.8.0-alpha.5 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate sc-client-db 0.8.0-alpha.5 on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a [INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-client-db 0.8.0-alpha.5 [INFO] finished tweaking crates.io crate sc-client-db 0.8.0-alpha.5 [INFO] tweaked toml for crates.io crate sc-client-db 0.8.0-alpha.5 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] 9137d90180245188a821506bbb9891bdea07272768e193a584066ebf1943fa09 [INFO] running `"docker" "start" "-a" "9137d90180245188a821506bbb9891bdea07272768e193a584066ebf1943fa09"` [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tokio v0.2.17 [INFO] [stderr] Compiling tracing-attributes v0.1.7 [INFO] [stderr] Checking kvdb-memorydb v0.5.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tracing v0.1.13 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking broadcaster v1.0.0 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking futures_codec v0.3.4 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking sp-core v2.0.0-alpha.5 [INFO] [stderr] Checking wasm-timer v0.2.4 [INFO] [stderr] Checking soketto v0.3.2 [INFO] [stderr] Checking async-tls v0.6.0 [INFO] [stderr] Checking yamux v0.4.5 [INFO] [stderr] Checking libp2p-pnet v0.16.0 [INFO] [stderr] Checking futures-diagnose v1.0.1 [INFO] [stderr] Checking unsigned-varint v0.3.2 [INFO] [stderr] Checking parity-multihash v0.2.3 [INFO] [stderr] Checking multistream-select v0.7.0 [INFO] [stderr] Checking hyper v0.13.4 [INFO] [stderr] Checking parity-multiaddr v0.7.3 [INFO] [stderr] Checking sp-trie v2.0.0-alpha.5 [INFO] [stderr] Checking sp-inherents v2.0.0-alpha.5 [INFO] [stderr] Checking sp-allocator v2.0.0-alpha.5 [INFO] [stderr] Checking libp2p-core v0.16.0 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.8.0-alpha.5 [INFO] [stderr] Checking sc-executor-common v0.8.0-alpha.5 [INFO] [stderr] Checking sp-state-machine v0.8.0-alpha.5 [INFO] [stderr] Checking libp2p-swarm v0.16.1 [INFO] [stderr] Checking libp2p-tcp v0.16.0 [INFO] [stderr] Checking libp2p-dns v0.16.0 [INFO] [stderr] Checking libp2p-secio v0.16.1 [INFO] [stderr] Checking libp2p-yamux v0.16.2 [INFO] [stderr] Checking libp2p-mplex v0.16.0 [INFO] [stderr] Checking libp2p-plaintext v0.16.0 [INFO] [stderr] Checking libp2p-websocket v0.16.0 [INFO] [stderr] Checking libp2p-deflate v0.16.0 [INFO] [stderr] Checking libp2p-wasm-ext v0.16.2 [INFO] [stderr] Checking libp2p-noise v0.16.2 [INFO] [stderr] Checking libp2p-uds v0.16.0 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-alpha.5 [INFO] [stderr] Checking sp-io v2.0.0-alpha.5 [INFO] [stderr] Checking libp2p-ping v0.16.0 [INFO] [stderr] Checking libp2p-mdns v0.16.0 [INFO] [stderr] Checking libp2p-identify v0.16.0 [INFO] [stderr] Checking libp2p-kad v0.16.2 [INFO] [stderr] Checking libp2p-gossipsub v0.16.0 [INFO] [stderr] Checking libp2p-floodsub v0.16.0 [INFO] [stderr] Checking sp-application-crypto v2.0.0-alpha.5 [INFO] [stderr] Checking libp2p v0.16.2 [INFO] [stderr] Checking sp-runtime v2.0.0-alpha.5 [INFO] [stderr] Checking sc-telemetry v2.0.0-alpha.5 [INFO] [stderr] Checking sp-version v2.0.0-alpha.5 [INFO] [stderr] Checking sp-keyring v2.0.0-alpha.5 [INFO] [stderr] Checking sp-api v2.0.0-alpha.5 [INFO] [stderr] Checking sp-consensus v0.8.0-alpha.5 [INFO] [stderr] Checking sc-executor v0.8.0-alpha.5 [INFO] [stderr] Checking sp-block-builder v2.0.0-alpha.5 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-alpha.5 [INFO] [stderr] Checking sp-blockchain v2.0.0-alpha.5 [INFO] [stderr] Checking sc-client-api v2.0.0-alpha.5 [INFO] [stderr] Checking sc-block-builder v0.8.0-alpha.5 [INFO] [stderr] Checking sc-state-db v0.8.0-alpha.5 [INFO] [stderr] Checking sc-client v0.8.0-alpha.5 [INFO] [stderr] Checking sc-client-db v0.8.0-alpha.5 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/cache/list_cache.rs:862:6 [INFO] [stderr] | [INFO] [stderr] 862 | use substrate_test_runtime_client::runtime::H256; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `kvdb_rocksdb` [INFO] [stderr] --> src/bench.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use kvdb_rocksdb::{Database, DatabaseConfig}; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `kvdb_rocksdb` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `kvdb_rocksdb` [INFO] [stderr] --> src/upgrade.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use kvdb_rocksdb::{Database, DatabaseConfig}; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `kvdb_rocksdb` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `kvdb_rocksdb` [INFO] [stderr] --> src/utils.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use kvdb_rocksdb::{Database, DatabaseConfig}; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `kvdb_rocksdb` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `quickcheck`, `quickcheck::TestResult`, `quickcheck::Arbitrary` [INFO] [stderr] --> src/storage_cache.rs:1330:6 [INFO] [stderr] | [INFO] [stderr] 1330 | use quickcheck::{quickcheck, TestResult, Arbitrary}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | use of undeclared type or module `quickcheck` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `quickcheck` [INFO] [stderr] --> src/storage_cache.rs:1840:2 [INFO] [stderr] | [INFO] [stderr] 1840 | quickcheck! { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stderr] --> src/cache/list_cache.rs:871:23 [INFO] [stderr] | [INFO] [stderr] 871 | ComplexBlockId::new(H256::from_low_u64_be(number), number) [INFO] [stderr] | ^^^^ use of undeclared type or module `H256` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stderr] --> src/cache/list_cache.rs:899:17 [INFO] [stderr] | [INFO] [stderr] 899 | state_root: H256::from_low_u64_be(1 + fork_nonce), [INFO] [stderr] | ^^^^ use of undeclared type or module `H256` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stderr] --> src/cache/list_cache.rs:918:18 [INFO] [stderr] | [INFO] [stderr] 918 | .with_id(50, H256::from_low_u64_be(50)) [INFO] [stderr] | ^^^^ use of undeclared type or module `H256` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stderr] --> src/cache/list_cache.rs:928:19 [INFO] [stderr] | [INFO] [stderr] 928 | .with_id(100, H256::from_low_u64_be(100)) [INFO] [stderr] | ^^^^ use of undeclared type or module `H256` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stderr] --> src/cache/list_cache.rs:939:18 [INFO] [stderr] | [INFO] [stderr] 939 | .with_id(50, H256::from_low_u64_be(50)) [INFO] [stderr] | ^^^^ use of undeclared type or module `H256` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stderr] --> src/cache/list_cache.rs:943:50 [INFO] [stderr] | [INFO] [stderr] 943 | ).unwrap().value_at_block(&ComplexBlockId::new(H256::from_low_u64_be(2), 100)).is_err()); [INFO] [stderr] | ^^^^ use of undeclared type or module `H256` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stderr] --> src/cache/list_cache.rs:950:18 [INFO] [stderr] | [INFO] [stderr] 950 | .with_id(50, H256::from_low_u64_be(50)) [INFO] [stderr] | ^^^^ use of undeclared type or module `H256` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stderr] --> src/cache/list_cache.rs:1494:50 [INFO] [stderr] | [INFO] [stderr] 1494 | let storage = DummyStorage::new().with_id(100, H256::from_low_u64_be(100)); [INFO] [stderr] | ^^^^ use of undeclared type or module `H256` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stderr] --> src/cache/list_cache.rs:1501:17 [INFO] [stderr] | [INFO] [stderr] 1501 | .with_id(10, H256::from_low_u64_be(10)) [INFO] [stderr] | ^^^^ use of undeclared type or module `H256` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stderr] --> src/cache/list_cache.rs:1515:17 [INFO] [stderr] | [INFO] [stderr] 1515 | .with_id(10, H256::from_low_u64_be(10)) [INFO] [stderr] | ^^^^ use of undeclared type or module `H256` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stderr] --> src/cache/list_cache.rs:1596:16 [INFO] [stderr] | [INFO] [stderr] 1596 | .with_id(1, H256::from_low_u64_be(2)), &test_id(1), 100).unwrap(), false); [INFO] [stderr] | ^^^^ use of undeclared type or module `H256` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stderr] --> src/cache/list_cache.rs:1599:16 [INFO] [stderr] | [INFO] [stderr] 1599 | .with_id(1, H256::from_low_u64_be(1)), &test_id(1), 100).unwrap(), true); [INFO] [stderr] | ^^^^ use of undeclared type or module `H256` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stderr] --> src/cache/list_cache.rs:1650:18 [INFO] [stderr] | [INFO] [stderr] 1650 | .with_id(10, H256::from_low_u64_be(10)) [INFO] [stderr] | ^^^^ use of undeclared type or module `H256` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stderr] --> src/cache/list_cache.rs:1651:18 [INFO] [stderr] | [INFO] [stderr] 1651 | .with_id(20, H256::from_low_u64_be(20)) [INFO] [stderr] | ^^^^ use of undeclared type or module `H256` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stderr] --> src/cache/list_cache.rs:1652:18 [INFO] [stderr] | [INFO] [stderr] 1652 | .with_id(30, H256::from_low_u64_be(30)) [INFO] [stderr] | ^^^^ use of undeclared type or module `H256` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `env_logger` in `{{root}}` [INFO] [stderr] --> src/storage_cache.rs:1034:13 [INFO] [stderr] | [INFO] [stderr] 1034 | let _ = ::env_logger::try_init(); [INFO] [stderr] | ^^^^^^^^^^ could not find `env_logger` in `{{root}}` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `env_logger` in `{{root}}` [INFO] [stderr] --> src/storage_cache.rs:1255:13 [INFO] [stderr] | [INFO] [stderr] 1255 | let _ = ::env_logger::try_init(); [INFO] [stderr] | ^^^^^^^^^^ could not find `env_logger` in `{{root}}` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tempfile` [INFO] [stderr] --> src/upgrade.rs:175:16 [INFO] [stderr] | [INFO] [stderr] 175 | let db_dir = tempfile::TempDir::new().unwrap(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `tempfile` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tempfile` [INFO] [stderr] --> src/upgrade.rs:182:16 [INFO] [stderr] | [INFO] [stderr] 182 | let db_dir = tempfile::TempDir::new().unwrap(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `tempfile` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tempfile` [INFO] [stderr] --> src/upgrade.rs:191:17 [INFO] [stderr] | [INFO] [stderr] 191 | let db_dir = tempfile::TempDir::new().unwrap(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `tempfile` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `env_logger` in `{{root}}` [INFO] [stderr] --> src/lib.rs:1896:13 [INFO] [stderr] | [INFO] [stderr] 1896 | let _ = ::env_logger::try_init(); [INFO] [stderr] | ^^^^^^^^^^ could not find `env_logger` in `{{root}}` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/lib.rs:2217:28 [INFO] [stderr] | [INFO] [stderr] 2217 | let backend: Arc> = Arc::new(Backend::new_test(20, 20)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/lib.rs:2218:3 [INFO] [stderr] | [INFO] [stderr] 2218 | substrate_test_runtime_client::trait_tests::test_leaves_for_backend(backend); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/lib.rs:2223:28 [INFO] [stderr] | [INFO] [stderr] 2223 | let backend: Arc> = Arc::new(Backend::new_test(20, 20)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/lib.rs:2224:3 [INFO] [stderr] | [INFO] [stderr] 2224 | substrate_test_runtime_client::trait_tests::test_children_for_backend(backend); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/lib.rs:2229:28 [INFO] [stderr] | [INFO] [stderr] 2229 | let backend: Arc> = Arc::new(Backend::new_test(20, 20)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/lib.rs:2230:3 [INFO] [stderr] | [INFO] [stderr] 2230 | substrate_test_runtime_client::trait_tests::test_blockchain_query_by_number_gets_canonical(backend); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/lib.rs:2259:24 [INFO] [stderr] | [INFO] [stderr] 2259 | let backend: Backend = Backend::new_test(0, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Arbitrary` in this scope [INFO] [stderr] --> src/storage_cache.rs:1396:7 [INFO] [stderr] | [INFO] [stderr] 1396 | impl Arbitrary for Action { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 35 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `sc-client-db`. [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: build failed [INFO] running `"docker" "inspect" "9137d90180245188a821506bbb9891bdea07272768e193a584066ebf1943fa09"` [INFO] running `"docker" "rm" "-f" "9137d90180245188a821506bbb9891bdea07272768e193a584066ebf1943fa09"` [INFO] [stdout] 9137d90180245188a821506bbb9891bdea07272768e193a584066ebf1943fa09