[INFO] fetching crate icgeek_ic_ledger 0.1.0... [INFO] testing icgeek_ic_ledger-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate icgeek_ic_ledger 0.1.0 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate icgeek_ic_ledger 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 128 packages to latest compatible versions [INFO] [stderr] Adding candid v0.8.4 (available: v0.10.17) [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30651fdc24f6624231b16b124db1c622b9bb5f14e630404b033e7d2027adce38 [INFO] running `Command { std: "docker" "start" "-a" "30651fdc24f6624231b16b124db1c622b9bb5f14e630404b033e7d2027adce38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30651fdc24f6624231b16b124db1c622b9bb5f14e630404b033e7d2027adce38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30651fdc24f6624231b16b124db1c622b9bb5f14e630404b033e7d2027adce38", kill_on_drop: false }` [INFO] [stdout] 30651fdc24f6624231b16b124db1c622b9bb5f14e630404b033e7d2027adce38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d7fa05477b272eb6ee1d5619bfdbb0e93239f42077d84ccbc61496ae1454747 [INFO] running `Command { std: "docker" "start" "-a" "7d7fa05477b272eb6ee1d5619bfdbb0e93239f42077d84ccbc61496ae1454747", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling lalrpop v0.19.12 [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 29.12s [INFO] running `Command { std: "docker" "inspect" "7d7fa05477b272eb6ee1d5619bfdbb0e93239f42077d84ccbc61496ae1454747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d7fa05477b272eb6ee1d5619bfdbb0e93239f42077d84ccbc61496ae1454747", kill_on_drop: false }` [INFO] [stdout] 7d7fa05477b272eb6ee1d5619bfdbb0e93239f42077d84ccbc61496ae1454747 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b6511deebd751ff30a71659a148d594799b3539f4492b638f163a7c5f3cca45 [INFO] running `Command { std: "docker" "start" "-a" "0b6511deebd751ff30a71659a148d594799b3539f4492b638f163a7c5f3cca45", 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 0.83s [INFO] running `Command { std: "docker" "inspect" "0b6511deebd751ff30a71659a148d594799b3539f4492b638f163a7c5f3cca45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b6511deebd751ff30a71659a148d594799b3539f4492b638f163a7c5f3cca45", kill_on_drop: false }` [INFO] [stdout] 0b6511deebd751ff30a71659a148d594799b3539f4492b638f163a7c5f3cca45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a523fae7560e33be53f651ad0a11c819c91b93b73bbb5cf1da32523f7f625d0f [INFO] running `Command { std: "docker" "start" "-a" "a523fae7560e33be53f651ad0a11c819c91b93b73bbb5cf1da32523f7f625d0f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/icgeek_ic_ledger-c5f85f4280784c54) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_account_id ... ok [INFO] [stdout] test tests::test_cycles_minting_canister_id ... ok [INFO] [stdout] test tests::test_account_id_try_from ... ok [INFO] [stdout] test tests::test_ledger_canister_id ... ok [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.00s [INFO] [stdout] [INFO] [stderr] Doc-tests icgeek_ic_ledger [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - token_symbol (line 446) - compile ... FAILED [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] [INFO] [stdout] failures: [INFO] [stdout] [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 - 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] [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.07s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a523fae7560e33be53f651ad0a11c819c91b93b73bbb5cf1da32523f7f625d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a523fae7560e33be53f651ad0a11c819c91b93b73bbb5cf1da32523f7f625d0f", kill_on_drop: false }` [INFO] [stdout] a523fae7560e33be53f651ad0a11c819c91b93b73bbb5cf1da32523f7f625d0f