[INFO] fetching crate icgeek_ic_ledger 0.1.0... [INFO] testing icgeek_ic_ledger-0.1.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate icgeek_ic_ledger 0.1.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate icgeek_ic_ledger 0.1.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded ena v0.14.3 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.6.10 [INFO] [stderr] Downloaded ic0 v0.18.11 [INFO] [stderr] Downloaded candid_derive v0.5.0 [INFO] [stderr] Downloaded ic-cdk v0.6.10 [INFO] [stderr] Downloaded candid v0.8.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b24ec16cf736c0fa39d901cee820c86277a0b2dd9922b4169b5b01ff8937123 [INFO] running `Command { std: "docker" "start" "-a" "1b24ec16cf736c0fa39d901cee820c86277a0b2dd9922b4169b5b01ff8937123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b24ec16cf736c0fa39d901cee820c86277a0b2dd9922b4169b5b01ff8937123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b24ec16cf736c0fa39d901cee820c86277a0b2dd9922b4169b5b01ff8937123", kill_on_drop: false }` [INFO] [stdout] 1b24ec16cf736c0fa39d901cee820c86277a0b2dd9922b4169b5b01ff8937123 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9697e28f0b22f684b6a455d7b8e78fa8247587a0702af7492c13f74c4e878d9 [INFO] running `Command { std: "docker" "start" "-a" "c9697e28f0b22f684b6a455d7b8e78fa8247587a0702af7492c13f74c4e878d9", 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 scopeguard v1.2.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling smallvec v1.15.1 [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 regex-syntax v0.6.29 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [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 ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling toml_edit v0.19.15 [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 thiserror v1.0.69 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling candid_derive v0.5.0 [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 logos v0.12.1 [INFO] [stderr] Compiling binread v2.2.0 [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 41.27s [INFO] running `Command { std: "docker" "inspect" "c9697e28f0b22f684b6a455d7b8e78fa8247587a0702af7492c13f74c4e878d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9697e28f0b22f684b6a455d7b8e78fa8247587a0702af7492c13f74c4e878d9", kill_on_drop: false }` [INFO] [stdout] c9697e28f0b22f684b6a455d7b8e78fa8247587a0702af7492c13f74c4e878d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfbf6c04cbf66a529b85a659284e140d33b74202da1dda6e10e07623ff123538 [INFO] running `Command { std: "docker" "start" "-a" "cfbf6c04cbf66a529b85a659284e140d33b74202da1dda6e10e07623ff123538", 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.36s [INFO] running `Command { std: "docker" "inspect" "cfbf6c04cbf66a529b85a659284e140d33b74202da1dda6e10e07623ff123538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfbf6c04cbf66a529b85a659284e140d33b74202da1dda6e10e07623ff123538", kill_on_drop: false }` [INFO] [stdout] cfbf6c04cbf66a529b85a659284e140d33b74202da1dda6e10e07623ff123538 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 28c9091869e892c92e90db93f1f1b265261162052e711899d176addd74a46267 [INFO] running `Command { std: "docker" "start" "-a" "28c9091869e892c92e90db93f1f1b265261162052e711899d176addd74a46267", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/icgeek_ic_ledger-d6d9b9bc7dafbc31) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_account_id ... ok [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_ledger_canister_id ... ok [INFO] [stderr] Doc-tests icgeek_ic_ledger [INFO] [stdout] test tests::test_governance_canister_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [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 - query_blocks (line 462) - compile ... FAILED [INFO] [stdout] test src/lib.rs - token_symbol (line 446) - 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 - 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] ---- 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] [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.41s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "28c9091869e892c92e90db93f1f1b265261162052e711899d176addd74a46267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28c9091869e892c92e90db93f1f1b265261162052e711899d176addd74a46267", kill_on_drop: false }` [INFO] [stdout] 28c9091869e892c92e90db93f1f1b265261162052e711899d176addd74a46267