[INFO] fetching crate icgeek_ic_ledger 0.1.0... [INFO] testing icgeek_ic_ledger-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate icgeek_ic_ledger 0.1.0 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate icgeek_ic_ledger 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 120 packages to latest compatible versions [INFO] [stderr] Adding candid v0.8.4 (available: v0.10.19) [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2a476973efe378afaa4815e4c6ba69f0a7727d77ac810391eefa9f01adc28e8 [INFO] running `Command { std: "docker" "start" "-a" "c2a476973efe378afaa4815e4c6ba69f0a7727d77ac810391eefa9f01adc28e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2a476973efe378afaa4815e4c6ba69f0a7727d77ac810391eefa9f01adc28e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2a476973efe378afaa4815e4c6ba69f0a7727d77ac810391eefa9f01adc28e8", kill_on_drop: false }` [INFO] [stdout] c2a476973efe378afaa4815e4c6ba69f0a7727d77ac810391eefa9f01adc28e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bebd04a80511ee202ba91c07f0fa5c15bd9b3fcf1caf0ca1de56552d096c08a2 [INFO] running `Command { std: "docker" "start" "-a" "bebd04a80511ee202ba91c07f0fa5c15bd9b3fcf1caf0ca1de56552d096c08a2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling logos v0.12.1 [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 34.34s [INFO] running `Command { std: "docker" "inspect" "bebd04a80511ee202ba91c07f0fa5c15bd9b3fcf1caf0ca1de56552d096c08a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bebd04a80511ee202ba91c07f0fa5c15bd9b3fcf1caf0ca1de56552d096c08a2", kill_on_drop: false }` [INFO] [stdout] bebd04a80511ee202ba91c07f0fa5c15bd9b3fcf1caf0ca1de56552d096c08a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28d87fda8a00e194899a1716cd0d6866de135452a58792de2d1cd435351b3bd8 [INFO] running `Command { std: "docker" "start" "-a" "28d87fda8a00e194899a1716cd0d6866de135452a58792de2d1cd435351b3bd8", 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 1.80s [INFO] running `Command { std: "docker" "inspect" "28d87fda8a00e194899a1716cd0d6866de135452a58792de2d1cd435351b3bd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28d87fda8a00e194899a1716cd0d6866de135452a58792de2d1cd435351b3bd8", kill_on_drop: false }` [INFO] [stdout] 28d87fda8a00e194899a1716cd0d6866de135452a58792de2d1cd435351b3bd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fd3eeb9a64c33280aabc574929faf5abb968c89483870fc7e4b375f79f68fa38 [INFO] running `Command { std: "docker" "start" "-a" "fd3eeb9a64c33280aabc574929faf5abb968c89483870fc7e4b375f79f68fa38", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/icgeek_ic_ledger-546631631069dfdd) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_account_id_try_from ... ok [INFO] [stdout] test tests::test_cycles_minting_canister_id ... ok [INFO] [stdout] test tests::test_governance_canister_id ... ok [INFO] [stdout] test tests::test_ledger_canister_id ... ok [INFO] [stdout] test tests::test_account_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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 - query_blocks (line 462) - compile ... FAILED [INFO] [stdout] test src/lib.rs - token_symbol (line 446) - compile ... FAILED [INFO] [stdout] test src/lib.rs - account_balance (line 390) - 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] 4 | use ic_ledger_types::{AccountIdentifier, BlockIndex, Memo, TransferArgs, Tokens, DEFAULT_SUBACCOUNT, DEFAULT_FEE, MAINNET_LEDGER_CANISTER... [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] ---- 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] 5 | 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] ---- 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] 5 | 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: 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] ---- 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] 4 | 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: 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.25s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "fd3eeb9a64c33280aabc574929faf5abb968c89483870fc7e4b375f79f68fa38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd3eeb9a64c33280aabc574929faf5abb968c89483870fc7e4b375f79f68fa38", kill_on_drop: false }` [INFO] [stdout] fd3eeb9a64c33280aabc574929faf5abb968c89483870fc7e4b375f79f68fa38