[INFO] fetching crate parity-scale-codec 3.6.9...
[INFO] checking parity-scale-codec-3.6.9 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate parity-scale-codec 3.6.9 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate parity-scale-codec 3.6.9 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate parity-scale-codec 3.6.9
[INFO] finished tweaking crates.io crate parity-scale-codec 3.6.9
[INFO] tweaked toml for crates.io crate parity-scale-codec 3.6.9 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1ecc82e59a1f7517f21ddc360bec079815dc952bf8bad0cdc55f07944d737552
[INFO] running `Command { std: "docker" "start" "-a" "1ecc82e59a1f7517f21ddc360bec079815dc952bf8bad0cdc55f07944d737552", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1ecc82e59a1f7517f21ddc360bec079815dc952bf8bad0cdc55f07944d737552", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ecc82e59a1f7517f21ddc360bec079815dc952bf8bad0cdc55f07944d737552", kill_on_drop: false }`
[INFO] [stdout] 1ecc82e59a1f7517f21ddc360bec079815dc952bf8bad0cdc55f07944d737552
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0cec39ca614ddec3c2aafec2a0338d8a105cce43c2e89bef8a74d2c0dac0343f
[INFO] running `Command { std: "docker" "start" "-a" "0cec39ca614ddec3c2aafec2a0338d8a105cce43c2e89bef8a74d2c0dac0343f", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking half v2.4.0
[INFO] [stderr]     Checking os_str_bytes v6.6.1
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking winnow v0.5.40
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking textwrap v0.16.1
[INFO] [stderr]    Compiling trybuild v1.0.91
[INFO] [stderr]     Checking serde v1.0.197
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking rand_xorshift v0.3.0
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking unarray v0.1.4
[INFO] [stderr]     Checking rusty-fork v0.3.0
[INFO] [stderr]     Checking glob v0.3.1
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking plotters v0.3.5
[INFO] [stderr]     Checking proptest v1.4.0
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking env_logger v0.8.4
[INFO] [stderr]     Checking quickcheck v1.0.3
[INFO] [stderr]     Checking serde_spanned v0.6.5
[INFO] [stderr]     Checking toml_datetime v0.6.3
[INFO] [stderr]     Checking serde_json v1.0.115
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking parity-scale-codec v3.6.9 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `TryFrom` is imported redundantly
[INFO] [stdout]   --> src/codec.rs:19:2
[INFO] [stdout]    |
[INFO] [stdout] 19 |     convert::TryFrom,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `TryFrom` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `FromIterator` is imported redundantly
[INFO] [stdout]   --> src/codec.rs:20:2
[INFO] [stdout]    |
[INFO] [stdout] 20 |     iter::FromIterator,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `FromIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Box` is imported redundantly
[INFO] [stdout]   --> src/codec.rs:47:2
[INFO] [stdout]    |
[INFO] [stdout] 47 |     boxed::Box,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Box` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToOwned` is imported redundantly
[INFO] [stdout]   --> src/codec.rs:48:16
[INFO] [stdout]    |
[INFO] [stdout] 48 |     borrow::{Cow, ToOwned},
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `ToOwned` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `String` is imported redundantly
[INFO] [stdout]   --> src/codec.rs:53:2
[INFO] [stdout]    |
[INFO] [stdout] 53 |     string::String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `String` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/compact.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::alloc::vec::Vec;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Extend` is imported redundantly
[INFO] [stdout]   --> src/joiner.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use core::iter::Extend;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Extend` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Extend` is imported redundantly
[INFO] [stdout]   --> src/keyedvec.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use core::iter::Extend;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Extend` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/keyedvec.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::alloc::vec::Vec;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly
[INFO] [stdout]   --> src/encode_append.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::iter::ExactSizeIterator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `ExactSizeIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/encode_append.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::alloc::vec::Vec;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Box` is imported redundantly
[INFO] [stdout]   --> src/error.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::alloc::boxed::Box;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Box` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking toml_edit v0.20.2
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.4.0
[INFO] [stderr]     Checking toml v0.8.2
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]  --> tests/variant_number.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use parity_scale_codec_derive::Encode as DeriveEncode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 1 | use parity_scale_codec::Encode as DeriveEncode;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]   --> tests/chain-error.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use parity_scale_codec_derive::Decode as DeriveDecode;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 15 | use parity_scale_codec::Decode as DeriveDecode;
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]  --> tests/size_hint.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use parity_scale_codec_derive::Encode as DeriveEncode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 2 | use parity_scale_codec::Encode as DeriveEncode;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]   --> tests/clippy.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use parity_scale_codec_derive::{Decode, Encode};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 19 | use parity_scale_codec::{Decode, Encode};
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~
[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] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 21 | use parity_scale_codec::{Encode, Decode};
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryFrom` is imported redundantly
[INFO] [stdout]   --> benches/benches.rs:15:53
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::{time::Duration, any::type_name, convert::{TryFrom, TryInto}};
[INFO] [stdout]    |                                                     ^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `TryFrom` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]   --> benches/benches.rs:15:62
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::{time::Duration, any::type_name, convert::{TryFrom, TryInto}};
[INFO] [stdout]    |                                                              ^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]  --> tests/skip.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use parity_scale_codec_derive::{Encode as DeriveEncode, Decode as DeriveDecode};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 1 | use parity_scale_codec::{Encode as DeriveEncode, Decode as DeriveDecode};
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]   --> tests/skip.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use parity_scale_codec_derive::{Encode as DeriveEncode, Decode as DeriveDecode};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 12 | use parity_scale_codec::{Encode as DeriveEncode, Decode as DeriveDecode};
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]  --> tests/single_field_struct_encoding.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use parity_scale_codec_derive::{Encode as DeriveEncode, Decode as DeriveDecode, CompactAs as DeriveCompactAs};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 1 | use parity_scale_codec::{Encode as DeriveEncode, Decode as DeriveDecode, CompactAs as DeriveCompactAs};
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]   --> tests/mod.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use parity_scale_codec_derive::{Decode as DeriveDecode, Encode as DeriveEncode};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 18 | use parity_scale_codec::{Decode as DeriveDecode, Encode as DeriveEncode};
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]   --> tests/type_inference.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use parity_scale_codec_derive::Decode as DeriveDecode;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 17 | use parity_scale_codec::Decode as DeriveDecode;
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parity-scale-codec` (test "clippy") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 1 previous error
[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/variant_number.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |         #[codec(skip)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/variant_number.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |         #[codec(index = 1)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parity-scale-codec` (test "type_inference") due to 2 previous errors
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/size_hint.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |         #[codec(skip)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[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/single_field_struct_encoding.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[codec(skip)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/mod.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 |     #[codec(index = 15)]
[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/size_hint.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 21 |     struct Tuple(String, Vec<i32>, #[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: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/mod.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[codec(encoded_as = "<T as HasCompact>::Type")]
[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 find attribute `codec` in this scope
[INFO] [stdout]   --> tests/size_hint.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |         #[codec(index = 15)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/single_field_struct_encoding.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 |     #[codec(compact)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/mod.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 |     #[codec(compact)]
[INFO] [stdout]    |       ^^^^^
[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 find attribute `codec` in this scope
[INFO] [stdout]   --> tests/single_field_struct_encoding.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 |     #[codec(encoded_as = "<T as HasCompact>::Type")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/mod.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 81 |     Unnamed(#[codec(encoded_as = "<T as HasCompact>::Type")] T),
[INFO] [stdout]    |               ^^^^^
[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 find attribute `codec` in this scope
[INFO] [stdout]   --> tests/single_field_struct_encoding.rs:42:16
[INFO] [stdout]    |
[INFO] [stdout] 42 | 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/mod.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 |         #[codec(encoded_as = "<T as HasCompact>::Type")]
[INFO] [stdout]    |           ^^^^^
[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] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/single_field_struct_encoding.rs:42:41
[INFO] [stdout]    |
[INFO] [stdout] 42 | 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/mod.rs:86:19
[INFO] [stdout]    |
[INFO] [stdout] 86 |     UnnamedCompact(#[codec(compact)] T),
[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:13
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct Uc(#[codec(compact)] u32);
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/mod.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 88 |         #[codec(compact)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/mod.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 |     #[codec(compact)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/single_field_struct_encoding.rs:48:15
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct Ucas(#[codec(compact)] U);
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]    --> tests/mod.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |     Unnamed(#[codec(compact)] u64),
[INFO] [stdout]     |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/single_field_struct_encoding.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct USkipcas(#[codec(compact)] USkip);
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]    --> tests/mod.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 103 |         #[codec(compact)]
[INFO] [stdout]     |           ^^^^^
[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 SSkipcas(#[codec(compact)] SSkip);
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]    --> tests/mod.rs:379:5
[INFO] [stdout]     |
[INFO] [stdout] 379 |         #[codec(encoded_as = "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:57:28
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct Uh<T: HasCompact>(#[codec(encoded_as = "<T as HasCompact>::Type")] T);
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]    --> tests/mod.rs:413:6
[INFO] [stdout]     |
[INFO] [stdout] 413 |             #[codec(compact)]
[INFO] [stdout]     |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]    --> tests/mod.rs:482:4
[INFO] [stdout]     |
[INFO] [stdout] 482 |     #[codec(dumb_trait_bound)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]    --> tests/mod.rs:580:4
[INFO] [stdout]     |
[INFO] [stdout] 580 |     #[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:581:4
[INFO] [stdout]     |
[INFO] [stdout] 581 |     #[codec(decode_bound(N: Decode, T: Default))]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]    --> tests/mod.rs:588:4
[INFO] [stdout]     |
[INFO] [stdout] 588 |     #[codec(encode_bound())]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]    --> tests/mod.rs:589:4
[INFO] [stdout]     |
[INFO] [stdout] 589 |     #[codec(decode_bound())]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `T`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/variant_number.rs:12:18
[INFO] [stdout]     |
[INFO] [stdout] 7   |     enum T {
[INFO] [stdout]     |     ------ method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 12  |     assert_eq!(T::A.encode(), vec![1]);
[INFO] [stdout]     |                     ^^^^^^ method cannot be called on `T` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<discriminant_variant_counted_in_default_index::T as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryFrom` is imported redundantly
[INFO] [stdout]   --> src/codec.rs:19:2
[INFO] [stdout]    |
[INFO] [stdout] 19 |     convert::TryFrom,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `TryFrom` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Box` is imported redundantly
[INFO] [stdout]   --> src/codec.rs:47:2
[INFO] [stdout]    |
[INFO] [stdout] 47 |     boxed::Box,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Box` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToOwned` is imported redundantly
[INFO] [stdout]   --> src/codec.rs:48:16
[INFO] [stdout]    |
[INFO] [stdout] 48 |     borrow::{Cow, ToOwned},
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `ToOwned` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Wrapper<StructNamed>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/chain-error.rs:44:27
[INFO] [stdout]     |
[INFO] [stdout] 19  | struct Wrapper<T>(T);
[INFO] [stdout]     | ----------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `Wrapper<StructNamed>: Decode` or `Wrapper<StructNamed>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 44  |         Wrapper::<StructNamed>::decode(&mut &encoded[..]).unwrap_err().to_string(),
[INFO] [stdout]     |                                 ^^^^^^ function or associated item cannot be called on `Wrapper<StructNamed>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Wrapper<StructNamed> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `Wrapper<StructNamed>: Decode`
[INFO] [stdout]             `Wrapper<StructNamed>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `Wrapper<StructNamed>: Decode`
[INFO] [stdout]             `<&Wrapper<StructNamed> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&Wrapper<StructNamed>: Decode`
[INFO] [stdout]             `&Wrapper<StructNamed>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&Wrapper<StructNamed>: Decode`
[INFO] [stdout]             `<&mut Wrapper<StructNamed> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut Wrapper<StructNamed>: Decode`
[INFO] [stdout]             `&mut Wrapper<StructNamed>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut Wrapper<StructNamed>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Cow` is imported redundantly
[INFO] [stdout]     --> src/codec.rs:1595:6
[INFO] [stdout]      |
[INFO] [stdout] 1594 |     use super::*;
[INFO] [stdout]      |         -------- the item `Cow` is already imported here
[INFO] [stdout] 1595 |     use std::borrow::Cow;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Extend` is imported redundantly
[INFO] [stdout]   --> src/joiner.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use core::iter::Extend;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Extend` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Extend` is imported redundantly
[INFO] [stdout]   --> src/keyedvec.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use core::iter::Extend;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Extend` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/keyedvec.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::alloc::vec::Vec;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly
[INFO] [stdout]   --> src/encode_append.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::iter::ExactSizeIterator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `ExactSizeIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Encode` is imported redundantly
[INFO] [stdout]    --> src/encode_append.rs:146:21
[INFO] [stdout]     |
[INFO] [stdout] 145 |     use super::*;
[INFO] [stdout]     |         -------- the item `Encode` is already imported here
[INFO] [stdout] 146 |     use crate::{Input, Encode, EncodeLike};
[INFO] [stdout]     |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `EncodeLike` is imported redundantly
[INFO] [stdout]    --> src/encode_append.rs:146:29
[INFO] [stdout]     |
[INFO] [stdout] 145 |     use super::*;
[INFO] [stdout]     |         -------- the item `EncodeLike` is already imported here
[INFO] [stdout] 146 |     use crate::{Input, Encode, EncodeLike};
[INFO] [stdout]     |                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Box` is imported redundantly
[INFO] [stdout]   --> src/error.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::alloc::boxed::Box;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Box` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for struct `Struct<String, Vec<i32>, u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:15:15
[INFO] [stdout]     |
[INFO] [stdout] 7   |     struct Struct<A, B, C> {
[INFO] [stdout]     |     ---------------------- method `size_hint` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `Struct<String, Vec<i32>, u32>: Encode` or `Struct<String, Vec<i32>, u32>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 15  |     assert_eq!(v.size_hint(), 23);
[INFO] [stdout]     |                  ^^^^^^^^^ method cannot be called on `Struct<String, Vec<i32>, u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Struct<String, Vec<i32>, u32> as Deref>::Target = _`
[INFO] [stdout]             which is required by `Struct<String, Vec<i32>, u32>: Encode`
[INFO] [stdout]             `Struct<String, Vec<i32>, u32>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Struct<String, Vec<i32>, u32>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Vec<Event>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> benches/benches.rs:87:35
[INFO] [stdout]    |
[INFO] [stdout] 87 |             let mut events = Vec::<Event>::decode(&mut &encoded_events_vec[..])
[INFO] [stdout]    |                                            ^^^^^^ function or associated item cannot be called on `Vec<Event>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Vec<Event>` consider using one of the following associated functions:
[INFO] [stdout]       Vec::<T>::new
[INFO] [stdout]       Vec::<T>::with_capacity
[INFO] [stdout]       Vec::<T>::try_with_capacity
[INFO] [stdout]       Vec::<T>::from_raw_parts
[INFO] [stdout]       and 4 others
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/vec/mod.rs:422:5
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<&Vec<Event> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]            which is required by `&Vec<Event>: parity_scale_codec::Decode`
[INFO] [stdout]            `&Vec<Event>: WrapperTypeDecode`
[INFO] [stdout]            which is required by `&Vec<Event>: parity_scale_codec::Decode`
[INFO] [stdout]            `<&mut Vec<Event> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]            which is required by `&mut Vec<Event>: parity_scale_codec::Decode`
[INFO] [stdout]            `&mut Vec<Event>: WrapperTypeDecode`
[INFO] [stdout]            which is required by `&mut Vec<Event>: parity_scale_codec::Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `T`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/variant_number.rs:13:18
[INFO] [stdout]     |
[INFO] [stdout] 7   |     enum T {
[INFO] [stdout]     |     ------ method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 13  |     assert_eq!(T::B.encode(), vec![1]);
[INFO] [stdout]     |                     ^^^^^^ method cannot be called on `T` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<discriminant_variant_counted_in_default_index::T as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for struct `Tuple`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:24:15
[INFO] [stdout]     |
[INFO] [stdout] 21  |     struct Tuple(String, Vec<i32>, #[codec(skip)] u32);
[INFO] [stdout]     |     ------------ method `size_hint` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: WrapperTypeEncode` or `size_hint_for_tuple_struct::Tuple: Encode`
[INFO] [stdout] ...
[INFO] [stdout] 24  |     assert_eq!(v.size_hint(), 23);
[INFO] [stdout]     |                  ^^^^^^^^^ method cannot be called on `Tuple` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<size_hint_for_tuple_struct::Tuple as Deref>::Target = _`
[INFO] [stdout]             which is required by `size_hint_for_tuple_struct::Tuple: Encode`
[INFO] [stdout]             `size_hint_for_tuple_struct::Tuple: WrapperTypeEncode`
[INFO] [stdout]             which is required by `size_hint_for_tuple_struct::Tuple: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Wrapper<StructUnnamed>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/chain-error.rs:58:29
[INFO] [stdout]     |
[INFO] [stdout] 19  | struct Wrapper<T>(T);
[INFO] [stdout]     | ----------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `Wrapper<StructUnnamed>: Decode` or `Wrapper<StructUnnamed>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 58  |         Wrapper::<StructUnnamed>::decode(&mut &encoded[..]).unwrap_err().to_string(),
[INFO] [stdout]     |                                   ^^^^^^ function or associated item cannot be called on `Wrapper<StructUnnamed>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Wrapper<StructUnnamed> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `Wrapper<StructUnnamed>: Decode`
[INFO] [stdout]             `Wrapper<StructUnnamed>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `Wrapper<StructUnnamed>: Decode`
[INFO] [stdout]             `<&Wrapper<StructUnnamed> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&Wrapper<StructUnnamed>: Decode`
[INFO] [stdout]             `&Wrapper<StructUnnamed>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&Wrapper<StructUnnamed>: Decode`
[INFO] [stdout]             `<&mut Wrapper<StructUnnamed> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut Wrapper<StructUnnamed>: Decode`
[INFO] [stdout]             `&mut Wrapper<StructUnnamed>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut Wrapper<StructUnnamed>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for struct `Unit`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:33:15
[INFO] [stdout]     |
[INFO] [stdout] 30  |     struct Unit;
[INFO] [stdout]     |     ----------- method `size_hint` not found for this struct because it doesn't satisfy `<Unit as Deref>::Target = _`, `Unit: Encode` or `Unit: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 33  |     assert_eq!(v.size_hint(), 0);
[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]             `<Unit as Deref>::Target = _`
[INFO] [stdout]             which is required by `Unit: Encode`
[INFO] [stdout]             `Unit: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Unit: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `T`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/variant_number.rs:25:18
[INFO] [stdout]     |
[INFO] [stdout] 19  |     enum T {
[INFO] [stdout]     |     ------ method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 25  |     assert_eq!(T::A.encode(), vec![]);
[INFO] [stdout]     |                     ^^^^^^ method cannot be called on `T` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<skipped_variant_not_counted_in_default_index::T as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[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:69:6
[INFO] [stdout]     |
[INFO] [stdout] 30  | enum E {
[INFO] [stdout]     | ------ variant or associated item `decode` not found for this enum because it doesn't satisfy `<E as WrapperTypeDecode>::Wrapped = _`, `E: Decode` or `E: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 69  |         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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumType`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:50:15
[INFO] [stdout]     |
[INFO] [stdout] 39  |     enum EnumType {
[INFO] [stdout]     |     ------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumType as Deref>::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 50  |     assert_eq!(v.size_hint(), 1);
[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]             `<EnumType as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout]             `EnumType: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `T`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/variant_number.rs:26:18
[INFO] [stdout]     |
[INFO] [stdout] 19  |     enum T {
[INFO] [stdout]     |     ------ method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 26  |     assert_eq!(T::B.encode(), vec![0]);
[INFO] [stdout]     |                     ^^^^^^ method cannot be called on `T` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<skipped_variant_not_counted_in_default_index::T as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumType`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:53:15
[INFO] [stdout]     |
[INFO] [stdout] 39  |     enum EnumType {
[INFO] [stdout]     |     ------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumType as Deref>::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 53  |     assert_eq!(v.size_hint(), 13);
[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]             `<EnumType as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout]             `EnumType: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[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:82:6
[INFO] [stdout]     |
[INFO] [stdout] 30  | enum E {
[INFO] [stdout]     | ------ variant or associated item `decode` not found for this enum because it doesn't satisfy `<E as WrapperTypeDecode>::Wrapped = _`, `E: Decode` or `E: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 82  |         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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:49:16
[INFO] [stdout]     |
[INFO] [stdout] 14  |     enum Enum<T=UncodecType, S=UncodecUndefaultType> {
[INFO] [stdout]     |     ------------------------------------------------ method `encode` not found for this enum because it doesn't satisfy `<enum_struct_test::Enum as Deref>::Target = _`, `enum_struct_test::Enum: Encode` or `enum_struct_test::Enum: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 49  |     assert_eq!(ea.encode(), Vec::new());
[INFO] [stdout]     |                   ^^^^^^ method cannot be called on `Enum` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<enum_struct_test::Enum as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `T`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/variant_number.rs:38:18
[INFO] [stdout]     |
[INFO] [stdout] 32  |     enum T {
[INFO] [stdout]     |     ------ method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 38  |     assert_eq!(T::A.encode(), vec![1]);
[INFO] [stdout]     |                     ^^^^^^ method cannot be called on `T` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<index_attr_variant_counted_and_reused_in_default_index::T as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumType`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:56:15
[INFO] [stdout]     |
[INFO] [stdout] 39  |     enum EnumType {
[INFO] [stdout]     |     ------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumType as Deref>::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 56  |     assert_eq!(v.size_hint(), 13);
[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]             `<EnumType as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout]             `EnumType: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[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:95:6
[INFO] [stdout]     |
[INFO] [stdout] 30  | enum E {
[INFO] [stdout]     | ------ variant or associated item `decode` not found for this enum because it doesn't satisfy `<E as WrapperTypeDecode>::Wrapped = _`, `E: Decode` or `E: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 95  |         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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `Vec<Event>` 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<Event>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parity_scale_codec::Decode`
[INFO] [stdout]   --> tests/chain-error.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | 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]: the method `encode` exists for enum `T`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/variant_number.rs:39:18
[INFO] [stdout]     |
[INFO] [stdout] 32  |     enum T {
[INFO] [stdout]     |     ------ method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 39  |     assert_eq!(T::B.encode(), vec![1]);
[INFO] [stdout]     |                     ^^^^^^ method cannot be called on `T` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<index_attr_variant_counted_and_reused_in_default_index::T as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parity_scale_codec::Encode`
[INFO] [stdout]  --> tests/variant_number.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | 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[E0599]: the method `size_hint` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:71:15
[INFO] [stdout]     |
[INFO] [stdout] 62  |     enum EnumWithDiscriminant {
[INFO] [stdout]     |     ------------------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumWithDiscriminant as Deref>::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 71  |     assert_eq!(v.size_hint(), discriminant);
[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]             `<EnumWithDiscriminant as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout]             `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Event: parity_scale_codec::Encode` is not satisfied
[INFO] [stdout]    --> benches/benches.rs:107:25
[INFO] [stdout]     |
[INFO] [stdout] 107 |               encoded_events_vec = <Vec<Event> as EncodeAppend>::append_or_new(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 108 | |                 encoded_events_vec,
[INFO] [stdout] 109 | |                 &[Event::ComplexEvent(data.to_vec(), 4, 5, 6, 9)],
[INFO] [stdout] 110 | |             ).unwrap();
[INFO] [stdout]     | |_____________^ the trait `WrapperTypeEncode` is not implemented for `Event`, which is required by `Vec<Event>: parity_scale_codec::EncodeAppend`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `parity_scale_codec::Encode`:
[INFO] [stdout]               bool
[INFO] [stdout]               i8
[INFO] [stdout]               i16
[INFO] [stdout]               i32
[INFO] [stdout]               i64
[INFO] [stdout]               i128
[INFO] [stdout]               u8
[INFO] [stdout]               u16
[INFO] [stdout]             and 57 others
[INFO] [stdout]     = note: required for `Event` to implement `parity_scale_codec::Encode`
[INFO] [stdout]     = note: required for `Vec<Event>` to implement `parity_scale_codec::EncodeAppend`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&Event: EncodeLike<Event>` is not satisfied
[INFO] [stdout]    --> benches/benches.rs:107:26
[INFO] [stdout]     |
[INFO] [stdout] 107 |             encoded_events_vec = <Vec<Event> as EncodeAppend>::append_or_new(
[INFO] [stdout]     |                                   ^^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `&Event`, which is required by `&Event: EncodeLike<Event>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `EncodeLike<T>`:
[INFO] [stdout]               <bool as EncodeLike>
[INFO] [stdout]               <i8 as EncodeLike>
[INFO] [stdout]               <i16 as EncodeLike>
[INFO] [stdout]               <i32 as EncodeLike>
[INFO] [stdout]               <i64 as EncodeLike>
[INFO] [stdout]               <i128 as EncodeLike>
[INFO] [stdout]               <u8 as EncodeLike>
[INFO] [stdout]               <u16 as EncodeLike>
[INFO] [stdout]             and 80 others
[INFO] [stdout]     = note: required for `Event` to implement `parity_scale_codec::Encode`
[INFO] [stdout]     = note: required for `&Event` to implement `EncodeLike<Event>`
[INFO] [stdout] note: required by a bound in `append_or_new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/encode_append.rs:51:19
[INFO] [stdout]     |
[INFO] [stdout] 45  |     fn append_or_new<EncodeLikeItem, I>(
[INFO] [stdout]     |        ------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 51  |         EncodeLikeItem: EncodeLike<Self::Item>,
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `EncodeAppend::append_or_new`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:74:15
[INFO] [stdout]     |
[INFO] [stdout] 62  |     enum EnumWithDiscriminant {
[INFO] [stdout]     |     ------------------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumWithDiscriminant as Deref>::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 74  |     assert_eq!(v.size_hint(), discriminant);
[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]             `<EnumWithDiscriminant as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout]             `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 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: aborting due to 6 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[E0599]: the method `encode` exists for enum `Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:51:34
[INFO] [stdout]     |
[INFO] [stdout] 14  |     enum Enum<T=UncodecType, S=UncodecUndefaultType> {
[INFO] [stdout]     |     ------------------------------------------------ method `encode` not found for this enum because it doesn't satisfy `<enum_struct_test::Enum as Deref>::Target = _`, `enum_struct_test::Enum: Encode` or `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` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<enum_struct_test::Enum as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:77:15
[INFO] [stdout]     |
[INFO] [stdout] 62  |     enum EnumWithDiscriminant {
[INFO] [stdout]     |     ------------------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumWithDiscriminant as Deref>::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 77  |     assert_eq!(v.size_hint(), discriminant);
[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]             `<EnumWithDiscriminant as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout]             `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parity_scale_codec::Encode`
[INFO] [stdout]  --> tests/size_hint.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use parity_scale_codec::Encode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parity-scale-codec` (test "chain-error") due to 7 previous errors; 1 warning emitted
[INFO] [stderr] error: could not compile `parity-scale-codec` (test "variant_number") due to 10 previous errors; 1 warning emitted
[INFO] [stdout] error: aborting due to 13 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[E0599]: the method `encode` exists for enum `Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:52:34
[INFO] [stdout]     |
[INFO] [stdout] 14  |     enum Enum<T=UncodecType, S=UncodecUndefaultType> {
[INFO] [stdout]     |     ------------------------------------------------ method `encode` not found for this enum because it doesn't satisfy `<enum_struct_test::Enum as Deref>::Target = _`, `enum_struct_test::Enum: Encode` or `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` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<enum_struct_test::Enum as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[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:88:15
[INFO] [stdout]     |
[INFO] [stdout] 6   | struct S {
[INFO] [stdout]     | -------- method `encode` not found for this struct because it doesn't satisfy `<S as Deref>::Target = _`, `S: Encode` or `S: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 88  |     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]             `<S as Deref>::Target = _`
[INFO] [stdout]             which is required by `S: Encode`
[INFO] [stdout]             `S: WrapperTypeEncode`
[INFO] [stdout]             which is required by `S: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parity-scale-codec` (test "size_hint") due to 14 previous errors; 1 warning emitted
[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<T=UncodecType> {
[INFO] [stdout]     |     --------------------------------- method `encode` not found for this struct because it doesn't satisfy `<StructNamed as Deref>::Target = _`, `StructNamed: Encode` or `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]             `<StructNamed as Deref>::Target = _`
[INFO] [stdout]             which is required by `StructNamed: Encode`
[INFO] [stdout]             `StructNamed: WrapperTypeEncode`
[INFO] [stdout]             which is required by `StructNamed: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:89:20
[INFO] [stdout]     |
[INFO] [stdout] 12  | struct SSkip {
[INFO] [stdout]     | ------------ method `encode` not found for this struct because it doesn't satisfy `<SSkip as Deref>::Target = _`, `SSkip: Encode` or `SSkip: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 89  |     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]             `<SSkip as Deref>::Target = _`
[INFO] [stdout]             which is required by `SSkip: Encode`
[INFO] [stdout]             `SSkip: WrapperTypeEncode`
[INFO] [stdout]             which is required by `SSkip: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `Vec<ComplexType>` in the current scope
[INFO] [stdout]    --> benches/benches.rs:190:18
[INFO] [stdout]     |
[INFO] [stdout] 190 |             b.iter(|| vec.encode())
[INFO] [stdout]     |                           ^^^^^^ method not found in `Vec<ComplexType>`
[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<T=UncodecType>(
[INFO] [stdout]     |     ----------------------------------- method `encode` not found for this struct because it doesn't satisfy `<StructUnnamed as Deref>::Target = _`, `StructUnnamed: Encode` or `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]             `<StructUnnamed as Deref>::Target = _`
[INFO] [stdout]             which is required by `StructUnnamed: Encode`
[INFO] [stdout]             `StructUnnamed: WrapperTypeEncode`
[INFO] [stdout]             which is required by `StructUnnamed: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:90:16
[INFO] [stdout]     |
[INFO] [stdout] 21  | struct Sc {
[INFO] [stdout]     | --------- method `encode` not found for this struct because it doesn't satisfy `<Sc as Deref>::Target = _`, `Sc: Encode` or `Sc: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 90  |     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]             `<Sc as Deref>::Target = _`
[INFO] [stdout]             which is required by `Sc: Encode`
[INFO] [stdout]             `Sc: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Sc: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `Sh<u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/single_field_struct_encoding.rs:91:16
[INFO] [stdout]     |
[INFO] [stdout] 27  | struct Sh<T: HasCompact> {
[INFO] [stdout]     | ------------------------ method `encode` not found for this struct because it doesn't satisfy `<Sh<u32> as Deref>::Target = _`, `Sh<u32>: Encode` or `Sh<u32>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 91  |     assert_eq!(sh.encode(), sh_encoded);
[INFO] [stdout]     |                   ^^^^^^ method cannot be called on `Sh<u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Sh<u32> as Deref>::Target = _`
[INFO] [stdout]             which is required by `Sh<u32>: Encode`
[INFO] [stdout]             `Sh<u32>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Sh<u32>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `Enum<_, _>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:56:19
[INFO] [stdout]     |
[INFO] [stdout] 14  |     enum Enum<T=UncodecType, S=UncodecUndefaultType> {
[INFO] [stdout]     |     ------------------------------------------------ variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `enum_struct_test::Enum<_, _>: Decode` or `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<_, _>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[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:92:15
[INFO] [stdout]     |
[INFO] [stdout] 34  | struct U(u32);
[INFO] [stdout]     | -------- method `encode` not found for this struct because it doesn't satisfy `<U as Deref>::Target = _`, `U: Encode` or `U: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 92  |     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]             `<U as Deref>::Target = _`
[INFO] [stdout]             which is required by `U: Encode`
[INFO] [stdout]             `U: WrapperTypeEncode`
[INFO] [stdout]             which is required by `U: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `Vec<ComplexType>` in the current scope
[INFO] [stdout]    --> benches/benches.rs:201:18
[INFO] [stdout]     |
[INFO] [stdout] 201 |             let vec = vec.encode();
[INFO] [stdout]     |                           ^^^^^^ method not found in `Vec<ComplexType>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `Enum<_, _>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:57:19
[INFO] [stdout]     |
[INFO] [stdout] 14  |     enum Enum<T=UncodecType, S=UncodecUndefaultType> {
[INFO] [stdout]     |     ------------------------------------------------ variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `enum_struct_test::Enum<_, _>: Decode` or `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<_, _>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Vec<ComplexType>: parity_scale_codec::Decode` is not satisfied
[INFO] [stdout]    --> benches/benches.rs:205:31
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 let _: Vec<ComplexType> = Decode::decode(&mut &vec[..]).unwrap();
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `parity_scale_codec::Decode` is not implemented for `Vec<ComplexType>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `parity_scale_codec::Decode` is implemented for `Vec<T>`
[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:93:20
[INFO] [stdout]     |
[INFO] [stdout] 42  | struct USkip(#[codec(skip)] u32, u32, #[codec(skip)] u32);
[INFO] [stdout]     | ------------ method `encode` not found for this struct because it doesn't satisfy `<USkip as Deref>::Target = _`, `USkip: Encode` or `USkip: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 93  |     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]             `<USkip as Deref>::Target = _`
[INFO] [stdout]             which is required by `USkip: Encode`
[INFO] [stdout]             `USkip: WrapperTypeEncode`
[INFO] [stdout]             which is required by `USkip: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:114:4
[INFO] [stdout]     |
[INFO] [stdout] 50  | enum EnumType {
[INFO] [stdout]     | ------------- method `using_encoded` not found for this enum because it doesn't satisfy `<EnumType as Deref>::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 114 |     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]             `<EnumType as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout]             `EnumType: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[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<T=UncodecType> {
[INFO] [stdout]     |     --------------------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<StructNamed<_> as WrapperTypeDecode>::Wrapped = _`, `StructNamed<_>: Decode` or `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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[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:94:16
[INFO] [stdout]     |
[INFO] [stdout] 45  | struct Uc(#[codec(compact)] u32);
[INFO] [stdout]     | --------- method `encode` not found for this struct because it doesn't satisfy `<Uc as Deref>::Target = _`, `Uc: Encode` or `Uc: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 94  |     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]             `<Uc as Deref>::Target = _`
[INFO] [stdout]             which is required by `Uc: Encode`
[INFO] [stdout]             `Uc: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Uc: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:117:4
[INFO] [stdout]     |
[INFO] [stdout] 50  | enum EnumType {
[INFO] [stdout]     | ------------- method `using_encoded` not found for this enum because it doesn't satisfy `<EnumType as Deref>::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 117 |     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]             `<EnumType as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout]             `EnumType: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[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<T=UncodecType>(
[INFO] [stdout]     |     ----------------------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `StructUnnamed<_>: Decode` or `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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[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:120:4
[INFO] [stdout]     |
[INFO] [stdout] 50  | enum EnumType {
[INFO] [stdout]     | ------------- method `using_encoded` not found for this enum because it doesn't satisfy `<EnumType as Deref>::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 120 |     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]             `<EnumType as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout]             `EnumType: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 2 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 enum `Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:76:62
[INFO] [stdout]     |
[INFO] [stdout] 68  |     enum Enum {
[INFO] [stdout]     |     --------- method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: WrapperTypeEncode` or `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 `Enum` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<skip_enum_struct_inner_variant::Enum as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:125:23
[INFO] [stdout]     |
[INFO] [stdout] 50  | enum EnumType {
[INFO] [stdout]     | ------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<EnumType as WrapperTypeDecode>::Wrapped = _`, `EnumType: Decode` or `EnumType: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 125 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encode`
[INFO] [stdout]  --> tests/skip.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | 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: unused import: `Decode`
[INFO] [stdout]  --> tests/skip.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use parity_scale_codec::{Encode, Decode};
[INFO] [stdout]   |                                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parity-scale-codec` (bench "benches") due to 9 previous errors; 2 warnings emitted
[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:127:23
[INFO] [stdout]     |
[INFO] [stdout] 50  | enum EnumType {
[INFO] [stdout]     | ------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<EnumType as WrapperTypeDecode>::Wrapped = _`, `EnumType: Decode` or `EnumType: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 127 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 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 variant or associated item `decode` exists for enum `EnumType`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:129:23
[INFO] [stdout]     |
[INFO] [stdout] 50  | enum EnumType {
[INFO] [stdout]     | ------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<EnumType as WrapperTypeDecode>::Wrapped = _`, `EnumType: Decode` or `EnumType: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 129 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parity-scale-codec` (test "skip") due to 19 previous errors; 2 warnings emitted
[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:131:23
[INFO] [stdout]     |
[INFO] [stdout] 50  | enum EnumType {
[INFO] [stdout]     | ------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<EnumType as WrapperTypeDecode>::Wrapped = _`, `EnumType: Decode` or `EnumType: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 131 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[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:95:18
[INFO] [stdout]    |
[INFO] [stdout] 95 |     assert_eq!(ucom.encode(), ucom_encoded);
[INFO] [stdout]    |                     ^^^^^^ method not found in `Compact<U>`
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 95 |     assert_eq!(ucom.0.0.encode(), ucom_encoded);
[INFO] [stdout]    |                     ++++
[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:136:26
[INFO] [stdout]     |
[INFO] [stdout] 61  | enum EnumWithDiscriminant {
[INFO] [stdout]     | ------------------------- method `using_encoded` not found for this enum because it doesn't satisfy `<EnumWithDiscriminant as Deref>::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 136 |     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]             `<EnumWithDiscriminant as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout]             `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[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:96:18
[INFO] [stdout]     |
[INFO] [stdout] 48  | struct Ucas(#[codec(compact)] U);
[INFO] [stdout]     | ----------- method `encode` not found for this struct because it doesn't satisfy `<Ucas as Deref>::Target = _`, `Ucas: Encode` or `Ucas: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 96  |     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]             `<Ucas as Deref>::Target = _`
[INFO] [stdout]             which is required by `Ucas: Encode`
[INFO] [stdout]             `Ucas: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Ucas: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:139:26
[INFO] [stdout]     |
[INFO] [stdout] 61  | enum EnumWithDiscriminant {
[INFO] [stdout]     | ------------------------- method `using_encoded` not found for this enum because it doesn't satisfy `<EnumWithDiscriminant as Deref>::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 139 |     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]             `<EnumWithDiscriminant as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout]             `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:97:24
[INFO] [stdout]     |
[INFO] [stdout] 51  | struct USkipcas(#[codec(compact)] USkip);
[INFO] [stdout]     | --------------- method `encode` not found for this struct because it doesn't satisfy `<USkipcas as Deref>::Target = _`, `USkipcas: Encode` or `USkipcas: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 97  |     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]             `<USkipcas as Deref>::Target = _`
[INFO] [stdout]             which is required by `USkipcas: Encode`
[INFO] [stdout]             `USkipcas: WrapperTypeEncode`
[INFO] [stdout]             which is required by `USkipcas: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:142:26
[INFO] [stdout]     |
[INFO] [stdout] 61  | enum EnumWithDiscriminant {
[INFO] [stdout]     | ------------------------- method `using_encoded` not found for this enum because it doesn't satisfy `<EnumWithDiscriminant as Deref>::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 142 |     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]             `<EnumWithDiscriminant as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout]             `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:98:24
[INFO] [stdout]     |
[INFO] [stdout] 54  | struct SSkipcas(#[codec(compact)] SSkip);
[INFO] [stdout]     | --------------- method `encode` not found for this struct because it doesn't satisfy `<SSkipcas as Deref>::Target = _`, `SSkipcas: Encode` or `SSkipcas: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 98  |     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]             `<SSkipcas as Deref>::Target = _`
[INFO] [stdout]             which is required by `SSkipcas: Encode`
[INFO] [stdout]             `SSkipcas: WrapperTypeEncode`
[INFO] [stdout]             which is required by `SSkipcas: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:147:35
[INFO] [stdout]     |
[INFO] [stdout] 61  | enum EnumWithDiscriminant {
[INFO] [stdout]     | ------------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `EnumWithDiscriminant: Decode` or `EnumWithDiscriminant: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 147 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `Uh<u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/single_field_struct_encoding.rs:99:16
[INFO] [stdout]     |
[INFO] [stdout] 57  | struct Uh<T: HasCompact>(#[codec(encoded_as = "<T as HasCompact>::Type")] T);
[INFO] [stdout]     | ------------------------ method `encode` not found for this struct because it doesn't satisfy `<Uh<u32> as Deref>::Target = _`, `Uh<u32>: Encode` or `Uh<u32>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 99  |     assert_eq!(uh.encode(), uh_encoded);
[INFO] [stdout]     |                   ^^^^^^ method cannot be called on `Uh<u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Uh<u32> as Deref>::Target = _`
[INFO] [stdout]             which is required by `Uh<u32>: Encode`
[INFO] [stdout]             `Uh<u32>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Uh<u32>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:149:35
[INFO] [stdout]     |
[INFO] [stdout] 61  | enum EnumWithDiscriminant {
[INFO] [stdout]     | ------------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `EnumWithDiscriminant: Decode` or `EnumWithDiscriminant: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 149 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[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:101:19
[INFO] [stdout]     |
[INFO] [stdout] 6   | struct S {
[INFO] [stdout]     | -------- function or associated item `decode` not found for this struct because it doesn't satisfy `<S as WrapperTypeDecode>::Wrapped = _`, `S: Decode` or `S: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 101 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:151:35
[INFO] [stdout]     |
[INFO] [stdout] 61  | enum EnumWithDiscriminant {
[INFO] [stdout]     | ------------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `EnumWithDiscriminant: Decode` or `EnumWithDiscriminant: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 151 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:102:28
[INFO] [stdout]     |
[INFO] [stdout] 12  | struct SSkip {
[INFO] [stdout]     | ------------ function or associated item `decode` not found for this struct because it doesn't satisfy `<SSkip as WrapperTypeDecode>::Wrapped = _`, `SSkip: Decode` or `SSkip: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 102 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:153:35
[INFO] [stdout]     |
[INFO] [stdout] 61  | enum EnumWithDiscriminant {
[INFO] [stdout]     | ------------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `EnumWithDiscriminant: Decode` or `EnumWithDiscriminant: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 153 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:103:21
[INFO] [stdout]     |
[INFO] [stdout] 21  | struct Sc {
[INFO] [stdout]     | --------- function or associated item `decode` not found for this struct because it doesn't satisfy `<Sc as WrapperTypeDecode>::Wrapped = _`, `Sc: Decode` or `Sc: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 103 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `using_encoded` exists for struct `Struct<u32, u64, Vec<u8>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:160:4
[INFO] [stdout]     |
[INFO] [stdout] 28  | struct Struct<A, B, C> {
[INFO] [stdout]     | ---------------------- method `using_encoded` not found for this struct because it doesn't satisfy `<Struct<u32, u64, Vec<u8>> as Deref>::Target = _`, `Struct<u32, u64, Vec<u8>>: Encode` or `Struct<u32, u64, Vec<u8>>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 160 |     v.using_encoded(|ref slice| assert_eq!(slice, &b"\x0f\0\0\0\x09\0\0\0\0\0\0\0\x2cHello world"));
[INFO] [stdout]     |       ^^^^^^^^^^^^^ method cannot be called on `Struct<u32, u64, Vec<u8>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Struct<u32, u64, Vec<u8>> as Deref>::Target = _`
[INFO] [stdout]             which is required by `Struct<u32, u64, Vec<u8>>: Encode`
[INFO] [stdout]             `Struct<u32, u64, Vec<u8>>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Struct<u32, u64, Vec<u8>>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[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:104:21
[INFO] [stdout]     |
[INFO] [stdout] 27  | struct Sh<T: HasCompact> {
[INFO] [stdout]     | ------------------------ function or associated item `decode` not found for this struct because it doesn't satisfy `<Sh<_> as WrapperTypeDecode>::Wrapped = _`, `Sh<_>: Decode` or `Sh<_>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 104 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:105:19
[INFO] [stdout]     |
[INFO] [stdout] 34  | struct U(u32);
[INFO] [stdout]     | -------- function or associated item `decode` not found for this struct because it doesn't satisfy `<U as WrapperTypeDecode>::Wrapped = _`, `U: Decode` or `U: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 105 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Struct<u32, u64, Vec<u8>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:167:20
[INFO] [stdout]     |
[INFO] [stdout] 28  | struct Struct<A, B, C> {
[INFO] [stdout]     | ---------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `Struct<u32, u64, Vec<u8>>: Decode` or `Struct<u32, u64, Vec<u8>>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 167 |     let v = TestType::decode(&mut &*slice);
[INFO] [stdout]     |                       ^^^^^^ function or associated item cannot be called on `Struct<u32, u64, Vec<u8>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Struct<u32, u64, Vec<u8>>`, consider using `Struct::<A, B, C>::new` which returns `Struct<_, _, _>`
[INFO] [stdout]    --> tests/mod.rs:44:2
[INFO] [stdout]     |
[INFO] [stdout] 44  |     fn new(a: A, b: B, c: C) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Struct<u32, u64, Vec<u8>> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `Struct<u32, u64, Vec<u8>>: Decode`
[INFO] [stdout]             `Struct<u32, u64, Vec<u8>>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `Struct<u32, u64, Vec<u8>>: Decode`
[INFO] [stdout]             `<&Struct<u32, u64, Vec<u8>> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&Struct<u32, u64, Vec<u8>>: Decode`
[INFO] [stdout]             `&Struct<u32, u64, Vec<u8>>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&Struct<u32, u64, Vec<u8>>: Decode`
[INFO] [stdout]             `<&mut Struct<u32, u64, Vec<u8>> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut Struct<u32, u64, Vec<u8>>: Decode`
[INFO] [stdout]             `&mut Struct<u32, u64, Vec<u8>>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut Struct<u32, u64, Vec<u8>>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:106:28
[INFO] [stdout]     |
[INFO] [stdout] 42  | struct USkip(#[codec(skip)] u32, u32, #[codec(skip)] u32);
[INFO] [stdout]     | ------------ function or associated item `decode` not found for this struct because it doesn't satisfy `<USkip as WrapperTypeDecode>::Wrapped = _`, `USkip: Decode` or `USkip: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 106 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:176:4
[INFO] [stdout]     |
[INFO] [stdout] 22  | struct Unit;
[INFO] [stdout]     | ----------- method `using_encoded` not found for this struct because it doesn't satisfy `<Unit as Deref>::Target = _`, `Unit: Encode` or `Unit: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 176 |     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]             `<Unit as Deref>::Target = _`
[INFO] [stdout]             which is required by `Unit: Encode`
[INFO] [stdout]             `Unit: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Unit: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[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:107:21
[INFO] [stdout]     |
[INFO] [stdout] 45  | struct Uc(#[codec(compact)] u32);
[INFO] [stdout]     | --------- function or associated item `decode` not found for this struct because it doesn't satisfy `<Uc as WrapperTypeDecode>::Wrapped = _`, `Uc: Decode` or `Uc: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 107 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[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:181:19
[INFO] [stdout]     |
[INFO] [stdout] 22  | struct Unit;
[INFO] [stdout]     | ----------- function or associated item `decode` not found for this struct because it doesn't satisfy `<Unit as WrapperTypeDecode>::Wrapped = _`, `Unit: Decode` or `Unit: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 181 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Compact<U>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/single_field_struct_encoding.rs:108:35
[INFO] [stdout]     |
[INFO] [stdout] 108 |     assert_eq!(ucom, <Compact::<U>>::decode(&mut ucom_encoded).unwrap());
[INFO] [stdout]     |                                      ^^^^^^ function or associated item cannot be called on `Compact<U>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<&Compact<U> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&Compact<U>: Decode`
[INFO] [stdout]             `&Compact<U>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&Compact<U>: Decode`
[INFO] [stdout]             `<&mut Compact<U> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut Compact<U>: Decode`
[INFO] [stdout]             `&mut Compact<U>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut Compact<U>: 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:188:4
[INFO] [stdout]     |
[INFO] [stdout] 25  | struct Indexed(u32, u64);
[INFO] [stdout]     | -------------- method `using_encoded` not found for this struct because it doesn't satisfy `<Indexed as Deref>::Target = _`, `Indexed: Encode` or `Indexed: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 188 |     v.using_encoded(|ref slice| assert_eq!(slice, &b"\x01\0\0\0\x02\0\0\0\0\0\0\0"));
[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]             `<Indexed as Deref>::Target = _`
[INFO] [stdout]             which is required by `Indexed: Encode`
[INFO] [stdout]             `Indexed: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Indexed: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[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:109:25
[INFO] [stdout]     |
[INFO] [stdout] 48  | struct Ucas(#[codec(compact)] U);
[INFO] [stdout]     | ----------- function or associated item `decode` not found for this struct because it doesn't satisfy `<Ucas as WrapperTypeDecode>::Wrapped = _`, `Ucas: Decode` or `Ucas: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 109 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:191:22
[INFO] [stdout]     |
[INFO] [stdout] 25  | struct Indexed(u32, u64);
[INFO] [stdout]     | -------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<Indexed as WrapperTypeDecode>::Wrapped = _`, `Indexed: Decode` or `Indexed: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 191 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:110:35
[INFO] [stdout]     |
[INFO] [stdout] 51  | struct USkipcas(#[codec(compact)] USkip);
[INFO] [stdout]     | --------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<USkipcas as WrapperTypeDecode>::Wrapped = _`, `USkipcas: Decode` or `USkipcas: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 110 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:198:11
[INFO] [stdout]     |
[INFO] [stdout] 25  | struct Indexed(u32, u64);
[INFO] [stdout]     | -------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<Indexed as WrapperTypeDecode>::Wrapped = _`, `Indexed: Decode` or `Indexed: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 198 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:111:35
[INFO] [stdout]     |
[INFO] [stdout] 54  | struct SSkipcas(#[codec(compact)] SSkip);
[INFO] [stdout]     | --------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<SSkipcas as WrapperTypeDecode>::Wrapped = _`, `SSkipcas: Decode` or `SSkipcas: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 111 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:205:11
[INFO] [stdout]     |
[INFO] [stdout] 25  | struct Indexed(u32, u64);
[INFO] [stdout]     | -------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<Indexed as WrapperTypeDecode>::Wrapped = _`, `Indexed: Decode` or `Indexed: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 205 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:112:21
[INFO] [stdout]     |
[INFO] [stdout] 57  | struct Uh<T: HasCompact>(#[codec(encoded_as = "<T as HasCompact>::Type")] T);
[INFO] [stdout]     | ------------------------ function or associated item `decode` not found for this struct because it doesn't satisfy `<Uh<_> as WrapperTypeDecode>::Wrapped = _`, `Uh<_>: Decode` or `Uh<_>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 112 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:212:12
[INFO] [stdout]     |
[INFO] [stdout] 50  | enum EnumType {
[INFO] [stdout]     | ------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<EnumType as WrapperTypeDecode>::Wrapped = _`, `EnumType: Decode` or `EnumType: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 212 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encode`
[INFO] [stdout]  --> tests/single_field_struct_encoding.rs:2:43
[INFO] [stdout]   |
[INFO] [stdout] 2 | 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: `Decode`
[INFO] [stdout]  --> tests/single_field_struct_encoding.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use parity_scale_codec::{Compact, Decode, Encode, HasCompact};
[INFO] [stdout]   |                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Struct<u32, u32, u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:219:27
[INFO] [stdout]     |
[INFO] [stdout] 28  | struct Struct<A, B, C> {
[INFO] [stdout]     | ---------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `Struct<u32, u32, u32>: Decode` or `Struct<u32, u32, u32>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 219 |     Struct::<u32, u32, u32>::decode(&mut wrong).unwrap();
[INFO] [stdout]     |                              ^^^^^^ function or associated item cannot be called on `Struct<u32, u32, u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Struct<u32, u32, u32>`, consider using `Struct::<A, B, C>::new` which returns `Struct<_, _, _>`
[INFO] [stdout]    --> tests/mod.rs:44:2
[INFO] [stdout]     |
[INFO] [stdout] 44  |     fn new(a: A, b: B, c: C) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Struct<u32, u32, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `Struct<u32, u32, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `<&Struct<u32, u32, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `&Struct<u32, u32, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `<&mut Struct<u32, u32, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `&mut Struct<u32, u32, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut Struct<u32, u32, u32>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Struct<u32, u32, u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:226:27
[INFO] [stdout]     |
[INFO] [stdout] 28  | struct Struct<A, B, C> {
[INFO] [stdout]     | ---------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `Struct<u32, u32, u32>: Decode` or `Struct<u32, u32, u32>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 226 |     Struct::<u32, u32, u32>::decode(&mut wrong).unwrap();
[INFO] [stdout]     |                              ^^^^^^ function or associated item cannot be called on `Struct<u32, u32, u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Struct<u32, u32, u32>`, consider using `Struct::<A, B, C>::new` which returns `Struct<_, _, _>`
[INFO] [stdout]    --> tests/mod.rs:44:2
[INFO] [stdout]     |
[INFO] [stdout] 44  |     fn new(a: A, b: B, c: C) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Struct<u32, u32, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `Struct<u32, u32, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `<&Struct<u32, u32, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `&Struct<u32, u32, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `<&mut Struct<u32, u32, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `&mut Struct<u32, u32, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut Struct<u32, u32, u32>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `TestHasCompact<u64>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:266:43
[INFO] [stdout]     |
[INFO] [stdout] 68  | struct TestHasCompact<T: HasCompact> {
[INFO] [stdout]     | ------------------------------------ method `encode` not found for this struct because it doesn't satisfy `<TestHasCompact<u64> as Deref>::Target = _`, `TestHasCompact<u64>: Encode` or `TestHasCompact<u64>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 266 |         let encoded = TestHasCompact { bar: n }.encode();
[INFO] [stdout]     |                                                 ^^^^^^ method cannot be called on `TestHasCompact<u64>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestHasCompact<u64> as Deref>::Target = _`
[INFO] [stdout]             which is required by `TestHasCompact<u64>: Encode`
[INFO] [stdout]             `TestHasCompact<u64>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `TestHasCompact<u64>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `TestHasCompact<u64>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:269:37
[INFO] [stdout]     |
[INFO] [stdout] 68  | struct TestHasCompact<T: HasCompact> {
[INFO] [stdout]     | ------------------------------------ function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `TestHasCompact<u64>: Decode` or `TestHasCompact<u64>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 269 |         assert_eq!(<TestHasCompact<u64>>::decode(&mut &encoded[..]).unwrap().bar, n);
[INFO] [stdout]     |                                           ^^^^^^ function or associated item cannot be called on `TestHasCompact<u64>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestHasCompact<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `TestHasCompact<u64>: Decode`
[INFO] [stdout]             `TestHasCompact<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `TestHasCompact<u64>: Decode`
[INFO] [stdout]             `<&TestHasCompact<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&TestHasCompact<u64>: Decode`
[INFO] [stdout]             `&TestHasCompact<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&TestHasCompact<u64>: Decode`
[INFO] [stdout]             `<&mut TestHasCompact<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut TestHasCompact<u64>: Decode`
[INFO] [stdout]             `&mut TestHasCompact<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut TestHasCompact<u64>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 36 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 `encode` exists for struct `TestHasCompact<u64>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:276:43
[INFO] [stdout]     |
[INFO] [stdout] 68  | struct TestHasCompact<T: HasCompact> {
[INFO] [stdout]     | ------------------------------------ method `encode` not found for this struct because it doesn't satisfy `<TestHasCompact<u64> as Deref>::Target = _`, `TestHasCompact<u64>: Encode` or `TestHasCompact<u64>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 276 |         let encoded = TestHasCompact { bar: n }.encode();
[INFO] [stdout]     |                                                 ^^^^^^ method cannot be called on `TestHasCompact<u64>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestHasCompact<u64> as Deref>::Target = _`
[INFO] [stdout]             which is required by `TestHasCompact<u64>: Encode`
[INFO] [stdout]             `TestHasCompact<u64>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `TestHasCompact<u64>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `TestCompactHasCompact<u64>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:279:44
[INFO] [stdout]     |
[INFO] [stdout] 74  | struct TestCompactHasCompact<T: HasCompact> {
[INFO] [stdout]     | ------------------------------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `TestCompactHasCompact<u64>: Decode` or `TestCompactHasCompact<u64>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 279 |         assert_eq!(<TestCompactHasCompact<u64>>::decode(&mut &encoded[..]).unwrap().bar, n);
[INFO] [stdout]     |                                                  ^^^^^^ function or associated item cannot be called on `TestCompactHasCompact<u64>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestCompactHasCompact<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `TestCompactHasCompact<u64>: Decode`
[INFO] [stdout]             `TestCompactHasCompact<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `TestCompactHasCompact<u64>: Decode`
[INFO] [stdout]             `<&TestCompactHasCompact<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&TestCompactHasCompact<u64>: Decode`
[INFO] [stdout]             `&TestCompactHasCompact<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&TestCompactHasCompact<u64>: Decode`
[INFO] [stdout]             `<&mut TestCompactHasCompact<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut TestCompactHasCompact<u64>: Decode`
[INFO] [stdout]             `&mut TestCompactHasCompact<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut TestCompactHasCompact<u64>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parity-scale-codec` (test "single_field_struct_encoding") due to 37 previous errors; 2 warnings emitted
[INFO] [stdout] error[E0599]: the method `encode` exists for reference `&TestHasCompactEnum<u64>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:294:24
[INFO] [stdout]     |
[INFO] [stdout] 80  | enum TestHasCompactEnum<T: HasCompact> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `<TestHasCompactEnum<u64> as Deref>::Target = _`, `TestHasCompactEnum<u64>: Encode` or `TestHasCompactEnum<u64>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 294 |             let encoded = value.encode();
[INFO] [stdout]     |                                 ^^^^^^ method cannot be called on `&TestHasCompactEnum<u64>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestHasCompactEnum<u64> as Deref>::Target = _`
[INFO] [stdout]             which is required by `TestHasCompactEnum<u64>: Encode`
[INFO] [stdout]             `TestHasCompactEnum<u64>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `TestHasCompactEnum<u64>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `TestHasCompactEnum<u64>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:297:43
[INFO] [stdout]     |
[INFO] [stdout] 80  | enum TestHasCompactEnum<T: HasCompact> {
[INFO] [stdout]     | -------------------------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `TestHasCompactEnum<u64>: Decode` or `TestHasCompactEnum<u64>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 297 |             assert_eq!(&<TestHasCompactEnum<u64>>::decode(&mut &encoded[..]).unwrap(), value);
[INFO] [stdout]     |                                                    ^^^^^^ variant or associated item cannot be called on `TestHasCompactEnum<u64>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestHasCompactEnum<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `TestHasCompactEnum<u64>: Decode`
[INFO] [stdout]             `TestHasCompactEnum<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `TestHasCompactEnum<u64>: Decode`
[INFO] [stdout]             `<&TestHasCompactEnum<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&TestHasCompactEnum<u64>: Decode`
[INFO] [stdout]             `&TestHasCompactEnum<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&TestHasCompactEnum<u64>: Decode`
[INFO] [stdout]             `<&mut TestHasCompactEnum<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut TestHasCompactEnum<u64>: Decode`
[INFO] [stdout]             `&mut TestHasCompactEnum<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut TestHasCompactEnum<u64>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:305:49
[INFO] [stdout]     |
[INFO] [stdout] 94  | struct TestCompactAttribute {
[INFO] [stdout]     | --------------------------- method `encode` not found for this struct because it doesn't satisfy `<TestCompactAttribute as Deref>::Target = _`, `TestCompactAttribute: Encode` or `TestCompactAttribute: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 305 |         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]             `<TestCompactAttribute as Deref>::Target = _`
[INFO] [stdout]             which is required by `TestCompactAttribute: Encode`
[INFO] [stdout]             `TestCompactAttribute: WrapperTypeEncode`
[INFO] [stdout]             which is required by `TestCompactAttribute: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:307:36
[INFO] [stdout]     |
[INFO] [stdout] 94  | struct TestCompactAttribute {
[INFO] [stdout]     | --------------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `TestCompactAttribute: Decode` or `TestCompactAttribute: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 307 |         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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:318:24
[INFO] [stdout]     |
[INFO] [stdout] 100 | enum TestCompactAttributeEnum {
[INFO] [stdout]     | ----------------------------- doesn't satisfy `<TestCompactAttributeEnum as Deref>::Target = _`, `TestCompactAttributeEnum: Encode` or `TestCompactAttributeEnum: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 318 |             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]             `<TestCompactAttributeEnum as Deref>::Target = _`
[INFO] [stdout]             which is required by `TestCompactAttributeEnum: Encode`
[INFO] [stdout]             `TestCompactAttributeEnum: WrapperTypeEncode`
[INFO] [stdout]             which is required by `TestCompactAttributeEnum: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:320:42
[INFO] [stdout]     |
[INFO] [stdout] 100 | enum TestCompactAttributeEnum {
[INFO] [stdout]     | ----------------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `TestCompactAttributeEnum: Decode` or `TestCompactAttributeEnum: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 320 |             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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `Struct<TraitImplementor, u64>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:348:22
[INFO] [stdout]     |
[INFO] [stdout] 333 |     struct Struct<T: Trait, Type> {
[INFO] [stdout]     |     ----------------------------- method `encode` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 348 |     let encoded = value.encode();
[INFO] [stdout]     |                         ^^^^^^ method cannot be called on `Struct<TraitImplementor, u64>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<associated_type_bounds::Struct<TraitImplementor, u64> as Deref>::Target = _`
[INFO] [stdout]             which is required by `associated_type_bounds::Struct<TraitImplementor, u64>: Encode`
[INFO] [stdout]             `associated_type_bounds::Struct<TraitImplementor, u64>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `associated_type_bounds::Struct<TraitImplementor, u64>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:349:55
[INFO] [stdout]     |
[INFO] [stdout] 333 |     struct Struct<T: Trait, Type> {
[INFO] [stdout]     |     ----------------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `_: WrapperTypeDecode` or `associated_type_bounds::Struct<_, _>: Decode`
[INFO] [stdout] ...
[INFO] [stdout] 349 |     let decoded: Struct<TraitImplementor, u64> = Struct::decode(&mut &encoded[..]).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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `TestGeneric<StructEncodeAsRef>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:384:4
[INFO] [stdout]     |
[INFO] [stdout] 375 |     struct TestGeneric<A: From<u32>>
[INFO] [stdout]     |     -------------------------------- method `encode` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `TestGeneric<StructEncodeAsRef>: Encode` or `TestGeneric<StructEncodeAsRef>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 384 |     a.encode();
[INFO] [stdout]     |       ^^^^^^ method cannot be called on `TestGeneric<StructEncodeAsRef>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestGeneric<StructEncodeAsRef> as Deref>::Target = _`
[INFO] [stdout]             which is required by `TestGeneric<StructEncodeAsRef>: Encode`
[INFO] [stdout]             `TestGeneric<StructEncodeAsRef>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `TestGeneric<StructEncodeAsRef>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `TestGenericHasCompact<StructHasCompact>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:420:4
[INFO] [stdout]     |
[INFO] [stdout] 411 |     enum TestGenericHasCompact<T> {
[INFO] [stdout]     |     ----------------------------- method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `TestGenericHasCompact<StructHasCompact>: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 420 |     a.encode();
[INFO] [stdout]     |       ^^^^^^ method cannot be called on `TestGenericHasCompact<StructHasCompact>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestGenericHasCompact<StructHasCompact> as Deref>::Target = _`
[INFO] [stdout]             which is required by `TestGenericHasCompact<StructHasCompact>: Encode`
[INFO] [stdout]             `TestGenericHasCompact<StructHasCompact>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `TestGenericHasCompact<StructHasCompact>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `TestGenericTrait<StructNoCodec>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:445:4
[INFO] [stdout]     |
[INFO] [stdout] 439 |     struct TestGenericTrait<T: TraitNoCodec> {
[INFO] [stdout]     |     ---------------------------------------- method `encode` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `TestGenericTrait<StructNoCodec>: Encode` or `TestGenericTrait<StructNoCodec>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 445 |     a.encode();
[INFO] [stdout]     |       ^^^^^^ method cannot be called on `TestGenericTrait<StructNoCodec>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestGenericTrait<StructNoCodec> as Deref>::Target = _`
[INFO] [stdout]             which is required by `TestGenericTrait<StructNoCodec>: Encode`
[INFO] [stdout]             `TestGenericTrait<StructNoCodec>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `TestGenericTrait<StructNoCodec>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `Recursive<u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:457:6
[INFO] [stdout]     |
[INFO] [stdout] 451 |     struct Recursive<N> {
[INFO] [stdout]     |     ------------------- method `encode` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 457 |     val.encode();
[INFO] [stdout]     |         ^^^^^^ method cannot be called on `Recursive<u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<recursive_variant_1_encode_works::Recursive<u32> as Deref>::Target = _`
[INFO] [stdout]             which is required by `recursive_variant_1_encode_works::Recursive<u32>: Encode`
[INFO] [stdout]             `recursive_variant_1_encode_works::Recursive<u32>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `recursive_variant_1_encode_works::Recursive<u32>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `Recursive<u32, i32, u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:469:6
[INFO] [stdout]     |
[INFO] [stdout] 463 |     struct Recursive<A, B, N> {
[INFO] [stdout]     |     ------------------------- method `encode` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 469 |     val.encode();
[INFO] [stdout]     |         ^^^^^^ method cannot be called on `Recursive<u32, i32, u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<recursive_variant_2_encode_works::Recursive<u32, i32, u32> as Deref>::Target = _`
[INFO] [stdout]             which is required by `recursive_variant_2_encode_works::Recursive<u32, i32, u32>: Encode`
[INFO] [stdout]             `recursive_variant_2_encode_works::Recursive<u32, i32, u32>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `recursive_variant_2_encode_works::Recursive<u32, i32, u32>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `Test<u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:488:6
[INFO] [stdout]     |
[INFO] [stdout] 483 |     pub struct Test<N> {
[INFO] [stdout]     |     ------------------ method `encode` not found for this struct because it doesn't satisfy `<Test<u32> as Deref>::Target = _`, `Test<u32>: Encode` or `Test<u32>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 488 |     val.encode();
[INFO] [stdout]     |         ^^^^^^ method cannot be called on `Test<u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Test<u32> as Deref>::Target = _`
[INFO] [stdout]             which is required by `Test<u32>: Encode`
[INFO] [stdout]             `Test<u32>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Test<u32>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `EmptyEnumDerive: Encode` is not satisfied
[INFO] [stdout]    --> tests/mod.rs:497:24
[INFO] [stdout]     |
[INFO] [stdout] 497 |     impls_encode_decode::<EmptyEnumDerive>();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `EmptyEnumDerive`, which is required by `EmptyEnumDerive: Encode`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Encode`:
[INFO] [stdout]               bool
[INFO] [stdout]               i8
[INFO] [stdout]               i16
[INFO] [stdout]               i32
[INFO] [stdout]               i64
[INFO] [stdout]               i128
[INFO] [stdout]               u8
[INFO] [stdout]               u16
[INFO] [stdout]             and 57 others
[INFO] [stdout]     = note: required for `EmptyEnumDerive` to implement `Encode`
[INFO] [stdout] note: required by a bound in `impls_encode_decode`
[INFO] [stdout]    --> tests/mod.rs:496:28
[INFO] [stdout]     |
[INFO] [stdout] 496 |     fn impls_encode_decode<T: Encode + Decode>() {}
[INFO] [stdout]     |                               ^^^^^^ required by this bound in `impls_encode_decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `EmptyEnumDerive: Decode` is not satisfied
[INFO] [stdout]    --> tests/mod.rs:497:24
[INFO] [stdout]     |
[INFO] [stdout] 497 |     impls_encode_decode::<EmptyEnumDerive>();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `EmptyEnumDerive`, which is required by `EmptyEnumDerive: Decode`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Decode`:
[INFO] [stdout]               bool
[INFO] [stdout]               i8
[INFO] [stdout]               i16
[INFO] [stdout]               i32
[INFO] [stdout]               i64
[INFO] [stdout]               i128
[INFO] [stdout]               u8
[INFO] [stdout]               u16
[INFO] [stdout]             and 59 others
[INFO] [stdout]     = note: required for `EmptyEnumDerive` to implement `Decode`
[INFO] [stdout] note: required by a bound in `impls_encode_decode`
[INFO] [stdout]    --> tests/mod.rs:496:37
[INFO] [stdout]     |
[INFO] [stdout] 496 |     fn impls_encode_decode<T: Encode + Decode>() {}
[INFO] [stdout]     |                                        ^^^^^^ required by this bound in `impls_encode_decode`
[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:500:20
[INFO] [stdout]     |
[INFO] [stdout] 494 |     enum EmptyEnumDerive {}
[INFO] [stdout]     |     -------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `EmptyEnumDerive: Decode` or `EmptyEnumDerive: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 500 |         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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `Something<NotEncode, u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:599:5
[INFO] [stdout]     |
[INFO] [stdout] 582 |       struct Something<T, N> {
[INFO] [stdout]     |       ---------------------- method `encode` not found for this struct because it doesn't satisfy `<Something<NotEncode, u32> as Deref>::Target = _`, `Something<NotEncode, u32>: Encode` or `Something<NotEncode, u32>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 598 | /         Something::<NotEncode, u32> { hello: Hello { _phantom: Default::default() }, val: 32u32 }
[INFO] [stdout] 599 | |             .encode();
[INFO] [stdout]     | |             -^^^^^^ method cannot be called on `Something<NotEncode, u32>` due to unsatisfied trait bounds
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     | 
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Something<NotEncode, u32> as Deref>::Target = _`
[INFO] [stdout]             which is required by `Something<NotEncode, u32>: Encode`
[INFO] [stdout]             `Something<NotEncode, u32>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Something<NotEncode, u32>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Something<NotEncode, u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:601:31
[INFO] [stdout]     |
[INFO] [stdout] 582 |     struct Something<T, N> {
[INFO] [stdout]     |     ---------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `Something<NotEncode, u32>: Decode` or `Something<NotEncode, u32>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 601 |     Something::<NotEncode, u32>::decode(&mut &encoded[..]).unwrap();
[INFO] [stdout]     |                                  ^^^^^^ function or associated item cannot be called on `Something<NotEncode, u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Something<NotEncode, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `Something<NotEncode, u32>: Decode`
[INFO] [stdout]             `Something<NotEncode, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `Something<NotEncode, u32>: Decode`
[INFO] [stdout]             `<&Something<NotEncode, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&Something<NotEncode, u32>: Decode`
[INFO] [stdout]             `&Something<NotEncode, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&Something<NotEncode, u32>: Decode`
[INFO] [stdout]             `<&mut Something<NotEncode, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut Something<NotEncode, u32>: Decode`
[INFO] [stdout]             `&mut Something<NotEncode, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut Something<NotEncode, u32>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `HugeArrayNewtypeBox`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:675:31
[INFO] [stdout]     |
[INFO] [stdout] 672 |     struct HugeArrayNewtypeBox(Box<HugeArrayNewtype>);
[INFO] [stdout]     |     -------------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `HugeArrayNewtypeBox: Decode` or `HugeArrayNewtypeBox: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 675 |     assert!(HugeArrayNewtypeBox::decode(&mut data.as_slice()).is_err());
[INFO] [stdout]     |                                  ^^^^^^ function or associated item cannot be called on `HugeArrayNewtypeBox` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<HugeArrayNewtypeBox as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `HugeArrayNewtypeBox: Decode`
[INFO] [stdout]             `HugeArrayNewtypeBox: WrapperTypeDecode`
[INFO] [stdout]             which is required by `HugeArrayNewtypeBox: Decode`
[INFO] [stdout]             `<&HugeArrayNewtypeBox as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&HugeArrayNewtypeBox: Decode`
[INFO] [stdout]             `&HugeArrayNewtypeBox: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&HugeArrayNewtypeBox: Decode`
[INFO] [stdout]             `<&mut HugeArrayNewtypeBox as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut HugeArrayNewtypeBox: Decode`
[INFO] [stdout]             `&mut HugeArrayNewtypeBox: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut HugeArrayNewtypeBox: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `SmallArraysBox`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:690:30
[INFO] [stdout]     |
[INFO] [stdout] 687 |     struct SmallArraysBox(Box<SmallArrays>);
[INFO] [stdout]     |     --------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<SmallArraysBox as WrapperTypeDecode>::Wrapped = _`, `SmallArraysBox: Decode` or `SmallArraysBox: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 690 |     assert_eq!(*SmallArraysBox::decode(&mut data.as_slice()).unwrap().0, SmallArrays([1, 2], [3, 4]));
[INFO] [stdout]     |                                 ^^^^^^ function or associated item cannot be called on `SmallArraysBox` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<SmallArraysBox as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `SmallArraysBox: Decode`
[INFO] [stdout]             `SmallArraysBox: WrapperTypeDecode`
[INFO] [stdout]             which is required by `SmallArraysBox: Decode`
[INFO] [stdout]             `<&SmallArraysBox as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&SmallArraysBox: Decode`
[INFO] [stdout]             `&SmallArraysBox: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&SmallArraysBox: Decode`
[INFO] [stdout]             `<&mut SmallArraysBox as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut SmallArraysBox: Decode`
[INFO] [stdout]             `&mut SmallArraysBox: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut SmallArraysBox: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `NewtypeWithZst`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:726:29
[INFO] [stdout]     |
[INFO] [stdout] 706 |     struct NewtypeWithZst {
[INFO] [stdout]     |     --------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `_: Decode` or `_: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 726 |     assert_eq!(NewtypeWithZst::decode(&mut data.as_slice()).unwrap().field, [2]);
[INFO] [stdout]     |                                ^^^^^^ function or associated item cannot be called on `NewtypeWithZst` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: Decode`
[INFO] [stdout]             `zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: WrapperTypeDecode`
[INFO] [stdout]             which is required by `zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: Decode`
[INFO] [stdout]             `<&zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: Decode`
[INFO] [stdout]             `&zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: Decode`
[INFO] [stdout]             `<&mut zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: Decode`
[INFO] [stdout]             `&mut zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `NewtypeWithZst`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:744:26
[INFO] [stdout]     |
[INFO] [stdout] 737 |     struct NewtypeWithZst(Zst);
[INFO] [stdout]     |     --------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `_: Decode` or `_: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 744 |     assert!(NewtypeWithZst::decode(&mut data.as_slice()).is_ok());
[INFO] [stdout]     |                             ^^^^^^ function or associated item cannot be called on `NewtypeWithZst` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: Decode`
[INFO] [stdout]             `boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: WrapperTypeDecode`
[INFO] [stdout]             which is required by `boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: Decode`
[INFO] [stdout]             `<&boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: Decode`
[INFO] [stdout]             `&boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: Decode`
[INFO] [stdout]             `<&mut boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: Decode`
[INFO] [stdout]             `&mut boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for array `[Foobar; 4]`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:777:25
[INFO] [stdout]     |
[INFO] [stdout] 777 |     assert!(<[Foobar; 4]>::decode(&mut data.as_slice()).is_err());
[INFO] [stdout]     |                            ^^^^^^ function or associated item cannot be called on `[Foobar; 4]` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<&[incomplete_decoding_of_an_array_drops_partially_read_elements_if_reading_fails::Foobar; 4] as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&[incomplete_decoding_of_an_array_drops_partially_read_elements_if_reading_fails::Foobar; 4]: Decode`
[INFO] [stdout]             `&[incomplete_decoding_of_an_array_drops_partially_read_elements_if_reading_fails::Foobar; 4]: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&[incomplete_decoding_of_an_array_drops_partially_read_elements_if_reading_fails::Foobar; 4]: Decode`
[INFO] [stdout]             `<&mut [incomplete_decoding_of_an_array_drops_partially_read_elements_if_reading_fails::Foobar; 4] as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut [incomplete_decoding_of_an_array_drops_partially_read_elements_if_reading_fails::Foobar; 4]: Decode`
[INFO] [stdout]             `&mut [incomplete_decoding_of_an_array_drops_partially_read_elements_if_reading_fails::Foobar; 4]: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut [incomplete_decoding_of_an_array_drops_partially_read_elements_if_reading_fails::Foobar; 4]: Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:881:17
[INFO] [stdout]     |
[INFO] [stdout] 826 |     enum Enum {
[INFO] [stdout]     |     --------- method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 881 |     let data = obj.encode();
[INFO] [stdout]     |                    ^^^^^^ method cannot be called on `Enum` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<deserializing_of_big_recursively_nested_enum_works::Enum as Deref>::Target = _`
[INFO] [stdout]             which is required by `deserializing_of_big_recursively_nested_enum_works::Enum: Encode`
[INFO] [stdout]             `deserializing_of_big_recursively_nested_enum_works::Enum: WrapperTypeEncode`
[INFO] [stdout]             which is required by `deserializing_of_big_recursively_nested_enum_works::Enum: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:884:20
[INFO] [stdout]     |
[INFO] [stdout] 826 |     enum Enum {
[INFO] [stdout]     |     --------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `_: Decode` or `_: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 884 |     let obj_d = Enum::decode(&mut &data[..]).unwrap();
[INFO] [stdout]     |                       ^^^^^^ variant or associated item cannot be called on `Enum` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<deserializing_of_big_recursively_nested_enum_works::Enum as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout]             `deserializing_of_big_recursively_nested_enum_works::Enum: WrapperTypeDecode`
[INFO] [stdout]             which is required by `deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout]             `<&deserializing_of_big_recursively_nested_enum_works::Enum as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout]             `&deserializing_of_big_recursively_nested_enum_works::Enum: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout]             `<&mut deserializing_of_big_recursively_nested_enum_works::Enum as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout]             `&mut deserializing_of_big_recursively_nested_enum_works::Enum: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the variant or associated item `decode_with_depth_limit` exists for enum `Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:890:21
[INFO] [stdout]     |
[INFO] [stdout] 826 |     enum Enum {
[INFO] [stdout]     |     --------- variant or associated item `decode_with_depth_limit` not found for this enum because it doesn't satisfy `_: DecodeLimit` or `_: Decode`
[INFO] [stdout] ...
[INFO] [stdout] 890 |     let obj_d2 = Enum::decode_with_depth_limit(40, &mut &data[..]).unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item cannot be called on `Enum` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout]             which is required by `deserializing_of_big_recursively_nested_enum_works::Enum: DecodeLimit`
[INFO] [stdout]             `&deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout]             which is required by `&deserializing_of_big_recursively_nested_enum_works::Enum: DecodeLimit`
[INFO] [stdout]             `&mut deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout]             which is required by `&mut deserializing_of_big_recursively_nested_enum_works::Enum: DecodeLimit`
[INFO] [stdout] note: the trait `Decode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:289:1
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub trait Decode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode_with_depth_limit`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `DecodeLimit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parity_scale_codec::DecodeLimit`
[INFO] [stdout]    --> tests/mod.rs:889:6
[INFO] [stdout]     |
[INFO] [stdout] 889 |     use parity_scale_codec::DecodeLimit;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 74 previous errors; 1 warning 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] [stderr] error: could not compile `parity-scale-codec` (test "mod") due to 75 previous errors; 1 warning emitted
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0cec39ca614ddec3c2aafec2a0338d8a105cce43c2e89bef8a74d2c0dac0343f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0cec39ca614ddec3c2aafec2a0338d8a105cce43c2e89bef8a74d2c0dac0343f", kill_on_drop: false }`
[INFO] [stdout] 0cec39ca614ddec3c2aafec2a0338d8a105cce43c2e89bef8a74d2c0dac0343f
[INFO] checking parity-scale-codec-3.6.9 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate parity-scale-codec 3.6.9 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate parity-scale-codec 3.6.9 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate parity-scale-codec 3.6.9
[INFO] finished tweaking crates.io crate parity-scale-codec 3.6.9
[INFO] tweaked toml for crates.io crate parity-scale-codec 3.6.9 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e61078a4dd45bf89cc0b484f02bc4bef6ddef69a75ad668018d985325f6615a4
[INFO] running `Command { std: "docker" "start" "-a" "e61078a4dd45bf89cc0b484f02bc4bef6ddef69a75ad668018d985325f6615a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e61078a4dd45bf89cc0b484f02bc4bef6ddef69a75ad668018d985325f6615a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e61078a4dd45bf89cc0b484f02bc4bef6ddef69a75ad668018d985325f6615a4", kill_on_drop: false }`
[INFO] [stdout] e61078a4dd45bf89cc0b484f02bc4bef6ddef69a75ad668018d985325f6615a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b039c1aa48f1845c468806978ddd160cd059df824cfa4a3238db5db08aed379c
[INFO] running `Command { std: "docker" "start" "-a" "b039c1aa48f1845c468806978ddd160cd059df824cfa4a3238db5db08aed379c", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking half v2.4.0
[INFO] [stderr]     Checking winnow v0.5.40
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking os_str_bytes v6.6.1
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]    Compiling trybuild v1.0.91
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking serde v1.0.197
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking textwrap v0.16.1
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking rand_xorshift v0.3.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking unarray v0.1.4
[INFO] [stderr]     Checking rusty-fork v0.3.0
[INFO] [stderr]     Checking glob v0.3.1
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking plotters v0.3.5
[INFO] [stderr]     Checking proptest v1.4.0
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking env_logger v0.8.4
[INFO] [stderr]     Checking quickcheck v1.0.3
[INFO] [stderr]     Checking serde_spanned v0.6.5
[INFO] [stderr]     Checking toml_datetime v0.6.3
[INFO] [stderr]     Checking serde_json v1.0.115
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking parity-scale-codec v3.6.9 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `TryFrom` is imported redundantly
[INFO] [stdout]   --> src/codec.rs:19:2
[INFO] [stdout]    |
[INFO] [stdout] 19 |     convert::TryFrom,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `TryFrom` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `FromIterator` is imported redundantly
[INFO] [stdout]   --> src/codec.rs:20:2
[INFO] [stdout]    |
[INFO] [stdout] 20 |     iter::FromIterator,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `FromIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Box` is imported redundantly
[INFO] [stdout]   --> src/codec.rs:47:2
[INFO] [stdout]    |
[INFO] [stdout] 47 |     boxed::Box,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Box` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToOwned` is imported redundantly
[INFO] [stdout]   --> src/codec.rs:48:16
[INFO] [stdout]    |
[INFO] [stdout] 48 |     borrow::{Cow, ToOwned},
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `ToOwned` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `String` is imported redundantly
[INFO] [stdout]   --> src/codec.rs:53:2
[INFO] [stdout]    |
[INFO] [stdout] 53 |     string::String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `String` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/compact.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::alloc::vec::Vec;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Extend` is imported redundantly
[INFO] [stdout]   --> src/joiner.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use core::iter::Extend;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Extend` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Extend` is imported redundantly
[INFO] [stdout]   --> src/keyedvec.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use core::iter::Extend;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Extend` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/keyedvec.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::alloc::vec::Vec;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly
[INFO] [stdout]   --> src/encode_append.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::iter::ExactSizeIterator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `ExactSizeIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/encode_append.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::alloc::vec::Vec;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Box` is imported redundantly
[INFO] [stdout]   --> src/error.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::alloc::boxed::Box;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Box` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking toml_edit v0.20.2
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.4.0
[INFO] [stderr]     Checking toml v0.8.2
[INFO] [stdout] warning: the item `TryFrom` is imported redundantly
[INFO] [stdout]   --> src/codec.rs:19:2
[INFO] [stdout]    |
[INFO] [stdout] 19 |     convert::TryFrom,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `TryFrom` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Box` is imported redundantly
[INFO] [stdout]   --> src/codec.rs:47:2
[INFO] [stdout]    |
[INFO] [stdout] 47 |     boxed::Box,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Box` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToOwned` is imported redundantly
[INFO] [stdout]   --> src/codec.rs:48:16
[INFO] [stdout]    |
[INFO] [stdout] 48 |     borrow::{Cow, ToOwned},
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `ToOwned` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Cow` is imported redundantly
[INFO] [stdout]     --> src/codec.rs:1595:6
[INFO] [stdout]      |
[INFO] [stdout] 1594 |     use super::*;
[INFO] [stdout]      |         -------- the item `Cow` is already imported here
[INFO] [stdout] 1595 |     use std::borrow::Cow;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Extend` is imported redundantly
[INFO] [stdout]   --> src/joiner.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use core::iter::Extend;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Extend` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Extend` is imported redundantly
[INFO] [stdout]   --> src/keyedvec.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use core::iter::Extend;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Extend` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/keyedvec.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::alloc::vec::Vec;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly
[INFO] [stdout]   --> src/encode_append.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::iter::ExactSizeIterator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `ExactSizeIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Encode` is imported redundantly
[INFO] [stdout]    --> src/encode_append.rs:146:21
[INFO] [stdout]     |
[INFO] [stdout] 145 |     use super::*;
[INFO] [stdout]     |         -------- the item `Encode` is already imported here
[INFO] [stdout] 146 |     use crate::{Input, Encode, EncodeLike};
[INFO] [stdout]     |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `EncodeLike` is imported redundantly
[INFO] [stdout]    --> src/encode_append.rs:146:29
[INFO] [stdout]     |
[INFO] [stdout] 145 |     use super::*;
[INFO] [stdout]     |         -------- the item `EncodeLike` is already imported here
[INFO] [stdout] 146 |     use crate::{Input, Encode, EncodeLike};
[INFO] [stdout]     |                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Box` is imported redundantly
[INFO] [stdout]   --> src/error.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::alloc::boxed::Box;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Box` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[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] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 21 | use parity_scale_codec::{Encode, Decode};
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryFrom` is imported redundantly
[INFO] [stdout]   --> benches/benches.rs:15:53
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::{time::Duration, any::type_name, convert::{TryFrom, TryInto}};
[INFO] [stdout]    |                                                     ^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `TryFrom` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]   --> benches/benches.rs:15:62
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::{time::Duration, any::type_name, convert::{TryFrom, TryInto}};
[INFO] [stdout]    |                                                              ^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]  --> tests/size_hint.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use parity_scale_codec_derive::Encode as DeriveEncode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 2 | use parity_scale_codec::Encode as DeriveEncode;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]   --> tests/type_inference.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use parity_scale_codec_derive::Decode as DeriveDecode;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 17 | use parity_scale_codec::Decode as DeriveDecode;
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]  --> tests/variant_number.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use parity_scale_codec_derive::Encode as DeriveEncode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 1 | use parity_scale_codec::Encode as DeriveEncode;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]   --> tests/chain-error.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use parity_scale_codec_derive::Decode as DeriveDecode;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 15 | use parity_scale_codec::Decode as DeriveDecode;
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]   --> tests/clippy.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use parity_scale_codec_derive::{Decode, Encode};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 19 | use parity_scale_codec::{Decode, Encode};
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]  --> tests/single_field_struct_encoding.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use parity_scale_codec_derive::{Encode as DeriveEncode, Decode as DeriveDecode, CompactAs as DeriveCompactAs};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 1 | use parity_scale_codec::{Encode as DeriveEncode, Decode as DeriveDecode, CompactAs as DeriveCompactAs};
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]   --> tests/mod.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use parity_scale_codec_derive::{Decode as DeriveDecode, Encode as DeriveEncode};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 18 | use parity_scale_codec::{Decode as DeriveDecode, Encode as DeriveEncode};
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parity-scale-codec` (test "type_inference") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `parity-scale-codec` (test "clippy") due to 2 previous errors
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/size_hint.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |         #[codec(skip)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/variant_number.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |         #[codec(skip)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/size_hint.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 21 |     struct Tuple(String, Vec<i32>, #[codec(skip)] u32);
[INFO] [stdout]    |                                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/variant_number.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |         #[codec(index = 1)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/size_hint.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |         #[codec(index = 15)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/single_field_struct_encoding.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[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: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:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 |     #[codec(compact)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/single_field_struct_encoding.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 |     #[codec(encoded_as = "<T as HasCompact>::Type")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/single_field_struct_encoding.rs:42:16
[INFO] [stdout]    |
[INFO] [stdout] 42 | 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:42:41
[INFO] [stdout]    |
[INFO] [stdout] 42 | 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:13
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct Uc(#[codec(compact)] 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:48:15
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct Ucas(#[codec(compact)] U);
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/single_field_struct_encoding.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct USkipcas(#[codec(compact)] USkip);
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]  --> tests/skip.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use parity_scale_codec_derive::{Encode as DeriveEncode, Decode as DeriveDecode};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 1 | use parity_scale_codec::{Encode as DeriveEncode, Decode as DeriveDecode};
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec_derive`
[INFO] [stdout]   --> tests/skip.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use parity_scale_codec_derive::{Encode as DeriveEncode, Decode as DeriveDecode};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec_derive`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 12 | use parity_scale_codec::{Encode as DeriveEncode, Decode as DeriveDecode};
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~
[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 SSkipcas(#[codec(compact)] SSkip);
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/mod.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 |     #[codec(index = 15)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/single_field_struct_encoding.rs:57:28
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct Uh<T: HasCompact>(#[codec(encoded_as = "<T as HasCompact>::Type")] T);
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/mod.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[codec(encoded_as = "<T as HasCompact>::Type")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/mod.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 |     #[codec(compact)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/mod.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 81 |     Unnamed(#[codec(encoded_as = "<T as HasCompact>::Type")] T),
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/mod.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 |         #[codec(encoded_as = "<T as HasCompact>::Type")]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/mod.rs:86:19
[INFO] [stdout]    |
[INFO] [stdout] 86 |     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:88:5
[INFO] [stdout]    |
[INFO] [stdout] 88 |         #[codec(compact)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/mod.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 |     #[codec(compact)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]    --> tests/mod.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |     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:103:5
[INFO] [stdout]     |
[INFO] [stdout] 103 |         #[codec(compact)]
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]    --> tests/mod.rs:379:5
[INFO] [stdout]     |
[INFO] [stdout] 379 |         #[codec(encoded_as = "u32")]
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]    --> tests/mod.rs:413:6
[INFO] [stdout]     |
[INFO] [stdout] 413 |             #[codec(compact)]
[INFO] [stdout]     |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]    --> tests/mod.rs:482:4
[INFO] [stdout]     |
[INFO] [stdout] 482 |     #[codec(dumb_trait_bound)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]    --> tests/mod.rs:580:4
[INFO] [stdout]     |
[INFO] [stdout] 580 |     #[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:581:4
[INFO] [stdout]     |
[INFO] [stdout] 581 |     #[codec(decode_bound(N: Decode, T: Default))]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[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/mod.rs:588:4
[INFO] [stdout]     |
[INFO] [stdout] 588 |     #[codec(encode_bound())]
[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/mod.rs:589:4
[INFO] [stdout]     |
[INFO] [stdout] 589 |     #[codec(decode_bound())]
[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[E0599]: the function or associated item `decode` exists for struct `Wrapper<StructNamed>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/chain-error.rs:44:27
[INFO] [stdout]     |
[INFO] [stdout] 19  | struct Wrapper<T>(T);
[INFO] [stdout]     | ----------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `Wrapper<StructNamed>: Decode` or `Wrapper<StructNamed>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 44  |         Wrapper::<StructNamed>::decode(&mut &encoded[..]).unwrap_err().to_string(),
[INFO] [stdout]     |                                 ^^^^^^ function or associated item cannot be called on `Wrapper<StructNamed>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Wrapper<StructNamed> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `Wrapper<StructNamed>: Decode`
[INFO] [stdout]             `Wrapper<StructNamed>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `Wrapper<StructNamed>: Decode`
[INFO] [stdout]             `<&Wrapper<StructNamed> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&Wrapper<StructNamed>: Decode`
[INFO] [stdout]             `&Wrapper<StructNamed>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&Wrapper<StructNamed>: Decode`
[INFO] [stdout]             `<&mut Wrapper<StructNamed> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut Wrapper<StructNamed>: Decode`
[INFO] [stdout]             `&mut Wrapper<StructNamed>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut Wrapper<StructNamed>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `T`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/variant_number.rs:12:18
[INFO] [stdout]     |
[INFO] [stdout] 7   |     enum T {
[INFO] [stdout]     |     ------ method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 12  |     assert_eq!(T::A.encode(), vec![1]);
[INFO] [stdout]     |                     ^^^^^^ method cannot be called on `T` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<discriminant_variant_counted_in_default_index::T as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for struct `Struct<String, Vec<i32>, u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:15:15
[INFO] [stdout]     |
[INFO] [stdout] 7   |     struct Struct<A, B, C> {
[INFO] [stdout]     |     ---------------------- method `size_hint` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `Struct<String, Vec<i32>, u32>: Encode` or `Struct<String, Vec<i32>, u32>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 15  |     assert_eq!(v.size_hint(), 23);
[INFO] [stdout]     |                  ^^^^^^^^^ method cannot be called on `Struct<String, Vec<i32>, u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Struct<String, Vec<i32>, u32> as Deref>::Target = _`
[INFO] [stdout]             which is required by `Struct<String, Vec<i32>, u32>: Encode`
[INFO] [stdout]             `Struct<String, Vec<i32>, u32>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Struct<String, Vec<i32>, u32>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[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 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[E0599]: the function or associated item `decode` exists for struct `Vec<Event>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> benches/benches.rs:87:35
[INFO] [stdout]    |
[INFO] [stdout] 87 |             let mut events = Vec::<Event>::decode(&mut &encoded_events_vec[..])
[INFO] [stdout]    |                                            ^^^^^^ function or associated item cannot be called on `Vec<Event>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Vec<Event>` consider using one of the following associated functions:
[INFO] [stdout]       Vec::<T>::new
[INFO] [stdout]       Vec::<T>::with_capacity
[INFO] [stdout]       Vec::<T>::try_with_capacity
[INFO] [stdout]       Vec::<T>::from_raw_parts
[INFO] [stdout]       and 4 others
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/alloc/src/vec/mod.rs:422:5
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<&Vec<Event> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]            which is required by `&Vec<Event>: parity_scale_codec::Decode`
[INFO] [stdout]            `&Vec<Event>: WrapperTypeDecode`
[INFO] [stdout]            which is required by `&Vec<Event>: parity_scale_codec::Decode`
[INFO] [stdout]            `<&mut Vec<Event> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]            which is required by `&mut Vec<Event>: parity_scale_codec::Decode`
[INFO] [stdout]            `&mut Vec<Event>: WrapperTypeDecode`
[INFO] [stdout]            which is required by `&mut Vec<Event>: parity_scale_codec::Decode`
[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] [stdout] error[E0599]: the method `size_hint` exists for struct `Tuple`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:24:15
[INFO] [stdout]     |
[INFO] [stdout] 21  |     struct Tuple(String, Vec<i32>, #[codec(skip)] u32);
[INFO] [stdout]     |     ------------ method `size_hint` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: WrapperTypeEncode` or `size_hint_for_tuple_struct::Tuple: Encode`
[INFO] [stdout] ...
[INFO] [stdout] 24  |     assert_eq!(v.size_hint(), 23);
[INFO] [stdout]     |                  ^^^^^^^^^ method cannot be called on `Tuple` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<size_hint_for_tuple_struct::Tuple as Deref>::Target = _`
[INFO] [stdout]             which is required by `size_hint_for_tuple_struct::Tuple: Encode`
[INFO] [stdout]             `size_hint_for_tuple_struct::Tuple: WrapperTypeEncode`
[INFO] [stdout]             which is required by `size_hint_for_tuple_struct::Tuple: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Wrapper<StructUnnamed>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/chain-error.rs:58:29
[INFO] [stdout]     |
[INFO] [stdout] 19  | struct Wrapper<T>(T);
[INFO] [stdout]     | ----------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `Wrapper<StructUnnamed>: Decode` or `Wrapper<StructUnnamed>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 58  |         Wrapper::<StructUnnamed>::decode(&mut &encoded[..]).unwrap_err().to_string(),
[INFO] [stdout]     |                                   ^^^^^^ function or associated item cannot be called on `Wrapper<StructUnnamed>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Wrapper<StructUnnamed> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `Wrapper<StructUnnamed>: Decode`
[INFO] [stdout]             `Wrapper<StructUnnamed>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `Wrapper<StructUnnamed>: Decode`
[INFO] [stdout]             `<&Wrapper<StructUnnamed> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&Wrapper<StructUnnamed>: Decode`
[INFO] [stdout]             `&Wrapper<StructUnnamed>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&Wrapper<StructUnnamed>: Decode`
[INFO] [stdout]             `<&mut Wrapper<StructUnnamed> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut Wrapper<StructUnnamed>: Decode`
[INFO] [stdout]             `&mut Wrapper<StructUnnamed>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut Wrapper<StructUnnamed>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `T`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/variant_number.rs:13:18
[INFO] [stdout]     |
[INFO] [stdout] 7   |     enum T {
[INFO] [stdout]     |     ------ method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 13  |     assert_eq!(T::B.encode(), vec![1]);
[INFO] [stdout]     |                     ^^^^^^ method cannot be called on `T` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<discriminant_variant_counted_in_default_index::T as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for struct `Unit`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:33:15
[INFO] [stdout]     |
[INFO] [stdout] 30  |     struct Unit;
[INFO] [stdout]     |     ----------- method `size_hint` not found for this struct because it doesn't satisfy `<Unit as Deref>::Target = _`, `Unit: Encode` or `Unit: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 33  |     assert_eq!(v.size_hint(), 0);
[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]             `<Unit as Deref>::Target = _`
[INFO] [stdout]             which is required by `Unit: Encode`
[INFO] [stdout]             `Unit: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Unit: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[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:69:6
[INFO] [stdout]     |
[INFO] [stdout] 30  | enum E {
[INFO] [stdout]     | ------ variant or associated item `decode` not found for this enum because it doesn't satisfy `<E as WrapperTypeDecode>::Wrapped = _`, `E: Decode` or `E: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 69  |         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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `T`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/variant_number.rs:25:18
[INFO] [stdout]     |
[INFO] [stdout] 19  |     enum T {
[INFO] [stdout]     |     ------ method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 25  |     assert_eq!(T::A.encode(), vec![]);
[INFO] [stdout]     |                     ^^^^^^ method cannot be called on `T` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<skipped_variant_not_counted_in_default_index::T as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumType`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:50:15
[INFO] [stdout]     |
[INFO] [stdout] 39  |     enum EnumType {
[INFO] [stdout]     |     ------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumType as Deref>::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 50  |     assert_eq!(v.size_hint(), 1);
[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]             `<EnumType as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout]             `EnumType: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[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:82:6
[INFO] [stdout]     |
[INFO] [stdout] 30  | enum E {
[INFO] [stdout]     | ------ variant or associated item `decode` not found for this enum because it doesn't satisfy `<E as WrapperTypeDecode>::Wrapped = _`, `E: Decode` or `E: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 82  |         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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumType`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:53:15
[INFO] [stdout]     |
[INFO] [stdout] 39  |     enum EnumType {
[INFO] [stdout]     |     ------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumType as Deref>::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 53  |     assert_eq!(v.size_hint(), 13);
[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]             `<EnumType as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout]             `EnumType: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `T`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/variant_number.rs:26:18
[INFO] [stdout]     |
[INFO] [stdout] 19  |     enum T {
[INFO] [stdout]     |     ------ method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 26  |     assert_eq!(T::B.encode(), vec![0]);
[INFO] [stdout]     |                     ^^^^^^ method cannot be called on `T` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<skipped_variant_not_counted_in_default_index::T as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[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:95:6
[INFO] [stdout]     |
[INFO] [stdout] 30  | enum E {
[INFO] [stdout]     | ------ variant or associated item `decode` not found for this enum because it doesn't satisfy `<E as WrapperTypeDecode>::Wrapped = _`, `E: Decode` or `E: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 95  |         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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parity_scale_codec::Decode`
[INFO] [stdout]   --> tests/chain-error.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | 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]: the method `size_hint` exists for enum `EnumType`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:56:15
[INFO] [stdout]     |
[INFO] [stdout] 39  |     enum EnumType {
[INFO] [stdout]     |     ------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumType as Deref>::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 56  |     assert_eq!(v.size_hint(), 13);
[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]             `<EnumType as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout]             `EnumType: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `T`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/variant_number.rs:38:18
[INFO] [stdout]     |
[INFO] [stdout] 32  |     enum T {
[INFO] [stdout]     |     ------ method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 38  |     assert_eq!(T::A.encode(), vec![1]);
[INFO] [stdout]     |                     ^^^^^^ method cannot be called on `T` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<index_attr_variant_counted_and_reused_in_default_index::T as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 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[E0599]: the method `size_hint` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:71:15
[INFO] [stdout]     |
[INFO] [stdout] 62  |     enum EnumWithDiscriminant {
[INFO] [stdout]     |     ------------------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumWithDiscriminant as Deref>::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 71  |     assert_eq!(v.size_hint(), discriminant);
[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]             `<EnumWithDiscriminant as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout]             `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `Vec<Event>` 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<Event>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Event: parity_scale_codec::Encode` is not satisfied
[INFO] [stdout]    --> benches/benches.rs:107:25
[INFO] [stdout]     |
[INFO] [stdout] 107 |               encoded_events_vec = <Vec<Event> as EncodeAppend>::append_or_new(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 108 | |                 encoded_events_vec,
[INFO] [stdout] 109 | |                 &[Event::ComplexEvent(data.to_vec(), 4, 5, 6, 9)],
[INFO] [stdout] 110 | |             ).unwrap();
[INFO] [stdout]     | |_____________^ the trait `WrapperTypeEncode` is not implemented for `Event`, which is required by `Vec<Event>: parity_scale_codec::EncodeAppend`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `parity_scale_codec::Encode`:
[INFO] [stdout]               bool
[INFO] [stdout]               i8
[INFO] [stdout]               i16
[INFO] [stdout]               i32
[INFO] [stdout]               i64
[INFO] [stdout]               i128
[INFO] [stdout]               u8
[INFO] [stdout]               u16
[INFO] [stdout]             and 57 others
[INFO] [stdout]     = note: required for `Event` to implement `parity_scale_codec::Encode`
[INFO] [stdout]     = note: required for `Vec<Event>` to implement `parity_scale_codec::EncodeAppend`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `T`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/variant_number.rs:39:18
[INFO] [stdout]     |
[INFO] [stdout] 32  |     enum T {
[INFO] [stdout]     |     ------ method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 39  |     assert_eq!(T::B.encode(), vec![1]);
[INFO] [stdout]     |                     ^^^^^^ method cannot be called on `T` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<index_attr_variant_counted_and_reused_in_default_index::T as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parity_scale_codec::Encode`
[INFO] [stdout]  --> tests/variant_number.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | 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[E0599]: the method `size_hint` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:74:15
[INFO] [stdout]     |
[INFO] [stdout] 62  |     enum EnumWithDiscriminant {
[INFO] [stdout]     |     ------------------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumWithDiscriminant as Deref>::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 74  |     assert_eq!(v.size_hint(), discriminant);
[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]             `<EnumWithDiscriminant as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout]             `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&Event: EncodeLike<Event>` is not satisfied
[INFO] [stdout]    --> benches/benches.rs:107:26
[INFO] [stdout]     |
[INFO] [stdout] 107 |             encoded_events_vec = <Vec<Event> as EncodeAppend>::append_or_new(
[INFO] [stdout]     |                                   ^^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `&Event`, which is required by `&Event: EncodeLike<Event>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `EncodeLike<T>`:
[INFO] [stdout]               <bool as EncodeLike>
[INFO] [stdout]               <i8 as EncodeLike>
[INFO] [stdout]               <i16 as EncodeLike>
[INFO] [stdout]               <i32 as EncodeLike>
[INFO] [stdout]               <i64 as EncodeLike>
[INFO] [stdout]               <i128 as EncodeLike>
[INFO] [stdout]               <u8 as EncodeLike>
[INFO] [stdout]               <u16 as EncodeLike>
[INFO] [stdout]             and 80 others
[INFO] [stdout]     = note: required for `Event` to implement `parity_scale_codec::Encode`
[INFO] [stdout]     = note: required for `&Event` to implement `EncodeLike<Event>`
[INFO] [stdout] note: required by a bound in `append_or_new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/encode_append.rs:51:19
[INFO] [stdout]     |
[INFO] [stdout] 45  |     fn append_or_new<EncodeLikeItem, I>(
[INFO] [stdout]     |        ------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 51  |         EncodeLikeItem: EncodeLike<Self::Item>,
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `EncodeAppend::append_or_new`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parity-scale-codec` (test "chain-error") due to 7 previous errors; 1 warning emitted
[INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:77:15
[INFO] [stdout]     |
[INFO] [stdout] 62  |     enum EnumWithDiscriminant {
[INFO] [stdout]     |     ------------------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumWithDiscriminant as Deref>::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 77  |     assert_eq!(v.size_hint(), discriminant);
[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]             `<EnumWithDiscriminant as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout]             `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `Encode`
[INFO] [stdout]             candidate #3: `serde::de::SeqAccess`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parity_scale_codec::Encode`
[INFO] [stdout]  --> tests/size_hint.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | 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: aborting due to 9 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: aborting due to 13 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] [stderr] error: could not compile `parity-scale-codec` (test "variant_number") due to 10 previous errors; 1 warning emitted
[INFO] [stderr] error: could not compile `parity-scale-codec` (test "size_hint") due to 14 previous errors; 1 warning emitted
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:49:16
[INFO] [stdout]     |
[INFO] [stdout] 14  |     enum Enum<T=UncodecType, S=UncodecUndefaultType> {
[INFO] [stdout]     |     ------------------------------------------------ method `encode` not found for this enum because it doesn't satisfy `<enum_struct_test::Enum as Deref>::Target = _`, `enum_struct_test::Enum: Encode` or `enum_struct_test::Enum: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 49  |     assert_eq!(ea.encode(), Vec::new());
[INFO] [stdout]     |                   ^^^^^^ method cannot be called on `Enum` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<enum_struct_test::Enum as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[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:88:15
[INFO] [stdout]     |
[INFO] [stdout] 6   | struct S {
[INFO] [stdout]     | -------- method `encode` not found for this struct because it doesn't satisfy `<S as Deref>::Target = _`, `S: Encode` or `S: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 88  |     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]             `<S as Deref>::Target = _`
[INFO] [stdout]             which is required by `S: Encode`
[INFO] [stdout]             `S: WrapperTypeEncode`
[INFO] [stdout]             which is required by `S: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:51:34
[INFO] [stdout]     |
[INFO] [stdout] 14  |     enum Enum<T=UncodecType, S=UncodecUndefaultType> {
[INFO] [stdout]     |     ------------------------------------------------ method `encode` not found for this enum because it doesn't satisfy `<enum_struct_test::Enum as Deref>::Target = _`, `enum_struct_test::Enum: Encode` or `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` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<enum_struct_test::Enum as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:89:20
[INFO] [stdout]     |
[INFO] [stdout] 12  | struct SSkip {
[INFO] [stdout]     | ------------ method `encode` not found for this struct because it doesn't satisfy `<SSkip as Deref>::Target = _`, `SSkip: Encode` or `SSkip: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 89  |     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]             `<SSkip as Deref>::Target = _`
[INFO] [stdout]             which is required by `SSkip: Encode`
[INFO] [stdout]             `SSkip: WrapperTypeEncode`
[INFO] [stdout]             which is required by `SSkip: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `Vec<ComplexType>` in the current scope
[INFO] [stdout]    --> benches/benches.rs:190:18
[INFO] [stdout]     |
[INFO] [stdout] 190 |             b.iter(|| vec.encode())
[INFO] [stdout]     |                           ^^^^^^ method not found in `Vec<ComplexType>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:52:34
[INFO] [stdout]     |
[INFO] [stdout] 14  |     enum Enum<T=UncodecType, S=UncodecUndefaultType> {
[INFO] [stdout]     |     ------------------------------------------------ method `encode` not found for this enum because it doesn't satisfy `<enum_struct_test::Enum as Deref>::Target = _`, `enum_struct_test::Enum: Encode` or `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` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<enum_struct_test::Enum as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:90:16
[INFO] [stdout]     |
[INFO] [stdout] 21  | struct Sc {
[INFO] [stdout]     | --------- method `encode` not found for this struct because it doesn't satisfy `<Sc as Deref>::Target = _`, `Sc: Encode` or `Sc: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 90  |     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]             `<Sc as Deref>::Target = _`
[INFO] [stdout]             which is required by `Sc: Encode`
[INFO] [stdout]             `Sc: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Sc: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `Sh<u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/single_field_struct_encoding.rs:91:16
[INFO] [stdout]     |
[INFO] [stdout] 27  | struct Sh<T: HasCompact> {
[INFO] [stdout]     | ------------------------ method `encode` not found for this struct because it doesn't satisfy `<Sh<u32> as Deref>::Target = _`, `Sh<u32>: Encode` or `Sh<u32>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 91  |     assert_eq!(sh.encode(), sh_encoded);
[INFO] [stdout]     |                   ^^^^^^ method cannot be called on `Sh<u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Sh<u32> as Deref>::Target = _`
[INFO] [stdout]             which is required by `Sh<u32>: Encode`
[INFO] [stdout]             `Sh<u32>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Sh<u32>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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<T=UncodecType> {
[INFO] [stdout]     |     --------------------------------- method `encode` not found for this struct because it doesn't satisfy `<StructNamed as Deref>::Target = _`, `StructNamed: Encode` or `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]             `<StructNamed as Deref>::Target = _`
[INFO] [stdout]             which is required by `StructNamed: Encode`
[INFO] [stdout]             `StructNamed: WrapperTypeEncode`
[INFO] [stdout]             which is required by `StructNamed: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[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:92:15
[INFO] [stdout]     |
[INFO] [stdout] 34  | struct U(u32);
[INFO] [stdout]     | -------- method `encode` not found for this struct because it doesn't satisfy `<U as Deref>::Target = _`, `U: Encode` or `U: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 92  |     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]             `<U as Deref>::Target = _`
[INFO] [stdout]             which is required by `U: Encode`
[INFO] [stdout]             `U: WrapperTypeEncode`
[INFO] [stdout]             which is required by `U: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[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<T=UncodecType>(
[INFO] [stdout]     |     ----------------------------------- method `encode` not found for this struct because it doesn't satisfy `<StructUnnamed as Deref>::Target = _`, `StructUnnamed: Encode` or `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]             `<StructUnnamed as Deref>::Target = _`
[INFO] [stdout]             which is required by `StructUnnamed: Encode`
[INFO] [stdout]             `StructUnnamed: WrapperTypeEncode`
[INFO] [stdout]             which is required by `StructUnnamed: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:93:20
[INFO] [stdout]     |
[INFO] [stdout] 42  | struct USkip(#[codec(skip)] u32, u32, #[codec(skip)] u32);
[INFO] [stdout]     | ------------ method `encode` not found for this struct because it doesn't satisfy `<USkip as Deref>::Target = _`, `USkip: Encode` or `USkip: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 93  |     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]             `<USkip as Deref>::Target = _`
[INFO] [stdout]             which is required by `USkip: Encode`
[INFO] [stdout]             `USkip: WrapperTypeEncode`
[INFO] [stdout]             which is required by `USkip: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `Enum<_, _>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:56:19
[INFO] [stdout]     |
[INFO] [stdout] 14  |     enum Enum<T=UncodecType, S=UncodecUndefaultType> {
[INFO] [stdout]     |     ------------------------------------------------ variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `enum_struct_test::Enum<_, _>: Decode` or `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<_, _>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `Vec<ComplexType>` in the current scope
[INFO] [stdout]    --> benches/benches.rs:201:18
[INFO] [stdout]     |
[INFO] [stdout] 201 |             let vec = vec.encode();
[INFO] [stdout]     |                           ^^^^^^ method not found in `Vec<ComplexType>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Vec<ComplexType>: parity_scale_codec::Decode` is not satisfied
[INFO] [stdout]    --> benches/benches.rs:205:31
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 let _: Vec<ComplexType> = Decode::decode(&mut &vec[..]).unwrap();
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `parity_scale_codec::Decode` is not implemented for `Vec<ComplexType>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `parity_scale_codec::Decode` is implemented for `Vec<T>`
[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:94:16
[INFO] [stdout]     |
[INFO] [stdout] 45  | struct Uc(#[codec(compact)] u32);
[INFO] [stdout]     | --------- method `encode` not found for this struct because it doesn't satisfy `<Uc as Deref>::Target = _`, `Uc: Encode` or `Uc: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 94  |     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]             `<Uc as Deref>::Target = _`
[INFO] [stdout]             which is required by `Uc: Encode`
[INFO] [stdout]             `Uc: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Uc: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `Enum<_, _>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:57:19
[INFO] [stdout]     |
[INFO] [stdout] 14  |     enum Enum<T=UncodecType, S=UncodecUndefaultType> {
[INFO] [stdout]     |     ------------------------------------------------ variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `enum_struct_test::Enum<_, _>: Decode` or `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<_, _>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[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<T=UncodecType> {
[INFO] [stdout]     |     --------------------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<StructNamed<_> as WrapperTypeDecode>::Wrapped = _`, `StructNamed<_>: Decode` or `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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[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<T=UncodecType>(
[INFO] [stdout]     |     ----------------------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `StructUnnamed<_>: Decode` or `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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 2 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 `using_encoded` exists for enum `EnumType`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 50  | enum EnumType {
[INFO] [stdout]     | ------------- method `using_encoded` not found for this enum because it doesn't satisfy `<EnumType as Deref>::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 114 |     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]             `<EnumType as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout]             `EnumType: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:76:62
[INFO] [stdout]     |
[INFO] [stdout] 68  |     enum Enum {
[INFO] [stdout]     |     --------- method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: WrapperTypeEncode` or `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 `Enum` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<skip_enum_struct_inner_variant::Enum as Deref>::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] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encode`
[INFO] [stdout]  --> tests/skip.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | 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: unused import: `Decode`
[INFO] [stdout]  --> tests/skip.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use parity_scale_codec::{Encode, Decode};
[INFO] [stdout]   |                                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parity-scale-codec` (bench "benches") due to 9 previous errors; 2 warnings emitted
[INFO] [stdout] error: aborting due to 18 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:117:4
[INFO] [stdout]     |
[INFO] [stdout] 50  | enum EnumType {
[INFO] [stdout]     | ------------- method `using_encoded` not found for this enum because it doesn't satisfy `<EnumType as Deref>::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 117 |     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]             `<EnumType as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout]             `EnumType: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:120:4
[INFO] [stdout]     |
[INFO] [stdout] 50  | enum EnumType {
[INFO] [stdout]     | ------------- method `using_encoded` not found for this enum because it doesn't satisfy `<EnumType as Deref>::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 120 |     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]             `<EnumType as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout]             `EnumType: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parity-scale-codec` (test "skip") due to 19 previous errors; 2 warnings emitted
[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:125:23
[INFO] [stdout]     |
[INFO] [stdout] 50  | enum EnumType {
[INFO] [stdout]     | ------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<EnumType as WrapperTypeDecode>::Wrapped = _`, `EnumType: Decode` or `EnumType: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 125 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[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:95:18
[INFO] [stdout]    |
[INFO] [stdout] 95 |     assert_eq!(ucom.encode(), ucom_encoded);
[INFO] [stdout]    |                     ^^^^^^ method not found in `Compact<U>`
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 95 |     assert_eq!(ucom.0.0.encode(), ucom_encoded);
[INFO] [stdout]    |                     ++++
[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:127:23
[INFO] [stdout]     |
[INFO] [stdout] 50  | enum EnumType {
[INFO] [stdout]     | ------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<EnumType as WrapperTypeDecode>::Wrapped = _`, `EnumType: Decode` or `EnumType: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 127 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[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:96:18
[INFO] [stdout]     |
[INFO] [stdout] 48  | struct Ucas(#[codec(compact)] U);
[INFO] [stdout]     | ----------- method `encode` not found for this struct because it doesn't satisfy `<Ucas as Deref>::Target = _`, `Ucas: Encode` or `Ucas: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 96  |     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]             `<Ucas as Deref>::Target = _`
[INFO] [stdout]             which is required by `Ucas: Encode`
[INFO] [stdout]             `Ucas: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Ucas: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:129:23
[INFO] [stdout]     |
[INFO] [stdout] 50  | enum EnumType {
[INFO] [stdout]     | ------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<EnumType as WrapperTypeDecode>::Wrapped = _`, `EnumType: Decode` or `EnumType: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 129 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[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:97:24
[INFO] [stdout]     |
[INFO] [stdout] 51  | struct USkipcas(#[codec(compact)] USkip);
[INFO] [stdout]     | --------------- method `encode` not found for this struct because it doesn't satisfy `<USkipcas as Deref>::Target = _`, `USkipcas: Encode` or `USkipcas: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 97  |     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]             `<USkipcas as Deref>::Target = _`
[INFO] [stdout]             which is required by `USkipcas: Encode`
[INFO] [stdout]             `USkipcas: WrapperTypeEncode`
[INFO] [stdout]             which is required by `USkipcas: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:98:24
[INFO] [stdout]     |
[INFO] [stdout] 54  | struct SSkipcas(#[codec(compact)] SSkip);
[INFO] [stdout]     | --------------- method `encode` not found for this struct because it doesn't satisfy `<SSkipcas as Deref>::Target = _`, `SSkipcas: Encode` or `SSkipcas: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 98  |     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]             `<SSkipcas as Deref>::Target = _`
[INFO] [stdout]             which is required by `SSkipcas: Encode`
[INFO] [stdout]             `SSkipcas: WrapperTypeEncode`
[INFO] [stdout]             which is required by `SSkipcas: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:131:23
[INFO] [stdout]     |
[INFO] [stdout] 50  | enum EnumType {
[INFO] [stdout]     | ------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<EnumType as WrapperTypeDecode>::Wrapped = _`, `EnumType: Decode` or `EnumType: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 131 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `Uh<u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/single_field_struct_encoding.rs:99:16
[INFO] [stdout]     |
[INFO] [stdout] 57  | struct Uh<T: HasCompact>(#[codec(encoded_as = "<T as HasCompact>::Type")] T);
[INFO] [stdout]     | ------------------------ method `encode` not found for this struct because it doesn't satisfy `<Uh<u32> as Deref>::Target = _`, `Uh<u32>: Encode` or `Uh<u32>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 99  |     assert_eq!(uh.encode(), uh_encoded);
[INFO] [stdout]     |                   ^^^^^^ method cannot be called on `Uh<u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Uh<u32> as Deref>::Target = _`
[INFO] [stdout]             which is required by `Uh<u32>: Encode`
[INFO] [stdout]             `Uh<u32>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Uh<u32>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:136:26
[INFO] [stdout]     |
[INFO] [stdout] 61  | enum EnumWithDiscriminant {
[INFO] [stdout]     | ------------------------- method `using_encoded` not found for this enum because it doesn't satisfy `<EnumWithDiscriminant as Deref>::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 136 |     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]             `<EnumWithDiscriminant as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout]             `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:101:19
[INFO] [stdout]     |
[INFO] [stdout] 6   | struct S {
[INFO] [stdout]     | -------- function or associated item `decode` not found for this struct because it doesn't satisfy `<S as WrapperTypeDecode>::Wrapped = _`, `S: Decode` or `S: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 101 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:139:26
[INFO] [stdout]     |
[INFO] [stdout] 61  | enum EnumWithDiscriminant {
[INFO] [stdout]     | ------------------------- method `using_encoded` not found for this enum because it doesn't satisfy `<EnumWithDiscriminant as Deref>::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 139 |     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]             `<EnumWithDiscriminant as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout]             `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[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:102:28
[INFO] [stdout]     |
[INFO] [stdout] 12  | struct SSkip {
[INFO] [stdout]     | ------------ function or associated item `decode` not found for this struct because it doesn't satisfy `<SSkip as WrapperTypeDecode>::Wrapped = _`, `SSkip: Decode` or `SSkip: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 102 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:142:26
[INFO] [stdout]     |
[INFO] [stdout] 61  | enum EnumWithDiscriminant {
[INFO] [stdout]     | ------------------------- method `using_encoded` not found for this enum because it doesn't satisfy `<EnumWithDiscriminant as Deref>::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 142 |     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]             `<EnumWithDiscriminant as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout]             `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[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:103:21
[INFO] [stdout]     |
[INFO] [stdout] 21  | struct Sc {
[INFO] [stdout]     | --------- function or associated item `decode` not found for this struct because it doesn't satisfy `<Sc as WrapperTypeDecode>::Wrapped = _`, `Sc: Decode` or `Sc: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 103 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:147:35
[INFO] [stdout]     |
[INFO] [stdout] 61  | enum EnumWithDiscriminant {
[INFO] [stdout]     | ------------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `EnumWithDiscriminant: Decode` or `EnumWithDiscriminant: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 147 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:104:21
[INFO] [stdout]     |
[INFO] [stdout] 27  | struct Sh<T: HasCompact> {
[INFO] [stdout]     | ------------------------ function or associated item `decode` not found for this struct because it doesn't satisfy `<Sh<_> as WrapperTypeDecode>::Wrapped = _`, `Sh<_>: Decode` or `Sh<_>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 104 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:149:35
[INFO] [stdout]     |
[INFO] [stdout] 61  | enum EnumWithDiscriminant {
[INFO] [stdout]     | ------------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `EnumWithDiscriminant: Decode` or `EnumWithDiscriminant: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 149 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:105:19
[INFO] [stdout]     |
[INFO] [stdout] 34  | struct U(u32);
[INFO] [stdout]     | -------- function or associated item `decode` not found for this struct because it doesn't satisfy `<U as WrapperTypeDecode>::Wrapped = _`, `U: Decode` or `U: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 105 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:151:35
[INFO] [stdout]     |
[INFO] [stdout] 61  | enum EnumWithDiscriminant {
[INFO] [stdout]     | ------------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `EnumWithDiscriminant: Decode` or `EnumWithDiscriminant: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 151 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:106:28
[INFO] [stdout]     |
[INFO] [stdout] 42  | struct USkip(#[codec(skip)] u32, u32, #[codec(skip)] u32);
[INFO] [stdout]     | ------------ function or associated item `decode` not found for this struct because it doesn't satisfy `<USkip as WrapperTypeDecode>::Wrapped = _`, `USkip: Decode` or `USkip: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 106 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:153:35
[INFO] [stdout]     |
[INFO] [stdout] 61  | enum EnumWithDiscriminant {
[INFO] [stdout]     | ------------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `EnumWithDiscriminant: Decode` or `EnumWithDiscriminant: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 153 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:107:21
[INFO] [stdout]     |
[INFO] [stdout] 45  | struct Uc(#[codec(compact)] u32);
[INFO] [stdout]     | --------- function or associated item `decode` not found for this struct because it doesn't satisfy `<Uc as WrapperTypeDecode>::Wrapped = _`, `Uc: Decode` or `Uc: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 107 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Compact<U>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/single_field_struct_encoding.rs:108:35
[INFO] [stdout]     |
[INFO] [stdout] 108 |     assert_eq!(ucom, <Compact::<U>>::decode(&mut ucom_encoded).unwrap());
[INFO] [stdout]     |                                      ^^^^^^ function or associated item cannot be called on `Compact<U>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<&Compact<U> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&Compact<U>: Decode`
[INFO] [stdout]             `&Compact<U>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&Compact<U>: Decode`
[INFO] [stdout]             `<&mut Compact<U> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut Compact<U>: Decode`
[INFO] [stdout]             `&mut Compact<U>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut Compact<U>: Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `using_encoded` exists for struct `Struct<u32, u64, Vec<u8>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:160:4
[INFO] [stdout]     |
[INFO] [stdout] 28  | struct Struct<A, B, C> {
[INFO] [stdout]     | ---------------------- method `using_encoded` not found for this struct because it doesn't satisfy `<Struct<u32, u64, Vec<u8>> as Deref>::Target = _`, `Struct<u32, u64, Vec<u8>>: Encode` or `Struct<u32, u64, Vec<u8>>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 160 |     v.using_encoded(|ref slice| assert_eq!(slice, &b"\x0f\0\0\0\x09\0\0\0\0\0\0\0\x2cHello world"));
[INFO] [stdout]     |       ^^^^^^^^^^^^^ method cannot be called on `Struct<u32, u64, Vec<u8>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Struct<u32, u64, Vec<u8>> as Deref>::Target = _`
[INFO] [stdout]             which is required by `Struct<u32, u64, Vec<u8>>: Encode`
[INFO] [stdout]             `Struct<u32, u64, Vec<u8>>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Struct<u32, u64, Vec<u8>>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[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:109:25
[INFO] [stdout]     |
[INFO] [stdout] 48  | struct Ucas(#[codec(compact)] U);
[INFO] [stdout]     | ----------- function or associated item `decode` not found for this struct because it doesn't satisfy `<Ucas as WrapperTypeDecode>::Wrapped = _`, `Ucas: Decode` or `Ucas: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 109 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Struct<u32, u64, Vec<u8>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:167:20
[INFO] [stdout]     |
[INFO] [stdout] 28  | struct Struct<A, B, C> {
[INFO] [stdout]     | ---------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `Struct<u32, u64, Vec<u8>>: Decode` or `Struct<u32, u64, Vec<u8>>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 167 |     let v = TestType::decode(&mut &*slice);
[INFO] [stdout]     |                       ^^^^^^ function or associated item cannot be called on `Struct<u32, u64, Vec<u8>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Struct<u32, u64, Vec<u8>>`, consider using `Struct::<A, B, C>::new` which returns `Struct<_, _, _>`
[INFO] [stdout]    --> tests/mod.rs:44:2
[INFO] [stdout]     |
[INFO] [stdout] 44  |     fn new(a: A, b: B, c: C) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Struct<u32, u64, Vec<u8>> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `Struct<u32, u64, Vec<u8>>: Decode`
[INFO] [stdout]             `Struct<u32, u64, Vec<u8>>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `Struct<u32, u64, Vec<u8>>: Decode`
[INFO] [stdout]             `<&Struct<u32, u64, Vec<u8>> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&Struct<u32, u64, Vec<u8>>: Decode`
[INFO] [stdout]             `&Struct<u32, u64, Vec<u8>>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&Struct<u32, u64, Vec<u8>>: Decode`
[INFO] [stdout]             `<&mut Struct<u32, u64, Vec<u8>> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut Struct<u32, u64, Vec<u8>>: Decode`
[INFO] [stdout]             `&mut Struct<u32, u64, Vec<u8>>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut Struct<u32, u64, Vec<u8>>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:110:35
[INFO] [stdout]     |
[INFO] [stdout] 51  | struct USkipcas(#[codec(compact)] USkip);
[INFO] [stdout]     | --------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<USkipcas as WrapperTypeDecode>::Wrapped = _`, `USkipcas: Decode` or `USkipcas: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 110 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:176:4
[INFO] [stdout]     |
[INFO] [stdout] 22  | struct Unit;
[INFO] [stdout]     | ----------- method `using_encoded` not found for this struct because it doesn't satisfy `<Unit as Deref>::Target = _`, `Unit: Encode` or `Unit: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 176 |     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]             `<Unit as Deref>::Target = _`
[INFO] [stdout]             which is required by `Unit: Encode`
[INFO] [stdout]             `Unit: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Unit: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[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:111:35
[INFO] [stdout]     |
[INFO] [stdout] 54  | struct SSkipcas(#[codec(compact)] SSkip);
[INFO] [stdout]     | --------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<SSkipcas as WrapperTypeDecode>::Wrapped = _`, `SSkipcas: Decode` or `SSkipcas: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 111 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[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:181:19
[INFO] [stdout]     |
[INFO] [stdout] 22  | struct Unit;
[INFO] [stdout]     | ----------- function or associated item `decode` not found for this struct because it doesn't satisfy `<Unit as WrapperTypeDecode>::Wrapped = _`, `Unit: Decode` or `Unit: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 181 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:112:21
[INFO] [stdout]     |
[INFO] [stdout] 57  | struct Uh<T: HasCompact>(#[codec(encoded_as = "<T as HasCompact>::Type")] T);
[INFO] [stdout]     | ------------------------ function or associated item `decode` not found for this struct because it doesn't satisfy `<Uh<_> as WrapperTypeDecode>::Wrapped = _`, `Uh<_>: Decode` or `Uh<_>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 112 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encode`
[INFO] [stdout]  --> tests/single_field_struct_encoding.rs:2:43
[INFO] [stdout]   |
[INFO] [stdout] 2 | 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: `Decode`
[INFO] [stdout]  --> tests/single_field_struct_encoding.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use parity_scale_codec::{Compact, Decode, Encode, HasCompact};
[INFO] [stdout]   |                                   ^^^^^^
[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:188:4
[INFO] [stdout]     |
[INFO] [stdout] 25  | struct Indexed(u32, u64);
[INFO] [stdout]     | -------------- method `using_encoded` not found for this struct because it doesn't satisfy `<Indexed as Deref>::Target = _`, `Indexed: Encode` or `Indexed: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 188 |     v.using_encoded(|ref slice| assert_eq!(slice, &b"\x01\0\0\0\x02\0\0\0\0\0\0\0"));
[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]             `<Indexed as Deref>::Target = _`
[INFO] [stdout]             which is required by `Indexed: Encode`
[INFO] [stdout]             `Indexed: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Indexed: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `using_encoded`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:191:22
[INFO] [stdout]     |
[INFO] [stdout] 25  | struct Indexed(u32, u64);
[INFO] [stdout]     | -------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<Indexed as WrapperTypeDecode>::Wrapped = _`, `Indexed: Decode` or `Indexed: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 191 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:198:11
[INFO] [stdout]     |
[INFO] [stdout] 25  | struct Indexed(u32, u64);
[INFO] [stdout]     | -------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<Indexed as WrapperTypeDecode>::Wrapped = _`, `Indexed: Decode` or `Indexed: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 198 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:205:11
[INFO] [stdout]     |
[INFO] [stdout] 25  | struct Indexed(u32, u64);
[INFO] [stdout]     | -------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<Indexed as WrapperTypeDecode>::Wrapped = _`, `Indexed: Decode` or `Indexed: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 205 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 36 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 variant or associated item `decode` exists for enum `EnumType`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:212:12
[INFO] [stdout]     |
[INFO] [stdout] 50  | enum EnumType {
[INFO] [stdout]     | ------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<EnumType as WrapperTypeDecode>::Wrapped = _`, `EnumType: Decode` or `EnumType: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 212 |     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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Struct<u32, u32, u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:219:27
[INFO] [stdout]     |
[INFO] [stdout] 28  | struct Struct<A, B, C> {
[INFO] [stdout]     | ---------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `Struct<u32, u32, u32>: Decode` or `Struct<u32, u32, u32>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 219 |     Struct::<u32, u32, u32>::decode(&mut wrong).unwrap();
[INFO] [stdout]     |                              ^^^^^^ function or associated item cannot be called on `Struct<u32, u32, u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Struct<u32, u32, u32>`, consider using `Struct::<A, B, C>::new` which returns `Struct<_, _, _>`
[INFO] [stdout]    --> tests/mod.rs:44:2
[INFO] [stdout]     |
[INFO] [stdout] 44  |     fn new(a: A, b: B, c: C) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Struct<u32, u32, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `Struct<u32, u32, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `<&Struct<u32, u32, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `&Struct<u32, u32, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `<&mut Struct<u32, u32, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `&mut Struct<u32, u32, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut Struct<u32, u32, u32>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parity-scale-codec` (test "single_field_struct_encoding") due to 37 previous errors; 2 warnings emitted
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Struct<u32, u32, u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:226:27
[INFO] [stdout]     |
[INFO] [stdout] 28  | struct Struct<A, B, C> {
[INFO] [stdout]     | ---------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `Struct<u32, u32, u32>: Decode` or `Struct<u32, u32, u32>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 226 |     Struct::<u32, u32, u32>::decode(&mut wrong).unwrap();
[INFO] [stdout]     |                              ^^^^^^ function or associated item cannot be called on `Struct<u32, u32, u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Struct<u32, u32, u32>`, consider using `Struct::<A, B, C>::new` which returns `Struct<_, _, _>`
[INFO] [stdout]    --> tests/mod.rs:44:2
[INFO] [stdout]     |
[INFO] [stdout] 44  |     fn new(a: A, b: B, c: C) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Struct<u32, u32, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `Struct<u32, u32, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `<&Struct<u32, u32, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `&Struct<u32, u32, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `<&mut Struct<u32, u32, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut Struct<u32, u32, u32>: Decode`
[INFO] [stdout]             `&mut Struct<u32, u32, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut Struct<u32, u32, u32>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `TestHasCompact<u64>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:266:43
[INFO] [stdout]     |
[INFO] [stdout] 68  | struct TestHasCompact<T: HasCompact> {
[INFO] [stdout]     | ------------------------------------ method `encode` not found for this struct because it doesn't satisfy `<TestHasCompact<u64> as Deref>::Target = _`, `TestHasCompact<u64>: Encode` or `TestHasCompact<u64>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 266 |         let encoded = TestHasCompact { bar: n }.encode();
[INFO] [stdout]     |                                                 ^^^^^^ method cannot be called on `TestHasCompact<u64>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestHasCompact<u64> as Deref>::Target = _`
[INFO] [stdout]             which is required by `TestHasCompact<u64>: Encode`
[INFO] [stdout]             `TestHasCompact<u64>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `TestHasCompact<u64>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `TestHasCompact<u64>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:269:37
[INFO] [stdout]     |
[INFO] [stdout] 68  | struct TestHasCompact<T: HasCompact> {
[INFO] [stdout]     | ------------------------------------ function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `TestHasCompact<u64>: Decode` or `TestHasCompact<u64>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 269 |         assert_eq!(<TestHasCompact<u64>>::decode(&mut &encoded[..]).unwrap().bar, n);
[INFO] [stdout]     |                                           ^^^^^^ function or associated item cannot be called on `TestHasCompact<u64>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestHasCompact<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `TestHasCompact<u64>: Decode`
[INFO] [stdout]             `TestHasCompact<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `TestHasCompact<u64>: Decode`
[INFO] [stdout]             `<&TestHasCompact<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&TestHasCompact<u64>: Decode`
[INFO] [stdout]             `&TestHasCompact<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&TestHasCompact<u64>: Decode`
[INFO] [stdout]             `<&mut TestHasCompact<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut TestHasCompact<u64>: Decode`
[INFO] [stdout]             `&mut TestHasCompact<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut TestHasCompact<u64>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `TestHasCompact<u64>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:276:43
[INFO] [stdout]     |
[INFO] [stdout] 68  | struct TestHasCompact<T: HasCompact> {
[INFO] [stdout]     | ------------------------------------ method `encode` not found for this struct because it doesn't satisfy `<TestHasCompact<u64> as Deref>::Target = _`, `TestHasCompact<u64>: Encode` or `TestHasCompact<u64>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 276 |         let encoded = TestHasCompact { bar: n }.encode();
[INFO] [stdout]     |                                                 ^^^^^^ method cannot be called on `TestHasCompact<u64>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestHasCompact<u64> as Deref>::Target = _`
[INFO] [stdout]             which is required by `TestHasCompact<u64>: Encode`
[INFO] [stdout]             `TestHasCompact<u64>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `TestHasCompact<u64>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `TestCompactHasCompact<u64>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:279:44
[INFO] [stdout]     |
[INFO] [stdout] 74  | struct TestCompactHasCompact<T: HasCompact> {
[INFO] [stdout]     | ------------------------------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `TestCompactHasCompact<u64>: Decode` or `TestCompactHasCompact<u64>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 279 |         assert_eq!(<TestCompactHasCompact<u64>>::decode(&mut &encoded[..]).unwrap().bar, n);
[INFO] [stdout]     |                                                  ^^^^^^ function or associated item cannot be called on `TestCompactHasCompact<u64>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestCompactHasCompact<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `TestCompactHasCompact<u64>: Decode`
[INFO] [stdout]             `TestCompactHasCompact<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `TestCompactHasCompact<u64>: Decode`
[INFO] [stdout]             `<&TestCompactHasCompact<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&TestCompactHasCompact<u64>: Decode`
[INFO] [stdout]             `&TestCompactHasCompact<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&TestCompactHasCompact<u64>: Decode`
[INFO] [stdout]             `<&mut TestCompactHasCompact<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut TestCompactHasCompact<u64>: Decode`
[INFO] [stdout]             `&mut TestCompactHasCompact<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut TestCompactHasCompact<u64>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for reference `&TestHasCompactEnum<u64>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:294:24
[INFO] [stdout]     |
[INFO] [stdout] 80  | enum TestHasCompactEnum<T: HasCompact> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `<TestHasCompactEnum<u64> as Deref>::Target = _`, `TestHasCompactEnum<u64>: Encode` or `TestHasCompactEnum<u64>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 294 |             let encoded = value.encode();
[INFO] [stdout]     |                                 ^^^^^^ method cannot be called on `&TestHasCompactEnum<u64>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestHasCompactEnum<u64> as Deref>::Target = _`
[INFO] [stdout]             which is required by `TestHasCompactEnum<u64>: Encode`
[INFO] [stdout]             `TestHasCompactEnum<u64>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `TestHasCompactEnum<u64>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `TestHasCompactEnum<u64>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:297:43
[INFO] [stdout]     |
[INFO] [stdout] 80  | enum TestHasCompactEnum<T: HasCompact> {
[INFO] [stdout]     | -------------------------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `TestHasCompactEnum<u64>: Decode` or `TestHasCompactEnum<u64>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 297 |             assert_eq!(&<TestHasCompactEnum<u64>>::decode(&mut &encoded[..]).unwrap(), value);
[INFO] [stdout]     |                                                    ^^^^^^ variant or associated item cannot be called on `TestHasCompactEnum<u64>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestHasCompactEnum<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `TestHasCompactEnum<u64>: Decode`
[INFO] [stdout]             `TestHasCompactEnum<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `TestHasCompactEnum<u64>: Decode`
[INFO] [stdout]             `<&TestHasCompactEnum<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&TestHasCompactEnum<u64>: Decode`
[INFO] [stdout]             `&TestHasCompactEnum<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&TestHasCompactEnum<u64>: Decode`
[INFO] [stdout]             `<&mut TestHasCompactEnum<u64> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut TestHasCompactEnum<u64>: Decode`
[INFO] [stdout]             `&mut TestHasCompactEnum<u64>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut TestHasCompactEnum<u64>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:305:49
[INFO] [stdout]     |
[INFO] [stdout] 94  | struct TestCompactAttribute {
[INFO] [stdout]     | --------------------------- method `encode` not found for this struct because it doesn't satisfy `<TestCompactAttribute as Deref>::Target = _`, `TestCompactAttribute: Encode` or `TestCompactAttribute: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 305 |         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]             `<TestCompactAttribute as Deref>::Target = _`
[INFO] [stdout]             which is required by `TestCompactAttribute: Encode`
[INFO] [stdout]             `TestCompactAttribute: WrapperTypeEncode`
[INFO] [stdout]             which is required by `TestCompactAttribute: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:307:36
[INFO] [stdout]     |
[INFO] [stdout] 94  | struct TestCompactAttribute {
[INFO] [stdout]     | --------------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `TestCompactAttribute: Decode` or `TestCompactAttribute: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 307 |         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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:318:24
[INFO] [stdout]     |
[INFO] [stdout] 100 | enum TestCompactAttributeEnum {
[INFO] [stdout]     | ----------------------------- doesn't satisfy `<TestCompactAttributeEnum as Deref>::Target = _`, `TestCompactAttributeEnum: Encode` or `TestCompactAttributeEnum: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 318 |             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]             `<TestCompactAttributeEnum as Deref>::Target = _`
[INFO] [stdout]             which is required by `TestCompactAttributeEnum: Encode`
[INFO] [stdout]             `TestCompactAttributeEnum: WrapperTypeEncode`
[INFO] [stdout]             which is required by `TestCompactAttributeEnum: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:320:42
[INFO] [stdout]     |
[INFO] [stdout] 100 | enum TestCompactAttributeEnum {
[INFO] [stdout]     | ----------------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `TestCompactAttributeEnum: Decode` or `TestCompactAttributeEnum: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 320 |             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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `Struct<TraitImplementor, u64>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:348:22
[INFO] [stdout]     |
[INFO] [stdout] 333 |     struct Struct<T: Trait, Type> {
[INFO] [stdout]     |     ----------------------------- method `encode` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 348 |     let encoded = value.encode();
[INFO] [stdout]     |                         ^^^^^^ method cannot be called on `Struct<TraitImplementor, u64>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<associated_type_bounds::Struct<TraitImplementor, u64> as Deref>::Target = _`
[INFO] [stdout]             which is required by `associated_type_bounds::Struct<TraitImplementor, u64>: Encode`
[INFO] [stdout]             `associated_type_bounds::Struct<TraitImplementor, u64>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `associated_type_bounds::Struct<TraitImplementor, u64>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `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:349:55
[INFO] [stdout]     |
[INFO] [stdout] 333 |     struct Struct<T: Trait, Type> {
[INFO] [stdout]     |     ----------------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `_: WrapperTypeDecode` or `associated_type_bounds::Struct<_, _>: Decode`
[INFO] [stdout] ...
[INFO] [stdout] 349 |     let decoded: Struct<TraitImplementor, u64> = Struct::decode(&mut &encoded[..]).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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `TestGeneric<StructEncodeAsRef>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:384:4
[INFO] [stdout]     |
[INFO] [stdout] 375 |     struct TestGeneric<A: From<u32>>
[INFO] [stdout]     |     -------------------------------- method `encode` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `TestGeneric<StructEncodeAsRef>: Encode` or `TestGeneric<StructEncodeAsRef>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 384 |     a.encode();
[INFO] [stdout]     |       ^^^^^^ method cannot be called on `TestGeneric<StructEncodeAsRef>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestGeneric<StructEncodeAsRef> as Deref>::Target = _`
[INFO] [stdout]             which is required by `TestGeneric<StructEncodeAsRef>: Encode`
[INFO] [stdout]             `TestGeneric<StructEncodeAsRef>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `TestGeneric<StructEncodeAsRef>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `TestGenericHasCompact<StructHasCompact>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:420:4
[INFO] [stdout]     |
[INFO] [stdout] 411 |     enum TestGenericHasCompact<T> {
[INFO] [stdout]     |     ----------------------------- method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `TestGenericHasCompact<StructHasCompact>: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 420 |     a.encode();
[INFO] [stdout]     |       ^^^^^^ method cannot be called on `TestGenericHasCompact<StructHasCompact>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestGenericHasCompact<StructHasCompact> as Deref>::Target = _`
[INFO] [stdout]             which is required by `TestGenericHasCompact<StructHasCompact>: Encode`
[INFO] [stdout]             `TestGenericHasCompact<StructHasCompact>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `TestGenericHasCompact<StructHasCompact>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `TestGenericTrait<StructNoCodec>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:445:4
[INFO] [stdout]     |
[INFO] [stdout] 439 |     struct TestGenericTrait<T: TraitNoCodec> {
[INFO] [stdout]     |     ---------------------------------------- method `encode` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `TestGenericTrait<StructNoCodec>: Encode` or `TestGenericTrait<StructNoCodec>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 445 |     a.encode();
[INFO] [stdout]     |       ^^^^^^ method cannot be called on `TestGenericTrait<StructNoCodec>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<TestGenericTrait<StructNoCodec> as Deref>::Target = _`
[INFO] [stdout]             which is required by `TestGenericTrait<StructNoCodec>: Encode`
[INFO] [stdout]             `TestGenericTrait<StructNoCodec>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `TestGenericTrait<StructNoCodec>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `Recursive<u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:457:6
[INFO] [stdout]     |
[INFO] [stdout] 451 |     struct Recursive<N> {
[INFO] [stdout]     |     ------------------- method `encode` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 457 |     val.encode();
[INFO] [stdout]     |         ^^^^^^ method cannot be called on `Recursive<u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<recursive_variant_1_encode_works::Recursive<u32> as Deref>::Target = _`
[INFO] [stdout]             which is required by `recursive_variant_1_encode_works::Recursive<u32>: Encode`
[INFO] [stdout]             `recursive_variant_1_encode_works::Recursive<u32>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `recursive_variant_1_encode_works::Recursive<u32>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `Recursive<u32, i32, u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:469:6
[INFO] [stdout]     |
[INFO] [stdout] 463 |     struct Recursive<A, B, N> {
[INFO] [stdout]     |     ------------------------- method `encode` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 469 |     val.encode();
[INFO] [stdout]     |         ^^^^^^ method cannot be called on `Recursive<u32, i32, u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<recursive_variant_2_encode_works::Recursive<u32, i32, u32> as Deref>::Target = _`
[INFO] [stdout]             which is required by `recursive_variant_2_encode_works::Recursive<u32, i32, u32>: Encode`
[INFO] [stdout]             `recursive_variant_2_encode_works::Recursive<u32, i32, u32>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `recursive_variant_2_encode_works::Recursive<u32, i32, u32>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `Test<u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:488:6
[INFO] [stdout]     |
[INFO] [stdout] 483 |     pub struct Test<N> {
[INFO] [stdout]     |     ------------------ method `encode` not found for this struct because it doesn't satisfy `<Test<u32> as Deref>::Target = _`, `Test<u32>: Encode` or `Test<u32>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 488 |     val.encode();
[INFO] [stdout]     |         ^^^^^^ method cannot be called on `Test<u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Test<u32> as Deref>::Target = _`
[INFO] [stdout]             which is required by `Test<u32>: Encode`
[INFO] [stdout]             `Test<u32>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Test<u32>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `EmptyEnumDerive: Encode` is not satisfied
[INFO] [stdout]    --> tests/mod.rs:497:24
[INFO] [stdout]     |
[INFO] [stdout] 497 |     impls_encode_decode::<EmptyEnumDerive>();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `EmptyEnumDerive`, which is required by `EmptyEnumDerive: Encode`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Encode`:
[INFO] [stdout]               bool
[INFO] [stdout]               i8
[INFO] [stdout]               i16
[INFO] [stdout]               i32
[INFO] [stdout]               i64
[INFO] [stdout]               i128
[INFO] [stdout]               u8
[INFO] [stdout]               u16
[INFO] [stdout]             and 57 others
[INFO] [stdout]     = note: required for `EmptyEnumDerive` to implement `Encode`
[INFO] [stdout] note: required by a bound in `impls_encode_decode`
[INFO] [stdout]    --> tests/mod.rs:496:28
[INFO] [stdout]     |
[INFO] [stdout] 496 |     fn impls_encode_decode<T: Encode + Decode>() {}
[INFO] [stdout]     |                               ^^^^^^ required by this bound in `impls_encode_decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `EmptyEnumDerive: Decode` is not satisfied
[INFO] [stdout]    --> tests/mod.rs:497:24
[INFO] [stdout]     |
[INFO] [stdout] 497 |     impls_encode_decode::<EmptyEnumDerive>();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `EmptyEnumDerive`, which is required by `EmptyEnumDerive: Decode`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Decode`:
[INFO] [stdout]               bool
[INFO] [stdout]               i8
[INFO] [stdout]               i16
[INFO] [stdout]               i32
[INFO] [stdout]               i64
[INFO] [stdout]               i128
[INFO] [stdout]               u8
[INFO] [stdout]               u16
[INFO] [stdout]             and 59 others
[INFO] [stdout]     = note: required for `EmptyEnumDerive` to implement `Decode`
[INFO] [stdout] note: required by a bound in `impls_encode_decode`
[INFO] [stdout]    --> tests/mod.rs:496:37
[INFO] [stdout]     |
[INFO] [stdout] 496 |     fn impls_encode_decode<T: Encode + Decode>() {}
[INFO] [stdout]     |                                        ^^^^^^ required by this bound in `impls_encode_decode`
[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:500:20
[INFO] [stdout]     |
[INFO] [stdout] 494 |     enum EmptyEnumDerive {}
[INFO] [stdout]     |     -------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `EmptyEnumDerive: Decode` or `EmptyEnumDerive: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 500 |         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]             `<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]             `<&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] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `Something<NotEncode, u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:599:5
[INFO] [stdout]     |
[INFO] [stdout] 582 |       struct Something<T, N> {
[INFO] [stdout]     |       ---------------------- method `encode` not found for this struct because it doesn't satisfy `<Something<NotEncode, u32> as Deref>::Target = _`, `Something<NotEncode, u32>: Encode` or `Something<NotEncode, u32>: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 598 | /         Something::<NotEncode, u32> { hello: Hello { _phantom: Default::default() }, val: 32u32 }
[INFO] [stdout] 599 | |             .encode();
[INFO] [stdout]     | |             -^^^^^^ method cannot be called on `Something<NotEncode, u32>` due to unsatisfied trait bounds
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     | 
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Something<NotEncode, u32> as Deref>::Target = _`
[INFO] [stdout]             which is required by `Something<NotEncode, u32>: Encode`
[INFO] [stdout]             `Something<NotEncode, u32>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Something<NotEncode, u32>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `Something<NotEncode, u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:601:31
[INFO] [stdout]     |
[INFO] [stdout] 582 |     struct Something<T, N> {
[INFO] [stdout]     |     ---------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `Something<NotEncode, u32>: Decode` or `Something<NotEncode, u32>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 601 |     Something::<NotEncode, u32>::decode(&mut &encoded[..]).unwrap();
[INFO] [stdout]     |                                  ^^^^^^ function or associated item cannot be called on `Something<NotEncode, u32>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Something<NotEncode, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `Something<NotEncode, u32>: Decode`
[INFO] [stdout]             `Something<NotEncode, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `Something<NotEncode, u32>: Decode`
[INFO] [stdout]             `<&Something<NotEncode, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&Something<NotEncode, u32>: Decode`
[INFO] [stdout]             `&Something<NotEncode, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&Something<NotEncode, u32>: Decode`
[INFO] [stdout]             `<&mut Something<NotEncode, u32> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut Something<NotEncode, u32>: Decode`
[INFO] [stdout]             `&mut Something<NotEncode, u32>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut Something<NotEncode, u32>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `HugeArrayNewtypeBox`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:675:31
[INFO] [stdout]     |
[INFO] [stdout] 672 |     struct HugeArrayNewtypeBox(Box<HugeArrayNewtype>);
[INFO] [stdout]     |     -------------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `HugeArrayNewtypeBox: Decode` or `HugeArrayNewtypeBox: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 675 |     assert!(HugeArrayNewtypeBox::decode(&mut data.as_slice()).is_err());
[INFO] [stdout]     |                                  ^^^^^^ function or associated item cannot be called on `HugeArrayNewtypeBox` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<HugeArrayNewtypeBox as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `HugeArrayNewtypeBox: Decode`
[INFO] [stdout]             `HugeArrayNewtypeBox: WrapperTypeDecode`
[INFO] [stdout]             which is required by `HugeArrayNewtypeBox: Decode`
[INFO] [stdout]             `<&HugeArrayNewtypeBox as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&HugeArrayNewtypeBox: Decode`
[INFO] [stdout]             `&HugeArrayNewtypeBox: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&HugeArrayNewtypeBox: Decode`
[INFO] [stdout]             `<&mut HugeArrayNewtypeBox as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut HugeArrayNewtypeBox: Decode`
[INFO] [stdout]             `&mut HugeArrayNewtypeBox: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut HugeArrayNewtypeBox: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `SmallArraysBox`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:690:30
[INFO] [stdout]     |
[INFO] [stdout] 687 |     struct SmallArraysBox(Box<SmallArrays>);
[INFO] [stdout]     |     --------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<SmallArraysBox as WrapperTypeDecode>::Wrapped = _`, `SmallArraysBox: Decode` or `SmallArraysBox: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 690 |     assert_eq!(*SmallArraysBox::decode(&mut data.as_slice()).unwrap().0, SmallArrays([1, 2], [3, 4]));
[INFO] [stdout]     |                                 ^^^^^^ function or associated item cannot be called on `SmallArraysBox` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<SmallArraysBox as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `SmallArraysBox: Decode`
[INFO] [stdout]             `SmallArraysBox: WrapperTypeDecode`
[INFO] [stdout]             which is required by `SmallArraysBox: Decode`
[INFO] [stdout]             `<&SmallArraysBox as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&SmallArraysBox: Decode`
[INFO] [stdout]             `&SmallArraysBox: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&SmallArraysBox: Decode`
[INFO] [stdout]             `<&mut SmallArraysBox as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut SmallArraysBox: Decode`
[INFO] [stdout]             `&mut SmallArraysBox: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut SmallArraysBox: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `NewtypeWithZst`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:726:29
[INFO] [stdout]     |
[INFO] [stdout] 706 |     struct NewtypeWithZst {
[INFO] [stdout]     |     --------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `_: Decode` or `_: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 726 |     assert_eq!(NewtypeWithZst::decode(&mut data.as_slice()).unwrap().field, [2]);
[INFO] [stdout]     |                                ^^^^^^ function or associated item cannot be called on `NewtypeWithZst` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: Decode`
[INFO] [stdout]             `zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: WrapperTypeDecode`
[INFO] [stdout]             which is required by `zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: Decode`
[INFO] [stdout]             `<&zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: Decode`
[INFO] [stdout]             `&zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: Decode`
[INFO] [stdout]             `<&mut zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: Decode`
[INFO] [stdout]             `&mut zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut zero_sized_types_are_properly_decoded_in_a_transparent_boxed_struct::NewtypeWithZst: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `NewtypeWithZst`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:744:26
[INFO] [stdout]     |
[INFO] [stdout] 737 |     struct NewtypeWithZst(Zst);
[INFO] [stdout]     |     --------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `_: Decode` or `_: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 744 |     assert!(NewtypeWithZst::decode(&mut data.as_slice()).is_ok());
[INFO] [stdout]     |                             ^^^^^^ function or associated item cannot be called on `NewtypeWithZst` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: Decode`
[INFO] [stdout]             `boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: WrapperTypeDecode`
[INFO] [stdout]             which is required by `boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: Decode`
[INFO] [stdout]             `<&boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: Decode`
[INFO] [stdout]             `&boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: Decode`
[INFO] [stdout]             `<&mut boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: Decode`
[INFO] [stdout]             `&mut boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut boxed_zero_sized_newtype_with_everything_being_transparent_is_decoded_correctly::NewtypeWithZst: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for array `[Foobar; 4]`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:777:25
[INFO] [stdout]     |
[INFO] [stdout] 777 |     assert!(<[Foobar; 4]>::decode(&mut data.as_slice()).is_err());
[INFO] [stdout]     |                            ^^^^^^ function or associated item cannot be called on `[Foobar; 4]` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<&[incomplete_decoding_of_an_array_drops_partially_read_elements_if_reading_fails::Foobar; 4] as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&[incomplete_decoding_of_an_array_drops_partially_read_elements_if_reading_fails::Foobar; 4]: Decode`
[INFO] [stdout]             `&[incomplete_decoding_of_an_array_drops_partially_read_elements_if_reading_fails::Foobar; 4]: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&[incomplete_decoding_of_an_array_drops_partially_read_elements_if_reading_fails::Foobar; 4]: Decode`
[INFO] [stdout]             `<&mut [incomplete_decoding_of_an_array_drops_partially_read_elements_if_reading_fails::Foobar; 4] as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut [incomplete_decoding_of_an_array_drops_partially_read_elements_if_reading_fails::Foobar; 4]: Decode`
[INFO] [stdout]             `&mut [incomplete_decoding_of_an_array_drops_partially_read_elements_if_reading_fails::Foobar; 4]: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut [incomplete_decoding_of_an_array_drops_partially_read_elements_if_reading_fails::Foobar; 4]: Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:881:17
[INFO] [stdout]     |
[INFO] [stdout] 826 |     enum Enum {
[INFO] [stdout]     |     --------- method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout] 881 |     let data = obj.encode();
[INFO] [stdout]     |                    ^^^^^^ method cannot be called on `Enum` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<deserializing_of_big_recursively_nested_enum_works::Enum as Deref>::Target = _`
[INFO] [stdout]             which is required by `deserializing_of_big_recursively_nested_enum_works::Enum: Encode`
[INFO] [stdout]             `deserializing_of_big_recursively_nested_enum_works::Enum: WrapperTypeEncode`
[INFO] [stdout]             which is required by `deserializing_of_big_recursively_nested_enum_works::Enum: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:356:1
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:884:20
[INFO] [stdout]     |
[INFO] [stdout] 826 |     enum Enum {
[INFO] [stdout]     |     --------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `_: Decode` or `_: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout] 884 |     let obj_d = Enum::decode(&mut &data[..]).unwrap();
[INFO] [stdout]     |                       ^^^^^^ variant or associated item cannot be called on `Enum` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<deserializing_of_big_recursively_nested_enum_works::Enum as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout]             `deserializing_of_big_recursively_nested_enum_works::Enum: WrapperTypeDecode`
[INFO] [stdout]             which is required by `deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout]             `<&deserializing_of_big_recursively_nested_enum_works::Enum as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout]             `&deserializing_of_big_recursively_nested_enum_works::Enum: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout]             `<&mut deserializing_of_big_recursively_nested_enum_works::Enum as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout]             `&mut deserializing_of_big_recursively_nested_enum_works::Enum: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the variant or associated item `decode_with_depth_limit` exists for enum `Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/mod.rs:890:21
[INFO] [stdout]     |
[INFO] [stdout] 826 |     enum Enum {
[INFO] [stdout]     |     --------- variant or associated item `decode_with_depth_limit` not found for this enum because it doesn't satisfy `_: DecodeLimit` or `_: Decode`
[INFO] [stdout] ...
[INFO] [stdout] 890 |     let obj_d2 = Enum::decode_with_depth_limit(40, &mut &data[..]).unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item cannot be called on `Enum` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout]             which is required by `deserializing_of_big_recursively_nested_enum_works::Enum: DecodeLimit`
[INFO] [stdout]             `&deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout]             which is required by `&deserializing_of_big_recursively_nested_enum_works::Enum: DecodeLimit`
[INFO] [stdout]             `&mut deserializing_of_big_recursively_nested_enum_works::Enum: Decode`
[INFO] [stdout]             which is required by `&mut deserializing_of_big_recursively_nested_enum_works::Enum: DecodeLimit`
[INFO] [stdout] note: the trait `Decode` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/codec.rs:289:1
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub trait Decode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode_with_depth_limit`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `DecodeLimit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parity_scale_codec::DecodeLimit`
[INFO] [stdout]    --> tests/mod.rs:889:6
[INFO] [stdout]     |
[INFO] [stdout] 889 |     use parity_scale_codec::DecodeLimit;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 74 previous errors; 1 warning 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] [stderr] error: could not compile `parity-scale-codec` (test "mod") due to 75 previous errors; 1 warning emitted
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b039c1aa48f1845c468806978ddd160cd059df824cfa4a3238db5db08aed379c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b039c1aa48f1845c468806978ddd160cd059df824cfa4a3238db5db08aed379c", kill_on_drop: false }`
[INFO] [stdout] b039c1aa48f1845c468806978ddd160cd059df824cfa4a3238db5db08aed379c
