[INFO] fetching crate fuel-core-importer 0.44.0... [INFO] checking fuel-core-importer-0.44.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate fuel-core-importer 0.44.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate fuel-core-importer 0.44.0 [INFO] finished tweaking crates.io crate fuel-core-importer 0.44.0 [INFO] tweaked toml for crates.io crate fuel-core-importer 0.44.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fuel-core-importer 0.44.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fuel-core-importer 0.44.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 800d58a29e5e44d93cf436bdcf8c9fd747d1e9849bfe0b7750f5c8105ed5dd8a [INFO] running `Command { std: "docker" "start" "-a" "800d58a29e5e44d93cf436bdcf8c9fd747d1e9849bfe0b7750f5c8105ed5dd8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "800d58a29e5e44d93cf436bdcf8c9fd747d1e9849bfe0b7750f5c8105ed5dd8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "800d58a29e5e44d93cf436bdcf8c9fd747d1e9849bfe0b7750f5c8105ed5dd8a", kill_on_drop: false }` [INFO] [stdout] 800d58a29e5e44d93cf436bdcf8c9fd747d1e9849bfe0b7750f5c8105ed5dd8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49599c2fed5d253b668d0222902d6f53c47e1b24289602ea5bb43b619a79cfa7 [INFO] running `Command { std: "docker" "start" "-a" "49599c2fed5d253b668d0222902d6f53c47e1b24289602ea5bb43b619a79cfa7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking fuel-storage v0.62.0 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking substrate-bn v0.6.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling impl-tools v0.10.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking ethnum v1.5.2 [INFO] [stderr] Compiling impl-tools-lib v0.11.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Checking secp256k1 v0.30.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling fuel-derive v0.62.0 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking enum-iterator v1.5.0 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking fuel-core-metrics v0.44.0 [INFO] [stderr] Checking coins-core v0.8.7 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking fuel-types v0.62.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking fuel-merkle v0.62.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking coins-bip32 v0.8.7 [INFO] [stderr] Checking tai64 v4.0.0 [INFO] [stderr] Checking postcard v1.1.1 [INFO] [stderr] Checking coins-bip39 v0.8.7 [INFO] [stderr] Checking fuel-asm v0.62.0 [INFO] [stderr] Checking fuel-crypto v0.62.0 [INFO] [stderr] Checking fuel-tx v0.62.0 [INFO] [stderr] Checking fuel-vm v0.62.0 [INFO] [stderr] Checking fuel-core-types v0.44.0 [INFO] [stderr] Checking fuel-core-storage v0.44.0 [INFO] [stderr] Checking fuel-core-importer v0.44.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `crate::ports::MockBlockVerifier`, `crate::ports::MockDatabaseTransaction`, `crate::ports::MockValidator` [INFO] [stdout] --> src/importer/test.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | MockBlockVerifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `MockBlockVerifier` in `ports` [INFO] [stdout] 7 | MockDatabaseTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `MockDatabaseTransaction` in `ports` [INFO] [stdout] 8 | MockValidator, [INFO] [stdout] | ^^^^^^^^^^^^^ no `MockValidator` in `ports` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 6 - MockBlockVerifier, [INFO] [stdout] 6 + BlockVerifier, [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 - MockDatabaseTransaction, [INFO] [stdout] 7 + DatabaseTransaction, [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 8 - MockValidator, [INFO] [stdout] 8 + Validator, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mockall` [INFO] [stdout] --> src/importer/test.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | mockall::mock! { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `mockall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mockall` [INFO] [stdout] --> src/ports.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg_attr(any(test, feature = "test-helpers"), mockall::automock(type Database = crate::importer::test::MockDatabase;))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `mockall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mockall` [INFO] [stdout] --> src/ports.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | #[cfg_attr(test, mockall::automock)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `mockall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mockall` [INFO] [stdout] --> src/ports.rs:98:49 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg_attr(any(test, feature = "test-helpers"), mockall::automock)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `mockall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fuel_core_trace` [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | fuel_core_trace::enable_tracing!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `fuel_core_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockDatabase` in this scope [INFO] [stdout] --> src/importer/test.rs:100:64 [INFO] [stdout] | [INFO] [stdout] 100 | fn underlying_db(result: R, commits: usize) -> impl Fn() -> MockDatabase [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockDatabase` in this scope [INFO] [stdout] --> src/importer/test.rs:247:33 [INFO] [stdout] | [INFO] [stdout] 247 | underlying_db: impl Fn() -> MockDatabase, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockDatabase` in this scope [INFO] [stdout] --> src/importer/test.rs:320:33 [INFO] [stdout] | [INFO] [stdout] 320 | underlying_db: impl Fn() -> MockDatabase, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockDatabase` in this scope [INFO] [stdout] --> src/importer/test.rs:350:24 [INFO] [stdout] | [INFO] [stdout] 350 | mut underlying_db: MockDatabase, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockDatabase` in this scope [INFO] [stdout] --> src/importer/test.rs:385:20 [INFO] [stdout] | [INFO] [stdout] 385 | underlying_db: MockDatabase, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused imports: `ImporterDatabase` and `Transactional` [INFO] [stdout] --> src/importer/test.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | ImporterDatabase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Transactional, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `StorageChanges` [INFO] [stdout] --> src/importer/test.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | StorageChanges, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `fuel_types::BlockHeight` [INFO] [stdout] --> src/importer/test.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | fuel_types::BlockHeight, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDatabase` [INFO] [stdout] --> src/importer/test.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | let mut db = MockDatabase::default(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MockDatabase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDatabase` [INFO] [stdout] --> src/importer/test.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | MockDatabase::default(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MockDatabase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/importer.rs:201:24 [INFO] [stdout] | [INFO] [stdout] 201 | pub(crate) fn lock(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | pub(crate) fn lock(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fuel-core-importer` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no variant or associated item named `default` found for enum `Block` in the current scope [INFO] [stdout] --> src/importer/test.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | let mut block = Block::default(); [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Block<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Block<_>` consider using one of the following associated functions: [INFO] [stdout] Block::new [INFO] [stdout] Block::try_from_executed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fuel-core-types-0.44.0/src/blockchain/block.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / pub fn new( [INFO] [stdout] 93 | | header: PartialBlockHeader, [INFO] [stdout] 94 | | transactions: Vec, [INFO] [stdout] 95 | | outbox_message_ids: &[MessageId], [INFO] [stdout] 96 | | event_inbox_root: Bytes32, [INFO] [stdout] 97 | | #[cfg(feature = "fault-proving")] chain_id: &ChainId, [INFO] [stdout] 98 | | ) -> Result { [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] ... [INFO] [stdout] 115 | / pub fn try_from_executed( [INFO] [stdout] 116 | | header: BlockHeader, [INFO] [stdout] 117 | | transactions: Vec, [INFO] [stdout] 118 | | ) -> Option { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `default` found for enum `Block` in the current scope [INFO] [stdout] --> src/importer/test.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | let mut block = Block::default(); [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Block<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Block<_>` consider using one of the following associated functions: [INFO] [stdout] Block::new [INFO] [stdout] Block::try_from_executed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fuel-core-types-0.44.0/src/blockchain/block.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / pub fn new( [INFO] [stdout] 93 | | header: PartialBlockHeader, [INFO] [stdout] 94 | | transactions: Vec, [INFO] [stdout] 95 | | outbox_message_ids: &[MessageId], [INFO] [stdout] 96 | | event_inbox_root: Bytes32, [INFO] [stdout] 97 | | #[cfg(feature = "fault-proving")] chain_id: &ChainId, [INFO] [stdout] 98 | | ) -> Result { [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] ... [INFO] [stdout] 115 | / pub fn try_from_executed( [INFO] [stdout] 116 | | header: BlockHeader, [INFO] [stdout] 117 | | transactions: Vec, [INFO] [stdout] 118 | | ) -> Option { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDatabase` [INFO] [stdout] --> src/importer/test.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 415 | MockDatabase::default(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MockDatabase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `ImportResult` in the current scope [INFO] [stdout] --> src/importer/test.rs:420:46 [INFO] [stdout] | [INFO] [stdout] 420 | UncommittedResult::new(ImportResult::default(), Default::default()); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ImportResult` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ImportResult` consider using one of the following associated functions: [INFO] [stdout] ImportResult::new_from_local [INFO] [stdout] ImportResult::new_from_network [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fuel-core-types-0.44.0/src/services/block_importer.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / pub fn new_from_local( [INFO] [stdout] 79 | | sealed_block: SealedBlock, [INFO] [stdout] 80 | | tx_status: Vec, [INFO] [stdout] 81 | | events: Vec, [INFO] [stdout] 82 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 92 | / pub fn new_from_network( [INFO] [stdout] 93 | | sealed_block: SealedBlock, [INFO] [stdout] 94 | | tx_status: Vec, [INFO] [stdout] 95 | | events: Vec, [INFO] [stdout] 96 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDatabase` [INFO] [stdout] --> src/importer/test.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | MockDatabase::default(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MockDatabase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Block: Default` is not satisfied [INFO] [stdout] --> src/importer/test.rs:439:37 [INFO] [stdout] | [INFO] [stdout] 439 | importer.execute_and_commit(Default::default()).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `Block` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Default` is implemented for `fuel_core_types::blockchain::consensus::Sealed` [INFO] [stdout] = note: required for `fuel_core_types::blockchain::consensus::Sealed` to implement `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDatabase` [INFO] [stdout] --> src/importer/test.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | MockDatabase::default(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MockDatabase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDatabase` [INFO] [stdout] --> src/importer/test.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | MockDatabase::default(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MockDatabase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fuel-core-importer` (lib test) due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "49599c2fed5d253b668d0222902d6f53c47e1b24289602ea5bb43b619a79cfa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49599c2fed5d253b668d0222902d6f53c47e1b24289602ea5bb43b619a79cfa7", kill_on_drop: false }` [INFO] [stdout] 49599c2fed5d253b668d0222902d6f53c47e1b24289602ea5bb43b619a79cfa7