[INFO] fetching crate sc-client-db 0.8.0-rc2... [INFO] checking sc-client-db-0.8.0-rc2 against master#74e80468347471779be6060d8d7d6d04e98e467f for pr-72788 [INFO] extracting crate sc-client-db 0.8.0-rc2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate sc-client-db 0.8.0-rc2 on toolchain 74e80468347471779be6060d8d7d6d04e98e467f [INFO] running `"/workspace/cargo-home/bin/cargo" "+74e80468347471779be6060d8d7d6d04e98e467f" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-client-db 0.8.0-rc2 [INFO] finished tweaking crates.io crate sc-client-db 0.8.0-rc2 [INFO] tweaked toml for crates.io crate sc-client-db 0.8.0-rc2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+74e80468347471779be6060d8d7d6d04e98e467f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+74e80468347471779be6060d8d7d6d04e98e467f" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+74e80468347471779be6060d8d7d6d04e98e467f" "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] 00c1f3dac046fd874b1b029f78e5faab2ad277f7f33a00d073ec777a2e094a76 [INFO] running `"docker" "start" "-a" "00c1f3dac046fd874b1b029f78e5faab2ad277f7f33a00d073ec777a2e094a76"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking kvdb-memorydb v0.6.0 [INFO] [stderr] Checking sp-core v2.0.0-rc2 [INFO] [stderr] Checking sp-trie v2.0.0-rc2 [INFO] [stderr] Checking sp-inherents v2.0.0-rc2 [INFO] [stderr] Checking sp-allocator v2.0.0-rc2 [INFO] [stderr] Checking sc-executor-common v0.8.0-rc2 [INFO] [stderr] Checking sp-state-machine v0.8.0-rc2 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-rc2 [INFO] [stderr] Checking sp-io v2.0.0-rc2 [INFO] [stderr] Checking sp-application-crypto v2.0.0-rc2 [INFO] [stderr] Checking sp-runtime v2.0.0-rc2 [INFO] [stderr] Checking sp-version v2.0.0-rc2 [INFO] [stderr] Checking sp-keyring v2.0.0-rc2 [INFO] [stderr] Checking sp-api v2.0.0-rc2 [INFO] [stderr] Checking sp-consensus v0.8.0-rc2 [INFO] [stderr] Checking sp-block-builder v2.0.0-rc2 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-rc2 [INFO] [stderr] Checking sc-executor v0.8.0-rc2 [INFO] [stderr] Checking sp-blockchain v2.0.0-rc2 [INFO] [stderr] Checking sc-client-api v2.0.0-rc2 [INFO] [stderr] Checking sc-state-db v0.8.0-rc2 [INFO] [stderr] Checking sc-client-db v0.8.0-rc2 (/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:864:6 [INFO] [stderr] | [INFO] [stderr] 864 | 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 imports `quickcheck`, `quickcheck::TestResult`, `quickcheck::Arbitrary` [INFO] [stderr] --> src/storage_cache.rs:1323:6 [INFO] [stderr] | [INFO] [stderr] 1323 | 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:1833:2 [INFO] [stderr] | [INFO] [stderr] 1833 | 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:873:23 [INFO] [stderr] | [INFO] [stderr] 873 | 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:901:17 [INFO] [stderr] | [INFO] [stderr] 901 | 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:920:18 [INFO] [stderr] | [INFO] [stderr] 920 | .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:930:19 [INFO] [stderr] | [INFO] [stderr] 930 | .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:941:18 [INFO] [stderr] | [INFO] [stderr] 941 | .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:945:50 [INFO] [stderr] | [INFO] [stderr] 945 | ).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:952:18 [INFO] [stderr] | [INFO] [stderr] 952 | .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:1496:50 [INFO] [stderr] | [INFO] [stderr] 1496 | 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:1503:17 [INFO] [stderr] | [INFO] [stderr] 1503 | .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:1517:17 [INFO] [stderr] | [INFO] [stderr] 1517 | .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:1598:16 [INFO] [stderr] | [INFO] [stderr] 1598 | .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:1601:16 [INFO] [stderr] | [INFO] [stderr] 1601 | .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:1652:18 [INFO] [stderr] | [INFO] [stderr] 1652 | .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:1653:18 [INFO] [stderr] | [INFO] [stderr] 1653 | .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:1654:18 [INFO] [stderr] | [INFO] [stderr] 1654 | .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:1027:13 [INFO] [stderr] | [INFO] [stderr] 1027 | 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:1248:13 [INFO] [stderr] | [INFO] [stderr] 1248 | 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:111:16 [INFO] [stderr] | [INFO] [stderr] 111 | 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:118:16 [INFO] [stderr] | [INFO] [stderr] 118 | 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 `kvdb_rocksdb` [INFO] [stderr] --> src/utils.rs:228:24 [INFO] [stderr] | [INFO] [stderr] 228 | let mut db_config = kvdb_rocksdb::DatabaseConfig::with_columns(NUM_COLUMNS); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `kvdb_rocksdb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `kvdb_rocksdb` [INFO] [stderr] --> src/utils.rs:254:13 [INFO] [stderr] | [INFO] [stderr] 254 | let db = kvdb_rocksdb::Database::open(&db_config, &path) [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `kvdb_rocksdb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `env_logger` in `{{root}}` [INFO] [stderr] --> src/lib.rs:1878:13 [INFO] [stderr] | [INFO] [stderr] 1878 | 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:2193:28 [INFO] [stderr] | [INFO] [stderr] 2193 | 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:2194:3 [INFO] [stderr] | [INFO] [stderr] 2194 | 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:2199:28 [INFO] [stderr] | [INFO] [stderr] 2199 | 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:2200:3 [INFO] [stderr] | [INFO] [stderr] 2200 | 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:2205:28 [INFO] [stderr] | [INFO] [stderr] 2205 | 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:2206:3 [INFO] [stderr] | [INFO] [stderr] 2206 | 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:2235:24 [INFO] [stderr] | [INFO] [stderr] 2235 | 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:1389:7 [INFO] [stderr] | [INFO] [stderr] 1389 | impl Arbitrary for Action { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 33 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" "00c1f3dac046fd874b1b029f78e5faab2ad277f7f33a00d073ec777a2e094a76"` [INFO] running `"docker" "rm" "-f" "00c1f3dac046fd874b1b029f78e5faab2ad277f7f33a00d073ec777a2e094a76"` [INFO] [stdout] 00c1f3dac046fd874b1b029f78e5faab2ad277f7f33a00d073ec777a2e094a76