[INFO] crate sc-client-db 0.8.0-alpha.6 is already in cache [INFO] checking sc-client-db-0.8.0-alpha.6 against try#1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0 for pr-69530 [INFO] extracting crate sc-client-db 0.8.0-alpha.6 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate sc-client-db 0.8.0-alpha.6 on toolchain 1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-client-db 0.8.0-alpha.6 [INFO] finished tweaking crates.io crate sc-client-db 0.8.0-alpha.6 [INFO] tweaked toml for crates.io crate sc-client-db 0.8.0-alpha.6 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "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] 492495be50d533e02e968acc2a835af226c88eb222d3ca616532e7fd23614dce [INFO] running `"docker" "start" "-a" "492495be50d533e02e968acc2a835af226c88eb222d3ca616532e7fd23614dce"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling parity-util-mem v0.6.1 [INFO] [stderr] Checking rlp v0.4.5 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking impl-rlp v0.2.1 [INFO] [stderr] Checking uint v0.8.3 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking tiny-keccak v2.0.2 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking primitive-types v0.7.1 [INFO] [stderr] Checking ethbloom v0.9.1 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [INFO] [stderr] Checking ethereum-types v0.9.1 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-alpha.6 [INFO] [stderr] Checking sp-arithmetic v2.0.0-alpha.6 [INFO] [stderr] Checking memory-db v0.20.1 [INFO] [stderr] Checking kvdb v0.5.0 [INFO] [stderr] Checking kvdb-memorydb v0.5.0 [INFO] [stderr] Checking sp-core v2.0.0-alpha.6 [INFO] [stderr] Checking libp2p-core v0.18.0 [INFO] [stderr] Checking sp-trie v2.0.0-alpha.6 [INFO] [stderr] Checking sp-inherents v2.0.0-alpha.6 [INFO] [stderr] Checking sp-allocator v2.0.0-alpha.6 [INFO] [stderr] Checking libp2p-tcp v0.18.0 [INFO] [stderr] Checking libp2p-websocket v0.18.0 [INFO] [stderr] Checking libp2p-dns v0.18.0 [INFO] [stderr] Checking libp2p-swarm v0.18.1 [INFO] [stderr] Checking libp2p-wasm-ext v0.18.0 [INFO] [stderr] Checking sc-executor-common v0.8.0-alpha.6 [INFO] [stderr] Checking sp-state-machine v0.8.0-alpha.6 [INFO] [stderr] Checking libp2p v0.18.1 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-alpha.6 [INFO] [stderr] Checking sc-telemetry v2.0.0-alpha.6 [INFO] [stderr] Checking sp-io v2.0.0-alpha.6 [INFO] [stderr] Checking sp-application-crypto v2.0.0-alpha.6 [INFO] [stderr] Checking sp-runtime v2.0.0-alpha.6 [INFO] [stderr] Checking sp-version v2.0.0-alpha.6 [INFO] [stderr] Checking sp-keyring v2.0.0-alpha.6 [INFO] [stderr] Checking sp-api v2.0.0-alpha.6 [INFO] [stderr] Checking sp-consensus v0.8.0-alpha.6 [INFO] [stderr] Checking sc-executor v0.8.0-alpha.6 [INFO] [stderr] Checking sp-block-builder v2.0.0-alpha.6 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-alpha.6 [INFO] [stderr] Checking sp-blockchain v2.0.0-alpha.6 [INFO] [stderr] Checking sc-client-api v2.0.0-alpha.6 [INFO] [stderr] Checking sc-block-builder v0.8.0-alpha.6 [INFO] [stderr] Checking sc-state-db v0.8.0-alpha.6 [INFO] [stderr] Checking sc-client v0.8.0-alpha.6 [INFO] [stderr] Checking sc-client-db v0.8.0-alpha.6 (/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/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:1343:6 [INFO] [stderr] | [INFO] [stderr] 1343 | 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:1853:2 [INFO] [stderr] | [INFO] [stderr] 1853 | 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:1047:13 [INFO] [stderr] | [INFO] [stderr] 1047 | 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:1268:13 [INFO] [stderr] | [INFO] [stderr] 1268 | 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:1921:13 [INFO] [stderr] | [INFO] [stderr] 1921 | 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:2242:28 [INFO] [stderr] | [INFO] [stderr] 2242 | 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:2243:3 [INFO] [stderr] | [INFO] [stderr] 2243 | 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:2248:28 [INFO] [stderr] | [INFO] [stderr] 2248 | 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:2249:3 [INFO] [stderr] | [INFO] [stderr] 2249 | 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:2254:28 [INFO] [stderr] | [INFO] [stderr] 2254 | 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:2255:3 [INFO] [stderr] | [INFO] [stderr] 2255 | 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:2284:24 [INFO] [stderr] | [INFO] [stderr] 2284 | 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:1409:7 [INFO] [stderr] | [INFO] [stderr] 1409 | impl Arbitrary for Action { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 34 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" "492495be50d533e02e968acc2a835af226c88eb222d3ca616532e7fd23614dce"` [INFO] running `"docker" "rm" "-f" "492495be50d533e02e968acc2a835af226c88eb222d3ca616532e7fd23614dce"` [INFO] [stdout] 492495be50d533e02e968acc2a835af226c88eb222d3ca616532e7fd23614dce