[INFO] fetching crate bity-ic-icrc3 0.5.0... [INFO] testing bity-ic-icrc3-0.5.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate bity-ic-icrc3 0.5.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate bity-ic-icrc3 0.5.0 [INFO] finished tweaking crates.io crate bity-ic-icrc3 0.5.0 [INFO] tweaked toml for crates.io crate bity-ic-icrc3 0.5.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bity-ic-icrc3 0.5.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bity-ic-icrc3 0.5.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-error-types v0.2.0 [INFO] [stderr] Downloaded ic0 v0.25.1 [INFO] [stderr] Downloaded thiserror v2.0.14 [INFO] [stderr] Downloaded bity-ic-icrc3-archive-c2c-client v0.3.2 [INFO] [stderr] Downloaded ic0 v1.0.0 [INFO] [stderr] Downloaded ic-management-canister-types v0.3.2 [INFO] [stderr] Downloaded ic-ledger-types v0.15.0 [INFO] [stderr] Downloaded bity-ic-stable-memory v0.2.1 [INFO] [stderr] Downloaded ic-cdk-executor v1.0.1 [INFO] [stderr] Downloaded ic-cdk-macros v0.18.5 [INFO] [stderr] Downloaded thiserror-impl v2.0.14 [INFO] [stderr] Downloaded bity-ic-canister-client v0.2.4 [INFO] [stderr] Downloaded bity-ic-icrc3-archive-api v0.3.1 [INFO] [stderr] Downloaded bity-ic-subcanister-manager v0.3.1 [INFO] [stderr] Downloaded bity-ic-canister-time v0.2.0 [INFO] [stderr] Downloaded ic-cdk-timers v0.12.2 [INFO] [stderr] Downloaded ic-certification v3.0.3 [INFO] [stderr] Downloaded ic-cdk v0.18.5 [INFO] [stderr] Downloaded canfund v0.8.4 [INFO] [stderr] Downloaded io-uring v0.7.9 [INFO] [stderr] Downloaded bity-ic-utils v0.2.1 [INFO] [stderr] Downloaded syn v2.0.105 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfe587e9930f4f145fa0e83aad43fe871dee05d46deb97f21c5eec0c39039977 [INFO] running `Command { std: "docker" "start" "-a" "cfe587e9930f4f145fa0e83aad43fe871dee05d46deb97f21c5eec0c39039977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfe587e9930f4f145fa0e83aad43fe871dee05d46deb97f21c5eec0c39039977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfe587e9930f4f145fa0e83aad43fe871dee05d46deb97f21c5eec0c39039977", kill_on_drop: false }` [INFO] [stdout] cfe587e9930f4f145fa0e83aad43fe871dee05d46deb97f21c5eec0c39039977 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55fc5085c4ece7dd282d2d310a6fa3140858843c2904583146858ee18770f1a2 [INFO] running `Command { std: "docker" "start" "-a" "55fc5085c4ece7dd282d2d310a6fa3140858843c2904583146858ee18770f1a2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ic-cdk-executor v1.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling ic0 v1.0.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling minicbor v1.1.0 [INFO] [stderr] Compiling ic0 v0.25.1 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.10.17 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.14 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling minicbor-derive v0.17.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic-error-types v0.2.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling ic-stable-structures v0.6.9 [INFO] [stderr] Compiling ic-certification v3.0.3 [INFO] [stderr] Compiling candid v0.10.17 [INFO] [stderr] Compiling ic-management-canister-types v0.3.2 [INFO] [stderr] Compiling icrc-cbor v0.1.0 [INFO] [stderr] Compiling icrc-ledger-types v0.1.10 [INFO] [stderr] Compiling ic-cdk-macros v0.18.5 [INFO] [stderr] Compiling ic-cdk v0.18.5 [INFO] [stderr] Compiling bity-ic-types v0.1.1 [INFO] [stderr] Compiling bity-ic-icrc3-archive-api v0.3.1 [INFO] [stderr] Compiling ic-cdk-timers v0.12.2 [INFO] [stderr] Compiling ic-ledger-types v0.15.0 [INFO] [stderr] Compiling bity-ic-stable-memory v0.2.1 [INFO] [stderr] Compiling bity-ic-canister-client v0.2.4 [INFO] [stderr] Compiling bity-ic-icrc3-archive-c2c-client v0.3.2 [INFO] [stderr] Compiling bity-ic-canister-time v0.2.0 [INFO] [stderr] Compiling bity-ic-utils v0.2.1 [INFO] [stderr] Compiling canfund v0.8.4 [INFO] [stderr] Compiling bity-ic-subcanister-manager v0.3.1 [INFO] [stderr] Compiling bity-ic-icrc3 v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.64s [INFO] running `Command { std: "docker" "inspect" "55fc5085c4ece7dd282d2d310a6fa3140858843c2904583146858ee18770f1a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55fc5085c4ece7dd282d2d310a6fa3140858843c2904583146858ee18770f1a2", kill_on_drop: false }` [INFO] [stdout] 55fc5085c4ece7dd282d2d310a6fa3140858843c2904583146858ee18770f1a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a516bda1e163709cdea5f4a96e50c3d814c7e5ba13f34dfb580a2e6f29c12ce [INFO] running `Command { std: "docker" "start" "-a" "5a516bda1e163709cdea5f4a96e50c3d814c7e5ba13f34dfb580a2e6f29c12ce", kill_on_drop: false }` [INFO] [stderr] Compiling bity-ic-icrc3 v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.91s [INFO] running `Command { std: "docker" "inspect" "5a516bda1e163709cdea5f4a96e50c3d814c7e5ba13f34dfb580a2e6f29c12ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a516bda1e163709cdea5f4a96e50c3d814c7e5ba13f34dfb580a2e6f29c12ce", kill_on_drop: false }` [INFO] [stdout] 5a516bda1e163709cdea5f4a96e50c3d814c7e5ba13f34dfb580a2e6f29c12ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8b908684a48468e7da1c01c48f577768a5b7e2de0ae63c35c4258ed5a1d8e973 [INFO] running `Command { std: "docker" "start" "-a" "8b908684a48468e7da1c01c48f577768a5b7e2de0ae63c35c4258ed5a1d8e973", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bity_ic_icrc3-99e50d829cb2ae34) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests bity_ic_icrc3 [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/utils.rs - utils::last_block_hash_tree (line 22) ... FAILED [INFO] [stdout] test src/transaction.rs - transaction::TransactionType (line 24) ... FAILED [INFO] [stdout] test src/interface.rs - interface::ICRC3Interface (line 29) ... FAILED [INFO] [stdout] test src/config.rs - config::ICRC3Config (line 13) ... FAILED [INFO] [stdout] test src/interface.rs - interface::ICRC3Interface (line 38) ... FAILED [INFO] [stdout] test src/lib.rs - (line 16) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/utils.rs - utils::last_block_hash_tree (line 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `icrc3_library` [INFO] [stdout] --> src/utils.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use icrc3_library::utils::last_block_hash_tree; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `icrc3_library` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `icrc3_library`, use `cargo add icrc3_library` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transaction.rs - transaction::TransactionType (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `icrc3_library` [INFO] [stdout] --> src/transaction.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use icrc3_library::transaction::TransactionType; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `icrc3_library` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `icrc3_library`, use `cargo add icrc3_library` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TimestampSeconds` in this scope [INFO] [stdout] --> src/transaction.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | fn timestamp(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 24 + use bity_ic_types::TimestampSeconds; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/interface.rs - interface::ICRC3Interface (line 29) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `icrc3_library` [INFO] [stdout] --> src/interface.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use icrc3_library::{ICRC3Interface, ICRC3}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `icrc3_library` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `icrc3_library`, use `cargo add icrc3_library` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> src/interface.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | let icrc3 = ICRC3::new(config); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::ICRC3Config (line 13) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `icrc3_library` [INFO] [stdout] --> src/config.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use icrc3_library::config::{ICRC3Config, ICRC3Properties}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `icrc3_library` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `icrc3_library`, use `cargo add icrc3_library` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/interface.rs - interface::ICRC3Interface (line 38) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `icrc3_library` [INFO] [stdout] --> src/interface.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use icrc3_library::{ICRC3Interface, ICRC3}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `icrc3_library` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `icrc3_library`, use `cargo add icrc3_library` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `icrc3` in this scope [INFO] [stdout] --> src/interface.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | let prepared_tx = icrc3.prepare_transaction(transaction)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `transaction` in this scope [INFO] [stdout] --> src/interface.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | let prepared_tx = icrc3.prepare_transaction(transaction)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `icrc3` in this scope [INFO] [stdout] --> src/interface.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | let tx_index = icrc3.commit_prepared_transaction(prepared_tx)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/interface.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 38 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_interface_rs_38_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 45 | let async_result = some_async_operation().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `some_async_operation` in this scope [INFO] [stdout] --> src/interface.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let async_result = some_async_operation().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 16) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `icrc3_library` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use icrc3_library::{ICRC3, ICRC3Config}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `icrc3_library` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `icrc3_library`, use `cargo add icrc3_library` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `transaction` in this scope [INFO] [stdout] --> src/lib.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | let result = icrc3.add_transaction(transaction).await; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `args` in this scope [INFO] [stdout] --> src/lib.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | let blocks = icrc3.icrc3_get_blocks(args).await; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_16_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 24 | let result = icrc3.add_transaction(transaction).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_16_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 27 | let blocks = icrc3.icrc3_get_blocks(args).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/config.rs - config::ICRC3Config (line 13) [INFO] [stdout] src/interface.rs - interface::ICRC3Interface (line 29) [INFO] [stdout] src/interface.rs - interface::ICRC3Interface (line 38) [INFO] [stdout] src/lib.rs - (line 16) [INFO] [stdout] src/transaction.rs - transaction::TransactionType (line 24) [INFO] [stdout] src/utils.rs - utils::last_block_hash_tree (line 22) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8b908684a48468e7da1c01c48f577768a5b7e2de0ae63c35c4258ed5a1d8e973", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b908684a48468e7da1c01c48f577768a5b7e2de0ae63c35c4258ed5a1d8e973", kill_on_drop: false }` [INFO] [stdout] 8b908684a48468e7da1c01c48f577768a5b7e2de0ae63c35c4258ed5a1d8e973