[INFO] fetching crate parity-scale-codec 2.2.0... [INFO] checking parity-scale-codec-2.2.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate parity-scale-codec 2.2.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate parity-scale-codec 2.2.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate parity-scale-codec 2.2.0 [INFO] finished tweaking crates.io crate parity-scale-codec 2.2.0 [INFO] tweaked toml for crates.io crate parity-scale-codec 2.2.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84f66b75413b3084694db11d242324a556264c7f6d776b7903bd018844e5c9d6 [INFO] running `Command { std: "docker" "start" "-a" "84f66b75413b3084694db11d242324a556264c7f6d776b7903bd018844e5c9d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84f66b75413b3084694db11d242324a556264c7f6d776b7903bd018844e5c9d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84f66b75413b3084694db11d242324a556264c7f6d776b7903bd018844e5c9d6", kill_on_drop: false }` [INFO] [stdout] 84f66b75413b3084694db11d242324a556264c7f6d776b7903bd018844e5c9d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9ed8f542cad54a81d15d53001dc7b71cc05b354602ece4e20f456f9067c1e92 [INFO] running `Command { std: "docker" "start" "-a" "a9ed8f542cad54a81d15d53001dc7b71cc05b354602ece4e20f456f9067c1e92", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling trybuild v1.0.42 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking byte-slice-cast v1.0.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking parity-scale-codec v2.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive` [INFO] [stdout] --> tests/skip.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use parity_scale_codec_derive::{Encode, Decode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive` [INFO] [stdout] --> tests/type_inference.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use parity_scale_codec_derive::Decode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive` [INFO] [stdout] --> benches/benches.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use parity_scale_codec_derive::{Encode, Decode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/type_inference.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/skip.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(PartialEq, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> benches/benches.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/type_inference.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> benches/benches.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/skip.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(PartialEq, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> benches/benches.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | #[derive(Encode, Decode, Clone)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> benches/benches.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 159 | #[derive(Encode, Decode, Clone)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/skip.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | #[codec(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/skip.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | #[codec(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/skip.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | #[codec(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/skip.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(PartialEq, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/skip.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(PartialEq, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/skip.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | #[codec(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/skip.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(PartialEq, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/skip.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(PartialEq, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/skip.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | #[codec(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/skip.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/skip.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use parity_scale_codec_derive::{Encode, Decode, CompactAs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/skip.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | #[codec(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parity-scale-codec` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive` [INFO] [stdout] --> tests/variant_number.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use parity_scale_codec_derive::Encode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/variant_number.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Encode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/variant_number.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Encode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Encode, Decode, CompactAs)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:14:53 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Encode, Decode, CompactAs)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `CompactAs` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:14:61 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Encode, Decode, CompactAs)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive` [INFO] [stdout] --> tests/chain-error.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use parity_scale_codec_derive::Decode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/chain-error.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Decode, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/chain-error.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Decode, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/chain-error.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Decode, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/chain-error.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Decode, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/single_field_struct_encoding.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | #[codec(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/single_field_struct_encoding.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | #[codec(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/single_field_struct_encoding.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | #[codec(compact)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/single_field_struct_encoding.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | #[codec(encoded_as = "::Type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Encode, Decode, CompactAs)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Encode, Decode, CompactAs)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `CompactAs` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:36:61 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Encode, Decode, CompactAs)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Encode, Decode, CompactAs)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:40:53 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Encode, Decode, CompactAs)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `CompactAs` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:40:61 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Encode, Decode, CompactAs)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Encode, Decode, CompactAs)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:44:53 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Encode, Decode, CompactAs)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `CompactAs` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:44:61 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Encode, Decode, CompactAs)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/single_field_struct_encoding.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | struct USkip(#[codec(skip)] u32, u32, #[codec(skip)] u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/single_field_struct_encoding.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | struct USkip(#[codec(skip)] u32, u32, #[codec(skip)] u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/single_field_struct_encoding.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | struct Uc(#[codec(compact)] u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, PartialEq, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, PartialEq, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/single_field_struct_encoding.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | struct Ucas(#[codec(compact)] U); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, PartialEq, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, PartialEq, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/single_field_struct_encoding.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | struct USkipcas(#[codec(compact)] USkip); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, PartialEq, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, PartialEq, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/single_field_struct_encoding.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | struct SSkipcas(#[codec(compact)] SSkip); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:59:36 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/single_field_struct_encoding.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | struct Uh(#[codec(encoded_as = "::Type")] T); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/variant_number.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | #[codec(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive` [INFO] [stdout] --> tests/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use parity_scale_codec_derive::{Encode, Decode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/variant_number.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Encode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/variant_number.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | #[codec(index = 1)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | #[codec(index = 15)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | #[codec(encoded_as = "::Type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | #[codec(compact)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | Unnamed(#[codec(encoded_as = "::Type")] T), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | #[codec(encoded_as = "::Type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | UnnamedCompact(#[codec(compact)] T), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | #[codec(compact)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:94:36 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | #[codec(compact)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:100:36 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | Unnamed(#[codec(compact)] u64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | #[codec(compact)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:312:11 [INFO] [stdout] | [INFO] [stdout] 312 | #[derive(Encode, Decode, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:312:19 [INFO] [stdout] | [INFO] [stdout] 312 | #[derive(Encode, Decode, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:354:29 [INFO] [stdout] | [INFO] [stdout] 354 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:354:37 [INFO] [stdout] | [INFO] [stdout] 354 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | #[codec(encoded_as = "u32")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:392:29 [INFO] [stdout] | [INFO] [stdout] 392 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:392:37 [INFO] [stdout] | [INFO] [stdout] 392 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:395:6 [INFO] [stdout] | [INFO] [stdout] 395 | #[codec(compact)] a: T [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:414:29 [INFO] [stdout] | [INFO] [stdout] 414 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:414:37 [INFO] [stdout] | [INFO] [stdout] 414 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:421:29 [INFO] [stdout] | [INFO] [stdout] 421 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:421:37 [INFO] [stdout] | [INFO] [stdout] 421 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:435:29 [INFO] [stdout] | [INFO] [stdout] 435 | #[derive(Debug, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:435:37 [INFO] [stdout] | [INFO] [stdout] 435 | #[derive(Debug, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | #[derive(Debug, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:447:37 [INFO] [stdout] | [INFO] [stdout] 447 | #[derive(Debug, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:463:29 [INFO] [stdout] | [INFO] [stdout] 463 | #[derive(Debug, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:463:37 [INFO] [stdout] | [INFO] [stdout] 463 | #[derive(Debug, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:466:29 [INFO] [stdout] | [INFO] [stdout] 466 | #[derive(Debug, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:466:37 [INFO] [stdout] | [INFO] [stdout] 466 | #[derive(Debug, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:467:4 [INFO] [stdout] | [INFO] [stdout] 467 | #[codec(dumb_trait_bound)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:478:11 [INFO] [stdout] | [INFO] [stdout] 478 | #[derive(Encode, Decode, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:478:19 [INFO] [stdout] | [INFO] [stdout] 478 | #[derive(Encode, Decode, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:505:11 [INFO] [stdout] | [INFO] [stdout] 505 | #[derive(Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:505:19 [INFO] [stdout] | [INFO] [stdout] 505 | #[derive(Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:511:11 [INFO] [stdout] | [INFO] [stdout] 511 | #[derive(Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:511:19 [INFO] [stdout] | [INFO] [stdout] 511 | #[derive(Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:554:24 [INFO] [stdout] | [INFO] [stdout] 554 | make_struct!(#[derive(Encode, Decode)]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:554:32 [INFO] [stdout] | [INFO] [stdout] 554 | make_struct!(#[derive(Encode, Decode)]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:564:11 [INFO] [stdout] | [INFO] [stdout] 564 | #[derive(Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:564:19 [INFO] [stdout] | [INFO] [stdout] 564 | #[derive(Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:565:4 [INFO] [stdout] | [INFO] [stdout] 565 | #[codec(encode_bound(N: Encode, T: Default))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:566:4 [INFO] [stdout] | [INFO] [stdout] 566 | #[codec(decode_bound(N: Decode, T: Default))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Encode` [INFO] [stdout] --> tests/mod.rs:572:11 [INFO] [stdout] | [INFO] [stdout] 572 | #[derive(Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Decode` [INFO] [stdout] --> tests/mod.rs:572:19 [INFO] [stdout] | [INFO] [stdout] 572 | #[derive(Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:573:4 [INFO] [stdout] | [INFO] [stdout] 573 | #[codec(encode_bound())] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/mod.rs:574:4 [INFO] [stdout] | [INFO] [stdout] 574 | #[codec(decode_bound())] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> benches/benches.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | let mut events = Vec::::decode(&mut &encoded_events_vec[..]) [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<&Vec as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Vec: parity_scale_codec::Decode` [INFO] [stdout] `&Vec: WrapperTypeDecode` [INFO] [stdout] which is required by `&Vec: parity_scale_codec::Decode` [INFO] [stdout] `<&mut Vec as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Vec: parity_scale_codec::Decode` [INFO] [stdout] `&mut Vec: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Vec: parity_scale_codec::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for enum `discriminant_variant_counted_in_default_index::T`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/variant_number.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 8 | enum T { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `_: Encode` [INFO] [stdout] | doesn't satisfy `_: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 13 | assert_eq!(T::A.encode(), vec![1]); [INFO] [stdout] | ^^^^^^ method cannot be called on `discriminant_variant_counted_in_default_index::T` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `discriminant_variant_counted_in_default_index::T: Encode` [INFO] [stdout] `discriminant_variant_counted_in_default_index::T: WrapperTypeEncode` [INFO] [stdout] which is required by `discriminant_variant_counted_in_default_index::T: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for enum `enum_struct_test::Enum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 14 | enum Enum { [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `enum_struct_test::Enum: Encode` [INFO] [stdout] | doesn't satisfy `enum_struct_test::Enum: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 49 | assert_eq!(ea.encode(), Vec::new()); [INFO] [stdout] | ^^^^^^ method cannot be called on `enum_struct_test::Enum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `enum_struct_test::Enum: Encode` [INFO] [stdout] `enum_struct_test::Enum: WrapperTypeEncode` [INFO] [stdout] which is required by `enum_struct_test::Enum: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `Vec` in the current scope [INFO] [stdout] --> benches/benches.rs:104:31 [INFO] [stdout] | [INFO] [stdout] 104 | encoded_events_vec = events.encode(); [INFO] [stdout] | ^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for enum `enum_struct_test::Enum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 14 | enum Enum { [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `enum_struct_test::Enum: Encode` [INFO] [stdout] | doesn't satisfy `enum_struct_test::Enum: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 51 | let mut eb_encoded: &[u8] = &eb.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `enum_struct_test::Enum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `enum_struct_test::Enum: Encode` [INFO] [stdout] `enum_struct_test::Enum: WrapperTypeEncode` [INFO] [stdout] which is required by `enum_struct_test::Enum: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for enum `discriminant_variant_counted_in_default_index::T`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/variant_number.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 8 | enum T { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `_: Encode` [INFO] [stdout] | doesn't satisfy `_: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 14 | assert_eq!(T::B.encode(), vec![1]); [INFO] [stdout] | ^^^^^^ method cannot be called on `discriminant_variant_counted_in_default_index::T` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `discriminant_variant_counted_in_default_index::T: Encode` [INFO] [stdout] `discriminant_variant_counted_in_default_index::T: WrapperTypeEncode` [INFO] [stdout] which is required by `discriminant_variant_counted_in_default_index::T: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for enum `enum_struct_test::Enum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 14 | enum Enum { [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `enum_struct_test::Enum: Encode` [INFO] [stdout] | doesn't satisfy `enum_struct_test::Enum: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 52 | let mut ec_encoded: &[u8] = &ec.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `enum_struct_test::Enum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `enum_struct_test::Enum: Encode` [INFO] [stdout] `enum_struct_test::Enum: WrapperTypeEncode` [INFO] [stdout] which is required by `enum_struct_test::Enum: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for enum `skipped_variant_not_counted_in_default_index::T`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/variant_number.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 20 | enum T { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `_: Encode` [INFO] [stdout] | doesn't satisfy `_: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(T::A.encode(), vec![]); [INFO] [stdout] | ^^^^^^ method cannot be called on `skipped_variant_not_counted_in_default_index::T` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `skipped_variant_not_counted_in_default_index::T: Encode` [INFO] [stdout] `skipped_variant_not_counted_in_default_index::T: WrapperTypeEncode` [INFO] [stdout] which is required by `skipped_variant_not_counted_in_default_index::T: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `StructNamed`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 30 | struct StructNamed { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `StructNamed: Encode` [INFO] [stdout] | doesn't satisfy `StructNamed: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 53 | let mut sn_encoded: &[u8] = &sn.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `StructNamed` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `StructNamed: Encode` [INFO] [stdout] `StructNamed: WrapperTypeEncode` [INFO] [stdout] which is required by `StructNamed: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for enum `skipped_variant_not_counted_in_default_index::T`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/variant_number.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 20 | enum T { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `_: Encode` [INFO] [stdout] | doesn't satisfy `_: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(T::B.encode(), vec![0]); [INFO] [stdout] | ^^^^^^ method cannot be called on `skipped_variant_not_counted_in_default_index::T` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `skipped_variant_not_counted_in_default_index::T: Encode` [INFO] [stdout] `skipped_variant_not_counted_in_default_index::T: WrapperTypeEncode` [INFO] [stdout] which is required by `skipped_variant_not_counted_in_default_index::T: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Event: WrapperTypeEncode` is not satisfied [INFO] [stdout] --> benches/benches.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | encoded_events_vec = as EncodeAppend>::append_or_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Event` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `parity_scale_codec::Encode` for `Event` [INFO] [stdout] = note: required because of the requirements on the impl of `parity_scale_codec::EncodeAppend` for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `StructUnnamed`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 37 | / struct StructUnnamed( [INFO] [stdout] 38 | | #[codec(skip)] [INFO] [stdout] 39 | | T, [INFO] [stdout] 40 | | u32, [INFO] [stdout] 41 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | method `encode` not found for this [INFO] [stdout] | | doesn't satisfy `::Target = _` [INFO] [stdout] | |______doesn't satisfy `StructUnnamed: Encode` [INFO] [stdout] | doesn't satisfy `StructUnnamed: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 54 | let mut su_encoded: &[u8] = &su.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `StructUnnamed` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `StructUnnamed: Encode` [INFO] [stdout] `StructUnnamed: WrapperTypeEncode` [INFO] [stdout] which is required by `StructUnnamed: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for enum `index_attr_variant_counted_and_reused_in_default_index::T`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/variant_number.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 33 | enum T { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `_: Encode` [INFO] [stdout] | doesn't satisfy `_: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 39 | assert_eq!(T::A.encode(), vec![1]); [INFO] [stdout] | ^^^^^^ method cannot be called on `index_attr_variant_counted_and_reused_in_default_index::T` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `index_attr_variant_counted_and_reused_in_default_index::T: Encode` [INFO] [stdout] `index_attr_variant_counted_and_reused_in_default_index::T: WrapperTypeEncode` [INFO] [stdout] which is required by `index_attr_variant_counted_and_reused_in_default_index::T: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `enum_struct_test::Enum<_, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 14 | enum Enum { [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] | doesn't satisfy `enum_struct_test::Enum<_, _>: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 56 | assert_eq!(Enum::decode(&mut eb_encoded).unwrap(), eb); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `enum_struct_test::Enum<_, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `enum_struct_test::Enum<_, _>: WrapperTypeDecode` [INFO] [stdout] which is required by `enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `<&enum_struct_test::Enum<_, _> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `&enum_struct_test::Enum<_, _>: WrapperTypeDecode` [INFO] [stdout] which is required by `&enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `<&mut enum_struct_test::Enum<_, _> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `&mut enum_struct_test::Enum<_, _>: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for enum `index_attr_variant_counted_and_reused_in_default_index::T`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/variant_number.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 33 | enum T { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `_: Encode` [INFO] [stdout] | doesn't satisfy `_: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 40 | assert_eq!(T::B.encode(), vec![1]); [INFO] [stdout] | ^^^^^^ method cannot be called on `index_attr_variant_counted_and_reused_in_default_index::T` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `index_attr_variant_counted_and_reused_in_default_index::T: Encode` [INFO] [stdout] `index_attr_variant_counted_and_reused_in_default_index::T: WrapperTypeEncode` [INFO] [stdout] which is required by `index_attr_variant_counted_and_reused_in_default_index::T: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `enum_struct_test::Enum<_, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 14 | enum Enum { [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] | doesn't satisfy `enum_struct_test::Enum<_, _>: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 57 | assert_eq!(Enum::decode(&mut ec_encoded).unwrap(), ec); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `enum_struct_test::Enum<_, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `enum_struct_test::Enum<_, _>: WrapperTypeDecode` [INFO] [stdout] which is required by `enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `<&enum_struct_test::Enum<_, _> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `&enum_struct_test::Enum<_, _>: WrapperTypeDecode` [INFO] [stdout] which is required by `&enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `<&mut enum_struct_test::Enum<_, _> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `&mut enum_struct_test::Enum<_, _>: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parity_scale_codec::Encode` [INFO] [stdout] --> tests/variant_number.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parity_scale_codec::Encode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Event: WrapperTypeEncode` is not satisfied [INFO] [stdout] --> benches/benches.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | &[Event::ComplexEvent(data.to_vec(), 4, 5, 6, 9)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Event` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/encode_append.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | I::IntoIter: ExactSizeIterator; [INFO] [stdout] | ----------------- required by this bound in `append_or_new` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `parity_scale_codec::Encode` for `Event` [INFO] [stdout] = note: required because of the requirements on the impl of `EncodeLike` for `&Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `StructNamed<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 30 | struct StructNamed { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `StructNamed<_>: Decode` [INFO] [stdout] | doesn't satisfy `StructNamed<_>: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 58 | assert_eq!(StructNamed::decode(&mut sn_encoded).unwrap(), sn); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `StructNamed<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `StructNamed<_>: Decode` [INFO] [stdout] `StructNamed<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `StructNamed<_>: Decode` [INFO] [stdout] `<&StructNamed<_> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&StructNamed<_>: Decode` [INFO] [stdout] `&StructNamed<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `&StructNamed<_>: Decode` [INFO] [stdout] `<&mut StructNamed<_> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut StructNamed<_>: Decode` [INFO] [stdout] `&mut StructNamed<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut StructNamed<_>: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench_function_over_inputs`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/benches.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | c.bench_function_over_inputs(&format!("vec_encode_{}", type_name::()), |b, &vec_size| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `StructUnnamed<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 37 | / struct StructUnnamed( [INFO] [stdout] 38 | | #[codec(skip)] [INFO] [stdout] 39 | | T, [INFO] [stdout] 40 | | u32, [INFO] [stdout] 41 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | function or associated item `decode` not found for this [INFO] [stdout] | | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | |______doesn't satisfy `StructUnnamed<_>: Decode` [INFO] [stdout] | doesn't satisfy `StructUnnamed<_>: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 59 | assert_eq!(StructUnnamed::decode(&mut su_encoded).unwrap(), su); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `StructUnnamed<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `StructUnnamed<_>: Decode` [INFO] [stdout] `StructUnnamed<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `StructUnnamed<_>: Decode` [INFO] [stdout] `<&StructUnnamed<_> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&StructUnnamed<_>: Decode` [INFO] [stdout] `&StructUnnamed<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `&StructUnnamed<_>: Decode` [INFO] [stdout] `<&mut StructUnnamed<_> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut StructUnnamed<_>: Decode` [INFO] [stdout] `&mut StructUnnamed<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut StructUnnamed<_>: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for enum `skip_enum_struct_inner_variant::Enum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:76:62 [INFO] [stdout] | [INFO] [stdout] 68 | enum Enum { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `_: WrapperTypeEncode` [INFO] [stdout] | doesn't satisfy `skip_enum_struct_inner_variant::Enum: Encode` [INFO] [stdout] ... [INFO] [stdout] 76 | let encoded = Enum::Data { some_named: 1, ignore: Some(1) }.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `skip_enum_struct_inner_variant::Enum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `skip_enum_struct_inner_variant::Enum: Encode` [INFO] [stdout] `skip_enum_struct_inner_variant::Enum: WrapperTypeEncode` [INFO] [stdout] which is required by `skip_enum_struct_inner_variant::Enum: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench_function_over_inputs`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/benches.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | c.bench_function_over_inputs(&format!("vec_decode_{}", type_name::()), |b, &vec_size| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Encode` [INFO] [stdout] --> tests/skip.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use parity_scale_codec::{Encode, Decode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench_function_over_inputs`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/benches.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | c.bench_function_over_inputs(&format!("vec_decode_no_limit_{}", type_name::()), |b, &vec_size| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decode` [INFO] [stdout] --> tests/skip.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use parity_scale_codec::{Encode, Decode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench_function_over_inputs`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/benches.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | c.bench_function_over_inputs("vec_encode_complex_type", move |b, &vec_size| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Wrapper`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/chain-error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 20 | struct Wrapper(T); [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `Wrapper: Decode` [INFO] [stdout] | doesn't satisfy `Wrapper: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 45 | Wrapper::::decode(&mut &encoded[..]).unwrap_err().to_string(), [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Wrapper` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `Wrapper: Decode` [INFO] [stdout] `Wrapper: WrapperTypeDecode` [INFO] [stdout] which is required by `Wrapper: Decode` [INFO] [stdout] `<&Wrapper as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Wrapper: Decode` [INFO] [stdout] `&Wrapper: WrapperTypeDecode` [INFO] [stdout] which is required by `&Wrapper: Decode` [INFO] [stdout] `<&mut Wrapper as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Wrapper: Decode` [INFO] [stdout] `&mut Wrapper: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Wrapper: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `Vec` in the current scope [INFO] [stdout] --> benches/benches.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | b.iter(|| vec.encode()) [INFO] [stdout] | ^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench_function_over_inputs`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/benches.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | c.bench_function_over_inputs("vec_decode_complex_type", move |b, &vec_size| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Wrapper`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/chain-error.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 20 | struct Wrapper(T); [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `Wrapper: Decode` [INFO] [stdout] | doesn't satisfy `Wrapper: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 59 | Wrapper::::decode(&mut &encoded[..]).unwrap_err().to_string(), [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Wrapper` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `Wrapper: Decode` [INFO] [stdout] `Wrapper: WrapperTypeDecode` [INFO] [stdout] which is required by `Wrapper: Decode` [INFO] [stdout] `<&Wrapper as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Wrapper: Decode` [INFO] [stdout] `&Wrapper: WrapperTypeDecode` [INFO] [stdout] which is required by `&Wrapper: Decode` [INFO] [stdout] `<&mut Wrapper as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Wrapper: Decode` [INFO] [stdout] `&mut Wrapper: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Wrapper: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `E`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/chain-error.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 31 | enum E { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `E: Decode` [INFO] [stdout] | doesn't satisfy `E: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 70 | E::decode(&mut &encoded[..]).unwrap_err().to_string(), [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `E` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `E: Decode` [INFO] [stdout] `E: WrapperTypeDecode` [INFO] [stdout] which is required by `E: Decode` [INFO] [stdout] `<&E as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&E: Decode` [INFO] [stdout] `&E: WrapperTypeDecode` [INFO] [stdout] which is required by `&E: Decode` [INFO] [stdout] `<&mut E as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut E: Decode` [INFO] [stdout] `&mut E: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut E: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `E`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/chain-error.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 31 | enum E { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `E: Decode` [INFO] [stdout] | doesn't satisfy `E: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 83 | E::decode(&mut &encoded[..]).unwrap_err().to_string(), [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `E` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `E: Decode` [INFO] [stdout] `E: WrapperTypeDecode` [INFO] [stdout] which is required by `E: Decode` [INFO] [stdout] `<&E as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&E: Decode` [INFO] [stdout] `&E: WrapperTypeDecode` [INFO] [stdout] which is required by `&E: Decode` [INFO] [stdout] `<&mut E as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut E: Decode` [INFO] [stdout] `&mut E: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut E: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `E`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/chain-error.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 31 | enum E { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `E: Decode` [INFO] [stdout] | doesn't satisfy `E: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 96 | E::decode(&mut &encoded[..]).unwrap_err().to_string(), [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `E` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `E: Decode` [INFO] [stdout] `E: WrapperTypeDecode` [INFO] [stdout] which is required by `E: Decode` [INFO] [stdout] `<&E as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&E: Decode` [INFO] [stdout] `&E: WrapperTypeDecode` [INFO] [stdout] which is required by `&E: Decode` [INFO] [stdout] `<&mut E as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut E: Decode` [INFO] [stdout] `&mut E: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut E: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parity_scale_codec::Decode` [INFO] [stdout] --> tests/chain-error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use parity_scale_codec::Decode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `Vec` in the current scope [INFO] [stdout] --> benches/benches.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let vec = vec.encode(); [INFO] [stdout] | ^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> benches/benches.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | let _: Vec = Decode::decode(&mut &vec[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `parity_scale_codec::Decode` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/codec.rs:284:18 [INFO] [stdout] | [INFO] [stdout] 284 | fn decode(input: &mut I) -> Result; [INFO] [stdout] | ----- required by this bound in `decode` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as parity_scale_codec::Decode> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 9 | struct S { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `S: Encode` [INFO] [stdout] | doesn't satisfy `S: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 91 | assert_eq!(s.encode(), s_encoded); [INFO] [stdout] | ^^^^^^ method cannot be called on `S` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `S: Encode` [INFO] [stdout] `S: WrapperTypeEncode` [INFO] [stdout] which is required by `S: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `SSkip`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 15 | struct SSkip { [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `SSkip: Encode` [INFO] [stdout] | doesn't satisfy `SSkip: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 92 | assert_eq!(s_skip.encode(), s_skip_encoded); [INFO] [stdout] | ^^^^^^ method cannot be called on `SSkip` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `SSkip: Encode` [INFO] [stdout] `SSkip: WrapperTypeEncode` [INFO] [stdout] which is required by `SSkip: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `Sc`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 24 | struct Sc { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `Sc: Encode` [INFO] [stdout] | doesn't satisfy `Sc: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 93 | assert_eq!(sc.encode(), sc_encoded); [INFO] [stdout] | ^^^^^^ method cannot be called on `Sc` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `Sc: Encode` [INFO] [stdout] `Sc: WrapperTypeEncode` [INFO] [stdout] which is required by `Sc: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `Sh`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 30 | struct Sh { [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy ` as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `Sh: Encode` [INFO] [stdout] | doesn't satisfy `Sh: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 94 | assert_eq!(sh.encode(), sh_encoded); [INFO] [stdout] | ^^^^^^ method cannot be called on `Sh` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Deref>::Target = _` [INFO] [stdout] which is required by `Sh: Encode` [INFO] [stdout] `Sh: WrapperTypeEncode` [INFO] [stdout] which is required by `Sh: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `U`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 37 | struct U(u32); [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `U: Encode` [INFO] [stdout] | doesn't satisfy `U: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 95 | assert_eq!(u.encode(), u_encoded); [INFO] [stdout] | ^^^^^^ method cannot be called on `U` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `U: Encode` [INFO] [stdout] `U: WrapperTypeEncode` [INFO] [stdout] which is required by `U: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `USkip`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 45 | struct USkip(#[codec(skip)] u32, u32, #[codec(skip)] u32); [INFO] [stdout] | ---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `USkip: Encode` [INFO] [stdout] | doesn't satisfy `USkip: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 96 | assert_eq!(u_skip.encode(), u_skip_encoded); [INFO] [stdout] | ^^^^^^ method cannot be called on `USkip` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `USkip: Encode` [INFO] [stdout] `USkip: WrapperTypeEncode` [INFO] [stdout] which is required by `USkip: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `Uc`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 48 | struct Uc(#[codec(compact)] u32); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `Uc: Encode` [INFO] [stdout] | doesn't satisfy `Uc: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 97 | assert_eq!(uc.encode(), uc_encoded); [INFO] [stdout] | ^^^^^^ method cannot be called on `Uc` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `Uc: Encode` [INFO] [stdout] `Uc: WrapperTypeEncode` [INFO] [stdout] which is required by `Uc: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `Compact` in the current scope [INFO] [stdout] --> tests/single_field_struct_encoding.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(ucom.encode(), ucom_encoded); [INFO] [stdout] | ^^^^^^ method not found in `Compact` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `Ucas`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 51 | struct Ucas(#[codec(compact)] U); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `Ucas: Encode` [INFO] [stdout] | doesn't satisfy `Ucas: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 99 | assert_eq!(ucas.encode(), ucas_encoded); [INFO] [stdout] | ^^^^^^ method cannot be called on `Ucas` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `Ucas: Encode` [INFO] [stdout] `Ucas: WrapperTypeEncode` [INFO] [stdout] which is required by `Ucas: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `USkipcas`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 54 | struct USkipcas(#[codec(compact)] USkip); [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `USkipcas: Encode` [INFO] [stdout] | doesn't satisfy `USkipcas: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 100 | assert_eq!(u_skip_cas.encode(), u_skip_cas_encoded); [INFO] [stdout] | ^^^^^^ method cannot be called on `USkipcas` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `USkipcas: Encode` [INFO] [stdout] `USkipcas: WrapperTypeEncode` [INFO] [stdout] which is required by `USkipcas: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `SSkipcas`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 57 | struct SSkipcas(#[codec(compact)] SSkip); [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `SSkipcas: Encode` [INFO] [stdout] | doesn't satisfy `SSkipcas: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 101 | assert_eq!(s_skip_cas.encode(), s_skip_cas_encoded); [INFO] [stdout] | ^^^^^^ method cannot be called on `SSkipcas` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `SSkipcas: Encode` [INFO] [stdout] `SSkipcas: WrapperTypeEncode` [INFO] [stdout] which is required by `SSkipcas: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `Uh`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 60 | struct Uh(#[codec(encoded_as = "::Type")] T); [INFO] [stdout] | ----------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy ` as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `Uh: Encode` [INFO] [stdout] | doesn't satisfy `Uh: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 102 | assert_eq!(uh.encode(), uh_encoded); [INFO] [stdout] | ^^^^^^ method cannot be called on `Uh` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Deref>::Target = _` [INFO] [stdout] which is required by `Uh: Encode` [INFO] [stdout] `Uh: WrapperTypeEncode` [INFO] [stdout] which is required by `Uh: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 9 | struct S { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `S: Decode` [INFO] [stdout] | doesn't satisfy `S: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 104 | assert_eq!(s, S::decode(&mut s_encoded).unwrap()); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `S` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `S: Decode` [INFO] [stdout] `S: WrapperTypeDecode` [INFO] [stdout] which is required by `S: Decode` [INFO] [stdout] `<&S as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&S: Decode` [INFO] [stdout] `&S: WrapperTypeDecode` [INFO] [stdout] which is required by `&S: Decode` [INFO] [stdout] `<&mut S as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut S: Decode` [INFO] [stdout] `&mut S: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut S: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `SSkip`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 15 | struct SSkip { [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `SSkip: Decode` [INFO] [stdout] | doesn't satisfy `SSkip: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 105 | assert_eq!(s_skip, SSkip::decode(&mut s_skip_encoded).unwrap()); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `SSkip` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `SSkip: Decode` [INFO] [stdout] `SSkip: WrapperTypeDecode` [INFO] [stdout] which is required by `SSkip: Decode` [INFO] [stdout] `<&SSkip as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&SSkip: Decode` [INFO] [stdout] `&SSkip: WrapperTypeDecode` [INFO] [stdout] which is required by `&SSkip: Decode` [INFO] [stdout] `<&mut SSkip as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut SSkip: Decode` [INFO] [stdout] `&mut SSkip: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut SSkip: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Sc`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 24 | struct Sc { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `Sc: Decode` [INFO] [stdout] | doesn't satisfy `Sc: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 106 | assert_eq!(sc, Sc::decode(&mut sc_encoded).unwrap()); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Sc` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `Sc: Decode` [INFO] [stdout] `Sc: WrapperTypeDecode` [INFO] [stdout] which is required by `Sc: Decode` [INFO] [stdout] `<&Sc as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Sc: Decode` [INFO] [stdout] `&Sc: WrapperTypeDecode` [INFO] [stdout] which is required by `&Sc: Decode` [INFO] [stdout] `<&mut Sc as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Sc: Decode` [INFO] [stdout] `&mut Sc: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Sc: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Sh<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 30 | struct Sh { [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `Sh<_>: Decode` [INFO] [stdout] | doesn't satisfy `Sh<_>: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 107 | assert_eq!(sh, Sh::decode(&mut sh_encoded).unwrap()); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Sh<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `Sh<_>: Decode` [INFO] [stdout] `Sh<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `Sh<_>: Decode` [INFO] [stdout] `<&Sh<_> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Sh<_>: Decode` [INFO] [stdout] `&Sh<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `&Sh<_>: Decode` [INFO] [stdout] `<&mut Sh<_> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Sh<_>: Decode` [INFO] [stdout] `&mut Sh<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Sh<_>: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `U`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 37 | struct U(u32); [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `U: Decode` [INFO] [stdout] | doesn't satisfy `U: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 108 | assert_eq!(u, U::decode(&mut u_encoded).unwrap()); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `U` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `U: Decode` [INFO] [stdout] `U: WrapperTypeDecode` [INFO] [stdout] which is required by `U: Decode` [INFO] [stdout] `<&U as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&U: Decode` [INFO] [stdout] `&U: WrapperTypeDecode` [INFO] [stdout] which is required by `&U: Decode` [INFO] [stdout] `<&mut U as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut U: Decode` [INFO] [stdout] `&mut U: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut U: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `USkip`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 45 | struct USkip(#[codec(skip)] u32, u32, #[codec(skip)] u32); [INFO] [stdout] | ---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `USkip: Decode` [INFO] [stdout] | doesn't satisfy `USkip: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 109 | assert_eq!(u_skip, USkip::decode(&mut u_skip_encoded).unwrap()); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `USkip` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `USkip: Decode` [INFO] [stdout] `USkip: WrapperTypeDecode` [INFO] [stdout] which is required by `USkip: Decode` [INFO] [stdout] `<&USkip as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&USkip: Decode` [INFO] [stdout] `&USkip: WrapperTypeDecode` [INFO] [stdout] which is required by `&USkip: Decode` [INFO] [stdout] `<&mut USkip as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut USkip: Decode` [INFO] [stdout] `&mut USkip: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut USkip: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Uc`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 48 | struct Uc(#[codec(compact)] u32); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `Uc: Decode` [INFO] [stdout] | doesn't satisfy `Uc: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 110 | assert_eq!(uc, Uc::decode(&mut uc_encoded).unwrap()); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Uc` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `Uc: Decode` [INFO] [stdout] `Uc: WrapperTypeDecode` [INFO] [stdout] which is required by `Uc: Decode` [INFO] [stdout] `<&Uc as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Uc: Decode` [INFO] [stdout] `&Uc: WrapperTypeDecode` [INFO] [stdout] which is required by `&Uc: Decode` [INFO] [stdout] `<&mut Uc as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Uc: Decode` [INFO] [stdout] `&mut Uc: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Uc: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Compact`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(ucom, >::decode(&mut ucom_encoded).unwrap()); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Compact` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<&Compact as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Compact: Decode` [INFO] [stdout] `&Compact: WrapperTypeDecode` [INFO] [stdout] which is required by `&Compact: Decode` [INFO] [stdout] `<&mut Compact as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Compact: Decode` [INFO] [stdout] `&mut Compact: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Compact: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Ucas`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 51 | struct Ucas(#[codec(compact)] U); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `Ucas: Decode` [INFO] [stdout] | doesn't satisfy `Ucas: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 112 | assert_eq!(ucas, Ucas::decode(&mut ucas_encoded).unwrap()); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Ucas` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `Ucas: Decode` [INFO] [stdout] `Ucas: WrapperTypeDecode` [INFO] [stdout] which is required by `Ucas: Decode` [INFO] [stdout] `<&Ucas as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Ucas: Decode` [INFO] [stdout] `&Ucas: WrapperTypeDecode` [INFO] [stdout] which is required by `&Ucas: Decode` [INFO] [stdout] `<&mut Ucas as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Ucas: Decode` [INFO] [stdout] `&mut Ucas: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Ucas: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `USkipcas`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:113:35 [INFO] [stdout] | [INFO] [stdout] 54 | struct USkipcas(#[codec(compact)] USkip); [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `USkipcas: Decode` [INFO] [stdout] | doesn't satisfy `USkipcas: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 113 | assert_eq!(u_skip_cas, USkipcas::decode(&mut u_skip_cas_encoded).unwrap()); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `USkipcas` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `USkipcas: Decode` [INFO] [stdout] `USkipcas: WrapperTypeDecode` [INFO] [stdout] which is required by `USkipcas: Decode` [INFO] [stdout] `<&USkipcas as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&USkipcas: Decode` [INFO] [stdout] `&USkipcas: WrapperTypeDecode` [INFO] [stdout] which is required by `&USkipcas: Decode` [INFO] [stdout] `<&mut USkipcas as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut USkipcas: Decode` [INFO] [stdout] `&mut USkipcas: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut USkipcas: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `SSkipcas`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 57 | struct SSkipcas(#[codec(compact)] SSkip); [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `SSkipcas: Decode` [INFO] [stdout] | doesn't satisfy `SSkipcas: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 114 | assert_eq!(s_skip_cas, SSkipcas::decode(&mut s_skip_cas_encoded).unwrap()); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `SSkipcas` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `SSkipcas: Decode` [INFO] [stdout] `SSkipcas: WrapperTypeDecode` [INFO] [stdout] which is required by `SSkipcas: Decode` [INFO] [stdout] `<&SSkipcas as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&SSkipcas: Decode` [INFO] [stdout] `&SSkipcas: WrapperTypeDecode` [INFO] [stdout] which is required by `&SSkipcas: Decode` [INFO] [stdout] `<&mut SSkipcas as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut SSkipcas: Decode` [INFO] [stdout] `&mut SSkipcas: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut SSkipcas: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Uh<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/single_field_struct_encoding.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 60 | struct Uh(#[codec(encoded_as = "::Type")] T); [INFO] [stdout] | ----------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `Uh<_>: Decode` [INFO] [stdout] | doesn't satisfy `Uh<_>: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 115 | assert_eq!(uh, Uh::decode(&mut uh_encoded).unwrap()); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Uh<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `Uh<_>: Decode` [INFO] [stdout] `Uh<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `Uh<_>: Decode` [INFO] [stdout] `<&Uh<_> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Uh<_>: Decode` [INFO] [stdout] `&Uh<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `&Uh<_>: Decode` [INFO] [stdout] `<&mut Uh<_> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Uh<_>: Decode` [INFO] [stdout] `&mut Uh<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Uh<_>: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use parity_scale_codec::{Compact, Decode, Encode, HasCompact}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Encode` [INFO] [stdout] --> tests/single_field_struct_encoding.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use parity_scale_codec::{Compact, Decode, Encode, HasCompact}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 64 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `using_encoded` exists for enum `EnumType`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 51 | enum EnumType { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | method `using_encoded` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `EnumType: Encode` [INFO] [stdout] | doesn't satisfy `EnumType: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 115 | a.using_encoded(|ref slice| { [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called on `EnumType` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `EnumType: Encode` [INFO] [stdout] `EnumType: WrapperTypeEncode` [INFO] [stdout] which is required by `EnumType: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `using_encoded` exists for enum `EnumType`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 51 | enum EnumType { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | method `using_encoded` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `EnumType: Encode` [INFO] [stdout] | doesn't satisfy `EnumType: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 118 | b.using_encoded(|ref slice| { [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called on `EnumType` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `EnumType: Encode` [INFO] [stdout] `EnumType: WrapperTypeEncode` [INFO] [stdout] which is required by `EnumType: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `using_encoded` exists for enum `EnumType`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 51 | enum EnumType { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | method `using_encoded` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `EnumType: Encode` [INFO] [stdout] | doesn't satisfy `EnumType: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 121 | c.using_encoded(|ref slice| { [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called on `EnumType` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `EnumType: Encode` [INFO] [stdout] `EnumType: WrapperTypeEncode` [INFO] [stdout] which is required by `EnumType: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `EnumType`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 51 | enum EnumType { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `EnumType: Decode` [INFO] [stdout] | doesn't satisfy `EnumType: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 126 | assert_eq!(EnumType::decode(&mut da).ok(), Some(a)); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `EnumType` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `EnumType: Decode` [INFO] [stdout] `EnumType: WrapperTypeDecode` [INFO] [stdout] which is required by `EnumType: Decode` [INFO] [stdout] `<&EnumType as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&EnumType: Decode` [INFO] [stdout] `&EnumType: WrapperTypeDecode` [INFO] [stdout] which is required by `&EnumType: Decode` [INFO] [stdout] `<&mut EnumType as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut EnumType: Decode` [INFO] [stdout] `&mut EnumType: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut EnumType: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `EnumType`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 51 | enum EnumType { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `EnumType: Decode` [INFO] [stdout] | doesn't satisfy `EnumType: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 128 | assert_eq!(EnumType::decode(&mut db).ok(), Some(b)); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `EnumType` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `EnumType: Decode` [INFO] [stdout] `EnumType: WrapperTypeDecode` [INFO] [stdout] which is required by `EnumType: Decode` [INFO] [stdout] `<&EnumType as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&EnumType: Decode` [INFO] [stdout] `&EnumType: WrapperTypeDecode` [INFO] [stdout] which is required by `&EnumType: Decode` [INFO] [stdout] `<&mut EnumType as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut EnumType: Decode` [INFO] [stdout] `&mut EnumType: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut EnumType: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `EnumType`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 51 | enum EnumType { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `EnumType: Decode` [INFO] [stdout] | doesn't satisfy `EnumType: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 130 | assert_eq!(EnumType::decode(&mut dc).ok(), Some(c)); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `EnumType` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `EnumType: Decode` [INFO] [stdout] `EnumType: WrapperTypeDecode` [INFO] [stdout] which is required by `EnumType: Decode` [INFO] [stdout] `<&EnumType as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&EnumType: Decode` [INFO] [stdout] `&EnumType: WrapperTypeDecode` [INFO] [stdout] which is required by `&EnumType: Decode` [INFO] [stdout] `<&mut EnumType as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut EnumType: Decode` [INFO] [stdout] `&mut EnumType: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut EnumType: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `EnumType`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 51 | enum EnumType { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `EnumType: Decode` [INFO] [stdout] | doesn't satisfy `EnumType: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 132 | assert_eq!(EnumType::decode(&mut dz).ok(), None); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `EnumType` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `EnumType: Decode` [INFO] [stdout] `EnumType: WrapperTypeDecode` [INFO] [stdout] which is required by `EnumType: Decode` [INFO] [stdout] `<&EnumType as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&EnumType: Decode` [INFO] [stdout] `&EnumType: WrapperTypeDecode` [INFO] [stdout] which is required by `&EnumType: Decode` [INFO] [stdout] `<&mut EnumType as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut EnumType: Decode` [INFO] [stdout] `&mut EnumType: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut EnumType: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `using_encoded` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 62 | enum EnumWithDiscriminant { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `using_encoded` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `EnumWithDiscriminant: Encode` [INFO] [stdout] | doesn't satisfy `EnumWithDiscriminant: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 137 | EnumWithDiscriminant::A.using_encoded(|ref slice| { [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called on `EnumWithDiscriminant` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `EnumWithDiscriminant: Encode` [INFO] [stdout] `EnumWithDiscriminant: WrapperTypeEncode` [INFO] [stdout] which is required by `EnumWithDiscriminant: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `using_encoded` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 62 | enum EnumWithDiscriminant { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `using_encoded` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `EnumWithDiscriminant: Encode` [INFO] [stdout] | doesn't satisfy `EnumWithDiscriminant: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 140 | EnumWithDiscriminant::B.using_encoded(|ref slice| { [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called on `EnumWithDiscriminant` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `EnumWithDiscriminant: Encode` [INFO] [stdout] `EnumWithDiscriminant: WrapperTypeEncode` [INFO] [stdout] which is required by `EnumWithDiscriminant: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `using_encoded` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 62 | enum EnumWithDiscriminant { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `using_encoded` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `EnumWithDiscriminant: Encode` [INFO] [stdout] | doesn't satisfy `EnumWithDiscriminant: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 143 | EnumWithDiscriminant::C.using_encoded(|ref slice| { [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called on `EnumWithDiscriminant` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `EnumWithDiscriminant: Encode` [INFO] [stdout] `EnumWithDiscriminant: WrapperTypeEncode` [INFO] [stdout] which is required by `EnumWithDiscriminant: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:148:35 [INFO] [stdout] | [INFO] [stdout] 62 | enum EnumWithDiscriminant { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `EnumWithDiscriminant: Decode` [INFO] [stdout] | doesn't satisfy `EnumWithDiscriminant: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 148 | assert_eq!(EnumWithDiscriminant::decode(&mut da), Ok(EnumWithDiscriminant::A)); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `EnumWithDiscriminant` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `EnumWithDiscriminant: Decode` [INFO] [stdout] `EnumWithDiscriminant: WrapperTypeDecode` [INFO] [stdout] which is required by `EnumWithDiscriminant: Decode` [INFO] [stdout] `<&EnumWithDiscriminant as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&EnumWithDiscriminant: Decode` [INFO] [stdout] `&EnumWithDiscriminant: WrapperTypeDecode` [INFO] [stdout] which is required by `&EnumWithDiscriminant: Decode` [INFO] [stdout] `<&mut EnumWithDiscriminant as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut EnumWithDiscriminant: Decode` [INFO] [stdout] `&mut EnumWithDiscriminant: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut EnumWithDiscriminant: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 62 | enum EnumWithDiscriminant { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `EnumWithDiscriminant: Decode` [INFO] [stdout] | doesn't satisfy `EnumWithDiscriminant: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 150 | assert_eq!(EnumWithDiscriminant::decode(&mut db), Ok(EnumWithDiscriminant::B)); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `EnumWithDiscriminant` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `EnumWithDiscriminant: Decode` [INFO] [stdout] `EnumWithDiscriminant: WrapperTypeDecode` [INFO] [stdout] which is required by `EnumWithDiscriminant: Decode` [INFO] [stdout] `<&EnumWithDiscriminant as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&EnumWithDiscriminant: Decode` [INFO] [stdout] `&EnumWithDiscriminant: WrapperTypeDecode` [INFO] [stdout] which is required by `&EnumWithDiscriminant: Decode` [INFO] [stdout] `<&mut EnumWithDiscriminant as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut EnumWithDiscriminant: Decode` [INFO] [stdout] `&mut EnumWithDiscriminant: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut EnumWithDiscriminant: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 62 | enum EnumWithDiscriminant { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `EnumWithDiscriminant: Decode` [INFO] [stdout] | doesn't satisfy `EnumWithDiscriminant: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 152 | assert_eq!(EnumWithDiscriminant::decode(&mut dc), Ok(EnumWithDiscriminant::C)); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `EnumWithDiscriminant` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `EnumWithDiscriminant: Decode` [INFO] [stdout] `EnumWithDiscriminant: WrapperTypeDecode` [INFO] [stdout] which is required by `EnumWithDiscriminant: Decode` [INFO] [stdout] `<&EnumWithDiscriminant as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&EnumWithDiscriminant: Decode` [INFO] [stdout] `&EnumWithDiscriminant: WrapperTypeDecode` [INFO] [stdout] which is required by `&EnumWithDiscriminant: Decode` [INFO] [stdout] `<&mut EnumWithDiscriminant as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut EnumWithDiscriminant: Decode` [INFO] [stdout] `&mut EnumWithDiscriminant: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut EnumWithDiscriminant: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 62 | enum EnumWithDiscriminant { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `EnumWithDiscriminant: Decode` [INFO] [stdout] | doesn't satisfy `EnumWithDiscriminant: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 154 | assert_eq!(EnumWithDiscriminant::decode(&mut dz).ok(), None); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `EnumWithDiscriminant` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `EnumWithDiscriminant: Decode` [INFO] [stdout] `EnumWithDiscriminant: WrapperTypeDecode` [INFO] [stdout] which is required by `EnumWithDiscriminant: Decode` [INFO] [stdout] `<&EnumWithDiscriminant as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&EnumWithDiscriminant: Decode` [INFO] [stdout] `&EnumWithDiscriminant: WrapperTypeDecode` [INFO] [stdout] which is required by `&EnumWithDiscriminant: Decode` [INFO] [stdout] `<&mut EnumWithDiscriminant as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut EnumWithDiscriminant: Decode` [INFO] [stdout] `&mut EnumWithDiscriminant: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut EnumWithDiscriminant: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `using_encoded` exists for struct `Struct>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 29 | struct Struct { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `using_encoded` not found for this [INFO] [stdout] | doesn't satisfy `> as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `Struct>: Encode` [INFO] [stdout] | doesn't satisfy `Struct>: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 161 | v.using_encoded(|ref slice| { [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called on `Struct>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `> as Deref>::Target = _` [INFO] [stdout] which is required by `Struct>: Encode` [INFO] [stdout] `Struct>: WrapperTypeEncode` [INFO] [stdout] which is required by `Struct>: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Struct>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 29 | struct Struct { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `Struct>: Decode` [INFO] [stdout] | doesn't satisfy `Struct>: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 170 | let v = TestType::decode(&mut &*slice); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Struct>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `Struct>: Decode` [INFO] [stdout] `Struct>: WrapperTypeDecode` [INFO] [stdout] which is required by `Struct>: Decode` [INFO] [stdout] `<&Struct> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Struct>: Decode` [INFO] [stdout] `&Struct>: WrapperTypeDecode` [INFO] [stdout] which is required by `&Struct>: Decode` [INFO] [stdout] `<&mut Struct> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Struct>: Decode` [INFO] [stdout] `&mut Struct>: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Struct>: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `using_encoded` exists for struct `Unit`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 23 | struct Unit; [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | method `using_encoded` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `Unit: Encode` [INFO] [stdout] | doesn't satisfy `Unit: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 179 | v.using_encoded(|ref slice| { [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called on `Unit` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `Unit: Encode` [INFO] [stdout] `Unit: WrapperTypeEncode` [INFO] [stdout] which is required by `Unit: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Unit`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 23 | struct Unit; [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `Unit: Decode` [INFO] [stdout] | doesn't satisfy `Unit: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 184 | assert_eq!(Unit::decode(&mut a), Ok(Unit)); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Unit` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `Unit: Decode` [INFO] [stdout] `Unit: WrapperTypeDecode` [INFO] [stdout] which is required by `Unit: Decode` [INFO] [stdout] `<&Unit as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Unit: Decode` [INFO] [stdout] `&Unit: WrapperTypeDecode` [INFO] [stdout] which is required by `&Unit: Decode` [INFO] [stdout] `<&mut Unit as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Unit: Decode` [INFO] [stdout] `&mut Unit: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Unit: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `using_encoded` exists for struct `Indexed`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 26 | struct Indexed(u32, u64); [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `using_encoded` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `Indexed: Encode` [INFO] [stdout] | doesn't satisfy `Indexed: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 191 | v.using_encoded(|ref slice| { [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called on `Indexed` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `Indexed: Encode` [INFO] [stdout] `Indexed: WrapperTypeEncode` [INFO] [stdout] which is required by `Indexed: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Indexed`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 26 | struct Indexed(u32, u64); [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `Indexed: Decode` [INFO] [stdout] | doesn't satisfy `Indexed: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 196 | assert_eq!(Indexed::decode(&mut v), Ok(Indexed(1, 2))); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Indexed` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `Indexed: Decode` [INFO] [stdout] `Indexed: WrapperTypeDecode` [INFO] [stdout] which is required by `Indexed: Decode` [INFO] [stdout] `<&Indexed as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Indexed: Decode` [INFO] [stdout] `&Indexed: WrapperTypeDecode` [INFO] [stdout] which is required by `&Indexed: Decode` [INFO] [stdout] `<&mut Indexed as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Indexed: Decode` [INFO] [stdout] `&mut Indexed: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Indexed: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Indexed`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:203:11 [INFO] [stdout] | [INFO] [stdout] 26 | struct Indexed(u32, u64); [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `Indexed: Decode` [INFO] [stdout] | doesn't satisfy `Indexed: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 203 | Indexed::decode(&mut wrong).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Indexed` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `Indexed: Decode` [INFO] [stdout] `Indexed: WrapperTypeDecode` [INFO] [stdout] which is required by `Indexed: Decode` [INFO] [stdout] `<&Indexed as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Indexed: Decode` [INFO] [stdout] `&Indexed: WrapperTypeDecode` [INFO] [stdout] which is required by `&Indexed: Decode` [INFO] [stdout] `<&mut Indexed as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Indexed: Decode` [INFO] [stdout] `&mut Indexed: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Indexed: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Indexed`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 26 | struct Indexed(u32, u64); [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `Indexed: Decode` [INFO] [stdout] | doesn't satisfy `Indexed: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 210 | Indexed::decode(&mut wrong).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Indexed` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `Indexed: Decode` [INFO] [stdout] `Indexed: WrapperTypeDecode` [INFO] [stdout] which is required by `Indexed: Decode` [INFO] [stdout] `<&Indexed as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Indexed: Decode` [INFO] [stdout] `&Indexed: WrapperTypeDecode` [INFO] [stdout] which is required by `&Indexed: Decode` [INFO] [stdout] `<&mut Indexed as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Indexed: Decode` [INFO] [stdout] `&mut Indexed: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Indexed: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `EnumType`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 51 | enum EnumType { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `::Wrapped = _` [INFO] [stdout] | doesn't satisfy `EnumType: Decode` [INFO] [stdout] | doesn't satisfy `EnumType: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 217 | EnumType::decode(&mut wrong).unwrap(); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `EnumType` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `EnumType: Decode` [INFO] [stdout] `EnumType: WrapperTypeDecode` [INFO] [stdout] which is required by `EnumType: Decode` [INFO] [stdout] `<&EnumType as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&EnumType: Decode` [INFO] [stdout] `&EnumType: WrapperTypeDecode` [INFO] [stdout] which is required by `&EnumType: Decode` [INFO] [stdout] `<&mut EnumType as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut EnumType: Decode` [INFO] [stdout] `&mut EnumType: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut EnumType: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:224:27 [INFO] [stdout] | [INFO] [stdout] 29 | struct Struct { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `Struct: Decode` [INFO] [stdout] | doesn't satisfy `Struct: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 224 | Struct::::decode(&mut wrong).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Struct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `Struct: Decode` [INFO] [stdout] `Struct: WrapperTypeDecode` [INFO] [stdout] which is required by `Struct: Decode` [INFO] [stdout] `<&Struct as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Struct: Decode` [INFO] [stdout] `&Struct: WrapperTypeDecode` [INFO] [stdout] which is required by `&Struct: Decode` [INFO] [stdout] `<&mut Struct as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Struct: Decode` [INFO] [stdout] `&mut Struct: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Struct: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:231:27 [INFO] [stdout] | [INFO] [stdout] 29 | struct Struct { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `Struct: Decode` [INFO] [stdout] | doesn't satisfy `Struct: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 231 | Struct::::decode(&mut wrong).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Struct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `Struct: Decode` [INFO] [stdout] `Struct: WrapperTypeDecode` [INFO] [stdout] which is required by `Struct: Decode` [INFO] [stdout] `<&Struct as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Struct: Decode` [INFO] [stdout] `&Struct: WrapperTypeDecode` [INFO] [stdout] which is required by `&Struct: Decode` [INFO] [stdout] `<&mut Struct as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Struct: Decode` [INFO] [stdout] `&mut Struct: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Struct: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `TestHasCompact`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:251:43 [INFO] [stdout] | [INFO] [stdout] 69 | struct TestHasCompact { [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy ` as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `TestHasCompact: Encode` [INFO] [stdout] | doesn't satisfy `TestHasCompact: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 251 | let encoded = TestHasCompact { bar: n }.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `TestHasCompact` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Deref>::Target = _` [INFO] [stdout] which is required by `TestHasCompact: Encode` [INFO] [stdout] `TestHasCompact: WrapperTypeEncode` [INFO] [stdout] which is required by `TestHasCompact: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `TestHasCompact`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:254:37 [INFO] [stdout] | [INFO] [stdout] 69 | struct TestHasCompact { [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `TestHasCompact: Decode` [INFO] [stdout] | doesn't satisfy `TestHasCompact: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 254 | assert_eq!(>::decode(&mut &encoded[..]).unwrap().bar, n); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `TestHasCompact` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `TestHasCompact: Decode` [INFO] [stdout] `TestHasCompact: WrapperTypeDecode` [INFO] [stdout] which is required by `TestHasCompact: Decode` [INFO] [stdout] `<&TestHasCompact as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&TestHasCompact: Decode` [INFO] [stdout] `&TestHasCompact: WrapperTypeDecode` [INFO] [stdout] which is required by `&TestHasCompact: Decode` [INFO] [stdout] `<&mut TestHasCompact as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut TestHasCompact: Decode` [INFO] [stdout] `&mut TestHasCompact: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut TestHasCompact: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `TestHasCompact`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:261:43 [INFO] [stdout] | [INFO] [stdout] 69 | struct TestHasCompact { [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy ` as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `TestHasCompact: Encode` [INFO] [stdout] | doesn't satisfy `TestHasCompact: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 261 | let encoded = TestHasCompact { bar: n }.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `TestHasCompact` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Deref>::Target = _` [INFO] [stdout] which is required by `TestHasCompact: Encode` [INFO] [stdout] `TestHasCompact: WrapperTypeEncode` [INFO] [stdout] which is required by `TestHasCompact: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `TestCompactHasCompact`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:264:44 [INFO] [stdout] | [INFO] [stdout] 75 | struct TestCompactHasCompact { [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `TestCompactHasCompact: Decode` [INFO] [stdout] | doesn't satisfy `TestCompactHasCompact: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 264 | assert_eq!(>::decode(&mut &encoded[..]).unwrap().bar, n); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `TestCompactHasCompact` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `TestCompactHasCompact: Decode` [INFO] [stdout] `TestCompactHasCompact: WrapperTypeDecode` [INFO] [stdout] which is required by `TestCompactHasCompact: Decode` [INFO] [stdout] `<&TestCompactHasCompact as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&TestCompactHasCompact: Decode` [INFO] [stdout] `&TestCompactHasCompact: WrapperTypeDecode` [INFO] [stdout] which is required by `&TestCompactHasCompact: Decode` [INFO] [stdout] `<&mut TestCompactHasCompact as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut TestCompactHasCompact: Decode` [INFO] [stdout] `&mut TestCompactHasCompact: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut TestCompactHasCompact: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for reference `&TestHasCompactEnum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 81 | enum TestHasCompactEnum { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy ` as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `TestHasCompactEnum: Encode` [INFO] [stdout] | doesn't satisfy `TestHasCompactEnum: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 277 | let encoded = value.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `&TestHasCompactEnum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Deref>::Target = _` [INFO] [stdout] which is required by `TestHasCompactEnum: Encode` [INFO] [stdout] `TestHasCompactEnum: WrapperTypeEncode` [INFO] [stdout] which is required by `TestHasCompactEnum: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `TestHasCompactEnum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:280:43 [INFO] [stdout] | [INFO] [stdout] 81 | enum TestHasCompactEnum { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `TestHasCompactEnum: Decode` [INFO] [stdout] | doesn't satisfy `TestHasCompactEnum: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 280 | assert_eq!(&>::decode(&mut &encoded[..]).unwrap(), value); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `TestHasCompactEnum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `TestHasCompactEnum: Decode` [INFO] [stdout] `TestHasCompactEnum: WrapperTypeDecode` [INFO] [stdout] which is required by `TestHasCompactEnum: Decode` [INFO] [stdout] `<&TestHasCompactEnum as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&TestHasCompactEnum: Decode` [INFO] [stdout] `&TestHasCompactEnum: WrapperTypeDecode` [INFO] [stdout] which is required by `&TestHasCompactEnum: Decode` [INFO] [stdout] `<&mut TestHasCompactEnum as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut TestHasCompactEnum: Decode` [INFO] [stdout] `&mut TestHasCompactEnum: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut TestHasCompactEnum: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `TestCompactAttribute`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:288:49 [INFO] [stdout] | [INFO] [stdout] 95 | struct TestCompactAttribute { [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `TestCompactAttribute: Encode` [INFO] [stdout] | doesn't satisfy `TestCompactAttribute: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 288 | let encoded = TestCompactAttribute { bar: n }.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `TestCompactAttribute` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `TestCompactAttribute: Encode` [INFO] [stdout] `TestCompactAttribute: WrapperTypeEncode` [INFO] [stdout] which is required by `TestCompactAttribute: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `TestCompactAttribute`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:290:36 [INFO] [stdout] | [INFO] [stdout] 95 | struct TestCompactAttribute { [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `TestCompactAttribute: Decode` [INFO] [stdout] | doesn't satisfy `TestCompactAttribute: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 290 | assert_eq!(TestCompactAttribute::decode(&mut &encoded[..]).unwrap().bar, n); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `TestCompactAttribute` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `TestCompactAttribute: Decode` [INFO] [stdout] `TestCompactAttribute: WrapperTypeDecode` [INFO] [stdout] which is required by `TestCompactAttribute: Decode` [INFO] [stdout] `<&TestCompactAttribute as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&TestCompactAttribute: Decode` [INFO] [stdout] `&TestCompactAttribute: WrapperTypeDecode` [INFO] [stdout] which is required by `&TestCompactAttribute: Decode` [INFO] [stdout] `<&mut TestCompactAttribute as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut TestCompactAttribute: Decode` [INFO] [stdout] `&mut TestCompactAttribute: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut TestCompactAttribute: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for reference `&TestCompactAttributeEnum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:298:24 [INFO] [stdout] | [INFO] [stdout] 101 | enum TestCompactAttributeEnum { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `::Target = _` [INFO] [stdout] | doesn't satisfy `TestCompactAttributeEnum: Encode` [INFO] [stdout] | doesn't satisfy `TestCompactAttributeEnum: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 298 | let encoded = value.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `&TestCompactAttributeEnum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `TestCompactAttributeEnum: Encode` [INFO] [stdout] `TestCompactAttributeEnum: WrapperTypeEncode` [INFO] [stdout] which is required by `TestCompactAttributeEnum: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `TestCompactAttributeEnum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:300:42 [INFO] [stdout] | [INFO] [stdout] 101 | enum TestCompactAttributeEnum { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `TestCompactAttributeEnum: Decode` [INFO] [stdout] | doesn't satisfy `TestCompactAttributeEnum: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 300 | assert_eq!(&TestCompactAttributeEnum::decode(&mut &encoded[..]).unwrap(), value); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `TestCompactAttributeEnum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `TestCompactAttributeEnum: Decode` [INFO] [stdout] `TestCompactAttributeEnum: WrapperTypeDecode` [INFO] [stdout] which is required by `TestCompactAttributeEnum: Decode` [INFO] [stdout] `<&TestCompactAttributeEnum as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&TestCompactAttributeEnum: Decode` [INFO] [stdout] `&TestCompactAttributeEnum: WrapperTypeDecode` [INFO] [stdout] which is required by `&TestCompactAttributeEnum: Decode` [INFO] [stdout] `<&mut TestCompactAttributeEnum as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut TestCompactAttributeEnum: Decode` [INFO] [stdout] `&mut TestCompactAttributeEnum: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut TestCompactAttributeEnum: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `associated_type_bounds::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:328:22 [INFO] [stdout] | [INFO] [stdout] 313 | struct Struct { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `_: Encode` [INFO] [stdout] | doesn't satisfy `_: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 328 | let encoded = value.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `associated_type_bounds::Struct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Deref>::Target = _` [INFO] [stdout] which is required by `associated_type_bounds::Struct: Encode` [INFO] [stdout] `associated_type_bounds::Struct: WrapperTypeEncode` [INFO] [stdout] which is required by `associated_type_bounds::Struct: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `associated_type_bounds::Struct<_, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:329:55 [INFO] [stdout] | [INFO] [stdout] 313 | struct Struct { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `_: WrapperTypeDecode` [INFO] [stdout] | doesn't satisfy `associated_type_bounds::Struct<_, _>: Decode` [INFO] [stdout] ... [INFO] [stdout] 329 | let decoded: Struct = Struct::decode(&mut &encoded[..]).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `associated_type_bounds::Struct<_, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `associated_type_bounds::Struct<_, _>: Decode` [INFO] [stdout] `associated_type_bounds::Struct<_, _>: WrapperTypeDecode` [INFO] [stdout] which is required by `associated_type_bounds::Struct<_, _>: Decode` [INFO] [stdout] `<&associated_type_bounds::Struct<_, _> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&associated_type_bounds::Struct<_, _>: Decode` [INFO] [stdout] `&associated_type_bounds::Struct<_, _>: WrapperTypeDecode` [INFO] [stdout] which is required by `&associated_type_bounds::Struct<_, _>: Decode` [INFO] [stdout] `<&mut associated_type_bounds::Struct<_, _> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut associated_type_bounds::Struct<_, _>: Decode` [INFO] [stdout] `&mut associated_type_bounds::Struct<_, _>: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut associated_type_bounds::Struct<_, _>: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `TestGeneric`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:366:4 [INFO] [stdout] | [INFO] [stdout] 355 | / struct TestGeneric> [INFO] [stdout] 356 | | where [INFO] [stdout] 357 | | u32: for<'a> EncodeAsRef<'a, A>, [INFO] [stdout] 358 | | { [INFO] [stdout] 359 | | #[codec(encoded_as = "u32")] [INFO] [stdout] 360 | | a: A, [INFO] [stdout] 361 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | method `encode` not found for this [INFO] [stdout] | | doesn't satisfy `<_ as Deref>::Target = _` [INFO] [stdout] | |_____doesn't satisfy `TestGeneric: Encode` [INFO] [stdout] | doesn't satisfy `TestGeneric: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 366 | a.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `TestGeneric` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Deref>::Target = _` [INFO] [stdout] which is required by `TestGeneric: Encode` [INFO] [stdout] `TestGeneric: WrapperTypeEncode` [INFO] [stdout] which is required by `TestGeneric: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for enum `TestGenericHasCompact`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:403:4 [INFO] [stdout] | [INFO] [stdout] 393 | enum TestGenericHasCompact { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `TestGenericHasCompact: Encode` [INFO] [stdout] | doesn't satisfy `_: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 403 | a.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `TestGenericHasCompact` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Deref>::Target = _` [INFO] [stdout] which is required by `TestGenericHasCompact: Encode` [INFO] [stdout] `TestGenericHasCompact: WrapperTypeEncode` [INFO] [stdout] which is required by `TestGenericHasCompact: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `TestGenericTrait`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:430:4 [INFO] [stdout] | [INFO] [stdout] 422 | struct TestGenericTrait { [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `TestGenericTrait: Encode` [INFO] [stdout] | doesn't satisfy `TestGenericTrait: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 430 | a.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `TestGenericTrait` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Deref>::Target = _` [INFO] [stdout] which is required by `TestGenericTrait: Encode` [INFO] [stdout] `TestGenericTrait: WrapperTypeEncode` [INFO] [stdout] which is required by `TestGenericTrait: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `recursive_variant_1_encode_works::Recursive`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:442:6 [INFO] [stdout] | [INFO] [stdout] 436 | struct Recursive { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `_: Encode` [INFO] [stdout] | doesn't satisfy `_: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 442 | val.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `recursive_variant_1_encode_works::Recursive` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Deref>::Target = _` [INFO] [stdout] which is required by `recursive_variant_1_encode_works::Recursive: Encode` [INFO] [stdout] `recursive_variant_1_encode_works::Recursive: WrapperTypeEncode` [INFO] [stdout] which is required by `recursive_variant_1_encode_works::Recursive: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `recursive_variant_2_encode_works::Recursive`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:454:6 [INFO] [stdout] | [INFO] [stdout] 448 | struct Recursive { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `_: Encode` [INFO] [stdout] | doesn't satisfy `_: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 454 | val.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `recursive_variant_2_encode_works::Recursive` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Deref>::Target = _` [INFO] [stdout] which is required by `recursive_variant_2_encode_works::Recursive: Encode` [INFO] [stdout] `recursive_variant_2_encode_works::Recursive: WrapperTypeEncode` [INFO] [stdout] which is required by `recursive_variant_2_encode_works::Recursive: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `Test`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:473:6 [INFO] [stdout] | [INFO] [stdout] 468 | pub struct Test { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy ` as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `Test: Encode` [INFO] [stdout] | doesn't satisfy `Test: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 473 | val.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Test` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Deref>::Target = _` [INFO] [stdout] which is required by `Test: Encode` [INFO] [stdout] `Test: WrapperTypeEncode` [INFO] [stdout] which is required by `Test: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmptyEnumDerive: WrapperTypeEncode` is not satisfied [INFO] [stdout] --> tests/mod.rs:482:24 [INFO] [stdout] | [INFO] [stdout] 481 | fn impls_encode_decode() {} [INFO] [stdout] | ------ required by this bound in `impls_encode_decode` [INFO] [stdout] 482 | impls_encode_decode::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `EmptyEnumDerive` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Encode` for `EmptyEnumDerive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmptyEnumDerive: WrapperTypeDecode` is not satisfied [INFO] [stdout] --> tests/mod.rs:482:24 [INFO] [stdout] | [INFO] [stdout] 481 | fn impls_encode_decode() {} [INFO] [stdout] | ------ required by this bound in `impls_encode_decode` [INFO] [stdout] 482 | impls_encode_decode::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `EmptyEnumDerive` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Decode` for `EmptyEnumDerive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `EmptyEnumDerive`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:485:20 [INFO] [stdout] | [INFO] [stdout] 479 | enum EmptyEnumDerive {} [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `decode` not found here [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `EmptyEnumDerive: Decode` [INFO] [stdout] | doesn't satisfy `EmptyEnumDerive: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 485 | EmptyEnumDerive::decode(&mut &[1, 2, 3][..]), [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `EmptyEnumDerive` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `EmptyEnumDerive: Decode` [INFO] [stdout] `EmptyEnumDerive: WrapperTypeDecode` [INFO] [stdout] which is required by `EmptyEnumDerive: Decode` [INFO] [stdout] `<&EmptyEnumDerive as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&EmptyEnumDerive: Decode` [INFO] [stdout] `&EmptyEnumDerive: WrapperTypeDecode` [INFO] [stdout] which is required by `&EmptyEnumDerive: Decode` [INFO] [stdout] `<&mut EmptyEnumDerive as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut EmptyEnumDerive: Decode` [INFO] [stdout] `&mut EmptyEnumDerive: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut EmptyEnumDerive: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `Something`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:585:4 [INFO] [stdout] | [INFO] [stdout] 567 | struct Something { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `encode` not found for this [INFO] [stdout] | doesn't satisfy ` as Deref>::Target = _` [INFO] [stdout] | doesn't satisfy `Something: Encode` [INFO] [stdout] | doesn't satisfy `Something: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 585 | }.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Something` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Deref>::Target = _` [INFO] [stdout] which is required by `Something: Encode` [INFO] [stdout] `Something: WrapperTypeEncode` [INFO] [stdout] which is required by `Something: Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Something`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mod.rs:587:31 [INFO] [stdout] | [INFO] [stdout] 567 | struct Something { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `decode` not found for this [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `Something: Decode` [INFO] [stdout] | doesn't satisfy `Something: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 587 | Something::::decode(&mut &encoded[..]).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Something` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `Something: Decode` [INFO] [stdout] `Something: WrapperTypeDecode` [INFO] [stdout] which is required by `Something: Decode` [INFO] [stdout] `<&Something as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Something: Decode` [INFO] [stdout] `&Something: WrapperTypeDecode` [INFO] [stdout] which is required by `&Something: Decode` [INFO] [stdout] `<&mut Something as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Something: Decode` [INFO] [stdout] `&mut Something: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Something: Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 118 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a9ed8f542cad54a81d15d53001dc7b71cc05b354602ece4e20f456f9067c1e92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9ed8f542cad54a81d15d53001dc7b71cc05b354602ece4e20f456f9067c1e92", kill_on_drop: false }` [INFO] [stdout] a9ed8f542cad54a81d15d53001dc7b71cc05b354602ece4e20f456f9067c1e92