[INFO] fetching crate pocket-ic 5.0.0...
[INFO] testing pocket-ic-5.0.0 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate pocket-ic 5.0.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate pocket-ic 5.0.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pocket-ic 5.0.0
[INFO] finished tweaking crates.io crate pocket-ic 5.0.0
[INFO] tweaked toml for crates.io crate pocket-ic 5.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 277 packages to latest compatible versions
[INFO] [stderr]       Adding base64 v0.13.1 (available: v0.22.1)
[INFO] [stderr]       Adding ic-cdk v0.13.5 (available: v0.16.0)
[INFO] [stderr]       Adding ic-cdk-macros v0.13.2 (available: v0.13.3)
[INFO] [stderr]       Adding wat v1.212.0 (available: v1.219.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fdf982297dcd3bc447d3d51b87437aeb526fbc7883973321abd2364fe17ea789
[INFO] running `Command { std: "docker" "start" "-a" "fdf982297dcd3bc447d3d51b87437aeb526fbc7883973321abd2364fe17ea789", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fdf982297dcd3bc447d3d51b87437aeb526fbc7883973321abd2364fe17ea789", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fdf982297dcd3bc447d3d51b87437aeb526fbc7883973321abd2364fe17ea789", kill_on_drop: false }`
[INFO] [stdout] fdf982297dcd3bc447d3d51b87437aeb526fbc7883973321abd2364fe17ea789
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] da264100801e890e5f4bfb143e8a7883a24f3d90d008e0676977dfb8386ba862
[INFO] running `Command { std: "docker" "start" "-a" "da264100801e890e5f4bfb143e8a7883a24f3d90d008e0676977dfb8386ba862", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rustls-pki-types v1.10.0
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling psm v0.1.23
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling stacker v0.1.17
[INFO] [stderr]    Compiling anyhow v1.0.92
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling rustls v0.23.16
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling pretty v0.12.3
[INFO] [stderr]    Compiling candid_derive v0.6.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling rustls-native-certs v0.8.0
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling webpki-roots v0.26.6
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling slog v2.7.0
[INFO] [stderr]    Compiling schemars v0.8.21
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.13
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling ic0 v0.21.1
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling schemars_derive v0.8.21
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling ic_principal v0.1.1
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling serde_bytes v0.11.15
[INFO] [stderr]    Compiling tracing-serde v0.1.3
[INFO] [stderr]    Compiling erased-serde v0.3.31
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-socks v0.5.2
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling tracing-appender v0.2.3
[INFO] [stderr]    Compiling candid v0.10.10
[INFO] [stderr]    Compiling tokio-rustls v0.26.0
[INFO] [stderr]    Compiling hyper v1.5.0
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling ic-cdk-macros v0.13.2
[INFO] [stderr]    Compiling ic-cdk v0.13.5
[INFO] [stderr]    Compiling hyper-rustls v0.27.3
[INFO] [stderr]    Compiling reqwest v0.12.9
[INFO] [stderr]    Compiling pocket-ic v5.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.29s
[INFO] running `Command { std: "docker" "inspect" "da264100801e890e5f4bfb143e8a7883a24f3d90d008e0676977dfb8386ba862", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da264100801e890e5f4bfb143e8a7883a24f3d90d008e0676977dfb8386ba862", kill_on_drop: false }`
[INFO] [stdout] da264100801e890e5f4bfb143e8a7883a24f3d90d008e0676977dfb8386ba862
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7be2e1f61026b7b0df8fe0246ba56877b99887af1c4f651923982a3d1458eb72
[INFO] running `Command { std: "docker" "start" "-a" "7be2e1f61026b7b0df8fe0246ba56877b99887af1c4f651923982a3d1458eb72", kill_on_drop: false }`
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling arbitrary v1.3.2
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling ff v0.13.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling base16ct v0.2.0
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling pico-args v0.5.0
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling wasm-encoder v0.212.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling logos-codegen v0.13.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling ed25519 v2.2.3
[INFO] [stderr]    Compiling ic_principal v0.1.1
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling wast v212.0.0
[INFO] [stderr]    Compiling lalrpop-util v0.20.2
[INFO] [stderr]    Compiling rustls v0.23.16
[INFO] [stderr]    Compiling candid v0.10.10
[INFO] [stderr]    Compiling flate2 v1.0.34
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling logos-derive v0.13.0
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling logos v0.13.0
[INFO] [stderr]    Compiling ecdsa v0.16.9
[INFO] [stderr]    Compiling ed25519-dalek v2.1.1
[INFO] [stderr]    Compiling k256 v0.13.4
[INFO] [stderr]    Compiling ic-cdk-macros v0.13.2
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling ic-cdk v0.13.5
[INFO] [stderr]    Compiling lalrpop v0.20.2
[INFO] [stderr]    Compiling tokio-rustls v0.26.0
[INFO] [stderr]    Compiling hyper-rustls v0.27.3
[INFO] [stderr]    Compiling reqwest v0.12.9
[INFO] [stderr]    Compiling wat v1.212.0
[INFO] [stderr]    Compiling pocket-ic v5.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling candid_parser v0.1.4
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 26.46s
[INFO] running `Command { std: "docker" "inspect" "7be2e1f61026b7b0df8fe0246ba56877b99887af1c4f651923982a3d1458eb72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7be2e1f61026b7b0df8fe0246ba56877b99887af1c4f651923982a3d1458eb72", kill_on_drop: false }`
[INFO] [stdout] 7be2e1f61026b7b0df8fe0246ba56877b99887af1c4f651923982a3d1458eb72
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0ed9c998fa31c50d6e9e272fafbe4dd33b93d375d8b677c003d14bf01eb079e5
[INFO] running `Command { std: "docker" "start" "-a" "0ed9c998fa31c50d6e9e272fafbe4dd33b93d375d8b677c003d14bf01eb079e5", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pocket_ic-bee4d65f8aede706)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[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] [stderr]    Doc-tests pocket_ic
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - (line 9) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - PocketIcBuilder::with_nns_state (line 184) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 9) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/lib.rs:21:40
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let wasm_bytes = load_counter_wasm(...);
[INFO] [stdout]    |                                        ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let wasm_bytes = load_counter_wasm(..);
[INFO] [stdout]    |                                        ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let wasm_bytes = load_counter_wasm(..=);
[INFO] [stdout]    |                                        ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/lib.rs:21:40
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let wasm_bytes = load_counter_wasm(...);
[INFO] [stdout]    |                                        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 15 -     let wasm_bytes = load_counter_wasm(...);
[INFO] [stdout] 15 +     let wasm_bytes = load_counter_wasm(..);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CanisterId` in this scope
[INFO] [stdout]   --> src/lib.rs:30:55
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn call_counter_canister(pic: &PocketIc, canister_id: CanisterId, method: &str) -> WasmResult {
[INFO] [stdout]    |                                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 2  + use ic_cdk::api::management_canister::provisional::CanisterId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WasmResult` in this scope
[INFO] [stdout]   --> src/lib.rs:30:84
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn call_counter_canister(pic: &PocketIc, canister_id: CanisterId, method: &str) -> WasmResult {
[INFO] [stdout]    |                                                                                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use pocket_ic::WasmResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Principal`
[INFO] [stdout]   --> src/lib.rs:31:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pic.update_call(canister_id, Principal::anonymous(), method, encode_one(()).unwrap())
[INFO] [stdout]    |                                  ^^^^^^^^^ use of undeclared type `Principal`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 2  + use candid::Principal;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use candid_parser::Principal;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - PocketIcBuilder::with_nns_state (line 184) stdout ----
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PrincipalId` in this scope
[INFO] [stdout]  --> src/lib.rs:185:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | PrincipalId(
[INFO] [stdout]   | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 9)
[INFO] [stdout]     src/lib.rs - PocketIcBuilder::with_nns_state (line 184)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "0ed9c998fa31c50d6e9e272fafbe4dd33b93d375d8b677c003d14bf01eb079e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ed9c998fa31c50d6e9e272fafbe4dd33b93d375d8b677c003d14bf01eb079e5", kill_on_drop: false }`
[INFO] [stdout] 0ed9c998fa31c50d6e9e272fafbe4dd33b93d375d8b677c003d14bf01eb079e5
