[INFO] cloning repository https://github.com/LNP-BP/ssi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LNP-BP/ssi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLNP-BP%2Fssi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLNP-BP%2Fssi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aedcb6efa5148c1f4247e6179e7d851d1a2ec0d5 [INFO] checking LNP-BP/ssi/aedcb6efa5148c1f4247e6179e7d851d1a2ec0d5 against master#85c39893a761fe4c050523278da4e7e45ab42b6e for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLNP-BP%2Fssi" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LNP-BP/ssi on toolchain 85c39893a761fe4c050523278da4e7e45ab42b6e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/LNP-BP/ssi [INFO] finished tweaking git repo https://github.com/LNP-BP/ssi [INFO] tweaked toml for git repo https://github.com/LNP-BP/ssi written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LNP-BP/ssi 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" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strict_encoding_derive v2.7.0 [INFO] [stderr] Downloaded amplify v4.7.0 [INFO] [stderr] Downloaded amplify_num v0.5.3 [INFO] [stderr] Downloaded vesper-lang v0.1.0 [INFO] [stderr] Downloaded amplify_syn v2.0.1 [INFO] [stderr] Downloaded base85 v2.0.0 [INFO] [stderr] Downloaded ec25519 v0.1.0 [INFO] [stderr] Downloaded amplify_derive v4.0.1 [INFO] [stderr] Downloaded amplify_apfloat v0.3.1 [INFO] [stderr] Downloaded secp256k1 v0.29.1 [INFO] [stderr] Downloaded strict_types v2.7.0 [INFO] [stderr] Downloaded strict_encoding v2.7.0 [INFO] [stderr] Downloaded ascii-armor v0.7.2 [INFO] [stderr] Downloaded mnemonic v1.1.1 [INFO] [stderr] Downloaded baid64 v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80fd6b42261142c6f327331a8bf3cfb0e27fb0a307350126e1c3efe37b28d2fa [INFO] running `Command { std: "docker" "start" "-a" "80fd6b42261142c6f327331a8bf3cfb0e27fb0a307350126e1c3efe37b28d2fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80fd6b42261142c6f327331a8bf3cfb0e27fb0a307350126e1c3efe37b28d2fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80fd6b42261142c6f327331a8bf3cfb0e27fb0a307350126e1c3efe37b28d2fa", kill_on_drop: false }` [INFO] [stdout] 80fd6b42261142c6f327331a8bf3cfb0e27fb0a307350126e1c3efe37b28d2fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7348d5b20bf023b16851432eee971a3eac2ac52a3db5be50c28d509642cfc4c0 [INFO] running `Command { std: "docker" "start" "-a" "7348d5b20bf023b16851432eee971a3eac2ac52a3db5be50c28d509642cfc4c0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking amplify_num v0.5.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking mnemonic v1.1.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking rtoolbox v0.0.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking ct-codecs v1.1.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking fluent-uri v0.1.4 [INFO] [stderr] Checking rpassword v7.3.1 [INFO] [stderr] Checking shellexpand v3.1.0 [INFO] [stderr] Checking ec25519 v0.1.0 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling secp256k1-sys v0.10.0 [INFO] [stderr] Checking amplify_apfloat v0.3.1 [INFO] [stderr] Checking amplify_syn v2.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking base85 v2.0.0 [INFO] [stderr] Compiling amplify_derive v4.0.1 [INFO] [stderr] Compiling strict_encoding_derive v2.7.0 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking amplify v4.7.0 [INFO] [stderr] Checking strict_encoding v2.7.0 [INFO] [stderr] Checking baid64 v0.2.2 [INFO] [stderr] Checking vesper-lang v0.1.0 [INFO] [stderr] Checking ascii-armor v0.7.2 [INFO] [stderr] Checking strict_types v2.7.0 [INFO] [stderr] Checking s2id v0.3.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/ed25519.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(StrictType, StrictDumb, StrictEncode, StrictDecode)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion `left == right` failed [INFO] [stdout] left: Ident { ident: "crate", span: #0 bytes(42593..42598) } [INFO] [stdout] right: Ident { ident: "super", span: #502 bytes(42428..42438) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/ed25519.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(StrictType, StrictDumb, StrictEncode, StrictDecode)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion `left == right` failed [INFO] [stdout] left: Ident { ident: "crate", span: #0 bytes(42593..42598) } [INFO] [stdout] right: Ident { ident: "super", span: #505 bytes(42440..42450) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/ed25519.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(StrictType, StrictDumb, StrictEncode, StrictDecode)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion `left == right` failed [INFO] [stdout] left: Ident { ident: "crate", span: #0 bytes(42593..42598) } [INFO] [stdout] right: Ident { ident: "super", span: #508 bytes(42452..42464) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/ed25519.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(StrictType, StrictDumb, StrictEncode, StrictDecode)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion `left == right` failed [INFO] [stdout] left: Ident { ident: "crate", span: #0 bytes(42593..42598) } [INFO] [stdout] right: Ident { ident: "super", span: #511 bytes(42466..42478) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/ed25519.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(StrictType, StrictDumb, StrictEncode, StrictDecode)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion `left == right` failed [INFO] [stdout] left: Ident { ident: "crate", span: #0 bytes(42593..42598) } [INFO] [stdout] right: Ident { ident: "super", span: #496 bytes(42428..42438) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/ed25519.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(StrictType, StrictDumb, StrictEncode, StrictDecode)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion `left == right` failed [INFO] [stdout] left: Ident { ident: "crate", span: #0 bytes(42593..42598) } [INFO] [stdout] right: Ident { ident: "super", span: #499 bytes(42440..42450) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/ed25519.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(StrictType, StrictDumb, StrictEncode, StrictDecode)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion `left == right` failed [INFO] [stdout] left: Ident { ident: "crate", span: #0 bytes(42593..42598) } [INFO] [stdout] right: Ident { ident: "super", span: #502 bytes(42452..42464) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/ed25519.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(StrictType, StrictDumb, StrictEncode, StrictDecode)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion `left == right` failed [INFO] [stdout] left: Ident { ident: "crate", span: #0 bytes(42593..42598) } [INFO] [stdout] right: Ident { ident: "super", span: #505 bytes(42466..42478) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/ed25519.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LIB_NAME_SSI` [INFO] [stdout] --> src/ed25519.rs:31:69 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::{Algo, Chain, InvalidPubkey, InvalidSig, SsiPub, SsiSig, LIB_NAME_SSI}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/ed25519.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LIB_NAME_SSI` [INFO] [stdout] --> src/ed25519.rs:31:69 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::{Algo, Chain, InvalidPubkey, InvalidSig, SsiPub, SsiSig, LIB_NAME_SSI}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Ed25519Secret: StrictEncode` is not satisfied [INFO] [stdout] --> src/ed25519.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | impl StrictSerialize for Ed25519Secret {} [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `StrictEncode` is not implemented for `Ed25519Secret` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `StrictEncode`: [INFO] [stdout] &T [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] Alpha [INFO] [stdout] AlphaCaps [INFO] [stdout] AlphaCapsLodash [INFO] [stdout] AlphaCapsNum [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `StrictSerialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.7.0/src/traits.rs:382:28 [INFO] [stdout] | [INFO] [stdout] 382 | pub trait StrictSerialize: StrictEncode { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `StrictSerialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Ed25519Secret: StrictEncode` is not satisfied [INFO] [stdout] --> src/ed25519.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | impl StrictSerialize for Ed25519Secret {} [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `StrictEncode` is not implemented for `Ed25519Secret` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `StrictEncode`: [INFO] [stdout] &T [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] Algo [INFO] [stdout] Alpha [INFO] [stdout] AlphaCaps [INFO] [stdout] AlphaCapsLodash [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `StrictSerialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.7.0/src/traits.rs:382:28 [INFO] [stdout] | [INFO] [stdout] 382 | pub trait StrictSerialize: StrictEncode { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `StrictSerialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Ed25519Secret: StrictDecode` is not satisfied [INFO] [stdout] --> src/ed25519.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | impl StrictDeserialize for Ed25519Secret {} [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `StrictDecode` is not implemented for `Ed25519Secret` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `StrictDecode`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] Algo [INFO] [stdout] Alpha [INFO] [stdout] AlphaCaps [INFO] [stdout] AlphaCapsLodash [INFO] [stdout] AlphaCapsNum [INFO] [stdout] and 85 others [INFO] [stdout] note: required by a bound in `StrictDeserialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.7.0/src/traits.rs:408:30 [INFO] [stdout] | [INFO] [stdout] 408 | pub trait StrictDeserialize: StrictDecode { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `StrictDeserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Ed25519Secret: StrictDecode` is not satisfied [INFO] [stdout] --> src/ed25519.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | impl StrictDeserialize for Ed25519Secret {} [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `StrictDecode` is not implemented for `Ed25519Secret` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `StrictDecode`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] Alpha [INFO] [stdout] AlphaCaps [INFO] [stdout] AlphaCapsLodash [INFO] [stdout] AlphaCapsNum [INFO] [stdout] AlphaLodash [INFO] [stdout] and 85 others [INFO] [stdout] note: required by a bound in `StrictDeserialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.7.0/src/traits.rs:408:30 [INFO] [stdout] | [INFO] [stdout] 408 | pub trait StrictDeserialize: StrictDecode { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `StrictDeserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_byte_array` found for reference `&SsiPub` in the current scope [INFO] [stdout] --> src/encrypt.rs:176:58 [INFO] [stdout] | [INFO] [stdout] 176 | edwards25519::GeP3::from_bytes_vartime(&self.to_byte_array()).ok_or(InvalidPubkey)?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&SsiPub` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_byte_array`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ByteArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_byte_array` found for reference `&SsiPub` in the current scope [INFO] [stdout] --> src/encrypt.rs:176:58 [INFO] [stdout] | [INFO] [stdout] 176 | edwards25519::GeP3::from_bytes_vartime(&self.to_byte_array()).ok_or(InvalidPubkey)?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&SsiPub` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_byte_array`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ByteArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with` found for struct `Ed25519Secret` in the current scope [INFO] [stdout] --> src/secret.rs:73:35 [INFO] [stdout] | [INFO] [stdout] 73 | Ok(Ed25519Secret::with(self.chain, ec25519::SecretKey::from_slice(&sk)?).into()) [INFO] [stdout] | ^^^^ function or associated item not found in `Ed25519Secret` [INFO] [stdout] | [INFO] [stdout] ::: src/ed25519.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Ed25519Secret { [INFO] [stdout] | ------------------------ function or associated item `with` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Ed25519Secret`, consider using `Ed25519Secret::new` which returns `Ed25519Secret` [INFO] [stdout] --> src/ed25519.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn new(chain: Chain) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `with`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SsiSecret: From` is not satisfied [INFO] [stdout] --> src/secret.rs:75:71 [INFO] [stdout] | [INFO] [stdout] 75 | Algo::Bip340 => Ok(secp256k1::SecretKey::from_slice(&sk)?.into()), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `SsiSecret` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `SsiSecret` implements `From` [INFO] [stdout] `SsiSecret` implements `From` [INFO] [stdout] = note: required for `secp256k1::SecretKey` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `chain` in initializer of `EncryptedSecret` [INFO] [stdout] --> src/secret.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | Ok(Self { [INFO] [stdout] | ^^^^ missing `chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with` found for struct `Ed25519Secret` in the current scope [INFO] [stdout] --> src/secret.rs:73:35 [INFO] [stdout] | [INFO] [stdout] 73 | Ok(Ed25519Secret::with(self.chain, ec25519::SecretKey::from_slice(&sk)?).into()) [INFO] [stdout] | ^^^^ function or associated item not found in `Ed25519Secret` [INFO] [stdout] | [INFO] [stdout] ::: src/ed25519.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Ed25519Secret { [INFO] [stdout] | ------------------------ function or associated item `with` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Ed25519Secret`, consider using `Ed25519Secret::new` which returns `Ed25519Secret` [INFO] [stdout] --> src/ed25519.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn new(chain: Chain) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `with`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SsiSecret: From` is not satisfied [INFO] [stdout] --> src/secret.rs:75:71 [INFO] [stdout] | [INFO] [stdout] 75 | Algo::Bip340 => Ok(secp256k1::SecretKey::from_slice(&sk)?.into()), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `SsiSecret` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `SsiSecret` implements `From` [INFO] [stdout] `SsiSecret` implements `From` [INFO] [stdout] = note: required for `secp256k1::SecretKey` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `chain` in initializer of `EncryptedSecret` [INFO] [stdout] --> src/secret.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | Ok(Self { [INFO] [stdout] | ^^^^ missing `chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/secret.rs:206:41 [INFO] [stdout] | [INFO] [stdout] 206 | SsiSecret::Bip340(sk) => sk.to_public(), [INFO] [stdout] | ^^^^^^^^^-- two arguments of type `public::Chain` and `Algo` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/bip340.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn to_public(&self, chain: Chain, algo: Algo) -> SsiPub { [INFO] [stdout] | ^^^^^^^^^ ------------ ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 206 | SsiSecret::Bip340(sk) => sk.to_public(/* public::Chain */, /* Algo */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `chain` in initializer of `EncryptedSecret` [INFO] [stdout] --> src/secret.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | EncryptedSecret { [INFO] [stdout] | ^^^^^^^^^^^^^^^ missing `chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/secret.rs:206:41 [INFO] [stdout] | [INFO] [stdout] 206 | SsiSecret::Bip340(sk) => sk.to_public(), [INFO] [stdout] | ^^^^^^^^^-- two arguments of type `public::Chain` and `public::Algo` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/bip340.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn to_public(&self, chain: Chain, algo: Algo) -> SsiPub { [INFO] [stdout] | ^^^^^^^^^ ------------ ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 206 | SsiSecret::Bip340(sk) => sk.to_public(/* public::Chain */, /* public::Algo */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `chain` in initializer of `EncryptedSecret` [INFO] [stdout] --> src/secret.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | EncryptedSecret { [INFO] [stdout] | ^^^^^^^^^^^^^^^ missing `chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_byte_array` found for struct `SsiPub` in the current scope [INFO] [stdout] --> src/public.rs:210:41 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct SsiPub { [INFO] [stdout] | ----------------- method `to_byte_array` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 210 | bytes[2..].copy_from_slice(&ssi.to_byte_array()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `SsiPub` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_byte_array`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ByteArray` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 210 | bytes[2..].copy_from_slice(&ssi.key.to_byte_array()); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_byte_array` found for struct `SsiPub` in the current scope [INFO] [stdout] --> src/public.rs:210:41 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct SsiPub { [INFO] [stdout] | ----------------- method `to_byte_array` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 210 | bytes[2..].copy_from_slice(&ssi.to_byte_array()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `SsiPub` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_byte_array`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ByteArray` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 210 | bytes[2..].copy_from_slice(&ssi.key.to_byte_array()); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&Bip340Secret` [INFO] [stdout] --> src/bip340.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 38 | fn cmp(&self, other: &Self) -> Ordering { self.0.secret_bytes().cmp(&other.0.secret_bytes()) } [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `chain`, `algo`, `key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&Bip340Secret` [INFO] [stdout] --> src/bip340.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 38 | fn cmp(&self, other: &Self) -> Ordering { self.0.secret_bytes().cmp(&other.0.secret_bytes()) } [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `chain`, `algo`, `key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&Bip340Secret` [INFO] [stdout] --> src/bip340.rs:38:80 [INFO] [stdout] | [INFO] [stdout] 38 | fn cmp(&self, other: &Self) -> Ordering { self.0.secret_bytes().cmp(&other.0.secret_bytes()) } [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `chain`, `algo`, `key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&Bip340Secret` [INFO] [stdout] --> src/bip340.rs:46:53 [INFO] [stdout] | [INFO] [stdout] 46 | fn hash(&self, state: &mut H) { self.0.secret_bytes().hash(state) } [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `chain`, `algo`, `key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&Bip340Secret` [INFO] [stdout] --> src/bip340.rs:38:80 [INFO] [stdout] | [INFO] [stdout] 38 | fn cmp(&self, other: &Self) -> Ordering { self.0.secret_bytes().cmp(&other.0.secret_bytes()) } [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `chain`, `algo`, `key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&Bip340Secret` [INFO] [stdout] --> src/bip340.rs:46:53 [INFO] [stdout] | [INFO] [stdout] 46 | fn hash(&self, state: &mut H) { self.0.secret_bytes().hash(state) } [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `chain`, `algo`, `key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&Bip340Secret` [INFO] [stdout] --> src/bip340.rs:68:65 [INFO] [stdout] | [INFO] [stdout] 68 | let keypair = Keypair::from_secret_key(SECP256K1, &self.0); [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `chain`, `algo`, `key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&Bip340Secret` [INFO] [stdout] --> src/bip340.rs:68:65 [INFO] [stdout] | [INFO] [stdout] 68 | let keypair = Keypair::from_secret_key(SECP256K1, &self.0); [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `chain`, `algo`, `key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[u8; 32]: From` is not satisfied [INFO] [stdout] --> src/bip340.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | Self::from_slice(&<[u8; 32]>::from(ssi)).map_err(|_| InvalidPubkey) [INFO] [stdout] | ^^^^^^^^ the trait `From` is not implemented for `[u8; 32]` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `&[AsciiChar]` implements `From<&AsciiStr>` [INFO] [stdout] `&[u32; 4]` implements `From<&ppv_lite86::x86_64::vec128_storage>` [INFO] [stdout] `&[u8]` implements `From<&AsciiStr>` [INFO] [stdout] `&mut [AsciiChar]` implements `From<&mut AsciiStr>` [INFO] [stdout] `[T; 1000]` implements `From, B1>, B1>, B1>, B1>, B0>, B1>, B0>, B0>, B0>>>` [INFO] [stdout] `[T; 100]` implements `From, B1>, B0>, B0>, B1>, B0>, B0>>>` [INFO] [stdout] `[T; 1024]` implements `From, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>` [INFO] [stdout] `[T; 10]` implements `From<(T, T, T, T, T, T, T, T, T, T)>` [INFO] [stdout] and 97 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SsiPub: From<[u8; 32]>` is not satisfied [INFO] [stdout] --> src/bip340.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Self::from(bytes) [INFO] [stdout] | ^^^^ the trait `From<[u8; 32]>` is not implemented for `SsiPub` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `SsiPub` implements `From` [INFO] [stdout] `SsiPub` implements `From<[u8; 34]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[u8; 32]: From` is not satisfied [INFO] [stdout] --> src/bip340.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | Self::from_slice(&<[u8; 32]>::from(ssi)).map_err(|_| InvalidPubkey) [INFO] [stdout] | ^^^^^^^^ the trait `From` is not implemented for `[u8; 32]` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `&[AsciiChar]` implements `From<&AsciiStr>` [INFO] [stdout] `&[u32; 4]` implements `From<&ppv_lite86::x86_64::vec128_storage>` [INFO] [stdout] `&[u8]` implements `From<&AsciiStr>` [INFO] [stdout] `&mut [AsciiChar]` implements `From<&mut AsciiStr>` [INFO] [stdout] `[T; 1000]` implements `From, B1>, B1>, B1>, B1>, B0>, B1>, B0>, B0>, B0>>>` [INFO] [stdout] `[T; 100]` implements `From, B1>, B0>, B0>, B1>, B0>, B0>>>` [INFO] [stdout] `[T; 1024]` implements `From, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>` [INFO] [stdout] `[T; 10]` implements `From<(T, T, T, T, T, T, T, T, T, T)>` [INFO] [stdout] and 97 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SsiPub: From<[u8; 32]>` is not satisfied [INFO] [stdout] --> src/bip340.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Self::from(bytes) [INFO] [stdout] | ^^^^ the trait `From<[u8; 32]>` is not implemented for `SsiPub` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `SsiPub` implements `From` [INFO] [stdout] `SsiPub` implements `From<[u8; 34]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for reference `&Ed25519Secret` in the current scope [INFO] [stdout] --> src/ed25519.rs:46:52 [INFO] [stdout] | [INFO] [stdout] 46 | fn cmp(&self, other: &Self) -> Ordering { self.serialize().cmp(other.serialize()) } [INFO] [stdout] | ^^^^^^^^^ method not found in `&Ed25519Secret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for reference `&Ed25519Secret` in the current scope [INFO] [stdout] --> src/ed25519.rs:46:52 [INFO] [stdout] | [INFO] [stdout] 46 | fn cmp(&self, other: &Self) -> Ordering { self.serialize().cmp(other.serialize()) } [INFO] [stdout] | ^^^^^^^^^ method not found in `&Ed25519Secret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for reference `&Ed25519Secret` in the current scope [INFO] [stdout] --> src/ed25519.rs:46:74 [INFO] [stdout] | [INFO] [stdout] 46 | fn cmp(&self, other: &Self) -> Ordering { self.serialize().cmp(other.serialize()) } [INFO] [stdout] | ^^^^^^^^^ method not found in `&Ed25519Secret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for reference `&Ed25519Secret` in the current scope [INFO] [stdout] --> src/ed25519.rs:46:74 [INFO] [stdout] | [INFO] [stdout] 46 | fn cmp(&self, other: &Self) -> Ordering { self.serialize().cmp(other.serialize()) } [INFO] [stdout] | ^^^^^^^^^ method not found in `&Ed25519Secret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for reference `&Ed25519Secret` in the current scope [INFO] [stdout] --> src/ed25519.rs:54:53 [INFO] [stdout] | [INFO] [stdout] 54 | fn hash(&self, state: &mut H) { self.serialize().hash(state) } [INFO] [stdout] | ^^^^^^^^^ method not found in `&Ed25519Secret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Ed25519Secret: StrictDecode` is not satisfied [INFO] [stdout] --> src/ed25519.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | Self::from_strict_serialized::<34>(ConfinedVec::from_slice_checked(&val.into())).unwrap() [INFO] [stdout] | ^^^^ the trait `StrictDecode` is not implemented for `Ed25519Secret` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `StrictDecode`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] Alpha [INFO] [stdout] AlphaCaps [INFO] [stdout] AlphaCapsLodash [INFO] [stdout] AlphaCapsNum [INFO] [stdout] AlphaLodash [INFO] [stdout] and 85 others [INFO] [stdout] note: required by a bound in `from_strict_serialized` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.7.0/src/traits.rs:408:30 [INFO] [stdout] | [INFO] [stdout] 408 | pub trait StrictDeserialize: StrictDecode { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `StrictDeserialize::from_strict_serialized` [INFO] [stdout] 409 | fn from_strict_serialized( [INFO] [stdout] | ---------------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Ed25519Secret: StrictDecode` is not satisfied [INFO] [stdout] --> src/ed25519.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | Ok(Self::from_strict_serialized::<34>(ConfinedVec::from_slice_checked(&slice.as_ref())) [INFO] [stdout] | ^^^^ the trait `StrictDecode` is not implemented for `Ed25519Secret` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `StrictDecode`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] Alpha [INFO] [stdout] AlphaCaps [INFO] [stdout] AlphaCapsLodash [INFO] [stdout] AlphaCapsNum [INFO] [stdout] AlphaLodash [INFO] [stdout] and 85 others [INFO] [stdout] note: required by a bound in `from_strict_serialized` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.7.0/src/traits.rs:408:30 [INFO] [stdout] | [INFO] [stdout] 408 | pub trait StrictDeserialize: StrictDecode { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `StrictDeserialize::from_strict_serialized` [INFO] [stdout] 409 | fn from_strict_serialized( [INFO] [stdout] | ---------------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for reference `&Ed25519Secret` in the current scope [INFO] [stdout] --> src/ed25519.rs:54:53 [INFO] [stdout] | [INFO] [stdout] 54 | fn hash(&self, state: &mut H) { self.serialize().hash(state) } [INFO] [stdout] | ^^^^^^^^^ method not found in `&Ed25519Secret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Ed25519Secret: StrictDecode` is not satisfied [INFO] [stdout] --> src/ed25519.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | Self::from_strict_serialized::<34>(ConfinedVec::from_slice_checked(&slice.as_ref())) [INFO] [stdout] | ^^^^ the trait `StrictDecode` is not implemented for `Ed25519Secret` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `StrictDecode`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] Alpha [INFO] [stdout] AlphaCaps [INFO] [stdout] AlphaCapsLodash [INFO] [stdout] AlphaCapsNum [INFO] [stdout] AlphaLodash [INFO] [stdout] and 85 others [INFO] [stdout] note: required by a bound in `from_strict_serialized` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.7.0/src/traits.rs:408:30 [INFO] [stdout] | [INFO] [stdout] 408 | pub trait StrictDeserialize: StrictDecode { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `StrictDeserialize::from_strict_serialized` [INFO] [stdout] 409 | fn from_strict_serialized( [INFO] [stdout] | ---------------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Ed25519Secret: StrictEncode` is not satisfied [INFO] [stdout] --> src/ed25519.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | array.copy_from_slice(&self.to_strict_serialized::<34>().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `StrictEncode` is not implemented for `Ed25519Secret` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `StrictEncode`: [INFO] [stdout] &T [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] Alpha [INFO] [stdout] AlphaCaps [INFO] [stdout] AlphaCapsLodash [INFO] [stdout] AlphaCapsNum [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `to_strict_serialized` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.7.0/src/traits.rs:382:28 [INFO] [stdout] | [INFO] [stdout] 382 | pub trait StrictSerialize: StrictEncode { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `StrictSerialize::to_strict_serialized` [INFO] [stdout] ... [INFO] [stdout] 388 | fn to_strict_serialized( [INFO] [stdout] | -------------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Ed25519Secret: StrictDecode` is not satisfied [INFO] [stdout] --> src/ed25519.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | Self::from_strict_serialized::<34>(ConfinedVec::from_slice_checked(&val.into())).unwrap() [INFO] [stdout] | ^^^^ the trait `StrictDecode` is not implemented for `Ed25519Secret` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `StrictDecode`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] Algo [INFO] [stdout] Alpha [INFO] [stdout] AlphaCaps [INFO] [stdout] AlphaCapsLodash [INFO] [stdout] AlphaCapsNum [INFO] [stdout] and 85 others [INFO] [stdout] note: required by a bound in `from_strict_serialized` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.7.0/src/traits.rs:408:30 [INFO] [stdout] | [INFO] [stdout] 408 | pub trait StrictDeserialize: StrictDecode { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `StrictDeserialize::from_strict_serialized` [INFO] [stdout] 409 | fn from_strict_serialized( [INFO] [stdout] | ---------------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Ed25519Secret: StrictDecode` is not satisfied [INFO] [stdout] --> src/ed25519.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | Ok(Self::from_strict_serialized::<34>(ConfinedVec::from_slice_checked(&slice.as_ref())) [INFO] [stdout] | ^^^^ the trait `StrictDecode` is not implemented for `Ed25519Secret` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `StrictDecode`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] Algo [INFO] [stdout] Alpha [INFO] [stdout] AlphaCaps [INFO] [stdout] AlphaCapsLodash [INFO] [stdout] AlphaCapsNum [INFO] [stdout] and 85 others [INFO] [stdout] note: required by a bound in `from_strict_serialized` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.7.0/src/traits.rs:408:30 [INFO] [stdout] | [INFO] [stdout] 408 | pub trait StrictDeserialize: StrictDecode { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `StrictDeserialize::from_strict_serialized` [INFO] [stdout] 409 | fn from_strict_serialized( [INFO] [stdout] | ---------------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Ed25519Secret: StrictDecode` is not satisfied [INFO] [stdout] --> src/ed25519.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | Self::from_strict_serialized::<34>(ConfinedVec::from_slice_checked(&slice.as_ref())) [INFO] [stdout] | ^^^^ the trait `StrictDecode` is not implemented for `Ed25519Secret` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `StrictDecode`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] Algo [INFO] [stdout] Alpha [INFO] [stdout] AlphaCaps [INFO] [stdout] AlphaCapsLodash [INFO] [stdout] AlphaCapsNum [INFO] [stdout] and 85 others [INFO] [stdout] note: required by a bound in `from_strict_serialized` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.7.0/src/traits.rs:408:30 [INFO] [stdout] | [INFO] [stdout] 408 | pub trait StrictDeserialize: StrictDecode { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `StrictDeserialize::from_strict_serialized` [INFO] [stdout] 409 | fn from_strict_serialized( [INFO] [stdout] | ---------------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[u8; 32]: From` is not satisfied [INFO] [stdout] --> src/ed25519.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | Self::from_slice(&<[u8; 32]>::from(ssi)).map_err(|_| InvalidPubkey) [INFO] [stdout] | ^^^^^^^^ the trait `From` is not implemented for `[u8; 32]` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `&[AsciiChar]` implements `From<&AsciiStr>` [INFO] [stdout] `&[u32; 4]` implements `From<&ppv_lite86::x86_64::vec128_storage>` [INFO] [stdout] `&[u8]` implements `From<&AsciiStr>` [INFO] [stdout] `&mut [AsciiChar]` implements `From<&mut AsciiStr>` [INFO] [stdout] `[T; 1000]` implements `From, B1>, B1>, B1>, B1>, B0>, B1>, B0>, B0>, B0>>>` [INFO] [stdout] `[T; 100]` implements `From, B1>, B0>, B0>, B1>, B0>, B0>>>` [INFO] [stdout] `[T; 1024]` implements `From, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>` [INFO] [stdout] `[T; 10]` implements `From<(T, T, T, T, T, T, T, T, T, T)>` [INFO] [stdout] and 97 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SsiPub: From<[u8; 32]>` is not satisfied [INFO] [stdout] --> src/ed25519.rs:128:51 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn from_ed25519(key: PublicKey) -> Self { Self::from(*key) } [INFO] [stdout] | ^^^^ the trait `From<[u8; 32]>` is not implemented for `SsiPub` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `SsiPub` implements `From` [INFO] [stdout] `SsiPub` implements `From<[u8; 34]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Ed25519Secret: StrictEncode` is not satisfied [INFO] [stdout] --> src/ed25519.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | array.copy_from_slice(&self.to_strict_serialized::<34>().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `StrictEncode` is not implemented for `Ed25519Secret` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `StrictEncode`: [INFO] [stdout] &T [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] Algo [INFO] [stdout] Alpha [INFO] [stdout] AlphaCaps [INFO] [stdout] AlphaCapsLodash [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `to_strict_serialized` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.7.0/src/traits.rs:382:28 [INFO] [stdout] | [INFO] [stdout] 382 | pub trait StrictSerialize: StrictEncode { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `StrictSerialize::to_strict_serialized` [INFO] [stdout] ... [INFO] [stdout] 388 | fn to_strict_serialized( [INFO] [stdout] | -------------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[u8; 32]: From` is not satisfied [INFO] [stdout] --> src/ed25519.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | Self::from_slice(&<[u8; 32]>::from(ssi)).map_err(|_| InvalidPubkey) [INFO] [stdout] | ^^^^^^^^ the trait `From` is not implemented for `[u8; 32]` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `&[AsciiChar]` implements `From<&AsciiStr>` [INFO] [stdout] `&[u32; 4]` implements `From<&ppv_lite86::x86_64::vec128_storage>` [INFO] [stdout] `&[u8]` implements `From<&AsciiStr>` [INFO] [stdout] `&mut [AsciiChar]` implements `From<&mut AsciiStr>` [INFO] [stdout] `[T; 1000]` implements `From, B1>, B1>, B1>, B1>, B0>, B1>, B0>, B0>, B0>>>` [INFO] [stdout] `[T; 100]` implements `From, B1>, B0>, B0>, B1>, B0>, B0>>>` [INFO] [stdout] `[T; 1024]` implements `From, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>` [INFO] [stdout] `[T; 10]` implements `From<(T, T, T, T, T, T, T, T, T, T)>` [INFO] [stdout] and 97 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SsiPub: From<[u8; 32]>` is not satisfied [INFO] [stdout] --> src/ed25519.rs:128:51 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn from_ed25519(key: PublicKey) -> Self { Self::from(*key) } [INFO] [stdout] | ^^^^ the trait `From<[u8; 32]>` is not implemented for `SsiPub` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `SsiPub` implements `From` [INFO] [stdout] `SsiPub` implements `From<[u8; 34]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0277, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `s2id` (lib test) due to 28 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `s2id` (lib) due to 28 previous errors; 2 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0277, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7348d5b20bf023b16851432eee971a3eac2ac52a3db5be50c28d509642cfc4c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7348d5b20bf023b16851432eee971a3eac2ac52a3db5be50c28d509642cfc4c0", kill_on_drop: false }` [INFO] [stdout] 7348d5b20bf023b16851432eee971a3eac2ac52a3db5be50c28d509642cfc4c0