[INFO] cloning repository https://github.com/Inuani/icp_sveltekit_rust_tests [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Inuani/icp_sveltekit_rust_tests" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInuani%2Ficp_sveltekit_rust_tests", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInuani%2Ficp_sveltekit_rust_tests'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fae6d76cf04211d01b0c74fc3518075c00d2ecec [INFO] checking Inuani/icp_sveltekit_rust_tests against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInuani%2Ficp_sveltekit_rust_tests" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Inuani/icp_sveltekit_rust_tests 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/Inuani/icp_sveltekit_rust_tests [INFO] finished tweaking git repo https://github.com/Inuani/icp_sveltekit_rust_tests [INFO] tweaked toml for git repo https://github.com/Inuani/icp_sveltekit_rust_tests written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Inuani/icp_sveltekit_rust_tests 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-ledger-types v0.8.0 [INFO] [stderr] Downloaded candid v0.9.11 [INFO] [stderr] Downloaded candid_derive v0.6.4 [INFO] [stderr] Downloaded ic0 v0.21.1 [INFO] [stderr] Downloaded ic-cdk-macros v0.8.1 [INFO] [stderr] Downloaded ic-stable-structures v0.6.0 [INFO] [stderr] Downloaded winnow v0.5.16 [INFO] [stderr] Downloaded ic-cdk v0.11.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 181d4c0958e9ff3639c18d9751d2f3db938092db8750a8f24a8455c54066d698 [INFO] running `Command { std: "docker" "start" "-a" "181d4c0958e9ff3639c18d9751d2f3db938092db8750a8f24a8455c54066d698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "181d4c0958e9ff3639c18d9751d2f3db938092db8750a8f24a8455c54066d698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "181d4c0958e9ff3639c18d9751d2f3db938092db8750a8f24a8455c54066d698", kill_on_drop: false }` [INFO] [stdout] 181d4c0958e9ff3639c18d9751d2f3db938092db8750a8f24a8455c54066d698 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63c038e475de34e83f8dba9d1fdc8fada7260078cffddf618deed3b2ca25edfa [INFO] running `Command { std: "docker" "start" "-a" "63c038e475de34e83f8dba9d1fdc8fada7260078cffddf618deed3b2ca25edfa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.68 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling winnow v0.5.16 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Checking ic-stable-structures v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling candid_derive v0.6.4 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic-cdk-macros v0.8.1 [INFO] [stderr] Checking ic-cdk v0.11.3 [INFO] [stderr] Checking ic-ledger-types v0.8.0 [INFO] [stderr] Checking backend v0.1.0 (/opt/rustwide/workdir/src/backend) [INFO] [stderr] Checking template v0.1.0 (/opt/rustwide/workdir/src/template) [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | pub static S_DENIZENS: RefCell> = RefCell::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | pub static S_DENIZENS: RefCell> = RefCell::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / thread_local! { [INFO] [stdout] 15 | | pub static H_DENIZENS: RefCell> = RefCell::new(BTreeMap::new()); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | static MEMORY_MANAGER: RefCell> = [INFO] [stdout] ... | [INFO] [stdout] 23 | | ); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] = note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / thread_local! { [INFO] [stdout] 15 | | pub static H_DENIZENS: RefCell> = RefCell::new(BTreeMap::new()); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | static MEMORY_MANAGER: RefCell> = [INFO] [stdout] ... | [INFO] [stdout] 23 | | ); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] = note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / thread_local! { [INFO] [stdout] 15 | | pub static H_DENIZENS: RefCell> = RefCell::new(BTreeMap::new()); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | static MEMORY_MANAGER: RefCell> = [INFO] [stdout] ... | [INFO] [stdout] 23 | | ); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] = note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / thread_local! { [INFO] [stdout] 15 | | pub static H_DENIZENS: RefCell> = RefCell::new(BTreeMap::new()); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | static MEMORY_MANAGER: RefCell> = [INFO] [stdout] ... | [INFO] [stdout] 23 | | ); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] = note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0116]: cannot define inherent `impl` for a type outside of the crate where the type is defined [INFO] [stdout] --> src/backend/src/types.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | impl Principal { [INFO] [stdout] | ^^^^^^^^^^^^^^ impl for type defined outside of crate. [INFO] [stdout] | [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0116]: cannot define inherent `impl` for a type outside of the crate where the type is defined [INFO] [stdout] --> src/backend/src/types.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | impl Principal { [INFO] [stdout] | ^^^^^^^^^^^^^^ impl for type defined outside of crate. [INFO] [stdout] | [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_vec` found for slice `[_]` in the current scope [INFO] [stdout] --> src/backend/src/types.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, CandidType, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `[_]` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `to_vec` with a similar name [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/slice.rs:116:9 [INFO] [stdout] = note: this error originates in the macro `vec` which comes from the expansion of the derive macro `CandidType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_vec` found for slice `[_]` in the current scope [INFO] [stdout] --> src/backend/src/types.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Default, Clone, CandidType, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `[_]` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `to_vec` with a similar name [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/slice.rs:116:9 [INFO] [stdout] = note: this error originates in the macro `vec` which comes from the expansion of the derive macro `CandidType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_vec` found for slice `[_]` in the current scope [INFO] [stdout] --> src/backend/src/types.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, CandidType, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `[_]` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `to_vec` with a similar name [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/slice.rs:116:9 [INFO] [stdout] = note: this error originates in the macro `vec` which comes from the expansion of 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::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / StableBTreeMap::init( [INFO] [stdout] 21 | | MEMORY_MANAGER.with(|m| m.borrow().get(MemoryId::new(0))), [INFO] [stdout] 22 | | ) [INFO] [stdout] | |_________^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap::::init` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap::::init` [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn init(memory: M) -> Self { [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | StableBTreeMap::init( [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:19:82 [INFO] [stdout] | [INFO] [stdout] 19 | pub static S_DENIZENS: RefCell> = RefCell::new( [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:19:82 [INFO] [stdout] | [INFO] [stdout] 19 | pub static S_DENIZENS: RefCell> = RefCell::new( [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 20 | | StableBTreeMap::init( [INFO] [stdout] 21 | | MEMORY_MANAGER.with(|m| m.borrow().get(MemoryId::new(0))), [INFO] [stdout] 22 | | ) [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_____^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / thread_local! { [INFO] [stdout] 15 | | pub static H_DENIZENS: RefCell> = RefCell::new(BTreeMap::new()); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | static MEMORY_MANAGER: RefCell> = [INFO] [stdout] ... | [INFO] [stdout] 23 | | ); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] = note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / thread_local! { [INFO] [stdout] 15 | | pub static H_DENIZENS: RefCell> = RefCell::new(BTreeMap::new()); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | static MEMORY_MANAGER: RefCell> = [INFO] [stdout] ... | [INFO] [stdout] 23 | | ); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] = note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / thread_local! { [INFO] [stdout] 15 | | pub static H_DENIZENS: RefCell> = RefCell::new(BTreeMap::new()); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | static MEMORY_MANAGER: RefCell> = [INFO] [stdout] ... | [INFO] [stdout] 23 | | ); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] = note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_vec` found for slice `[_]` in the current scope [INFO] [stdout] --> src/backend/src/types.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Default, Clone, CandidType, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `[_]` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `to_vec` with a similar name [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/slice.rs:116:9 [INFO] [stdout] = note: this error originates in the macro `vec` which comes from the expansion of 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::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / S_DENIZENS.with(|stable| { [INFO] [stdout] 32 | | let mut stable_map = stable.borrow_mut(); [INFO] [stdout] 33 | | for (key, value) in heap_map.iter() { [INFO] [stdout] 34 | | stable_map.insert(StablePrincipal(*key), value.clone()); [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |__________^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | S_DENIZENS.with(|stable| { [INFO] [stdout] | ^^^^^^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `RefMut<'_, BTreeMap>>>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | stable_map.insert(StablePrincipal(*key), value.clone()); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.9.11/src/types/principal.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Principal { [INFO] [stdout] | -------------------- doesn't satisfy `candid::Principal: Storable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `candid::Principal: Storable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | / S_DENIZENS.with(|stable| { [INFO] [stdout] 44 | | let stable_map = stable.borrow(); [INFO] [stdout] 45 | | H_DENIZENS.with(|heap| { [INFO] [stdout] 46 | | let mut heap_map = heap.borrow_mut(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | }); [INFO] [stdout] 52 | | }); [INFO] [stdout] | |______^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | S_DENIZENS.with(|stable| { [INFO] [stdout] | ^^^^^^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `iter` exists for struct `Ref<'_, BTreeMap>>>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | for (stable_key, denizen) in stable_map.iter() { [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.9.11/src/types/principal.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Principal { [INFO] [stdout] | -------------------- doesn't satisfy `candid::Principal: Storable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `candid::Principal: Storable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | S_DENIZENS.with(|p| p.borrow().get(&key)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | S_DENIZENS.with(|p| p.borrow().get(&key)) [INFO] [stdout] | ^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for struct `Ref<'_, BTreeMap>>>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | S_DENIZENS.with(|p| p.borrow().get(&key)) [INFO] [stdout] | ^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.9.11/src/types/principal.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Principal { [INFO] [stdout] | -------------------- doesn't satisfy `candid::Principal: Storable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `candid::Principal: Storable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | S_DENIZENS.with(|p| p.borrow_mut().insert(stable_key, value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | S_DENIZENS.with(|p| p.borrow_mut().insert(stable_key, value)) [INFO] [stdout] | ^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `RefMut<'_, BTreeMap>>>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | S_DENIZENS.with(|p| p.borrow_mut().insert(stable_key, value)) [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.9.11/src/types/principal.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Principal { [INFO] [stdout] | -------------------- doesn't satisfy `candid::Principal: Storable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `candid::Principal: Storable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / StableBTreeMap::init( [INFO] [stdout] 21 | | MEMORY_MANAGER.with(|m| m.borrow().get(MemoryId::new(0))), [INFO] [stdout] 22 | | ) [INFO] [stdout] | |_________^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap::::init` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap::::init` [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn init(memory: M) -> Self { [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | StableBTreeMap::init( [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:19:82 [INFO] [stdout] | [INFO] [stdout] 19 | pub static S_DENIZENS: RefCell> = RefCell::new( [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:19:82 [INFO] [stdout] | [INFO] [stdout] 19 | pub static S_DENIZENS: RefCell> = RefCell::new( [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 20 | | StableBTreeMap::init( [INFO] [stdout] 21 | | MEMORY_MANAGER.with(|m| m.borrow().get(MemoryId::new(0))), [INFO] [stdout] 22 | | ) [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_____^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / thread_local! { [INFO] [stdout] 15 | | pub static H_DENIZENS: RefCell> = RefCell::new(BTreeMap::new()); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | static MEMORY_MANAGER: RefCell> = [INFO] [stdout] ... | [INFO] [stdout] 23 | | ); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] = note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_vec` found for slice `[_]` in the current scope [INFO] [stdout] --> src/backend/src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | export_candid!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `[_]` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `to_vec` with a similar name [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/slice.rs:116:9 [INFO] [stdout] = note: this error originates in the macro `vec` which comes from the expansion of 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 `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / thread_local! { [INFO] [stdout] 15 | | pub static H_DENIZENS: RefCell> = RefCell::new(BTreeMap::new()); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | static MEMORY_MANAGER: RefCell> = [INFO] [stdout] ... | [INFO] [stdout] 23 | | ); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] = note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / thread_local! { [INFO] [stdout] 15 | | pub static H_DENIZENS: RefCell> = RefCell::new(BTreeMap::new()); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | static MEMORY_MANAGER: RefCell> = [INFO] [stdout] ... | [INFO] [stdout] 23 | | ); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] = note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / S_DENIZENS.with(|stable| { [INFO] [stdout] 32 | | let mut stable_map = stable.borrow_mut(); [INFO] [stdout] 33 | | for (key, value) in heap_map.iter() { [INFO] [stdout] 34 | | stable_map.insert(StablePrincipal(*key), value.clone()); [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |__________^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | S_DENIZENS.with(|stable| { [INFO] [stdout] | ^^^^^^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_vec` found for slice `[_]` in the current scope [INFO] [stdout] --> src/backend/src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | export_candid!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `[_]` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `to_vec` with a similar name [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/slice.rs:116:9 [INFO] [stdout] = note: this error originates in the macro `vec` which comes from the expansion of the macro `::candid::export_service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `RefMut<'_, BTreeMap>>>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | stable_map.insert(StablePrincipal(*key), value.clone()); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.9.11/src/types/principal.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Principal { [INFO] [stdout] | -------------------- doesn't satisfy `candid::Principal: Storable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `candid::Principal: Storable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | / S_DENIZENS.with(|stable| { [INFO] [stdout] 44 | | let stable_map = stable.borrow(); [INFO] [stdout] 45 | | H_DENIZENS.with(|heap| { [INFO] [stdout] 46 | | let mut heap_map = heap.borrow_mut(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | }); [INFO] [stdout] 52 | | }); [INFO] [stdout] | |______^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | S_DENIZENS.with(|stable| { [INFO] [stdout] | ^^^^^^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sort_unstable_by_key` found for struct `std::vec::Vec<(std::string::String, Type)>` in the current scope [INFO] [stdout] --> src/backend/src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | export_candid!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Vec<(String, Type)>` [INFO] [stdout] | [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[E0599]: the method `iter` exists for struct `Ref<'_, BTreeMap>>>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | for (stable_key, denizen) in stable_map.iter() { [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.9.11/src/types/principal.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Principal { [INFO] [stdout] | -------------------- doesn't satisfy `candid::Principal: Storable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `candid::Principal: Storable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | S_DENIZENS.with(|p| p.borrow().get(&key)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | S_DENIZENS.with(|p| p.borrow().get(&key)) [INFO] [stdout] | ^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for struct `Ref<'_, BTreeMap>>>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | S_DENIZENS.with(|p| p.borrow().get(&key)) [INFO] [stdout] | ^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.9.11/src/types/principal.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Principal { [INFO] [stdout] | -------------------- doesn't satisfy `candid::Principal: Storable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `candid::Principal: Storable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | S_DENIZENS.with(|p| p.borrow_mut().insert(stable_key, value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `candid::Principal: Storable` is not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | S_DENIZENS.with(|p| p.borrow_mut().insert(stable_key, value)) [INFO] [stdout] | ^ the trait `Storable` is not implemented for `candid::Principal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Storable`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] Denizen [INFO] [stdout] Reverse [INFO] [stdout] StablePrincipal [INFO] [stdout] [u8; N] [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `StableBTreeMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ic-stable-structures-0.6.0/src/btreemap.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct BTreeMap [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 89 | where [INFO] [stdout] 90 | K: Storable + Ord + Clone, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `RefMut<'_, BTreeMap>>>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/backend/src/lib.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | S_DENIZENS.with(|p| p.borrow_mut().insert(stable_key, value)) [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.9.11/src/types/principal.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Principal { [INFO] [stdout] | -------------------- doesn't satisfy `candid::Principal: Storable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `candid::Principal: Storable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_vec` found for slice `[_]` in the current scope [INFO] [stdout] --> src/backend/src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | export_candid!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `[_]` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `to_vec` with a similar name [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/slice.rs:116:9 [INFO] [stdout] = note: this error originates in the macro `vec` which comes from the expansion of the macro `::candid::export_service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_vec` found for slice `[_]` in the current scope [INFO] [stdout] --> src/backend/src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | export_candid!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `[_]` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `to_vec` with a similar name [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/slice.rs:116:9 [INFO] [stdout] = note: this error originates in the macro `vec` which comes from the expansion of the macro `::candid::export_service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sort_unstable_by_key` found for struct `std::vec::Vec<(std::string::String, Type)>` in the current scope [INFO] [stdout] --> src/backend/src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | export_candid!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Vec<(String, Type)>` [INFO] [stdout] | [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: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0116, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0116`. [INFO] [stdout] [INFO] [stderr] error: could not compile `backend` (lib) due to 29 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0116, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0116`. [INFO] [stdout] [INFO] [stderr] error: could not compile `backend` (lib test) due to 29 previous errors [INFO] running `Command { std: "docker" "inspect" "63c038e475de34e83f8dba9d1fdc8fada7260078cffddf618deed3b2ca25edfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63c038e475de34e83f8dba9d1fdc8fada7260078cffddf618deed3b2ca25edfa", kill_on_drop: false }` [INFO] [stdout] 63c038e475de34e83f8dba9d1fdc8fada7260078cffddf618deed3b2ca25edfa [INFO] checking Inuani/icp_sveltekit_rust_tests against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInuani%2Ficp_sveltekit_rust_tests" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Inuani/icp_sveltekit_rust_tests on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Inuani/icp_sveltekit_rust_tests [INFO] finished tweaking git repo https://github.com/Inuani/icp_sveltekit_rust_tests [INFO] tweaked toml for git repo https://github.com/Inuani/icp_sveltekit_rust_tests written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Inuani/icp_sveltekit_rust_tests 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf30fb2fe52d06fb4cb986e3a747e1b7644fe0b7c8d9e69af4440811b8317ec7 [INFO] running `Command { std: "docker" "start" "-a" "bf30fb2fe52d06fb4cb986e3a747e1b7644fe0b7c8d9e69af4440811b8317ec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf30fb2fe52d06fb4cb986e3a747e1b7644fe0b7c8d9e69af4440811b8317ec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf30fb2fe52d06fb4cb986e3a747e1b7644fe0b7c8d9e69af4440811b8317ec7", kill_on_drop: false }` [INFO] [stdout] bf30fb2fe52d06fb4cb986e3a747e1b7644fe0b7c8d9e69af4440811b8317ec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e734607bf12ce61ed9af6fcc0a1815b988160a41f2170234193db7e6fac83d5 [INFO] running `Command { std: "docker" "start" "-a" "6e734607bf12ce61ed9af6fcc0a1815b988160a41f2170234193db7e6fac83d5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "6e734607bf12ce61ed9af6fcc0a1815b988160a41f2170234193db7e6fac83d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e734607bf12ce61ed9af6fcc0a1815b988160a41f2170234193db7e6fac83d5", kill_on_drop: false }` [INFO] [stdout] 6e734607bf12ce61ed9af6fcc0a1815b988160a41f2170234193db7e6fac83d5