[INFO] fetching crate icgeek_ic_ledger 0.1.0... [INFO] testing icgeek_ic_ledger-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate icgeek_ic_ledger 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate icgeek_ic_ledger 0.1.0 [INFO] finished tweaking crates.io crate icgeek_ic_ledger 0.1.0 [INFO] tweaked toml for crates.io crate icgeek_ic_ledger 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate icgeek_ic_ledger 0.1.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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 110 packages to latest compatible versions [INFO] [stderr] Adding candid v0.8.4 (available: v0.10.20) [INFO] [stderr] Adding ic-cdk v0.6.10 (available: v0.18.7) [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] Downloading crates ... [INFO] [stderr] Downloaded lalrpop-util v0.19.12 [INFO] [stderr] Downloaded ic0 v0.18.11 [INFO] [stderr] Downloaded ic-cdk v0.6.10 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.6.10 [INFO] [stderr] Downloaded candid_derive v0.5.0 [INFO] [stderr] Downloaded lalrpop v0.19.12 [INFO] [stderr] Downloaded candid v0.8.4 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d07f4e4e554fd6e35acce7a9ba4abcf6a8d33e0a17aa1c4ac17b26ded0b539ed [INFO] running `Command { std: "docker" "start" "-a" "d07f4e4e554fd6e35acce7a9ba4abcf6a8d33e0a17aa1c4ac17b26ded0b539ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d07f4e4e554fd6e35acce7a9ba4abcf6a8d33e0a17aa1c4ac17b26ded0b539ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d07f4e4e554fd6e35acce7a9ba4abcf6a8d33e0a17aa1c4ac17b26ded0b539ed", kill_on_drop: false }` [INFO] [stdout] d07f4e4e554fd6e35acce7a9ba4abcf6a8d33e0a17aa1c4ac17b26ded0b539ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 363cef6ba73d31966032b42d126025d734b9d3c4b856e6e6604dc26d58e6f367 [INFO] running `Command { std: "docker" "start" "-a" "363cef6ba73d31966032b42d126025d734b9d3c4b856e6e6604dc26d58e6f367", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling ic-cdk-macros v0.6.10 [INFO] [stderr] Compiling ic-cdk v0.6.10 [INFO] [stderr] Compiling icgeek_ic_ledger v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "363cef6ba73d31966032b42d126025d734b9d3c4b856e6e6604dc26d58e6f367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "363cef6ba73d31966032b42d126025d734b9d3c4b856e6e6604dc26d58e6f367", kill_on_drop: false }` [INFO] [stdout] 363cef6ba73d31966032b42d126025d734b9d3c4b856e6e6604dc26d58e6f367 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8d9063e456dc061f56aa3efacf801988a987d3dcd23157a8844adc6bc0022fbc [INFO] running `Command { std: "docker" "start" "-a" "8d9063e456dc061f56aa3efacf801988a987d3dcd23157a8844adc6bc0022fbc", kill_on_drop: false }` [INFO] [stderr] Compiling icgeek_ic_ledger v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.32s [INFO] running `Command { std: "docker" "inspect" "8d9063e456dc061f56aa3efacf801988a987d3dcd23157a8844adc6bc0022fbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d9063e456dc061f56aa3efacf801988a987d3dcd23157a8844adc6bc0022fbc", kill_on_drop: false }` [INFO] [stdout] 8d9063e456dc061f56aa3efacf801988a987d3dcd23157a8844adc6bc0022fbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a807656f7ed1dc5104cc75dcfaf1a0af957fa005b880be793f8fb4b427968991 [INFO] running `Command { std: "docker" "start" "-a" "a807656f7ed1dc5104cc75dcfaf1a0af957fa005b880be793f8fb4b427968991", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/icgeek_ic_ledger-1b73bb9d9ac8a968) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_account_id_try_from ... ok [INFO] [stdout] test tests::test_governance_canister_id ... ok [INFO] [stdout] test tests::test_account_id ... ok [INFO] [stdout] test tests::test_cycles_minting_canister_id ... ok [INFO] [stdout] test tests::test_ledger_canister_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests icgeek_ic_ledger [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - transfer (line 413) - compile ... FAILED [INFO] [stdout] test src/lib.rs - account_balance (line 390) - compile ... FAILED [INFO] [stdout] test src/lib.rs - token_symbol (line 446) - compile ... FAILED [INFO] [stdout] test src/lib.rs - query_blocks (line 462) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - transfer (line 413) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ic_ledger_types` [INFO] [stdout] --> src/lib.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 415 | use ic_ledger_types::{AccountIdentifier, BlockIndex, Memo, TransferArgs, Tokens, DEFAULT_SUBACCOUNT, DEFAULT_FEE, MAINNET_LEDGER_CA... [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ic_ledger_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ic_ledger_types`, use `cargo add ic_ledger_types` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:418:3 [INFO] [stdout] | [INFO] [stdout] 418 | / transfer( [INFO] [stdout] 419 | | MAINNET_LEDGER_CANISTER_ID, [INFO] [stdout] 420 | | TransferArgs { [INFO] [stdout] 421 | | memo: Memo(0), [INFO] [stdout] ... | [INFO] [stdout] 428 | | ).await.expect("call to ledger failed").expect("transfer failed") [INFO] [stdout] | |_________^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - account_balance (line 390) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ic_ledger_types` [INFO] [stdout] --> src/lib.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | use ic_ledger_types::{AccountIdentifier, AccountBalanceArgs, Tokens, DEFAULT_SUBACCOUNT, MAINNET_LEDGER_CANISTER_ID, account_balance}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ic_ledger_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ic_ledger_types`, use `cargo add ic_ledger_types` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:395:3 [INFO] [stdout] | [INFO] [stdout] 395 | / account_balance( [INFO] [stdout] 396 | | MAINNET_LEDGER_CANISTER_ID, [INFO] [stdout] 397 | | AccountBalanceArgs { [INFO] [stdout] 398 | | account: AccountIdentifier::new(&caller(), &DEFAULT_SUBACCOUNT) [INFO] [stdout] 399 | | } [INFO] [stdout] 400 | | ).await.expect("call to ledger failed") [INFO] [stdout] | |_________^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - token_symbol (line 446) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ic_ledger_types` [INFO] [stdout] --> src/lib.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | use ic_ledger_types::{Symbol, token_symbol}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ic_ledger_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ic_ledger_types`, use `cargo add ic_ledger_types` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:452:3 [INFO] [stdout] | [INFO] [stdout] 452 | token_symbol(ledger_canister_id).await.expect("call to ledger failed").symbol [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - query_blocks (line 462) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ic_ledger_types` [INFO] [stdout] --> src/lib.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | use ic_ledger_types::{BlockIndex, Block, GetBlocksArgs, query_blocks, query_archived_blocks}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ic_ledger_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ic_ledger_types`, use `cargo add ic_ledger_types` 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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - account_balance (line 390) [INFO] [stdout] src/lib.rs - query_blocks (line 462) [INFO] [stdout] src/lib.rs - token_symbol (line 446) [INFO] [stdout] src/lib.rs - transfer (line 413) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a807656f7ed1dc5104cc75dcfaf1a0af957fa005b880be793f8fb4b427968991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a807656f7ed1dc5104cc75dcfaf1a0af957fa005b880be793f8fb4b427968991", kill_on_drop: false }` [INFO] [stdout] a807656f7ed1dc5104cc75dcfaf1a0af957fa005b880be793f8fb4b427968991