[INFO] fetching crate bity-ic-canister-client 0.2.4... [INFO] testing bity-ic-canister-client-0.2.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate bity-ic-canister-client 0.2.4 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate bity-ic-canister-client 0.2.4 [INFO] finished tweaking crates.io crate bity-ic-canister-client 0.2.4 [INFO] tweaked toml for crates.io crate bity-ic-canister-client 0.2.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bity-ic-canister-client 0.2.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bity-ic-canister-client 0.2.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 980a6fb9d7fb25515beb8e6bc3e93713aa0d4c969a03ae40974e22760da87ede [INFO] running `Command { std: "docker" "start" "-a" "980a6fb9d7fb25515beb8e6bc3e93713aa0d4c969a03ae40974e22760da87ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "980a6fb9d7fb25515beb8e6bc3e93713aa0d4c969a03ae40974e22760da87ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "980a6fb9d7fb25515beb8e6bc3e93713aa0d4c969a03ae40974e22760da87ede", kill_on_drop: false }` [INFO] [stdout] 980a6fb9d7fb25515beb8e6bc3e93713aa0d4c969a03ae40974e22760da87ede [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2b8c9b6c87b2838b6096bbc7ad01e32e7586a6b44a751955eac363078b3b841 [INFO] running `Command { std: "docker" "start" "-a" "e2b8c9b6c87b2838b6096bbc7ad01e32e7586a6b44a751955eac363078b3b841", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling ic-cdk-executor v1.0.1 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling ic0 v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [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 sha2 v0.10.9 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.10.17 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic-error-types v0.2.0 [INFO] [stderr] Compiling ic-stable-structures v0.6.9 [INFO] [stderr] Compiling candid v0.10.17 [INFO] [stderr] Compiling icrc-cbor v0.1.0 [INFO] [stderr] Compiling ic-management-canister-types v0.3.2 [INFO] [stderr] Compiling icrc-ledger-types v0.1.10 [INFO] [stderr] Compiling ic-cdk-macros v0.18.5 [INFO] [stderr] Compiling bity-ic-types v0.1.1 [INFO] [stderr] Compiling ic-cdk v0.18.5 [INFO] [stderr] Compiling bity-ic-canister-client v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.14s [INFO] running `Command { std: "docker" "inspect" "e2b8c9b6c87b2838b6096bbc7ad01e32e7586a6b44a751955eac363078b3b841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2b8c9b6c87b2838b6096bbc7ad01e32e7586a6b44a751955eac363078b3b841", kill_on_drop: false }` [INFO] [stdout] e2b8c9b6c87b2838b6096bbc7ad01e32e7586a6b44a751955eac363078b3b841 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3edaac9ebbd83c5104df998159a14d4ed15991fa6a88f14bc793afd17c47859 [INFO] running `Command { std: "docker" "start" "-a" "f3edaac9ebbd83c5104df998159a14d4ed15991fa6a88f14bc793afd17c47859", kill_on_drop: false }` [INFO] [stderr] Compiling bity-ic-canister-client v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "f3edaac9ebbd83c5104df998159a14d4ed15991fa6a88f14bc793afd17c47859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3edaac9ebbd83c5104df998159a14d4ed15991fa6a88f14bc793afd17c47859", kill_on_drop: false }` [INFO] [stdout] f3edaac9ebbd83c5104df998159a14d4ed15991fa6a88f14bc793afd17c47859 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e036c3090c9b37253fea6bbe7fcf32026857d5c53ef988b736f830ac6712783 [INFO] running `Command { std: "docker" "start" "-a" "6e036c3090c9b37253fea6bbe7fcf32026857d5c53ef988b736f830ac6712783", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bity_ic_canister_client-1e7b084dae6377c8) [INFO] [stderr] Doc-tests bity_ic_canister_client [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] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/canister_client_macros.rs - canister_client_macros::generate_candid_c2c_call_no_args (line 317) ... FAILED [INFO] [stdout] test src/canister_client_macros.rs - canister_client_macros::generate_c2c_call (line 140) ... FAILED [INFO] [stdout] test src/lib.rs - make_c2c_call_with_payment (line 125) ... FAILED [INFO] [stdout] test src/canister_client_macros.rs - canister_client_macros::generate_candid_c2c_call (line 184) ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - make_c2c_call (line 64) ... FAILED [INFO] [stdout] test src/canister_client_macros.rs - canister_client_macros::generate_update_call (line 51) ... FAILED [INFO] [stdout] test src/canister_client_macros.rs - canister_client_macros::generate_candid_c2c_call_tuple_args (line 274) ... FAILED [INFO] [stdout] test src/lib.rs - make_c2c_call_raw (line 178) ... FAILED [INFO] [stdout] test src/canister_client_macros.rs - canister_client_macros::generate_query_call (line 94) ... FAILED [INFO] [stdout] test src/canister_client_macros.rs - canister_client_macros::generate_candid_c2c_call_with_payment (line 229) ... FAILED [INFO] [stdout] test src/canister_client_macros.rs - canister_client_macros (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/canister_client_macros.rs - canister_client_macros::generate_candid_c2c_call_no_args (line 317) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: function `get_version` is not a crate or module [INFO] [stdout] --> src/canister_client_macros.rs:321:35 [INFO] [stdout] | [INFO] [stdout] 7 | generate_candid_c2c_call_no_args!(get_version); [INFO] [stdout] | ^^^^^^^^^^^ function `get_version` is not a crate or module [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canister_client_macros.rs - canister_client_macros::generate_c2c_call (line 140) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `msgpack` in `bity_ic_canister_client` [INFO] [stdout] --> src/canister_client_macros.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 7 | generate_c2c_call!(transfer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `msgpack` in `bity_ic_canister_client` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_c2c_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `msgpack` in `bity_ic_canister_client` [INFO] [stdout] --> src/canister_client_macros.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 7 | generate_c2c_call!(transfer); [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `msgpack` in `bity_ic_canister_client` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_c2c_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bity_ic_types` in `bity_ic_canister_client` [INFO] [stdout] --> src/canister_client_macros.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 7 | generate_c2c_call!(transfer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `bity_ic_types` in `bity_ic_canister_client` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_c2c_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this crate [INFO] [stdout] | [INFO] [stdout] 2 + use bity_ic_canister_client::canister_client_macros::bity_ic_types; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `transfer` is not a crate or module [INFO] [stdout] --> src/canister_client_macros.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 7 | generate_c2c_call!(transfer); [INFO] [stdout] | ^^^^^^^^ function `transfer` is not a crate or module [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - make_c2c_call_with_payment (line 125) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Principal` in this scope [INFO] [stdout] --> src/lib.rs:130:31 [INFO] [stdout] | [INFO] [stdout] 8 | async fn example(canister_id: Principal, args: &MyArgs, cycles: u128) -> CallResult { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use candid::Principal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyArgs` in this scope [INFO] [stdout] --> src/lib.rs:130:49 [INFO] [stdout] | [INFO] [stdout] 8 | async fn example(canister_id: Principal, args: &MyArgs, cycles: u128) -> CallResult { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CallResult` in this scope [INFO] [stdout] --> src/lib.rs:130:74 [INFO] [stdout] | [INFO] [stdout] 8 | async fn example(canister_id: Principal, args: &MyArgs, cycles: u128) -> CallResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use ic_cdk::api::call::CallResult; [INFO] [stdout] | [INFO] [stdout] 2 + use ic_cdk::call::CallResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyResponse` in this scope [INFO] [stdout] --> src/lib.rs:130:85 [INFO] [stdout] | [INFO] [stdout] 8 | async fn example(canister_id: Principal, args: &MyArgs, cycles: u128) -> CallResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | async fn example(canister_id: Principal, args: &MyArgs, cycles: u128) -> CallResult { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canister_client_macros.rs - canister_client_macros::generate_candid_c2c_call (line 184) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: function `transfer` is not a crate or module [INFO] [stdout] --> src/canister_client_macros.rs:188:27 [INFO] [stdout] | [INFO] [stdout] 7 | generate_candid_c2c_call!(transfer); [INFO] [stdout] | ^^^^^^^^ function `transfer` is not a crate or module [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Principal` in this scope [INFO] [stdout] --> src/lib.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 9 | canister_id: Principal, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use candid::Principal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransferArgs` in this scope [INFO] [stdout] --> src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 10 | args: &TransferArgs, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CallResult` in this scope [INFO] [stdout] --> src/lib.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 11 | ) -> CallResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use ic_cdk::api::call::CallResult; [INFO] [stdout] | [INFO] [stdout] 2 + use ic_cdk::call::CallResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransferResponse` in this scope [INFO] [stdout] --> src/lib.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 11 | ) -> CallResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | async fn transfer( [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - make_c2c_call (line 64) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Principal` in this scope [INFO] [stdout] --> src/lib.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 8 | async fn example(canister_id: Principal, args: &MyArgs) -> CallResult { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use candid::Principal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyArgs` in this scope [INFO] [stdout] --> src/lib.rs:69:49 [INFO] [stdout] | [INFO] [stdout] 8 | async fn example(canister_id: Principal, args: &MyArgs) -> CallResult { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CallResult` in this scope [INFO] [stdout] --> src/lib.rs:69:60 [INFO] [stdout] | [INFO] [stdout] 8 | async fn example(canister_id: Principal, args: &MyArgs) -> CallResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use ic_cdk::api::call::CallResult; [INFO] [stdout] | [INFO] [stdout] 2 + use ic_cdk::call::CallResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyResponse` in this scope [INFO] [stdout] --> src/lib.rs:69:71 [INFO] [stdout] | [INFO] [stdout] 8 | async fn example(canister_id: Principal, args: &MyArgs) -> CallResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | async fn example(canister_id: Principal, args: &MyArgs) -> CallResult { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canister_client_macros.rs - canister_client_macros::generate_update_call (line 51) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `bity_ic_canister_client::candid` [INFO] [stdout] --> src/canister_client_macros.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 7 | generate_update_call!(transfer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `candid` in `bity_ic_canister_client` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_update_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ic_agent` in `bity_ic_canister_client` [INFO] [stdout] --> src/canister_client_macros.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 7 | generate_update_call!(transfer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `ic_agent` in `bity_ic_canister_client` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_update_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `candid` in `bity_ic_canister_client` [INFO] [stdout] --> src/canister_client_macros.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 7 | generate_update_call!(transfer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `candid` in `bity_ic_canister_client` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_update_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this crate [INFO] [stdout] | [INFO] [stdout] 2 + use bity_ic_canister_client::canister_client_macros::candid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `transfer` is not a crate or module [INFO] [stdout] --> src/canister_client_macros.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 7 | generate_update_call!(transfer); [INFO] [stdout] | ^^^^^^^^ function `transfer` is not a crate or module [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canister_client_macros.rs - canister_client_macros::generate_candid_c2c_call_tuple_args (line 274) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: function `transfer` is not a crate or module [INFO] [stdout] --> src/canister_client_macros.rs:278:38 [INFO] [stdout] | [INFO] [stdout] 7 | generate_candid_c2c_call_tuple_args!(transfer); [INFO] [stdout] | ^^^^^^^^ function `transfer` is not a crate or module [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - make_c2c_call_raw (line 178) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Principal` in this scope [INFO] [stdout] --> src/lib.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 7 | async fn example(canister_id: Principal, payload: &[u8]) -> CallResult> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use candid::Principal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CallResult` in this scope [INFO] [stdout] --> src/lib.rs:182:61 [INFO] [stdout] | [INFO] [stdout] 7 | async fn example(canister_id: Principal, payload: &[u8]) -> CallResult> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use ic_cdk::api::call::CallResult; [INFO] [stdout] | [INFO] [stdout] 2 + use ic_cdk::call::CallResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/lib.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 8 | make_c2c_call_raw(canister_id, "my_method", payload, 0).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------------- argument #5 of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | pub async fn make_c2c_call_raw( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 8 | make_c2c_call_raw(canister_id, "my_method", payload, 0, /* std::option::Option */).await [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canister_client_macros.rs - canister_client_macros::generate_query_call (line 94) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ic_agent` [INFO] [stdout] --> src/canister_client_macros.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 7 | generate_query_call!(get_balance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ic_agent` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ic_agent`, use `cargo add ic_agent` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_query_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `get_balance` is not a crate or module [INFO] [stdout] --> src/canister_client_macros.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 7 | generate_query_call!(get_balance); [INFO] [stdout] | ^^^^^^^^^^^ function `get_balance` is not a crate or module [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canister_client_macros.rs - canister_client_macros::generate_candid_c2c_call_with_payment (line 229) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/canister_client_macros.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 7 | generate_candid_c2c_call_with_payment!(transfer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u128`, found `u64` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | pub async fn make_c2c_call_with_payment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_candid_c2c_call_with_payment` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `transfer` is not a crate or module [INFO] [stdout] --> src/canister_client_macros.rs:233:40 [INFO] [stdout] | [INFO] [stdout] 7 | generate_candid_c2c_call_with_payment!(transfer); [INFO] [stdout] | ^^^^^^^^ function `transfer` is not a crate or module [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canister_client_macros.rs - canister_client_macros (line 8) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `bity_ic_canister_client::candid` [INFO] [stdout] --> src/canister_client_macros.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 8 | generate_update_call!(my_method); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `candid` in `bity_ic_canister_client` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_update_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ic_agent` in `bity_ic_canister_client` [INFO] [stdout] --> src/canister_client_macros.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 8 | generate_update_call!(my_method); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `ic_agent` in `bity_ic_canister_client` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_update_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `msgpack` in `bity_ic_canister_client` [INFO] [stdout] --> src/canister_client_macros.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 14 | generate_c2c_call!(transfer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `msgpack` in `bity_ic_canister_client` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_c2c_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `msgpack` in `bity_ic_canister_client` [INFO] [stdout] --> src/canister_client_macros.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 14 | generate_c2c_call!(transfer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `msgpack` in `bity_ic_canister_client` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_c2c_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `candid` in `bity_ic_canister_client` [INFO] [stdout] --> src/canister_client_macros.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 8 | generate_update_call!(my_method); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `candid` in `bity_ic_canister_client` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_update_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this crate [INFO] [stdout] | [INFO] [stdout] 2 + use bity_ic_canister_client::canister_client_macros::candid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bity_ic_types` in `bity_ic_canister_client` [INFO] [stdout] --> src/canister_client_macros.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 14 | generate_c2c_call!(transfer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `bity_ic_types` in `bity_ic_canister_client` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_c2c_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this crate [INFO] [stdout] | [INFO] [stdout] 2 + use bity_ic_canister_client::canister_client_macros::bity_ic_types; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `my_method` is not a crate or module [INFO] [stdout] --> src/canister_client_macros.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 8 | generate_update_call!(my_method); [INFO] [stdout] | ^^^^^^^^^ function `my_method` is not a crate or module [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ic_agent` [INFO] [stdout] --> src/canister_client_macros.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 11 | generate_query_call!(get_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ic_agent` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ic_agent`, use `cargo add ic_agent` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_query_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `get_data` is not a crate or module [INFO] [stdout] --> src/canister_client_macros.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 11 | generate_query_call!(get_data); [INFO] [stdout] | ^^^^^^^^ function `get_data` is not a crate or module [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `transfer` is not a crate or module [INFO] [stdout] --> src/canister_client_macros.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 14 | generate_c2c_call!(transfer); [INFO] [stdout] | ^^^^^^^^ function `transfer` is not a crate or module [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/canister_client_macros.rs - canister_client_macros (line 8) [INFO] [stdout] src/canister_client_macros.rs - canister_client_macros::generate_c2c_call (line 140) [INFO] [stdout] src/canister_client_macros.rs - canister_client_macros::generate_candid_c2c_call (line 184) [INFO] [stdout] src/canister_client_macros.rs - canister_client_macros::generate_candid_c2c_call_no_args (line 317) [INFO] [stdout] src/canister_client_macros.rs - canister_client_macros::generate_candid_c2c_call_tuple_args (line 274) [INFO] [stdout] src/canister_client_macros.rs - canister_client_macros::generate_candid_c2c_call_with_payment (line 229) [INFO] [stdout] src/canister_client_macros.rs - canister_client_macros::generate_query_call (line 94) [INFO] [stdout] src/canister_client_macros.rs - canister_client_macros::generate_update_call (line 51) [INFO] [stdout] src/lib.rs - (line 13) [INFO] [stdout] src/lib.rs - make_c2c_call (line 64) [INFO] [stdout] src/lib.rs - make_c2c_call_raw (line 178) [INFO] [stdout] src/lib.rs - make_c2c_call_with_payment (line 125) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6e036c3090c9b37253fea6bbe7fcf32026857d5c53ef988b736f830ac6712783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e036c3090c9b37253fea6bbe7fcf32026857d5c53ef988b736f830ac6712783", kill_on_drop: false }` [INFO] [stdout] 6e036c3090c9b37253fea6bbe7fcf32026857d5c53ef988b736f830ac6712783