[INFO] cloning repository https://github.com/Tevin-Isaac/Kadudu-coin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tevin-Isaac/Kadudu-coin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTevin-Isaac%2FKadudu-coin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTevin-Isaac%2FKadudu-coin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 604008034079467383003ed3498341a51d70d2d3 [INFO] checking Tevin-Isaac/Kadudu-coin against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTevin-Isaac%2FKadudu-coin" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tevin-Isaac/Kadudu-coin on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tevin-Isaac/Kadudu-coin [INFO] finished tweaking git repo https://github.com/Tevin-Isaac/Kadudu-coin [INFO] tweaked toml for git repo https://github.com/Tevin-Isaac/Kadudu-coin written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Tevin-Isaac/Kadudu-coin 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-5-tc1/source/src/Kadudu_backend/Cargo.toml: unused manifest key: main [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk-macros v0.13.2 [INFO] [stderr] Downloaded schemars v0.8.19 [INFO] [stderr] Downloaded ic-kit-macros v0.1.0 [INFO] [stderr] Downloaded ic-types v0.5.0 [INFO] [stderr] Downloaded candid v0.7.18 [INFO] [stderr] Downloaded ic-cdk v0.5.7 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded candid v0.10.8 [INFO] [stderr] Downloaded ic-cdk v0.13.2 [INFO] [stderr] Downloaded schemars_derive v0.8.19 [INFO] [stderr] Downloaded pocket-ic v3.1.0 [INFO] [stderr] Downloaded ic-kit v0.4.8 [INFO] [stderr] Downloaded candid_derive v0.6.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22e30b122930a8be91294d71437c30703bfd96380a9e52a19cf76d592d968ef2 [INFO] running `Command { std: "docker" "start" "-a" "22e30b122930a8be91294d71437c30703bfd96380a9e52a19cf76d592d968ef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22e30b122930a8be91294d71437c30703bfd96380a9e52a19cf76d592d968ef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22e30b122930a8be91294d71437c30703bfd96380a9e52a19cf76d592d968ef2", kill_on_drop: false }` [INFO] [stdout] 22e30b122930a8be91294d71437c30703bfd96380a9e52a19cf76d592d968ef2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b65fe0d4eef3bbecabb14825a036b674eda8b8e99bd219943aaa84e5f8e107d [INFO] running `Command { std: "docker" "start" "-a" "1b65fe0d4eef3bbecabb14825a036b674eda8b8e99bd219943aaa84e5f8e107d", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/src/Kadudu_backend/Cargo.toml: unused manifest key: main [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking event-listener v5.3.0 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking async-channel v2.2.1 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking blocking v1.6.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking async-executor v1.11.0 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling schemars v0.8.19 [INFO] [stderr] Checking lalrpop-util v0.19.12 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking assert-panic v1.0.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.0 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling schemars_derive v0.8.19 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking rustls-webpki v0.102.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking polling v3.7.0 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking async-io v2.3.2 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking serde v1.0.200 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking serde_json v1.0.116 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ic-types v0.5.0 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling ic-kit-macros v0.1.0 [INFO] [stderr] Checking candid v0.10.8 [INFO] [stderr] Compiling candid v0.7.18 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Compiling ic-cdk-macros v0.13.2 [INFO] [stderr] Checking hyper-rustls v0.26.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking ic-cdk v0.13.2 [INFO] [stderr] Checking pocket-ic v3.1.0 [INFO] [stderr] Checking ic-cdk v0.5.7 [INFO] [stderr] Checking ic-kit v0.4.8 [INFO] [stderr] Checking Kadudu_backend v0.1.0 (/opt/rustwide/workdir/src/Kadudu_backend) [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | fee_to: Principal, [INFO] [stdout] | ^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | fee_to: Principal, [INFO] [stdout] | ^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | owner: Principal, [INFO] [stdout] | ^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | owner: Principal, [INFO] [stdout] | ^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Deserialize, CandidType, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] note: required by a bound in `candid::types::Compound::serialize_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.10.8/src/types/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn serialize_element(&mut self, v: &T) -> Result<(), Self::Error> [INFO] [stdout] | ----------------- required by a bound in this associated function [INFO] [stdout] 98 | where [INFO] [stdout] 99 | T: CandidType + ?Sized; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Compound::serialize_element` [INFO] [stdout] = note: this error originates in the derive macro `CandidType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Deserialize, CandidType, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] note: required by a bound in `candid::types::Compound::serialize_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.10.8/src/types/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn serialize_element(&mut self, v: &T) -> Result<(), Self::Error> [INFO] [stdout] | ----------------- required by a bound in this associated function [INFO] [stdout] 98 | where [INFO] [stdout] 99 | T: CandidType + ?Sized; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Compound::serialize_element` [INFO] [stdout] = note: this error originates in the derive macro `CandidType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | fee_to: Principal, [INFO] [stdout] | ^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | fee_to: Principal, [INFO] [stdout] | ^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Deserialize, CandidType, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] note: required by a bound in `candid::types::Compound::serialize_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.10.8/src/types/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn serialize_element(&mut self, v: &T) -> Result<(), Self::Error> [INFO] [stdout] | ----------------- required by a bound in this associated function [INFO] [stdout] 98 | where [INFO] [stdout] 99 | T: CandidType + ?Sized; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Compound::serialize_element` [INFO] [stdout] = note: this error originates in the derive macro `CandidType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Deserialize, CandidType, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] note: required by a bound in `candid::types::Compound::serialize_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.10.8/src/types/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn serialize_element(&mut self, v: &T) -> Result<(), Self::Error> [INFO] [stdout] | ----------------- required by a bound in this associated function [INFO] [stdout] 98 | where [INFO] [stdout] 99 | T: CandidType + ?Sized; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Compound::serialize_element` [INFO] [stdout] = note: this error originates in the derive macro `CandidType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | total_supply: Nat::from(0), [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | total_supply: Nat::from(0), [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | fee: Nat::from(0), [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | fee: Nat::from(0), [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | allow: Vec<(Principal, Vec<(Principal, Nat)>)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `std::vec::Vec<(ic_kit::Principal, std::vec::Vec<(ic_kit::Principal, candid::Nat)>)>: candid::CandidType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, std::vec::Vec<(ic_kit::Principal, candid::Nat)>)` to implement `candid::CandidType` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::vec::Vec<(ic_kit::Principal, std::vec::Vec<(ic_kit::Principal, candid::Nat)>)>` to implement `candid::CandidType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | allow: Vec<(Principal, Vec<(Principal, Nat)>)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `std::vec::Vec<(ic_kit::Principal, std::vec::Vec<(ic_kit::Principal, candid::Nat)>)>: candid::CandidType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, std::vec::Vec<(ic_kit::Principal, candid::Nat)>)` to implement `candid::CandidType` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::vec::Vec<(ic_kit::Principal, std::vec::Vec<(ic_kit::Principal, candid::Nat)>)>` to implement `candid::CandidType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | balance: Vec<(Principal, Nat)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `std::vec::Vec<(ic_kit::Principal, candid::Nat)>: candid::CandidType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, candid::Nat)` to implement `candid::CandidType` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::vec::Vec<(ic_kit::Principal, candid::Nat)>` to implement `candid::CandidType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | balance: Vec<(Principal, Nat)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `std::vec::Vec<(ic_kit::Principal, candid::Nat)>: candid::CandidType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, candid::Nat)` to implement `candid::CandidType` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::vec::Vec<(ic_kit::Principal, candid::Nat)>` to implement `candid::CandidType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Deserialize, CandidType)] [INFO] [stdout] | ^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `std::vec::Vec<(ic_kit::Principal, std::vec::Vec<(ic_kit::Principal, candid::Nat)>)>: candid::CandidType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, std::vec::Vec<(ic_kit::Principal, candid::Nat)>)` to implement `candid::CandidType` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::vec::Vec<(ic_kit::Principal, std::vec::Vec<(ic_kit::Principal, candid::Nat)>)>` to implement `candid::CandidType` [INFO] [stdout] note: required by a bound in `candid::types::Compound::serialize_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.10.8/src/types/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn serialize_element(&mut self, v: &T) -> Result<(), Self::Error> [INFO] [stdout] | ----------------- required by a bound in this associated function [INFO] [stdout] 98 | where [INFO] [stdout] 99 | T: CandidType + ?Sized; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Compound::serialize_element` [INFO] [stdout] = note: this error originates in the derive macro `CandidType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Deserialize, CandidType)] [INFO] [stdout] | ^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `std::vec::Vec<(ic_kit::Principal, std::vec::Vec<(ic_kit::Principal, candid::Nat)>)>: candid::CandidType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, std::vec::Vec<(ic_kit::Principal, candid::Nat)>)` to implement `candid::CandidType` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::vec::Vec<(ic_kit::Principal, std::vec::Vec<(ic_kit::Principal, candid::Nat)>)>` to implement `candid::CandidType` [INFO] [stdout] note: required by a bound in `candid::types::Compound::serialize_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.10.8/src/types/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn serialize_element(&mut self, v: &T) -> Result<(), Self::Error> [INFO] [stdout] | ----------------- required by a bound in this associated function [INFO] [stdout] 98 | where [INFO] [stdout] 99 | T: CandidType + ?Sized; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Compound::serialize_element` [INFO] [stdout] = note: this error originates in the derive macro `CandidType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | to: Principal, [INFO] [stdout] | ^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | to: Principal, [INFO] [stdout] | ^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | from: Principal, [INFO] [stdout] | ^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | from: Principal, [INFO] [stdout] | ^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | caller: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `std::option::Option: candid::CandidType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `std::option::Option` to implement `candid::CandidType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | caller: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `std::option::Option: candid::CandidType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `std::option::Option` to implement `candid::CandidType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(CandidType, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] note: required by a bound in `candid::types::Compound::serialize_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.10.8/src/types/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn serialize_element(&mut self, v: &T) -> Result<(), Self::Error> [INFO] [stdout] | ----------------- required by a bound in this associated function [INFO] [stdout] 98 | where [INFO] [stdout] 99 | T: CandidType + ?Sized; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Compound::serialize_element` [INFO] [stdout] = note: this error originates in the derive macro `CandidType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(CandidType, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] note: required by a bound in `candid::types::Compound::serialize_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.10.8/src/types/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn serialize_element(&mut self, v: &T) -> Result<(), Self::Error> [INFO] [stdout] | ----------------- required by a bound in this associated function [INFO] [stdout] 98 | where [INFO] [stdout] 99 | T: CandidType + ?Sized; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Compound::serialize_element` [INFO] [stdout] = note: this error originates in the derive macro `CandidType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | #[init] [INFO] [stdout] | ^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_, _, _, _, _, _, _): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(std::string::String, std::string::String, std::string::String, u8, candid::Nat, ic_kit::Principal, _)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | #[init] [INFO] [stdout] | ^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_, _, _, _, _, _, _): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(std::string::String, std::string::String, std::string::String, u8, candid::Nat, ic_kit::Principal, _)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | Nat::from(0), [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | Nat::from(0), [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `candid::Nat` with `i32` [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | if from_balance_new != 0 { [INFO] [stdout] | ^^ no implementation for `candid::Nat == i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `candid::Nat` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `candid::Nat` with `i32` [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | if from_balance_new != 0 { [INFO] [stdout] | ^^ no implementation for `candid::Nat == i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `candid::Nat` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `candid::Nat` with `i32` [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | if to_balance_new != 0 { [INFO] [stdout] | ^^ no implementation for `candid::Nat == i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `candid::Nat` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `candid::Nat` with `i32` [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | if to_balance_new != 0 { [INFO] [stdout] | ^^ no implementation for `candid::Nat == i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `candid::Nat` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | if metadata.fee > Nat::from(0) { [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | if metadata.fee > Nat::from(0) { [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | #[update(name = "transfer")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_, _): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, _)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | #[update(name = "transfer")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_, _): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, _)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:202:1 [INFO] [stdout] | [INFO] [stdout] 202 | #[update(name = "transferFrom")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_, _, _): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, _, _)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:202:1 [INFO] [stdout] | [INFO] [stdout] 202 | #[update(name = "transferFrom")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_, _, _): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, _, _)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `candid::Nat` with `i32` [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:222:70 [INFO] [stdout] | [INFO] [stdout] 222 | if result.clone() - value.clone() - metadata.fee.clone() != 0 { [INFO] [stdout] | ^^ no implementation for `candid::Nat == i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `candid::Nat` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `candid::Nat` with `i32` [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:222:70 [INFO] [stdout] | [INFO] [stdout] 222 | if result.clone() - value.clone() - metadata.fee.clone() != 0 { [INFO] [stdout] | ^^ no implementation for `candid::Nat == i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `candid::Nat` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:251:1 [INFO] [stdout] | [INFO] [stdout] 251 | #[update(name = "approve")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_, _): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, _)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:251:1 [INFO] [stdout] | [INFO] [stdout] 251 | #[update(name = "approve")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_, _): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, _)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `candid::Nat` with `i32` [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | if v != 0 { [INFO] [stdout] | ^^ no implementation for `candid::Nat == i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `candid::Nat` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `candid::Nat` with `i32` [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | if v != 0 { [INFO] [stdout] | ^^ no implementation for `candid::Nat == i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `candid::Nat` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `candid::Nat` with `i32` [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:278:18 [INFO] [stdout] | [INFO] [stdout] 278 | if v != 0 { [INFO] [stdout] | ^^ no implementation for `candid::Nat == i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `candid::Nat` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `candid::Nat` with `i32` [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:278:18 [INFO] [stdout] | [INFO] [stdout] 278 | if v != 0 { [INFO] [stdout] | ^^ no implementation for `candid::Nat == i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `candid::Nat` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 299 | #[update(name = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_, _): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, _)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 299 | #[update(name = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_, _): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, _)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | Nat::from(0), [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | Nat::from(0), [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | Nat::from(0), [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | Nat::from(0), [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:366:1 [INFO] [stdout] | [INFO] [stdout] 366 | #[update(name = "setFeeTo")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_,): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal,)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:366:1 [INFO] [stdout] | [INFO] [stdout] 366 | #[update(name = "setFeeTo")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_,): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal,)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:374:1 [INFO] [stdout] | [INFO] [stdout] 374 | #[update(name = "setOwner")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_,): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal,)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:374:1 [INFO] [stdout] | [INFO] [stdout] 374 | #[update(name = "setOwner")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_,): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal,)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:382:1 [INFO] [stdout] | [INFO] [stdout] 382 | #[query(name = "balanceOf")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_,): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal,)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | None => Nat::from(0), [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:382:1 [INFO] [stdout] | [INFO] [stdout] 382 | #[query(name = "balanceOf")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_,): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal,)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | None => Nat::from(0), [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:392:1 [INFO] [stdout] | [INFO] [stdout] 392 | #[query(name = "allowance")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_, _): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, _)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:399:21 [INFO] [stdout] | [INFO] [stdout] 399 | None => Nat::from(0), [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:392:1 [INFO] [stdout] | [INFO] [stdout] 392 | #[query(name = "allowance")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_, _): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, _)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:401:17 [INFO] [stdout] | [INFO] [stdout] 401 | None => Nat::from(0), [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:399:21 [INFO] [stdout] | [INFO] [stdout] 399 | None => Nat::from(0), [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Nat: From` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:401:17 [INFO] [stdout] | [INFO] [stdout] 401 | None => Nat::from(0), [INFO] [stdout] | ^^^ the trait `From` is not implemented for `candid::Nat` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:440:1 [INFO] [stdout] | [INFO] [stdout] 440 | #[query(name = "owner")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `(ic_kit::Principal,): candid::utils::ArgumentEncoder` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal,)` to implement `candid::utils::ArgumentEncoder` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::reply` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:622:17 [INFO] [stdout] | [INFO] [stdout] 622 | pub fn reply(reply: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `reply` [INFO] [stdout] = note: this error originates in the attribute macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:440:1 [INFO] [stdout] | [INFO] [stdout] 440 | #[query(name = "owner")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `(ic_kit::Principal,): candid::utils::ArgumentEncoder` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal,)` to implement `candid::utils::ArgumentEncoder` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::reply` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:622:17 [INFO] [stdout] | [INFO] [stdout] 622 | pub fn reply(reply: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `reply` [INFO] [stdout] = note: this error originates in the attribute macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:480:1 [INFO] [stdout] | [INFO] [stdout] 480 | #[query(name = "getUserTransactionAmount")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_,): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal,)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:480:1 [INFO] [stdout] | [INFO] [stdout] 480 | #[query(name = "getUserTransactionAmount")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_,): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal,)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:493:1 [INFO] [stdout] | [INFO] [stdout] 493 | #[query(name = "getUserTransactions")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_, _, _): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, _, _)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:493:1 [INFO] [stdout] | [INFO] [stdout] 493 | #[query(name = "getUserTransactions")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_, _, _): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, _, _)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:527:1 [INFO] [stdout] | [INFO] [stdout] 527 | #[query(name = "getHolders")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `(std::vec::Vec<(ic_kit::Principal, candid::Nat)>,): candid::utils::ArgumentEncoder` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, candid::Nat)` to implement `candid::CandidType` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::vec::Vec<(ic_kit::Principal, candid::Nat)>` to implement `candid::CandidType` [INFO] [stdout] = note: required for `(std::vec::Vec<(ic_kit::Principal, candid::Nat)>,)` to implement `candid::utils::ArgumentEncoder` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::reply` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:622:17 [INFO] [stdout] | [INFO] [stdout] 622 | pub fn reply(reply: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `reply` [INFO] [stdout] = note: this error originates in the attribute macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:527:1 [INFO] [stdout] | [INFO] [stdout] 527 | #[query(name = "getHolders")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `(std::vec::Vec<(ic_kit::Principal, candid::Nat)>,): candid::utils::ArgumentEncoder` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal, candid::Nat)` to implement `candid::CandidType` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::vec::Vec<(ic_kit::Principal, candid::Nat)>` to implement `candid::CandidType` [INFO] [stdout] = note: required for `(std::vec::Vec<(ic_kit::Principal, candid::Nat)>,)` to implement `candid::utils::ArgumentEncoder` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::reply` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:622:17 [INFO] [stdout] | [INFO] [stdout] 622 | pub fn reply(reply: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `reply` [INFO] [stdout] = note: this error originates in the attribute macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:554:1 [INFO] [stdout] | [INFO] [stdout] 554 | #[query(name = "getUserApprovals")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_,): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal,)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:554:1 [INFO] [stdout] | [INFO] [stdout] 554 | #[query(name = "getUserApprovals")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal`, which is required by `for<'a> (_,): candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] = note: required for `(ic_kit::Principal,)` to implement `for<'a> candid::utils::ArgumentDecoder<'a>` [INFO] [stdout] note: required by a bound in `ic_cdk::api::call::arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/api/call.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn arg_data ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] = note: this error originates in the attribute macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UpgradePayload: ic_kit::candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:595:23 [INFO] [stdout] | [INFO] [stdout] 595 | ic::stable_store((up,)).unwrap(); [INFO] [stdout] | ---------------- ^^ the trait `ic_kit::candid::CandidType` is not implemented for `UpgradePayload`, which is required by `(UpgradePayload,): ic_kit::candid::utils::ArgumentEncoder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ic_kit::candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 137 others [INFO] [stdout] = note: required for `(UpgradePayload,)` to implement `ic_kit::candid::utils::ArgumentEncoder` [INFO] [stdout] note: required by a bound in `ic_kit::ic::stable_store` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-kit-0.4.8/src/ic.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn stable_store(data: T) -> Result<(), candid::Error> [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 71 | where [INFO] [stdout] 72 | T: ArgumentEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `stable_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ic_kit::Principal: candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:569:5 [INFO] [stdout] | [INFO] [stdout] 569 | candid::export_service!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `candid::CandidType` is not implemented for `ic_kit::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 120 others [INFO] [stdout] note: required by a bound in `candid::types::internal::TypeContainer::add` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.10.8/src/types/internal.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn add(&mut self) -> Type { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `TypeContainer::add` [INFO] [stdout] = note: this error originates in the macro `candid::export_service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UpgradePayload: ic_kit::candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:602:38 [INFO] [stdout] | [INFO] [stdout] 602 | let (down,): (UpgradePayload,) = ic::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `ic_kit::candid::CandidType` is not implemented for `UpgradePayload`, which is required by `for<'de> (UpgradePayload,): ic_kit::candid::utils::ArgumentDecoder<'de>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ic_kit::candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 137 others [INFO] [stdout] = note: required for `(UpgradePayload,)` to implement `for<'de> ic_kit::candid::utils::ArgumentDecoder<'de>` [INFO] [stdout] note: required by a bound in `ic_kit::ic::stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-kit-0.4.8/src/ic.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 81 | where [INFO] [stdout] 82 | T: for<'de> ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UpgradePayload: ic_kit::candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:595:23 [INFO] [stdout] | [INFO] [stdout] 595 | ic::stable_store((up,)).unwrap(); [INFO] [stdout] | ---------------- ^^ the trait `ic_kit::candid::CandidType` is not implemented for `UpgradePayload`, which is required by `(UpgradePayload,): ic_kit::candid::utils::ArgumentEncoder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ic_kit::candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 137 others [INFO] [stdout] = note: required for `(UpgradePayload,)` to implement `ic_kit::candid::utils::ArgumentEncoder` [INFO] [stdout] note: required by a bound in `ic_kit::ic::stable_store` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-kit-0.4.8/src/ic.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn stable_store(data: T) -> Result<(), candid::Error> [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 71 | where [INFO] [stdout] 72 | T: ArgumentEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `stable_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UpgradePayload: ic_kit::candid::CandidType` is not satisfied [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:602:38 [INFO] [stdout] | [INFO] [stdout] 602 | let (down,): (UpgradePayload,) = ic::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `ic_kit::candid::CandidType` is not implemented for `UpgradePayload`, which is required by `for<'de> (UpgradePayload,): ic_kit::candid::utils::ArgumentDecoder<'de>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ic_kit::candid::CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 137 others [INFO] [stdout] = note: required for `(UpgradePayload,)` to implement `for<'de> ic_kit::candid::utils::ArgumentDecoder<'de>` [INFO] [stdout] note: required by a bound in `ic_kit::ic::stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-kit-0.4.8/src/ic.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 81 | where [INFO] [stdout] 82 | T: for<'de> ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:624:7 [INFO] [stdout] | [INFO] [stdout] 624 | init( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 629 | 1_000, [INFO] [stdout] | ----- expected `Nat`, found integer [INFO] [stdout] 630 | alice(), [INFO] [stdout] 631 | 1, [INFO] [stdout] | - expected `Nat`, found integer [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn init( [INFO] [stdout] | ^^^^ [INFO] [stdout] 126 | logo: String, [INFO] [stdout] | ------------ [INFO] [stdout] 127 | name: String, [INFO] [stdout] | ------------ [INFO] [stdout] 128 | symbol: String, [INFO] [stdout] | -------------- [INFO] [stdout] 129 | decimals: u8, [INFO] [stdout] | ------------ [INFO] [stdout] 130 | total_supply: Nat, [INFO] [stdout] | ----------------- [INFO] [stdout] 131 | owner: Principal, [INFO] [stdout] | ---------------- [INFO] [stdout] 132 | fee: Nat, [INFO] [stdout] | -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:673:15 [INFO] [stdout] | [INFO] [stdout] 673 | set_fee(2); [INFO] [stdout] | ------- ^ expected `Nat`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:360:4 [INFO] [stdout] | [INFO] [stdout] 360 | fn set_fee(fee: Nat) { [INFO] [stdout] | ^^^^^^^ -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:691:23 [INFO] [stdout] | [INFO] [stdout] 691 | transfer(bob(), 10).map_err(|err| println!("{:?}", err)).ok(); [INFO] [stdout] | -------- ^^ expected `Nat`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn transfer(to: Principal, value: Nat) -> TxReceipt { [INFO] [stdout] | ^^^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:703:22 [INFO] [stdout] | [INFO] [stdout] 703 | approve(bob(), 100).map_err(|err| println!("{:?}", err)).ok(); [INFO] [stdout] | ------- ^^^ expected `Nat`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:253:4 [INFO] [stdout] | [INFO] [stdout] 253 | fn approve(spender: Principal, value: Nat) -> TxReceipt { [INFO] [stdout] | ^^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:720:36 [INFO] [stdout] | [INFO] [stdout] 720 | transfer_from(bob(), john(), 5).map_err(|err| println!("{:?}", err)).ok(); [INFO] [stdout] | ------------- ^ expected `Nat`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn transfer_from(from: Principal, to: Principal, value: Nat) -> TxReceipt { [INFO] [stdout] | ^^^^^^^^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:729:36 [INFO] [stdout] | [INFO] [stdout] 729 | assert_eq!(transfer(alice(), 1_000_000), Err(TxError::InsufficientBalance) , "alice was able to transfer more than is allowed"); [INFO] [stdout] | -------- ^^^^^^^^^ expected `Nat`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn transfer(to: Principal, value: Nat) -> TxReceipt { [INFO] [stdout] | ^^^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:731:47 [INFO] [stdout] | [INFO] [stdout] 731 | assert_eq!(transfer_from(bob(), john(), 1_000_000), Err(TxError::InsufficientAllowance) , "alice was able to transfer more than is ... [INFO] [stdout] | ------------- ^^^^^^^^^ expected `Nat`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn transfer_from(from: Principal, to: Principal, value: Nat) -> TxReceipt { [INFO] [stdout] | ^^^^^^^^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:748:29 [INFO] [stdout] | [INFO] [stdout] 748 | assert_panic!(set_fee(123)); [INFO] [stdout] | ------- ^^^ expected `Nat`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/Kadudu_backend/src/main.rs:360:4 [INFO] [stdout] | [INFO] [stdout] 360 | fn set_fee(fee: Nat) { [INFO] [stdout] | ^^^^^^^ -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Kadudu_backend` (bin "Kadudu_backend") due to 44 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 50 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Kadudu_backend` (bin "Kadudu_backend" test) due to 51 previous errors [INFO] running `Command { std: "docker" "inspect" "1b65fe0d4eef3bbecabb14825a036b674eda8b8e99bd219943aaa84e5f8e107d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b65fe0d4eef3bbecabb14825a036b674eda8b8e99bd219943aaa84e5f8e107d", kill_on_drop: false }` [INFO] [stdout] 1b65fe0d4eef3bbecabb14825a036b674eda8b8e99bd219943aaa84e5f8e107d