[INFO] cloning repository https://github.com/Isaacolando/Grincoin-memecoin-team_momentum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Isaacolando/Grincoin-memecoin-team_momentum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaacolando%2FGrincoin-memecoin-team_momentum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaacolando%2FGrincoin-memecoin-team_momentum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 981f3086831baa373b0eb503cc0db1bc36004b9b [INFO] checking Isaacolando/Grincoin-memecoin-team_momentum/981f3086831baa373b0eb503cc0db1bc36004b9b against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaacolando%2FGrincoin-memecoin-team_momentum" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Isaacolando/Grincoin-memecoin-team_momentum on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Isaacolando/Grincoin-memecoin-team_momentum [INFO] finished tweaking git repo https://github.com/Isaacolando/Grincoin-memecoin-team_momentum [INFO] tweaked toml for git repo https://github.com/Isaacolando/Grincoin-memecoin-team_momentum written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Isaacolando/Grincoin-memecoin-team_momentum 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded candid v0.10.8 [INFO] [stderr] Downloaded ic-cdk v0.13.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0738294425174353ae12196527a8adcfe9294b15c2851c567157eec8b0d2421 [INFO] running `Command { std: "docker" "start" "-a" "b0738294425174353ae12196527a8adcfe9294b15c2851c567157eec8b0d2421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0738294425174353ae12196527a8adcfe9294b15c2851c567157eec8b0d2421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0738294425174353ae12196527a8adcfe9294b15c2851c567157eec8b0d2421", kill_on_drop: false }` [INFO] [stdout] b0738294425174353ae12196527a8adcfe9294b15c2851c567157eec8b0d2421 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8389767bdfddcdacd1c5124b5ed8d0701fcdd28b6225e64cd7bdb71bec2c784 [INFO] running `Command { std: "docker" "start" "-a" "a8389767bdfddcdacd1c5124b5ed8d0701fcdd28b6225e64cd7bdb71bec2c784", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking candid v0.10.8 [INFO] [stderr] Compiling ic-cdk-macros v0.13.2 [INFO] [stderr] Checking ic-cdk v0.13.2 [INFO] [stderr] Checking ic-cdk-timers v0.7.0 [INFO] [stderr] Checking Grincoin_backend v0.1.0 (/opt/rustwide/workdir/src/Grincoin_backend) [INFO] [stdout] error[E0432]: unresolved import `ic_cdk::export` [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use ic_cdk::export::Principal; [INFO] [stdout] | ^^^^^^ could not find `export` in `ic_cdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ic_cdk_macros` [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ic_cdk_macros::{init, update, query, pre_upgrade, post_upgrade}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `ic_cdk_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::Serialize; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ic_cdk::export` [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use ic_cdk::export::Principal; [INFO] [stdout] | ^^^^^^ could not find `export` in `ic_cdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ic_cdk_macros` [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ic_cdk_macros::{init, update, query, pre_upgrade, post_upgrade}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `ic_cdk_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::Serialize; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriv` in this scope [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[deriv(CandidType, Deserialize, Default, Serialize)] [INFO] [stdout] | ^^^^^ help: an attribute macro with a similar name exists: `derive` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/macros/mod.rs:1635:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named attribute macro `derive` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType` and `Deserialize` [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use candid::{CandidType, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriv` in this scope [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[deriv(CandidType, Deserialize, Default, Serialize)] [INFO] [stdout] | ^^^^^ help: an attribute macro with a similar name exists: `derive` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/macros/mod.rs:1635:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named attribute macro `derive` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType` and `Deserialize` [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use candid::{CandidType, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: CandidType` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | storage::stable_save((initial_state,)).unwrap(); [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^ the trait `CandidType` is not implemented for `State`, which is required by `(State,): ArgumentEncoder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 113 others [INFO] [stdout] = note: required for `(State,)` to implement `ArgumentEncoder` [INFO] [stdout] note: required by a bound in `stable_save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stable_save(t: T) -> Result<(), candid::Error> [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 8 | where [INFO] [stdout] 9 | T: candid::utils::ArgumentEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: CandidType` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | storage::stable_save((initial_state,)).unwrap(); [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^ the trait `CandidType` is not implemented for `State`, which is required by `(State,): ArgumentEncoder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 113 others [INFO] [stdout] = note: required for `(State,)` to implement `ArgumentEncoder` [INFO] [stdout] note: required by a bound in `stable_save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stable_save(t: T) -> Result<(), candid::Error> [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 8 | where [INFO] [stdout] 9 | T: candid::utils::ArgumentEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> State: ArgumentDecoder<'de>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | let mut state: State = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> ArgumentDecoder<'de>` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ArgumentDecoder<'a>`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> State: ArgumentDecoder<'de>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | let mut state: State = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> ArgumentDecoder<'de>` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ArgumentDecoder<'a>`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: CandidType` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | storage::stable_save((state,)).unwrap(); [INFO] [stdout] | -------------------- ^^^^^ the trait `CandidType` is not implemented for `State`, which is required by `(State,): ArgumentEncoder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 113 others [INFO] [stdout] = note: required for `(State,)` to implement `ArgumentEncoder` [INFO] [stdout] note: required by a bound in `stable_save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stable_save(t: T) -> Result<(), candid::Error> [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 8 | where [INFO] [stdout] 9 | T: candid::utils::ArgumentEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: CandidType` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | storage::stable_save((state,)).unwrap(); [INFO] [stdout] | -------------------- ^^^^^ the trait `CandidType` is not implemented for `State`, which is required by `(State,): ArgumentEncoder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 113 others [INFO] [stdout] = note: required for `(State,)` to implement `ArgumentEncoder` [INFO] [stdout] note: required by a bound in `stable_save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stable_save(t: T) -> Result<(), candid::Error> [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 8 | where [INFO] [stdout] 9 | T: candid::utils::ArgumentEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> State: ArgumentDecoder<'de>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let state: State = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> ArgumentDecoder<'de>` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ArgumentDecoder<'a>`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> State: ArgumentDecoder<'de>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | let state: State = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> ArgumentDecoder<'de>` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ArgumentDecoder<'a>`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> State: ArgumentDecoder<'de>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let state: State = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> ArgumentDecoder<'de>` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ArgumentDecoder<'a>`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> State: ArgumentDecoder<'de>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | let state: State = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> ArgumentDecoder<'de>` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ArgumentDecoder<'a>`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> State: ArgumentDecoder<'de>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | let mut state: State = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> ArgumentDecoder<'de>` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ArgumentDecoder<'a>`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> State: ArgumentDecoder<'de>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | let mut state: State = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> ArgumentDecoder<'de>` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ArgumentDecoder<'a>`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: CandidType` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | storage::stable_save((state,)).unwrap(); [INFO] [stdout] | -------------------- ^^^^^ the trait `CandidType` is not implemented for `State`, which is required by `(State,): ArgumentEncoder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 113 others [INFO] [stdout] = note: required for `(State,)` to implement `ArgumentEncoder` [INFO] [stdout] note: required by a bound in `stable_save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stable_save(t: T) -> Result<(), candid::Error> [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 8 | where [INFO] [stdout] 9 | T: candid::utils::ArgumentEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: CandidType` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | storage::stable_save((state,)).unwrap(); [INFO] [stdout] | -------------------- ^^^^^ the trait `CandidType` is not implemented for `State`, which is required by `(State,): ArgumentEncoder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 113 others [INFO] [stdout] = note: required for `(State,)` to implement `ArgumentEncoder` [INFO] [stdout] note: required by a bound in `stable_save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stable_save(t: T) -> Result<(), candid::Error> [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 8 | where [INFO] [stdout] 9 | T: candid::utils::ArgumentEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> State: ArgumentDecoder<'de>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | let mut state: State = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> ArgumentDecoder<'de>` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ArgumentDecoder<'a>`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> State: ArgumentDecoder<'de>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | let mut state: State = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> ArgumentDecoder<'de>` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ArgumentDecoder<'a>`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: CandidType` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | storage::stable_save((state,)).unwrap(); [INFO] [stdout] | -------------------- ^^^^^ the trait `CandidType` is not implemented for `State`, which is required by `(State,): ArgumentEncoder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 113 others [INFO] [stdout] = note: required for `(State,)` to implement `ArgumentEncoder` [INFO] [stdout] note: required by a bound in `stable_save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stable_save(t: T) -> Result<(), candid::Error> [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 8 | where [INFO] [stdout] 9 | T: candid::utils::ArgumentEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: CandidType` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | storage::stable_save((state,)).unwrap(); [INFO] [stdout] | -------------------- ^^^^^ the trait `CandidType` is not implemented for `State`, which is required by `(State,): ArgumentEncoder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 113 others [INFO] [stdout] = note: required for `(State,)` to implement `ArgumentEncoder` [INFO] [stdout] note: required by a bound in `stable_save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stable_save(t: T) -> Result<(), candid::Error> [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 8 | where [INFO] [stdout] 9 | T: candid::utils::ArgumentEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> State: ArgumentDecoder<'de>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let state: State = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> ArgumentDecoder<'de>` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ArgumentDecoder<'a>`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> State: ArgumentDecoder<'de>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | let mut state: State = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> ArgumentDecoder<'de>` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ArgumentDecoder<'a>`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> State: ArgumentDecoder<'de>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let state: State = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> ArgumentDecoder<'de>` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ArgumentDecoder<'a>`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> State: ArgumentDecoder<'de>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | let mut state: State = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> ArgumentDecoder<'de>` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ArgumentDecoder<'a>`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: CandidType` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | storage::stable_save((state,)).unwrap(); [INFO] [stdout] | -------------------- ^^^^^ the trait `CandidType` is not implemented for `State`, which is required by `(State,): ArgumentEncoder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 113 others [INFO] [stdout] = note: required for `(State,)` to implement `ArgumentEncoder` [INFO] [stdout] note: required by a bound in `stable_save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stable_save(t: T) -> Result<(), candid::Error> [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 8 | where [INFO] [stdout] 9 | T: candid::utils::ArgumentEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> State: ArgumentDecoder<'de>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | let state: State = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> ArgumentDecoder<'de>` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ArgumentDecoder<'a>`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: CandidType` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | storage::stable_save((state,)).unwrap(); [INFO] [stdout] | -------------------- ^^^^^ the trait `CandidType` is not implemented for `State`, which is required by `(State,): ArgumentEncoder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 113 others [INFO] [stdout] = note: required for `(State,)` to implement `ArgumentEncoder` [INFO] [stdout] note: required by a bound in `stable_save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stable_save(t: T) -> Result<(), candid::Error> [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 8 | where [INFO] [stdout] 9 | T: candid::utils::ArgumentEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: CandidType` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | storage::stable_save((state,)).unwrap(); [INFO] [stdout] | -------------------- ^^^^^ the trait `CandidType` is not implemented for `State`, which is required by `(State,): ArgumentEncoder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 113 others [INFO] [stdout] = note: required for `(State,)` to implement `ArgumentEncoder` [INFO] [stdout] note: required by a bound in `stable_save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stable_save(t: T) -> Result<(), candid::Error> [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 8 | where [INFO] [stdout] 9 | T: candid::utils::ArgumentEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> State: ArgumentDecoder<'de>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | let state: State = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> ArgumentDecoder<'de>` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ArgumentDecoder<'a>`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: CandidType` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | storage::stable_save((state,)).unwrap(); [INFO] [stdout] | -------------------- ^^^^^ the trait `CandidType` is not implemented for `State`, which is required by `(State,): ArgumentEncoder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 113 others [INFO] [stdout] = note: required for `(State,)` to implement `ArgumentEncoder` [INFO] [stdout] note: required by a bound in `stable_save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stable_save(t: T) -> Result<(), candid::Error> [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 8 | where [INFO] [stdout] 9 | T: candid::utils::ArgumentEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | let (state,): (State,) = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `State`, which is required by `for<'de> (State,): ArgumentDecoder<'de>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_bytes::bytearray::ByteArray [INFO] [stdout] &'a serde_bytes::bytes::Bytes [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] and 206 others [INFO] [stdout] = note: required for `(State,)` to implement `for<'de> ArgumentDecoder<'de>` [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: CandidType` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | let (state,): (State,) = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CandidType` is not implemented for `State`, which is required by `for<'de> (State,): ArgumentDecoder<'de>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 113 others [INFO] [stdout] = note: required for `(State,)` to implement `for<'de> ArgumentDecoder<'de>` [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | let (state,): (State,) = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `State`, which is required by `for<'de> (State,): ArgumentDecoder<'de>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_bytes::bytearray::ByteArray [INFO] [stdout] &'a serde_bytes::bytes::Bytes [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] and 206 others [INFO] [stdout] = note: required for `(State,)` to implement `for<'de> ArgumentDecoder<'de>` [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: CandidType` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:151:27 [INFO] [stdout] | [INFO] [stdout] 151 | storage::stable_save((state,)).unwrap(); [INFO] [stdout] | -------------------- ^^^^^ the trait `CandidType` is not implemented for `State`, which is required by `(State,): ArgumentEncoder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 113 others [INFO] [stdout] = note: required for `(State,)` to implement `ArgumentEncoder` [INFO] [stdout] note: required by a bound in `stable_save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stable_save(t: T) -> Result<(), candid::Error> [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 8 | where [INFO] [stdout] 9 | T: candid::utils::ArgumentEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: CandidType` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | let (state,): (State,) = storage::stable_restore().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CandidType` is not implemented for `State`, which is required by `for<'de> (State,): ArgumentDecoder<'de>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 113 others [INFO] [stdout] = note: required for `(State,)` to implement `for<'de> ArgumentDecoder<'de>` [INFO] [stdout] note: required by a bound in `stable_restore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn stable_restore() -> Result [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | T: for<'de> candid::utils::ArgumentDecoder<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_restore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: CandidType` is not satisfied [INFO] [stdout] --> src/Grincoin_backend/src/lib.rs:151:27 [INFO] [stdout] | [INFO] [stdout] 151 | storage::stable_save((state,)).unwrap(); [INFO] [stdout] | -------------------- ^^^^^ the trait `CandidType` is not implemented for `State`, which is required by `(State,): ArgumentEncoder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 113 others [INFO] [stdout] = note: required for `(State,)` to implement `ArgumentEncoder` [INFO] [stdout] note: required by a bound in `stable_save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-cdk-0.13.2/src/storage.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stable_save(t: T) -> Result<(), candid::Error> [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 8 | where [INFO] [stdout] 9 | T: candid::utils::ArgumentEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `stable_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Grincoin_backend` (lib) due to 22 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `Grincoin_backend` (lib test) due to 22 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a8389767bdfddcdacd1c5124b5ed8d0701fcdd28b6225e64cd7bdb71bec2c784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8389767bdfddcdacd1c5124b5ed8d0701fcdd28b6225e64cd7bdb71bec2c784", kill_on_drop: false }` [INFO] [stdout] a8389767bdfddcdacd1c5124b5ed8d0701fcdd28b6225e64cd7bdb71bec2c784