[INFO] crate sc-client-db 0.8.0-alpha.3 is already in cache [INFO] checking sc-client-db-0.8.0-alpha.3 against try#f88e9a4452e792c29632101b348a1df9876d45cd for pr-70087 [INFO] extracting crate sc-client-db 0.8.0-alpha.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate sc-client-db 0.8.0-alpha.3 on toolchain f88e9a4452e792c29632101b348a1df9876d45cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-client-db 0.8.0-alpha.3 [INFO] finished tweaking crates.io crate sc-client-db 0.8.0-alpha.3 [INFO] tweaked toml for crates.io crate sc-client-db 0.8.0-alpha.3 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+f88e9a4452e792c29632101b348a1df9876d45cd" "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] d309e078c791b0d46f0fe7a9f21195a91b043160e4dab45e81a8696313615561 [INFO] running `"docker" "start" "-a" "d309e078c791b0d46f0fe7a9f21195a91b043160e4dab45e81a8696313615561"` [INFO] [stderr] Checking sc-state-db v0.8.0-alpha.3 [INFO] [stderr] Checking kvdb-memorydb v0.4.0 [INFO] [stderr] Checking sc-block-builder v0.8.0-alpha.3 [INFO] [stderr] Checking sc-client v0.8.0-alpha.3 [INFO] [stderr] Checking sc-client-db v0.8.0-alpha.3 (/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:1121:6 [INFO] [stderr] | [INFO] [stderr] 1121 | 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:1629:2 [INFO] [stderr] | [INFO] [stderr] 1629 | 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:825:13 [INFO] [stderr] | [INFO] [stderr] 825 | 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:1046:13 [INFO] [stderr] | [INFO] [stderr] 1046 | 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:1857:13 [INFO] [stderr] | [INFO] [stderr] 1857 | 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:2178:28 [INFO] [stderr] | [INFO] [stderr] 2178 | 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:2179:3 [INFO] [stderr] | [INFO] [stderr] 2179 | 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:2184:28 [INFO] [stderr] | [INFO] [stderr] 2184 | 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:2185:3 [INFO] [stderr] | [INFO] [stderr] 2185 | 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:2190:28 [INFO] [stderr] | [INFO] [stderr] 2190 | 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:2191:3 [INFO] [stderr] | [INFO] [stderr] 2191 | 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:2220:24 [INFO] [stderr] | [INFO] [stderr] 2220 | 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:1185:7 [INFO] [stderr] | [INFO] [stderr] 1185 | 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" "d309e078c791b0d46f0fe7a9f21195a91b043160e4dab45e81a8696313615561"` [INFO] running `"docker" "rm" "-f" "d309e078c791b0d46f0fe7a9f21195a91b043160e4dab45e81a8696313615561"` [INFO] [stdout] d309e078c791b0d46f0fe7a9f21195a91b043160e4dab45e81a8696313615561