[INFO] fetching crate bity-ic-canister-client 0.2.4... [INFO] testing bity-ic-canister-client-0.2.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate bity-ic-canister-client 0.2.4 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bity-ic-canister-client 0.2.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded psm v0.1.26 [INFO] [stderr] Downloaded ic-management-canister-types v0.3.2 [INFO] [stderr] Downloaded stacker v0.1.21 [INFO] [stderr] Downloaded ic0 v1.0.0 [INFO] [stderr] Downloaded icrc-cbor v0.1.0 [INFO] [stderr] Downloaded ic-cdk-executor v1.0.1 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded ic-error-types v0.2.0 [INFO] [stderr] Downloaded icrc-ledger-types v0.1.10 [INFO] [stderr] Downloaded bity-ic-types v0.1.1 [INFO] [stderr] Downloaded minicbor-derive v0.13.0 [INFO] [stderr] Downloaded minicbor v0.19.1 [INFO] [stderr] Downloaded cc v1.2.32 [INFO] [stderr] Downloaded ic-stable-structures v0.6.9 [INFO] [stderr] Downloaded candid v0.10.17 [INFO] [stderr] Downloaded ic-cdk v0.18.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.96 [INFO] [stderr] Downloaded ic-cdk-macros v0.18.5 [INFO] [stderr] Downloaded candid_derive v0.10.17 [INFO] [stderr] Downloaded pretty v0.12.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1d524920e250afc228def0055d4fb7f4fe8a457bde4ddfd0a3998cef246a828 [INFO] running `Command { std: "docker" "start" "-a" "a1d524920e250afc228def0055d4fb7f4fe8a457bde4ddfd0a3998cef246a828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1d524920e250afc228def0055d4fb7f4fe8a457bde4ddfd0a3998cef246a828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1d524920e250afc228def0055d4fb7f4fe8a457bde4ddfd0a3998cef246a828", kill_on_drop: false }` [INFO] [stdout] a1d524920e250afc228def0055d4fb7f4fe8a457bde4ddfd0a3998cef246a828 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0855a6ebcb166d8fb974ea39ea27bdee3827e6c5236c85bb61f54643c8c53064 [INFO] running `Command { std: "docker" "start" "-a" "0855a6ebcb166d8fb974ea39ea27bdee3827e6c5236c85bb61f54643c8c53064", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ic-cdk-executor v1.0.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling ic0 v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling darling_core v0.20.11 [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 thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.12 [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 tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.219 [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 ic-cdk-macros v0.18.5 [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 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 1m 10s [INFO] running `Command { std: "docker" "inspect" "0855a6ebcb166d8fb974ea39ea27bdee3827e6c5236c85bb61f54643c8c53064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0855a6ebcb166d8fb974ea39ea27bdee3827e6c5236c85bb61f54643c8c53064", kill_on_drop: false }` [INFO] [stdout] 0855a6ebcb166d8fb974ea39ea27bdee3827e6c5236c85bb61f54643c8c53064 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34f44e1de06c239194e100adb11817c193d67e42c7cc094019db0487906d0f55 [INFO] running `Command { std: "docker" "start" "-a" "34f44e1de06c239194e100adb11817c193d67e42c7cc094019db0487906d0f55", 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.78s [INFO] running `Command { std: "docker" "inspect" "34f44e1de06c239194e100adb11817c193d67e42c7cc094019db0487906d0f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f44e1de06c239194e100adb11817c193d67e42c7cc094019db0487906d0f55", kill_on_drop: false }` [INFO] [stdout] 34f44e1de06c239194e100adb11817c193d67e42c7cc094019db0487906d0f55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 90324b2afc6aa5660c19c81fcc0fb3af0e7144cdde6a43c07bfcd5a48b37dac2 [INFO] running `Command { std: "docker" "start" "-a" "90324b2afc6aa5660c19c81fcc0fb3af0e7144cdde6a43c07bfcd5a48b37dac2", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [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 (line 184) ... FAILED [INFO] [stdout] test src/canister_client_macros.rs - canister_client_macros (line 8) ... FAILED [INFO] [stdout] test src/canister_client_macros.rs - canister_client_macros::generate_update_call (line 51) ... 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_candid_c2c_call_tuple_args (line 274) ... FAILED [INFO] [stdout] test src/canister_client_macros.rs - canister_client_macros::generate_c2c_call (line 140) ... FAILED [INFO] [stdout] test src/canister_client_macros.rs - canister_client_macros::generate_candid_c2c_call_no_args (line 317) ... 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/lib.rs - (line 13) ... 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/lib.rs - make_c2c_call_with_payment (line 125) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 188 | 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/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] 13 | 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] 13 | 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] 19 | 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] 19 | 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] 13 | 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] 7 + 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] 19 | 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] 7 + use bity_ic_canister_client::canister_client_macros::bity_ic_types; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/canister_client_macros.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | generate_query_call!(get_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [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 `my_method` is not a crate or module [INFO] [stdout] --> src/canister_client_macros.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | 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] 16 | 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] 16 | 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] 19 | generate_c2c_call!(transfer); [INFO] [stdout] | ^^^^^^^^ function `transfer` is not a crate or module [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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] 55 | 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] 55 | 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] 55 | 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] 50 + 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] 55 | 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/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] 69 | 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] 63 + 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] 69 | 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] 69 | 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] 63 + use ic_cdk::api::call::CallResult; [INFO] [stdout] | [INFO] [stdout] 63 + 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] 69 | 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] 69 | 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_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] 278 | 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/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] 144 | 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] 144 | 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 `bity_ic_types` in `bity_ic_canister_client` [INFO] [stdout] --> src/canister_client_macros.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | 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] 139 + 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] 144 | 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/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] 321 | 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/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] 182 | 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] 177 + 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] 182 | 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] 177 + use ic_cdk::api::call::CallResult; [INFO] [stdout] | [INFO] [stdout] 177 + 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] 183 | 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] 183 | 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[E0282]: type annotations needed [INFO] [stdout] --> src/canister_client_macros.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | generate_query_call!(get_balance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [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: use of unresolved module or unlinked crate `ic_agent` [INFO] [stdout] --> src/canister_client_macros.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | 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] 98 | generate_query_call!(get_balance); [INFO] [stdout] | ^^^^^^^^^^^ function `get_balance` is not a crate or module [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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] 19 | canister_id: Principal, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + 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] 20 | 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] 21 | ) -> CallResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 12 + use ic_cdk::api::call::CallResult; [INFO] [stdout] | [INFO] [stdout] 12 + 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] 21 | ) -> CallResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 18 | 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/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] 233 | 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] 233 | 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/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] 130 | 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] 124 + 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] 130 | 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] 130 | 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] 124 + use ic_cdk::api::call::CallResult; [INFO] [stdout] | [INFO] [stdout] 124 + 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] 130 | 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] 130 | 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] [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 1.10s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "90324b2afc6aa5660c19c81fcc0fb3af0e7144cdde6a43c07bfcd5a48b37dac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90324b2afc6aa5660c19c81fcc0fb3af0e7144cdde6a43c07bfcd5a48b37dac2", kill_on_drop: false }` [INFO] [stdout] 90324b2afc6aa5660c19c81fcc0fb3af0e7144cdde6a43c07bfcd5a48b37dac2