[INFO] fetching crate zerocbor 0.1.0...
[INFO] testing zerocbor-0.1.0 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate zerocbor 0.1.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate zerocbor 0.1.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate zerocbor 0.1.0
[INFO] tweaked toml for crates.io crate zerocbor 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate zerocbor 0.1.0 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate zerocbor 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_core v1.0.229
[INFO] [stderr]   Downloaded serde_bytes v0.11.19
[INFO] [stderr]   Downloaded ciborium-io v0.2.2
[INFO] [stderr]   Downloaded zerocbor_derive v0.1.0
[INFO] [stderr]   Downloaded minicbor-derive v0.19.5
[INFO] [stderr]   Downloaded crunchy v0.2.4
[INFO] [stderr]   Downloaded serde_derive v1.0.229
[INFO] [stderr]   Downloaded ciborium v0.2.2
[INFO] [stderr]   Downloaded ciborium-ll v0.2.2
[INFO] [stderr]   Downloaded half v2.7.1
[INFO] [stderr]   Downloaded cbor4ii v1.2.3
[INFO] [stderr]   Downloaded minicbor v2.3.0
[INFO] [stderr]   Downloaded serde v1.0.229
[INFO] [stderr]   Downloaded syn v3.0.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5e16ecaa982dd69f5d5ff7824a60727170cb9d58a937a9a5fb09a7aab2529184
[INFO] running `Command { std: "docker" "start" "5e16ecaa982dd69f5d5ff7824a60727170cb9d58a937a9a5fb09a7aab2529184", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e16ecaa982dd69f5d5ff7824a60727170cb9d58a937a9a5fb09a7aab2529184", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5e16ecaa982dd69f5d5ff7824a60727170cb9d58a937a9a5fb09a7aab2529184" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e16ecaa982dd69f5d5ff7824a60727170cb9d58a937a9a5fb09a7aab2529184", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5e16ecaa982dd69f5d5ff7824a60727170cb9d58a937a9a5fb09a7aab2529184" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocbor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1.42s
[INFO] running `Command { std: "docker" "inspect" "5e16ecaa982dd69f5d5ff7824a60727170cb9d58a937a9a5fb09a7aab2529184", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5e16ecaa982dd69f5d5ff7824a60727170cb9d58a937a9a5fb09a7aab2529184" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocopy v0.8.59
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling serde_bytes v0.11.19
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling cbor4ii v1.2.3
[INFO] [stderr]    Compiling zerocopy-derive v0.8.59
[INFO] [stderr]    Compiling minicbor-derive v0.19.5
[INFO] [stderr]    Compiling minicbor v2.3.0
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling zerocbor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]   --> tests/derive.rs:14:32
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub trait ToCbor {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/derive.rs:14:40
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait FromCbor<'a>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]   --> tests/derive.rs:47:36
[INFO] [stdout]    |
[INFO] [stdout] 47 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub trait ToCbor {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/derive.rs:47:44
[INFO] [stdout]    |
[INFO] [stdout] 47 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                                            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait FromCbor<'a>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]   --> tests/derive.rs:63:36
[INFO] [stdout]    |
[INFO] [stdout] 63 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub trait ToCbor {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/derive.rs:63:44
[INFO] [stdout]    |
[INFO] [stdout] 63 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                                            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait FromCbor<'a>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `zerocbor_derive`
[INFO] [stdout]    --> tests/indefinite_length.rs:302:9
[INFO] [stdout]     |
[INFO] [stdout] 302 |     use zerocbor_derive::{FromCbor, ToCbor};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `zerocbor_derive`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `zerocbor_derive`, use `cargo add zerocbor_derive` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `zerocbor_derive`
[INFO] [stdout]    --> tests/indefinite_length.rs:397:9
[INFO] [stdout]     |
[INFO] [stdout] 397 |     use zerocbor_derive::{FromCbor, ToCbor};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `zerocbor_derive`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `zerocbor_derive`, use `cargo add zerocbor_derive` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]   --> tests/derive.rs:91:36
[INFO] [stdout]    |
[INFO] [stdout] 91 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub trait ToCbor {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/derive.rs:91:44
[INFO] [stdout]    |
[INFO] [stdout] 91 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                                            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait FromCbor<'a>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/release_safety.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(FromCbor)]
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait FromCbor<'a>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/release_safety.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(FromCbor)]
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait FromCbor<'a>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]   --> tests/release_safety.rs:52:3
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[cbor(map)]
[INFO] [stdout]    |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/release_safety.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(FromCbor)]
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait FromCbor<'a>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/indefinite_length.rs:156:32
[INFO] [stdout]     |
[INFO] [stdout] 156 |     #[derive(Debug, PartialEq, FromCbor)]
[INFO] [stdout]     |                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/indefinite_length.rs:158:11
[INFO] [stdout]     |
[INFO] [stdout] 158 |         #[cbor(as_bytes)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `cbor` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]   --> tests/release_safety.rs:58:3
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[cbor(map)]
[INFO] [stdout]    |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/indefinite_length.rs:290:36
[INFO] [stdout]     |
[INFO] [stdout] 290 |         #[derive(Debug, PartialEq, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:113:32
[INFO] [stdout]     |
[INFO] [stdout] 113 |     #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:113:40
[INFO] [stdout]     |
[INFO] [stdout] 113 |     #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                        ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]   --> tests/cbor_bytes.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[derive(ToCbor, FromCbor)]
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub trait ToCbor {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:114:7
[INFO] [stdout]     |
[INFO] [stdout] 114 |     #[cbor(map)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/indefinite_length.rs:292:15
[INFO] [stdout]     |
[INFO] [stdout] 292 |             #[cbor(as_bytes)]
[INFO] [stdout]     |               ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `cbor` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/cbor_bytes.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[derive(ToCbor, FromCbor)]
[INFO] [stdout]    |                      ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait FromCbor<'a>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/indefinite_length.rs:305:7
[INFO] [stdout]     |
[INFO] [stdout] 305 |     #[cbor(map)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: `cbor` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute
[INFO] [stdout]     |
[INFO] [stdout] 306 +     #[derive(CborLen, Decode, Encode)]
[INFO] [stdout] 307 |     struct Strict {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Node: FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/release_safety.rs:81:35
[INFO] [stdout]     |
[INFO] [stdout]  81 |     assert!(zerocbor::from_cbor::<Node>(&bytes).is_ok());
[INFO] [stdout]     |                                   ^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FromCbor<'_>` is not implemented for `Node`
[INFO] [stdout]    --> tests/release_safety.rs:48:1
[INFO] [stdout]     |
[INFO] [stdout]  48 | struct Node {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 42 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:145:36
[INFO] [stdout]     |
[INFO] [stdout] 145 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Node: FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/release_safety.rs:83:38
[INFO] [stdout]     |
[INFO] [stdout]  83 |     assert!(zerocbor::read_cbor::<_, Node>(&bytes[..]).is_ok());
[INFO] [stdout]     |                                      ^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FromCbor<'_>` is not implemented for `Node`
[INFO] [stdout]    --> tests/release_safety.rs:48:1
[INFO] [stdout]     |
[INFO] [stdout]  48 | struct Node {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 42 others
[INFO] [stdout] note: required by a bound in `read_cbor`
[INFO] [stdout]    --> src/lib.rs:220:43
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub fn read_cbor<'a, R: std::io::Read, T: FromCbor<'a>>(reader: R) -> Result<T> {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ required by this bound in `read_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]   --> tests/cbor_bytes.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 |         #[cbor(as_bytes = true)]
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/indefinite_length.rs:312:7
[INFO] [stdout]     |
[INFO] [stdout] 312 |     #[cbor(map)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: `cbor` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute
[INFO] [stdout]     |
[INFO] [stdout] 313 +     #[derive(CborLen, Decode, Encode)]
[INFO] [stdout] 314 |     struct Lenient {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:145:44
[INFO] [stdout]     |
[INFO] [stdout] 145 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]   --> tests/cbor_bytes.rs:45:32
[INFO] [stdout]    |
[INFO] [stdout] 45 |     #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub trait ToCbor {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Node: FromCborOwned` is not satisfied
[INFO] [stdout]   --> tests/release_safety.rs:85:23
[INFO] [stdout]    |
[INFO] [stdout] 85 |     assert_too_deep::<Node>(&bytes);
[INFO] [stdout]    |                       ^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Node`
[INFO] [stdout]   --> tests/release_safety.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct Node {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]              `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]              `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]              `()` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]            and 42 others
[INFO] [stdout]    = note: required for `Node` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `assert_too_deep`
[INFO] [stdout]   --> tests/release_safety.rs:65:23
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn assert_too_deep<T: FromCborOwned>(bytes: &[u8]) {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^ required by this bound in `assert_too_deep`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MapNode: FromCborOwned` is not satisfied
[INFO] [stdout]   --> tests/release_safety.rs:92:23
[INFO] [stdout]    |
[INFO] [stdout] 92 |     assert_too_deep::<MapNode>(&bytes);
[INFO] [stdout]    |                       ^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `MapNode`
[INFO] [stdout]   --> tests/release_safety.rs:54:1
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct MapNode {
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]              `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]              `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]              `()` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]            and 42 others
[INFO] [stdout]    = note: required for `MapNode` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `assert_too_deep`
[INFO] [stdout]   --> tests/release_safety.rs:65:23
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn assert_too_deep<T: FromCborOwned>(bytes: &[u8]) {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^ required by this bound in `assert_too_deep`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Tree: FromCborOwned` is not satisfied
[INFO] [stdout]   --> tests/release_safety.rs:99:23
[INFO] [stdout]    |
[INFO] [stdout] 99 |     assert_too_deep::<Tree>(&bytes);
[INFO] [stdout]    |                       ^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Tree`
[INFO] [stdout]   --> tests/release_safety.rs:60:1
[INFO] [stdout]    |
[INFO] [stdout] 60 | enum Tree {
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]              `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]              `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]              `()` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]            and 42 others
[INFO] [stdout]    = note: required for `Tree` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `assert_too_deep`
[INFO] [stdout]   --> tests/release_safety.rs:65:23
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn assert_too_deep<T: FromCborOwned>(bytes: &[u8]) {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^ required by this bound in `assert_too_deep`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/cbor_bytes.rs:45:40
[INFO] [stdout]    |
[INFO] [stdout] 45 |     #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait FromCbor<'a>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/indefinite_length.rs:315:11
[INFO] [stdout]     |
[INFO] [stdout] 315 |         #[cbor(default)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `cbor` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/indefinite_length.rs:320:7
[INFO] [stdout]     |
[INFO] [stdout] 320 |     #[cbor(array)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: `cbor` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute
[INFO] [stdout]     |
[INFO] [stdout] 321 +     #[derive(CborLen, Decode, Encode)]
[INFO] [stdout] 322 |     struct Pair {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/indefinite_length.rs:327:7
[INFO] [stdout]     |
[INFO] [stdout] 327 |     #[cbor(map)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: `cbor` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute
[INFO] [stdout]     |
[INFO] [stdout] 328 +     #[derive(CborLen, Decode, Encode)]
[INFO] [stdout] 329 |     enum Shape {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]   --> tests/cbor_bytes.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 |         #[cbor(as_bytes = true)]
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/indefinite_length.rs:383:11
[INFO] [stdout]     |
[INFO] [stdout] 383 |         #[cbor(array)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `cbor` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]   --> tests/cbor_bytes.rs:53:32
[INFO] [stdout]    |
[INFO] [stdout] 53 |     #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub trait ToCbor {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/cbor_bytes.rs:53:40
[INFO] [stdout]    |
[INFO] [stdout] 53 |     #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait FromCbor<'a>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/indefinite_length.rs:400:7
[INFO] [stdout]     |
[INFO] [stdout] 400 |     #[cbor(map, allow_unknown_fields)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: `cbor` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute
[INFO] [stdout]     |
[INFO] [stdout] 401 +     #[derive(CborLen, Decode, Encode)]
[INFO] [stdout] 402 |     struct Tolerant {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:146:11
[INFO] [stdout]     |
[INFO] [stdout] 146 |         #[cbor(map, allow_unknown_fields)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]   --> tests/cbor_bytes.rs:55:11
[INFO] [stdout]    |
[INFO] [stdout] 55 |         #[cbor(as_bytes = true)]
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/cbor_bytes.rs:97:21
[INFO] [stdout]    |
[INFO] [stdout] 97 |     #[derive(Debug, FromCbor)]
[INFO] [stdout]    |                     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait FromCbor<'a>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:172:36
[INFO] [stdout]     |
[INFO] [stdout] 172 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:172:44
[INFO] [stdout]     |
[INFO] [stdout] 172 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]   --> tests/phantom_data.rs:9:28
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub trait ToCbor {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/cbor_bytes.rs:100:11
[INFO] [stdout]     |
[INFO] [stdout] 100 |         #[cbor(as_bytes = true)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `read` found for struct `Node` in the current scope
[INFO] [stdout]    --> tests/release_safety.rs:123:27
[INFO] [stdout]     |
[INFO] [stdout]  48 | struct Node {
[INFO] [stdout]     | ----------- associated function or constant `read` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 123 |             assert!(Node::read(reader).is_err());
[INFO] [stdout]     |                           ^^^^ associated function or constant not found in `Node`
[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 `read`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FromCbor`
[INFO] [stdout]             candidate #2: `std::io::Read`
[INFO] [stdout]             candidate #3: `zerocopy::invariant::Alignment`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/phantom_data.rs:9:36
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                                    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait FromCbor<'a>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:173:11
[INFO] [stdout]     |
[INFO] [stdout] 173 |         #[cbor(map)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `read` found for struct `Node` in the current scope
[INFO] [stdout]    --> tests/release_safety.rs:126:15
[INFO] [stdout]     |
[INFO] [stdout]  48 | struct Node {
[INFO] [stdout]     | ----------- associated function or constant `read` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 126 |         Node::read(reader)?;
[INFO] [stdout]     |               ^^^^ associated function or constant not found in `Node`
[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 `read`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FromCbor`
[INFO] [stdout]             candidate #2: `std::io::Read`
[INFO] [stdout]             candidate #3: `zerocopy::invariant::Alignment`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:175:15
[INFO] [stdout]     |
[INFO] [stdout] 175 |             #[cbor(key = "a")]
[INFO] [stdout]     |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:177:15
[INFO] [stdout]     |
[INFO] [stdout] 177 |             #[cbor(key = "b")]
[INFO] [stdout]     |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:194:36
[INFO] [stdout]     |
[INFO] [stdout] 194 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `WithAttribute<'_>: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/cbor_bytes.rs:30:47
[INFO] [stdout]     |
[INFO] [stdout]  30 |     let via_attribute = zerocbor::to_cbor_vec(&WithAttribute { data: payload }).unwrap();
[INFO] [stdout]     |                         --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ToCbor` is not implemented for `WithAttribute<'_>`
[INFO] [stdout]    --> tests/cbor_bytes.rs:16:5
[INFO] [stdout]     |
[INFO] [stdout]  16 |     struct WithAttribute<'a> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 42 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:194:44
[INFO] [stdout]     |
[INFO] [stdout] 194 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Borrowing<'_>: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/cbor_bytes.rs:59:41
[INFO] [stdout]     |
[INFO] [stdout]  59 |       let encoded = zerocbor::to_cbor_vec(&Borrowing {
[INFO] [stdout]     |  ___________________---------------------_^
[INFO] [stdout]     | |                   |
[INFO] [stdout]     | |                   required by a bound introduced by this call
[INFO] [stdout]  60 | |         payload: Cow::Borrowed(&[0xAA, 0xBB][..]),
[INFO] [stdout]  61 | |     })
[INFO] [stdout]     | |_____^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ToCbor` is not implemented for `Borrowing<'_>`
[INFO] [stdout]    --> tests/cbor_bytes.rs:46:5
[INFO] [stdout]     |
[INFO] [stdout]  46 |     struct Borrowing<'a> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 42 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `read` found for struct `Node` in the current scope
[INFO] [stdout]    --> tests/release_safety.rs:178:15
[INFO] [stdout]     |
[INFO] [stdout]  48 | struct Node {
[INFO] [stdout]     | ----------- associated function or constant `read` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 178 |         Node::read(reader)?;
[INFO] [stdout]     |               ^^^^ associated function or constant not found in `Node`
[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 `read`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FromCbor`
[INFO] [stdout]             candidate #2: `std::io::Read`
[INFO] [stdout]             candidate #3: `zerocopy::invariant::Alignment`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Borrowing<'_>: FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/cbor_bytes.rs:63:34
[INFO] [stdout]     |
[INFO] [stdout]  63 |     let decoded: Borrowing<'_> = zerocbor::from_cbor(&encoded).unwrap();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FromCbor<'_>` is not implemented for `Borrowing<'_>`
[INFO] [stdout]    --> tests/cbor_bytes.rs:46:5
[INFO] [stdout]     |
[INFO] [stdout]  46 |     struct Borrowing<'a> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Owning: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/cbor_bytes.rs:76:41
[INFO] [stdout]     |
[INFO] [stdout]  76 |     let encoded = zerocbor::to_cbor_vec(&value).unwrap();
[INFO] [stdout]     |                   --------------------- ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ToCbor` is not implemented for `Owning`
[INFO] [stdout]    --> tests/cbor_bytes.rs:54:5
[INFO] [stdout]     |
[INFO] [stdout]  54 |     struct Owning {
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 42 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:195:11
[INFO] [stdout]     |
[INFO] [stdout] 195 |         #[cbor(map, allow_unknown_fields)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Owning: FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/cbor_bytes.rs:77:38
[INFO] [stdout]     |
[INFO] [stdout]  77 |     assert_eq!(zerocbor::from_cbor::<Owning>(&encoded).unwrap(), value);
[INFO] [stdout]     |                                      ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FromCbor<'_>` is not implemented for `Owning`
[INFO] [stdout]    --> tests/cbor_bytes.rs:54:5
[INFO] [stdout]     |
[INFO] [stdout]  54 |     struct Owning {
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Blob: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/indefinite_length.rs:171:25
[INFO] [stdout]     |
[INFO] [stdout] 171 |             from_cbor::<Blob>(&[0x81, 0x5f, 0x42, 0x01, 0x02, 0x42, 0x03, 0x04, 0xff])
[INFO] [stdout]     |                         ^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Blob`
[INFO] [stdout]    --> tests/indefinite_length.rs:157:5
[INFO] [stdout]     |
[INFO] [stdout] 157 |     struct Blob {
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `zerocbor::from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:232:36
[INFO] [stdout]     |
[INFO] [stdout] 232 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Blob: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/indefinite_length.rs:179:25
[INFO] [stdout]     |
[INFO] [stdout] 179 |             from_cbor::<Blob>(&[0x81, 0x5f, 0xff])
[INFO] [stdout]     |                         ^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Blob`
[INFO] [stdout]    --> tests/indefinite_length.rs:157:5
[INFO] [stdout]     |
[INFO] [stdout] 157 |     struct Blob {
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `zerocbor::from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:232:44
[INFO] [stdout]     |
[INFO] [stdout] 232 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `NeedsBytes<'_>: FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/cbor_bytes.rs:104:37
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let err = zerocbor::from_cbor::<NeedsBytes<'_>>(&[0x81, 0x83, 0x01]).unwrap_err();
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FromCbor<'_>` is not implemented for `NeedsBytes<'_>`
[INFO] [stdout]    --> tests/cbor_bytes.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout]  99 |     struct NeedsBytes<'a> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Blob: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/indefinite_length.rs:209:29
[INFO] [stdout]     |
[INFO] [stdout] 209 |                 from_cbor::<Blob>(&input).unwrap_err(),
[INFO] [stdout]     |                             ^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Blob`
[INFO] [stdout]    --> tests/indefinite_length.rs:157:5
[INFO] [stdout]     |
[INFO] [stdout] 157 |     struct Blob {
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `zerocbor::from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `WithPhantom: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/phantom_data.rs:34:41
[INFO] [stdout]     |
[INFO] [stdout]  34 |     let encoded = zerocbor::to_cbor_vec(&value).unwrap();
[INFO] [stdout]     |                   --------------------- ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ToCbor` is not implemented for `WithPhantom`
[INFO] [stdout]    --> tests/phantom_data.rs:10:1
[INFO] [stdout]     |
[INFO] [stdout]  10 | struct WithPhantom {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:233:11
[INFO] [stdout]     |
[INFO] [stdout] 233 |         #[cbor(map)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:236:15
[INFO] [stdout]     |
[INFO] [stdout] 236 |             #[cbor(default)]
[INFO] [stdout]     |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:239:36
[INFO] [stdout]     |
[INFO] [stdout] 239 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:239:44
[INFO] [stdout]     |
[INFO] [stdout] 239 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `WithPhantom: FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/phantom_data.rs:36:38
[INFO] [stdout]     |
[INFO] [stdout]  36 |     assert_eq!(zerocbor::from_cbor::<WithPhantom>(&encoded).unwrap(), value);
[INFO] [stdout]     |                                      ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FromCbor<'_>` is not implemented for `WithPhantom`
[INFO] [stdout]    --> tests/phantom_data.rs:10:1
[INFO] [stdout]     |
[INFO] [stdout]  10 | struct WithPhantom {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zerocbor` (test "cbor_bytes") due to 17 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the trait bound `Borrowed<'_>: FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/indefinite_length.rs:295:31
[INFO] [stdout]     |
[INFO] [stdout] 295 |         let err = from_cbor::<Borrowed>(&[0x81, 0x5f, 0x41, 1, 0x41, 2, 0xff]).unwrap_err();
[INFO] [stdout]     |                               ^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `chunked_strings::a_one_chunk_string_borrows_and_a_multi_chunk_one_cannot::Borrowed<'_>`
[INFO] [stdout]    --> tests/indefinite_length.rs:291:9
[INFO] [stdout]     |
[INFO] [stdout] 291 |         struct Borrowed<'a> {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `zerocbor::from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/release/deps/indefinite_length-c142302898f59445.long-type-1379875581818346599.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:240:11
[INFO] [stdout]     |
[INFO] [stdout] 240 |         #[cbor(map)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:243:15
[INFO] [stdout]     |
[INFO] [stdout] 243 |             #[cbor(default = "default_y")]
[INFO] [stdout]     |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zerocbor` (test "release_safety") due to 13 previous errors
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:260:45
[INFO] [stdout]     |
[INFO] [stdout] 260 |         #[derive(Debug, Default, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Strict: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/indefinite_length.rs:335:33
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let value = from_cbor::<Strict>(&[0xbf, 0x61, b'a', 0x01, 0x61, b'b', 0x02, 0xff]).unwrap();
[INFO] [stdout]     |                                 ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Strict`
[INFO] [stdout]    --> tests/indefinite_length.rs:306:5
[INFO] [stdout]     |
[INFO] [stdout] 306 |     struct Strict {
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `zerocbor::from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zerocbor` (test "phantom_data") due to 4 previous errors
[INFO] [stdout] error[E0277]: the trait bound `Strict: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/indefinite_length.rs:340:33
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let value = from_cbor::<Strict>(&[0xbf, 0x61, b'b', 0x02, 0x61, b'a', 0x01, 0xff]).unwrap();
[INFO] [stdout]     |                                 ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Strict`
[INFO] [stdout]    --> tests/indefinite_length.rs:306:5
[INFO] [stdout]     |
[INFO] [stdout] 306 |     struct Strict {
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `zerocbor::from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:260:53
[INFO] [stdout]     |
[INFO] [stdout] 260 |         #[derive(Debug, Default, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                                     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Strict: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/indefinite_length.rs:348:31
[INFO] [stdout]     |
[INFO] [stdout] 348 |         let err = from_cbor::<Strict>(&[
[INFO] [stdout]     |                               ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Strict`
[INFO] [stdout]    --> tests/indefinite_length.rs:306:5
[INFO] [stdout]     |
[INFO] [stdout] 306 |     struct Strict {
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `zerocbor::from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Lenient: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/indefinite_length.rs:355:25
[INFO] [stdout]     |
[INFO] [stdout] 355 |             from_cbor::<Lenient>(&[0xbf, 0x61, b'a', 0x01, 0xff]).unwrap(),
[INFO] [stdout]     |                         ^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Lenient`
[INFO] [stdout]    --> tests/indefinite_length.rs:313:5
[INFO] [stdout]     |
[INFO] [stdout] 313 |     struct Lenient {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `zerocbor::from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:263:15
[INFO] [stdout]     |
[INFO] [stdout] 263 |             #[cbor(ignore)]
[INFO] [stdout]     |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Strict: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/indefinite_length.rs:359:31
[INFO] [stdout]     |
[INFO] [stdout] 359 |         let err = from_cbor::<Strict>(&[0xbf, 0x61, b'a', 0x01, 0xff]).unwrap_err();
[INFO] [stdout]     |                               ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Strict`
[INFO] [stdout]    --> tests/indefinite_length.rs:306:5
[INFO] [stdout]     |
[INFO] [stdout] 306 |     struct Strict {
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `zerocbor::from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:285:36
[INFO] [stdout]     |
[INFO] [stdout] 285 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Pair: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/indefinite_length.rs:366:25
[INFO] [stdout]     |
[INFO] [stdout] 366 |             from_cbor::<Pair>(&[0x9f, 0x01, 0x02, 0xff]).unwrap(),
[INFO] [stdout]     |                         ^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Pair`
[INFO] [stdout]    --> tests/indefinite_length.rs:321:5
[INFO] [stdout]     |
[INFO] [stdout] 321 |     struct Pair {
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `zerocbor::from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:285:44
[INFO] [stdout]     |
[INFO] [stdout] 285 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Shape: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/indefinite_length.rs:374:33
[INFO] [stdout]     |
[INFO] [stdout] 374 |         let value = from_cbor::<Shape>(&[
[INFO] [stdout]     |                                 ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Shape`
[INFO] [stdout]    --> tests/indefinite_length.rs:328:5
[INFO] [stdout]     |
[INFO] [stdout] 328 |     enum Shape {
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `zerocbor::from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Op: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/indefinite_length.rs:389:25
[INFO] [stdout]     |
[INFO] [stdout] 389 |             from_cbor::<Op>(&[0x9f, 0x00, 0x18, 0x2a, 0xff]).unwrap(),
[INFO] [stdout]     |                         ^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Op`
[INFO] [stdout]    --> tests/indefinite_length.rs:384:9
[INFO] [stdout]     |
[INFO] [stdout] 384 |         enum Op {
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `zerocbor::from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Tolerant: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/indefinite_length.rs:411:25
[INFO] [stdout]     |
[INFO] [stdout] 411 |             from_cbor::<Tolerant>(&[
[INFO] [stdout]     |                         ^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Tolerant`
[INFO] [stdout]    --> tests/indefinite_length.rs:401:5
[INFO] [stdout]     |
[INFO] [stdout] 401 |     struct Tolerant {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `zerocbor::from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:286:11
[INFO] [stdout]     |
[INFO] [stdout] 286 |         #[cbor(map)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Tolerant: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/indefinite_length.rs:418:25
[INFO] [stdout]     |
[INFO] [stdout] 418 |             from_cbor::<Tolerant>(&[
[INFO] [stdout]     |                         ^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Tolerant`
[INFO] [stdout]    --> tests/indefinite_length.rs:401:5
[INFO] [stdout]     |
[INFO] [stdout] 401 |     struct Tolerant {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `zerocbor::from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Tolerant: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/indefinite_length.rs:425:25
[INFO] [stdout]     |
[INFO] [stdout] 425 |             from_cbor::<Tolerant>(&[
[INFO] [stdout]     |                         ^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Tolerant`
[INFO] [stdout]    --> tests/indefinite_length.rs:401:5
[INFO] [stdout]     |
[INFO] [stdout] 401 |     struct Tolerant {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `zerocbor::from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:306:36
[INFO] [stdout]     |
[INFO] [stdout] 306 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:306:44
[INFO] [stdout]     |
[INFO] [stdout] 306 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:307:11
[INFO] [stdout]     |
[INFO] [stdout] 307 |         #[cbor(map)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:343:36
[INFO] [stdout]     |
[INFO] [stdout] 343 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:343:44
[INFO] [stdout]     |
[INFO] [stdout] 343 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:344:11
[INFO] [stdout]     |
[INFO] [stdout] 344 |         #[cbor(map)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:373:32
[INFO] [stdout]     |
[INFO] [stdout] 373 |     #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:373:40
[INFO] [stdout]     |
[INFO] [stdout] 373 |     #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                        ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]   --> tests/enum_contracts.rs:4:28
[INFO] [stdout]    |
[INFO] [stdout]  4 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub trait ToCbor {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:392:32
[INFO] [stdout]     |
[INFO] [stdout] 392 |     #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:392:40
[INFO] [stdout]     |
[INFO] [stdout] 392 |     #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                        ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/enum_contracts.rs:4:36
[INFO] [stdout]    |
[INFO] [stdout]  4 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                                    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait FromCbor<'a>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:423:32
[INFO] [stdout]     |
[INFO] [stdout] 423 |     #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:423:40
[INFO] [stdout]     |
[INFO] [stdout] 423 |     #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                        ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:454:36
[INFO] [stdout]     |
[INFO] [stdout] 454 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:454:44
[INFO] [stdout]     |
[INFO] [stdout] 454 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:456:15
[INFO] [stdout]     |
[INFO] [stdout] 456 |             #[cbor(key = 0)]
[INFO] [stdout]     |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:460:15
[INFO] [stdout]     |
[INFO] [stdout] 460 |             #[cbor(key = 2)]
[INFO] [stdout]     |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:473:36
[INFO] [stdout]     |
[INFO] [stdout] 473 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:473:44
[INFO] [stdout]     |
[INFO] [stdout] 473 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:474:11
[INFO] [stdout]     |
[INFO] [stdout] 474 |         #[cbor(map)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:476:15
[INFO] [stdout]     |
[INFO] [stdout] 476 |             #[cbor(key = "the-x")]
[INFO] [stdout]     |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:499:36
[INFO] [stdout]     |
[INFO] [stdout] 499 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]  --> tests/enum_contracts.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 |         #[cbor(ignore)]
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:499:44
[INFO] [stdout]     |
[INFO] [stdout] 499 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]   --> tests/enum_contracts.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Tuple(#[cbor(ignore)] String, u8),
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:500:11
[INFO] [stdout]     |
[INFO] [stdout] 500 |         #[cbor(c_enum)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:522:36
[INFO] [stdout]     |
[INFO] [stdout] 522 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]   --> tests/enum_contracts.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub trait ToCbor {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:522:44
[INFO] [stdout]     |
[INFO] [stdout] 522 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zerocbor` (test "indefinite_length") due to 28 previous errors
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:526:36
[INFO] [stdout]     |
[INFO] [stdout] 526 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/enum_contracts.rs:15:36
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                                    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait FromCbor<'a>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:526:44
[INFO] [stdout]     |
[INFO] [stdout] 526 |         #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/derive.rs:528:15
[INFO] [stdout]     |
[INFO] [stdout] 528 |             #[cbor(as_bytes = false)]
[INFO] [stdout]     |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]   --> tests/enum_contracts.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[cbor(map)]
[INFO] [stdout]    |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]   --> tests/enum_contracts.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |     Tuple(#[cbor(ignore)] String, u8),
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `array_repr::Point: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:22:45
[INFO] [stdout]     |
[INFO] [stdout]  22 |         let encoded = zerocbor::to_cbor_vec(&Point { x: 1, y: 2 }).unwrap();
[INFO] [stdout]     |                       --------------------- ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `array_repr::Point`
[INFO] [stdout]    --> tests/derive.rs:15:5
[INFO] [stdout]     |
[INFO] [stdout]  15 |     struct Point {
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `array_repr::Point: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:25:35
[INFO] [stdout]     |
[INFO] [stdout]  25 |             zerocbor::from_cbor::<Point>(&encoded).unwrap(),
[INFO] [stdout]     |                                   ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `array_repr::Point`
[INFO] [stdout]    --> tests/derive.rs:15:5
[INFO] [stdout]     |
[INFO] [stdout]  15 |     struct Point {
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]   --> tests/enum_contracts.rs:92:28
[INFO] [stdout]    |
[INFO] [stdout] 92 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub trait ToCbor {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `array_repr::Point: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:32:41
[INFO] [stdout]     |
[INFO] [stdout]  32 |         let err = zerocbor::from_cbor::<Point>(&[0x83, 0x01, 0x02, 0x03]).unwrap_err();
[INFO] [stdout]     |                                         ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `array_repr::Point`
[INFO] [stdout]    --> tests/derive.rs:15:5
[INFO] [stdout]     |
[INFO] [stdout]  15 |     struct Point {
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Nested: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:57:45
[INFO] [stdout]     |
[INFO] [stdout]  57 |         let encoded = zerocbor::to_cbor_vec(&value).unwrap();
[INFO] [stdout]     |                       --------------------- ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `Nested`
[INFO] [stdout]    --> tests/derive.rs:48:9
[INFO] [stdout]     |
[INFO] [stdout]  48 |         struct Nested {
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Nested: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:58:42
[INFO] [stdout]     |
[INFO] [stdout]  58 |         assert_eq!(zerocbor::from_cbor::<Nested>(&encoded).unwrap(), value);
[INFO] [stdout]     |                                          ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Nested`
[INFO] [stdout]    --> tests/derive.rs:48:9
[INFO] [stdout]     |
[INFO] [stdout]  48 |         struct Nested {
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/enum_contracts.rs:92:36
[INFO] [stdout]    |
[INFO] [stdout] 92 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]    |                                    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait FromCbor<'a>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `array_repr::a_fieldless_enum_is_a_bare_index::Color: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:77:49
[INFO] [stdout]     |
[INFO] [stdout]  77 |             let encoded = zerocbor::to_cbor_vec(&value).unwrap();
[INFO] [stdout]     |                           --------------------- ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `array_repr::a_fieldless_enum_is_a_bare_index::Color`
[INFO] [stdout]    --> tests/derive.rs:65:9
[INFO] [stdout]     |
[INFO] [stdout]  65 |         enum Color {
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `array_repr::a_fieldless_enum_is_a_bare_index::Color: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:79:46
[INFO] [stdout]     |
[INFO] [stdout]  79 |             assert_eq!(zerocbor::from_cbor::<Color>(&encoded).unwrap(), value);
[INFO] [stdout]     |                                              ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `array_repr::a_fieldless_enum_is_a_bare_index::Color`
[INFO] [stdout]    --> tests/derive.rs:65:9
[INFO] [stdout]     |
[INFO] [stdout]  65 |         enum Color {
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `array_repr::a_fieldless_enum_is_a_bare_index::Color: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:83:41
[INFO] [stdout]     |
[INFO] [stdout]  83 |         let err = zerocbor::from_cbor::<Color>(&[0x07]).unwrap_err();
[INFO] [stdout]     |                                         ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `array_repr::a_fieldless_enum_is_a_bare_index::Color`
[INFO] [stdout]    --> tests/derive.rs:65:9
[INFO] [stdout]     |
[INFO] [stdout]  65 |         enum Color {
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Shape: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:103:49
[INFO] [stdout]     |
[INFO] [stdout] 103 |             let encoded = zerocbor::to_cbor_vec(&value).unwrap();
[INFO] [stdout]     |                           --------------------- ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `Shape`
[INFO] [stdout]    --> tests/derive.rs:92:9
[INFO] [stdout]     |
[INFO] [stdout]  92 |         enum Shape {
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Shape: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:105:46
[INFO] [stdout]     |
[INFO] [stdout] 105 |             assert_eq!(zerocbor::from_cbor::<Shape>(&encoded).unwrap(), value);
[INFO] [stdout]     |                                              ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Shape`
[INFO] [stdout]    --> tests/derive.rs:92:9
[INFO] [stdout]     |
[INFO] [stdout]  92 |         enum Shape {
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]   --> tests/enum_contracts.rs:93:3
[INFO] [stdout]    |
[INFO] [stdout] 93 | #[cbor(c_enum)]
[INFO] [stdout]    |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `map_repr::Point: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:122:45
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let encoded = zerocbor::to_cbor_vec(&Point { x: 1, y: 2 }).unwrap();
[INFO] [stdout]     |                       --------------------- ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `map_repr::Point`
[INFO] [stdout]    --> tests/derive.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 115 |     struct Point {
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:102:28
[INFO] [stdout]     |
[INFO] [stdout] 102 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `map_repr::Point: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:125:35
[INFO] [stdout]     |
[INFO] [stdout] 125 |             zerocbor::from_cbor::<Point>(&encoded).unwrap(),
[INFO] [stdout]     |                                   ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `map_repr::Point`
[INFO] [stdout]    --> tests/derive.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 115 |     struct Point {
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:102:36
[INFO] [stdout]     |
[INFO] [stdout] 102 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `map_repr::Point: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:157:45
[INFO] [stdout]     |
[INFO] [stdout] 157 |             let err = zerocbor::from_cbor::<Point>(&encoded).unwrap_err();
[INFO] [stdout]     |                                             ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `map_repr::Point`
[INFO] [stdout]    --> tests/derive.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 115 |     struct Point {
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `map_repr::a_wrong_map_is_reported::Renamed: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:180:41
[INFO] [stdout]     |
[INFO] [stdout] 180 |         let err = zerocbor::from_cbor::<Renamed>(&[0xa2, 0x61, b'a', 0x01, 0x61, b'z', 0x02])
[INFO] [stdout]     |                                         ^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `map_repr::a_wrong_map_is_reported::Renamed`
[INFO] [stdout]    --> tests/derive.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 |         struct Renamed {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `map_repr::a_wrong_map_is_reported::Tolerant: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:185:49
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let mut encoded = zerocbor::to_cbor_vec(&Tolerant { x: 1, y: 2 }).unwrap();
[INFO] [stdout]     |                           --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `map_repr::a_wrong_map_is_reported::Tolerant`
[INFO] [stdout]    --> tests/derive.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |         struct Tolerant {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `map_repr::a_wrong_map_is_reported::Tolerant: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:188:41
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let err = zerocbor::from_cbor::<Tolerant>(&encoded).unwrap_err();
[INFO] [stdout]     |                                         ^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `map_repr::a_wrong_map_is_reported::Tolerant`
[INFO] [stdout]    --> tests/derive.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |         struct Tolerant {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `map_repr::allow_unknown_fields_opts_into_skipping_them::Tolerant: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:203:35
[INFO] [stdout]     |
[INFO] [stdout] 203 |             zerocbor::from_cbor::<Tolerant>(&wider_than_point()).unwrap(),
[INFO] [stdout]     |                                   ^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `map_repr::allow_unknown_fields_opts_into_skipping_them::Tolerant`
[INFO] [stdout]    --> tests/derive.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |         struct Tolerant {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `map_repr::Point: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:211:41
[INFO] [stdout]     |
[INFO] [stdout] 211 |         let err = zerocbor::from_cbor::<Point>(&[0xa1, 0x61, b'x', 0x01]).unwrap_err();
[INFO] [stdout]     |                                         ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `map_repr::Point`
[INFO] [stdout]    --> tests/derive.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 115 |     struct Point {
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `map_repr::default_fills_a_missing_key::Zero: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:249:35
[INFO] [stdout]     |
[INFO] [stdout] 249 |             zerocbor::from_cbor::<Zero>(&encoded).unwrap(),
[INFO] [stdout]     |                                   ^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `map_repr::default_fills_a_missing_key::Zero`
[INFO] [stdout]    --> tests/derive.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |         struct Zero {
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Computed: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:253:35
[INFO] [stdout]     |
[INFO] [stdout] 253 |             zerocbor::from_cbor::<Computed>(&encoded).unwrap(),
[INFO] [stdout]     |                                   ^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Computed`
[INFO] [stdout]    --> tests/derive.rs:241:9
[INFO] [stdout]     |
[INFO] [stdout] 241 |         struct Computed {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:103:3
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[cbor(c_enum)]
[INFO] [stdout]     |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:108:28
[INFO] [stdout]     |
[INFO] [stdout] 108 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Skipped: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:271:45
[INFO] [stdout]     |
[INFO] [stdout] 271 |         let encoded = zerocbor::to_cbor_vec(&value).unwrap();
[INFO] [stdout]     |                       --------------------- ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `Skipped`
[INFO] [stdout]    --> tests/derive.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 261 |         struct Skipped {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Skipped: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:274:35
[INFO] [stdout]     |
[INFO] [stdout] 274 |             zerocbor::from_cbor::<Skipped>(&encoded).unwrap(),
[INFO] [stdout]     |                                   ^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Skipped`
[INFO] [stdout]    --> tests/derive.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 261 |         struct Skipped {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `map_repr::a_fieldless_enum_is_named::Color: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:293:35
[INFO] [stdout]     |
[INFO] [stdout] 293 |             zerocbor::to_cbor_vec(&Color::Green).unwrap(),
[INFO] [stdout]     |             --------------------- ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |             |
[INFO] [stdout]     |             required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `map_repr::a_fieldless_enum_is_named::Color`
[INFO] [stdout]    --> tests/derive.rs:287:9
[INFO] [stdout]     |
[INFO] [stdout] 287 |         enum Color {
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `map_repr::a_fieldless_enum_is_named::Color: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:297:49
[INFO] [stdout]     |
[INFO] [stdout] 297 |             let encoded = zerocbor::to_cbor_vec(&value).unwrap();
[INFO] [stdout]     |                           --------------------- ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `map_repr::a_fieldless_enum_is_named::Color`
[INFO] [stdout]    --> tests/derive.rs:287:9
[INFO] [stdout]     |
[INFO] [stdout] 287 |         enum Color {
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:108:36
[INFO] [stdout]     |
[INFO] [stdout] 108 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `map_repr::a_fieldless_enum_is_named::Color: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:298:46
[INFO] [stdout]     |
[INFO] [stdout] 298 |             assert_eq!(zerocbor::from_cbor::<Color>(&encoded).unwrap(), value);
[INFO] [stdout]     |                                              ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `map_repr::a_fieldless_enum_is_named::Color`
[INFO] [stdout]    --> tests/derive.rs:287:9
[INFO] [stdout]     |
[INFO] [stdout] 287 |         enum Color {
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `map_repr::a_data_carrying_variant_is_wrapped_in_a_one_entry_map::Event: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:315:35
[INFO] [stdout]     |
[INFO] [stdout] 315 |             zerocbor::to_cbor_vec(&Event::Moved { x: 1, y: 2 }).unwrap(),
[INFO] [stdout]     |             --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |             |
[INFO] [stdout]     |             required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `map_repr::a_data_carrying_variant_is_wrapped_in_a_one_entry_map::Event`
[INFO] [stdout]    --> tests/derive.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |         enum Event {
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `map_repr::a_data_carrying_variant_is_wrapped_in_a_one_entry_map::Event: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:322:35
[INFO] [stdout]     |
[INFO] [stdout] 322 |             zerocbor::to_cbor_vec(&Event::Renamed("hi".into())).unwrap(),
[INFO] [stdout]     |             --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |             |
[INFO] [stdout]     |             required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `map_repr::a_data_carrying_variant_is_wrapped_in_a_one_entry_map::Event`
[INFO] [stdout]    --> tests/derive.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |         enum Event {
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `map_repr::a_data_carrying_variant_is_wrapped_in_a_one_entry_map::Event: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:332:49
[INFO] [stdout]     |
[INFO] [stdout] 332 |             let encoded = zerocbor::to_cbor_vec(&value).unwrap();
[INFO] [stdout]     |                           --------------------- ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `map_repr::a_data_carrying_variant_is_wrapped_in_a_one_entry_map::Event`
[INFO] [stdout]    --> tests/derive.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |         enum Event {
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Event: FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:334:39
[INFO] [stdout]     |
[INFO] [stdout] 334 |                 zerocbor::from_cbor::<Event>(&encoded).unwrap(),
[INFO] [stdout]     |                                       ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `map_repr::a_data_carrying_variant_is_wrapped_in_a_one_entry_map::Event`
[INFO] [stdout]    --> tests/derive.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |         enum Event {
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/release/deps/derive-4d590a85308ca8d4.long-type-5046824129708821098.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:109:3
[INFO] [stdout]     |
[INFO] [stdout] 109 | #[cbor(c_enum)]
[INFO] [stdout]     |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `map_repr::a_variant_name_that_does_not_resolve_is_reported::Event: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:361:45
[INFO] [stdout]     |
[INFO] [stdout] 361 |             let err = zerocbor::from_cbor::<Event>(&encoded).unwrap_err();
[INFO] [stdout]     |                                             ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `map_repr::a_variant_name_that_does_not_resolve_is_reported::Event`
[INFO] [stdout]    --> tests/derive.rs:345:9
[INFO] [stdout]     |
[INFO] [stdout] 345 |         enum Event {
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:114:28
[INFO] [stdout]     |
[INFO] [stdout] 114 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Wrapper<String>: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:385:45
[INFO] [stdout]     |
[INFO] [stdout] 385 |         let encoded = zerocbor::to_cbor_vec(&value).unwrap();
[INFO] [stdout]     |                       --------------------- ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `Wrapper<String>`
[INFO] [stdout]    --> tests/derive.rs:374:5
[INFO] [stdout]     |
[INFO] [stdout] 374 |     struct Wrapper<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:114:36
[INFO] [stdout]     |
[INFO] [stdout] 114 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Wrapper<String>: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:387:35
[INFO] [stdout]     |
[INFO] [stdout] 387 |             zerocbor::from_cbor::<Wrapper<String>>(&encoded).unwrap(),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Wrapper<String>`
[INFO] [stdout]    --> tests/derive.rs:374:5
[INFO] [stdout]     |
[INFO] [stdout] 374 |     struct Wrapper<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `generics::Borrowed<'_>: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:400:45
[INFO] [stdout]     |
[INFO] [stdout] 400 |           let encoded = zerocbor::to_cbor_vec(&Borrowed {
[INFO] [stdout]     |  _______________________---------------------_^
[INFO] [stdout]     | |                       |
[INFO] [stdout]     | |                       required by a bound introduced by this call
[INFO] [stdout] 401 | |             text: "borrowed",
[INFO] [stdout] 402 | |             number: 5,
[INFO] [stdout] 403 | |         })
[INFO] [stdout]     | |_________^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `generics::Borrowed<'_>`
[INFO] [stdout]    --> tests/derive.rs:393:5
[INFO] [stdout]     |
[INFO] [stdout] 393 |     struct Borrowed<'a> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `generics::Borrowed<'_>: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:406:37
[INFO] [stdout]     |
[INFO] [stdout] 406 |         let decoded: Borrowed<'_> = zerocbor::from_cbor(&encoded).unwrap();
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `generics::Borrowed<'_>`
[INFO] [stdout]    --> tests/derive.rs:393:5
[INFO] [stdout]     |
[INFO] [stdout] 393 |     struct Borrowed<'a> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Maybe: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:441:49
[INFO] [stdout]     |
[INFO] [stdout] 441 |             let encoded = zerocbor::to_cbor_vec(&value).unwrap();
[INFO] [stdout]     |                           --------------------- ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `Maybe`
[INFO] [stdout]    --> tests/derive.rs:424:5
[INFO] [stdout]     |
[INFO] [stdout] 424 |     struct Maybe {
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Maybe: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:442:46
[INFO] [stdout]     |
[INFO] [stdout] 442 |             assert_eq!(zerocbor::from_cbor::<Maybe>(&encoded).unwrap(), value);
[INFO] [stdout]     |                                              ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Maybe`
[INFO] [stdout]    --> tests/derive.rs:424:5
[INFO] [stdout]     |
[INFO] [stdout] 424 |     struct Maybe {
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Sparse: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:464:45
[INFO] [stdout]     |
[INFO] [stdout] 464 |         let encoded = zerocbor::to_cbor_vec(&Sparse { a: 1, b: 2 }).unwrap();
[INFO] [stdout]     |                       --------------------- ^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `Sparse`
[INFO] [stdout]    --> tests/derive.rs:455:9
[INFO] [stdout]     |
[INFO] [stdout] 455 |         struct Sparse {
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Sparse: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:467:31
[INFO] [stdout]     |
[INFO] [stdout] 467 |         let decoded: Sparse = zerocbor::from_cbor(&encoded).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Sparse`
[INFO] [stdout]    --> tests/derive.rs:455:9
[INFO] [stdout]     |
[INFO] [stdout] 455 |         struct Sparse {
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:115:3
[INFO] [stdout]     |
[INFO] [stdout] 115 | #[cbor(c_enum, tag = 42)]
[INFO] [stdout]     |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `zerompk_parity::a_map_key_is_the_given_name::Renamed: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:484:45
[INFO] [stdout]     |
[INFO] [stdout] 484 |         let encoded = zerocbor::to_cbor_vec(&Renamed { x: 1, y: 2 }).unwrap();
[INFO] [stdout]     |                       --------------------- ^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `zerompk_parity::a_map_key_is_the_given_name::Renamed`
[INFO] [stdout]    --> tests/derive.rs:475:9
[INFO] [stdout]     |
[INFO] [stdout] 475 |         struct Renamed {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `zerompk_parity::a_map_key_is_the_given_name::Renamed: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:492:35
[INFO] [stdout]     |
[INFO] [stdout] 492 |             zerocbor::from_cbor::<Renamed>(&encoded).unwrap(),
[INFO] [stdout]     |                                   ^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `zerompk_parity::a_map_key_is_the_given_name::Renamed`
[INFO] [stdout]    --> tests/derive.rs:475:9
[INFO] [stdout]     |
[INFO] [stdout] 475 |         struct Renamed {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Status: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:509:35
[INFO] [stdout]     |
[INFO] [stdout] 509 |             zerocbor::to_cbor_vec(&Status::NotFound).unwrap(),
[INFO] [stdout]     |             --------------------- ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |             |
[INFO] [stdout]     |             required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `Status`
[INFO] [stdout]    --> tests/derive.rs:502:9
[INFO] [stdout]     |
[INFO] [stdout] 502 |         enum Status {
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Status: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:513:49
[INFO] [stdout]     |
[INFO] [stdout] 513 |             let encoded = zerocbor::to_cbor_vec(&value).unwrap();
[INFO] [stdout]     |                           --------------------- ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `Status`
[INFO] [stdout]    --> tests/derive.rs:502:9
[INFO] [stdout]     |
[INFO] [stdout] 502 |         enum Status {
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:149:28
[INFO] [stdout]     |
[INFO] [stdout] 149 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Status: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:514:46
[INFO] [stdout]     |
[INFO] [stdout] 514 |             assert_eq!(zerocbor::from_cbor::<Status>(&encoded).unwrap(), value);
[INFO] [stdout]     |                                              ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Status`
[INFO] [stdout]    --> tests/derive.rs:502:9
[INFO] [stdout]     |
[INFO] [stdout] 502 |         enum Status {
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:149:36
[INFO] [stdout]     |
[INFO] [stdout] 149 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `AsBlob: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:533:35
[INFO] [stdout]     |
[INFO] [stdout] 533 |             zerocbor::to_cbor_vec(&AsBlob { data: vec![1, 2] }).unwrap(),
[INFO] [stdout]     |             --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |             |
[INFO] [stdout]     |             required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `AsBlob`
[INFO] [stdout]    --> tests/derive.rs:523:9
[INFO] [stdout]     |
[INFO] [stdout] 523 |         struct AsBlob {
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `AsArray: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:536:45
[INFO] [stdout]     |
[INFO] [stdout] 536 |         let encoded = zerocbor::to_cbor_vec(&AsArray { data: vec![1, 2] }).unwrap();
[INFO] [stdout]     |                       --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::ToCbor` is not implemented for `AsArray`
[INFO] [stdout]    --> tests/derive.rs:527:9
[INFO] [stdout]     |
[INFO] [stdout] 527 |         struct AsArray {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `AsArray: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/derive.rs:539:35
[INFO] [stdout]     |
[INFO] [stdout] 539 |             zerocbor::from_cbor::<AsArray>(&encoded).unwrap(),
[INFO] [stdout]     |                                   ^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `AsArray`
[INFO] [stdout]    --> tests/derive.rs:527:9
[INFO] [stdout]     |
[INFO] [stdout] 527 |         struct AsArray {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `zerocbor::FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `zerocbor::FromCbor<'de>`
[INFO] [stdout]               `()` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `zerocbor::FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:150:3
[INFO] [stdout]     |
[INFO] [stdout] 150 | #[cbor(c_enum)]
[INFO] [stdout]     |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:171:28
[INFO] [stdout]     |
[INFO] [stdout] 171 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:171:36
[INFO] [stdout]     |
[INFO] [stdout] 171 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:172:3
[INFO] [stdout]     |
[INFO] [stdout] 172 | #[cbor(map, allow_unknown_fields)]
[INFO] [stdout]     |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zerocbor` (test "derive") due to 110 previous errors
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:177:28
[INFO] [stdout]     |
[INFO] [stdout] 177 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ToCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub trait ToCbor {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `ToCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:177:36
[INFO] [stdout]     |
[INFO] [stdout] 177 | #[derive(Debug, PartialEq, ToCbor, FromCbor)]
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `FromCbor` is a trait, not a derive macro
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | pub trait FromCbor<'a>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `FromCbor` for your type manually
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:178:3
[INFO] [stdout]     |
[INFO] [stdout] 178 | #[cbor(map)]
[INFO] [stdout]     |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/enum_contracts.rs:180:7
[INFO] [stdout]     |
[INFO] [stdout] 180 |     #[cbor(tag = 42)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Array: FromCborOwned` is not satisfied
[INFO] [stdout]   --> tests/enum_contracts.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |     decode::<Array>(&[0x82, 0x00, 0x07], Array::One(7));
[INFO] [stdout]    |              ^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Array`
[INFO] [stdout]   --> tests/enum_contracts.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | enum Array {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]              `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]              `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]              `()` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]            and 39 others
[INFO] [stdout]    = note: required for `Array` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]   --> tests/enum_contracts.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Array: FromCborOwned` is not satisfied
[INFO] [stdout]   --> tests/enum_contracts.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |     decode::<Array>(&[0x9f, 0x00, 0x07, 0xff], Array::One(7));
[INFO] [stdout]    |              ^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Array`
[INFO] [stdout]   --> tests/enum_contracts.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | enum Array {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]              `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]              `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]              `()` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]            and 39 others
[INFO] [stdout]    = note: required for `Array` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]   --> tests/enum_contracts.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Array: FromCbor<'_>` is not satisfied
[INFO] [stdout]   --> tests/enum_contracts.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 |     decode::<(Array, u8)>(&[0x82, 0x82, 0x00, 0x07, 0x08], (Array::One(7), 8));
[INFO] [stdout]    |              ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `FromCbor<'_>` is not implemented for `Array`
[INFO] [stdout]   --> tests/enum_contracts.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | enum Array {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]              `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]              `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]              `()` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]            and 39 others
[INFO] [stdout]    = note: required for `(Array, u8)` to implement `for<'a> FromCbor<'a>`
[INFO] [stdout]    = note: required for `(Array, u8)` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]   --> tests/enum_contracts.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Array: FromCborOwned` is not satisfied
[INFO] [stdout]   --> tests/enum_contracts.rs:53:20
[INFO] [stdout]    |
[INFO] [stdout] 53 |         rejected::<Array>(bytes);
[INFO] [stdout]    |                    ^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Array`
[INFO] [stdout]   --> tests/enum_contracts.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | enum Array {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]              `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]              `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]              `()` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]            and 39 others
[INFO] [stdout]    = note: required for `Array` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `rejected`
[INFO] [stdout]   --> tests/enum_contracts.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn rejected<T: FromCborOwned>(bytes: &[u8]) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^ required by this bound in `rejected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Array: FromCbor<'_>` is not satisfied
[INFO] [stdout]   --> tests/enum_contracts.rs:56:16
[INFO] [stdout]    |
[INFO] [stdout] 56 |     rejected::<(Array, u8)>(&[0x82, 0x83, 0x00, 0x07, 0x08]);
[INFO] [stdout]    |                ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `FromCbor<'_>` is not implemented for `Array`
[INFO] [stdout]   --> tests/enum_contracts.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | enum Array {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]              `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]              `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]              `()` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]            and 39 others
[INFO] [stdout]    = note: required for `(Array, u8)` to implement `for<'a> FromCbor<'a>`
[INFO] [stdout]    = note: required for `(Array, u8)` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `rejected`
[INFO] [stdout]   --> tests/enum_contracts.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn rejected<T: FromCborOwned>(bytes: &[u8]) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^ required by this bound in `rejected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Array: FromCborOwned` is not satisfied
[INFO] [stdout]   --> tests/enum_contracts.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 |     decode::<Array>(&[0x81, 0x03], Array::Empty());
[INFO] [stdout]    |              ^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Array`
[INFO] [stdout]   --> tests/enum_contracts.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | enum Array {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]              `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]              `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]              `()` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]            and 39 others
[INFO] [stdout]    = note: required for `Array` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]   --> tests/enum_contracts.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Array: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:65:43
[INFO] [stdout]     |
[INFO] [stdout]  65 |         let bytes = zerocbor::to_cbor_vec(&value).unwrap();
[INFO] [stdout]     |                     --------------------- ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ToCbor` is not implemented for `Array`
[INFO] [stdout]    --> tests/enum_contracts.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout]   5 | enum Array {
[INFO] [stdout]     | ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Array: FromCborOwned` is not satisfied
[INFO] [stdout]   --> tests/enum_contracts.rs:67:18
[INFO] [stdout]    |
[INFO] [stdout] 67 |         decode::<Array>(&bytes, value);
[INFO] [stdout]    |                  ^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Array`
[INFO] [stdout]   --> tests/enum_contracts.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | enum Array {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]              `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]              `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]              `()` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]            and 39 others
[INFO] [stdout]    = note: required for `Array` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]   --> tests/enum_contracts.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Map: FromCborOwned` is not satisfied
[INFO] [stdout]   --> tests/enum_contracts.rs:73:14
[INFO] [stdout]    |
[INFO] [stdout] 73 |     decode::<Map>(b"\xa1\x64Data\x81\x07", Map::Data(7));
[INFO] [stdout]    |              ^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Map`
[INFO] [stdout]   --> tests/enum_contracts.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum Map {
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]              `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]              `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]              `()` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]            and 39 others
[INFO] [stdout]    = note: required for `Map` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]   --> tests/enum_contracts.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Map: FromCborOwned` is not satisfied
[INFO] [stdout]   --> tests/enum_contracts.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 74 |     decode::<Map>(b"\xbf\x64Data\x9f\x07\xff\xff", Map::Data(7));
[INFO] [stdout]    |              ^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Map`
[INFO] [stdout]   --> tests/enum_contracts.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum Map {
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]              `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]              `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]              `()` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]            and 39 others
[INFO] [stdout]    = note: required for `Map` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]   --> tests/enum_contracts.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Map: FromCborOwned` is not satisfied
[INFO] [stdout]   --> tests/enum_contracts.rs:75:14
[INFO] [stdout]    |
[INFO] [stdout] 75 |     decode::<Map>(b"\xa1\x65Named\xa1\x65value\x07", Map::Named { value: 7 });
[INFO] [stdout]    |              ^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Map`
[INFO] [stdout]   --> tests/enum_contracts.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum Map {
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]              `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]              `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]              `()` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]            and 39 others
[INFO] [stdout]    = note: required for `Map` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]   --> tests/enum_contracts.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Map: FromCborOwned` is not satisfied
[INFO] [stdout]   --> tests/enum_contracts.rs:76:14
[INFO] [stdout]    |
[INFO] [stdout] 76 |     decode::<Map>(b"\x64Unit", Map::Unit);
[INFO] [stdout]    |              ^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Map`
[INFO] [stdout]   --> tests/enum_contracts.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum Map {
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]              `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]              `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]              `()` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]            and 39 others
[INFO] [stdout]    = note: required for `Map` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]   --> tests/enum_contracts.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Map: FromCborOwned` is not satisfied
[INFO] [stdout]   --> tests/enum_contracts.rs:85:20
[INFO] [stdout]    |
[INFO] [stdout] 85 |         rejected::<Map>(bytes);
[INFO] [stdout]    |                    ^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Map`
[INFO] [stdout]   --> tests/enum_contracts.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum Map {
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]              `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]              `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]              `()` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]            and 39 others
[INFO] [stdout]    = note: required for `Map` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `rejected`
[INFO] [stdout]   --> tests/enum_contracts.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn rejected<T: FromCborOwned>(bytes: &[u8]) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^ required by this bound in `rejected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Map: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:88:41
[INFO] [stdout]     |
[INFO] [stdout]  88 |     let encoded = zerocbor::to_cbor_vec(&value).unwrap();
[INFO] [stdout]     |                   --------------------- ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ToCbor` is not implemented for `Map`
[INFO] [stdout]    --> tests/enum_contracts.rs:17:1
[INFO] [stdout]     |
[INFO] [stdout]  17 | enum Map {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Map: FromCborOwned` is not satisfied
[INFO] [stdout]   --> tests/enum_contracts.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 89 |     decode::<Map>(&encoded, value);
[INFO] [stdout]    |              ^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Map`
[INFO] [stdout]   --> tests/enum_contracts.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum Map {
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]              `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]              `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]              `()` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]              `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]            and 39 others
[INFO] [stdout]    = note: required for `Map` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]   --> tests/enum_contracts.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Signed: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:129:42
[INFO] [stdout]     |
[INFO] [stdout] 129 |         assert_eq!(zerocbor::to_cbor_vec(&value).unwrap(), bytes);
[INFO] [stdout]     |                    --------------------- ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ToCbor` is not implemented for `Signed`
[INFO] [stdout]    --> tests/enum_contracts.rs:95:1
[INFO] [stdout]     |
[INFO] [stdout]  95 | enum Signed {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Signed: FromCborOwned` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:130:18
[INFO] [stdout]     |
[INFO] [stdout] 130 |         decode::<Signed>(&bytes, value);
[INFO] [stdout]     |                  ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Signed`
[INFO] [stdout]    --> tests/enum_contracts.rs:95:1
[INFO] [stdout]     |
[INFO] [stdout]  95 | enum Signed {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout]     = note: required for `Signed` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]    --> tests/enum_contracts.rs:24:14
[INFO] [stdout]     |
[INFO] [stdout]  24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Signed: FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:133:31
[INFO] [stdout]     |
[INFO] [stdout] 133 |         zerocbor::from_cbor::<Signed>(&[0x03]),
[INFO] [stdout]     |                               ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FromCbor<'_>` is not implemented for `Signed`
[INFO] [stdout]    --> tests/enum_contracts.rs:95:1
[INFO] [stdout]     |
[INFO] [stdout]  95 | enum Signed {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout] note: required by a bound in `from_cbor`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn from_cbor<'a, T: FromCbor<'a>>(data: &'a [u8]) -> Result<T> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ required by this bound in `from_cbor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Wide: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:137:38
[INFO] [stdout]     |
[INFO] [stdout] 137 |     assert_eq!(zerocbor::to_cbor_vec(&Wide::Max).unwrap(), bytes);
[INFO] [stdout]     |                --------------------- ^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                |
[INFO] [stdout]     |                required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ToCbor` is not implemented for `Wide`
[INFO] [stdout]    --> tests/enum_contracts.rs:105:1
[INFO] [stdout]     |
[INFO] [stdout] 105 | enum Wide {
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Wide: FromCborOwned` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:138:14
[INFO] [stdout]     |
[INFO] [stdout] 138 |     decode::<Wide>(&bytes, Wide::Max);
[INFO] [stdout]     |              ^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Wide`
[INFO] [stdout]    --> tests/enum_contracts.rs:105:1
[INFO] [stdout]     |
[INFO] [stdout] 105 | enum Wide {
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout]     = note: required for `Wide` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]    --> tests/enum_contracts.rs:24:14
[INFO] [stdout]     |
[INFO] [stdout]  24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TooWide: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:140:31
[INFO] [stdout]     |
[INFO] [stdout] 140 |         zerocbor::to_cbor_vec(&TooWide::Max),
[INFO] [stdout]     |         --------------------- ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |         |
[INFO] [stdout]     |         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ToCbor` is not implemented for `TooWide`
[INFO] [stdout]    --> tests/enum_contracts.rs:111:1
[INFO] [stdout]     |
[INFO] [stdout] 111 | enum TooWide {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TooWide: FromCborOwned` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:143:16
[INFO] [stdout]     |
[INFO] [stdout] 143 |     rejected::<TooWide>(&[0x20]);
[INFO] [stdout]     |                ^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `TooWide`
[INFO] [stdout]    --> tests/enum_contracts.rs:111:1
[INFO] [stdout]     |
[INFO] [stdout] 111 | enum TooWide {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout]     = note: required for `TooWide` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `rejected`
[INFO] [stdout]    --> tests/enum_contracts.rs:29:16
[INFO] [stdout]     |
[INFO] [stdout]  29 | fn rejected<T: FromCborOwned>(bytes: &[u8]) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^ required by this bound in `rejected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Tagged: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:145:38
[INFO] [stdout]     |
[INFO] [stdout] 145 |     assert_eq!(zerocbor::to_cbor_vec(&Tagged::Four).unwrap(), bytes);
[INFO] [stdout]     |                --------------------- ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                |
[INFO] [stdout]     |                required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ToCbor` is not implemented for `Tagged`
[INFO] [stdout]    --> tests/enum_contracts.rs:116:1
[INFO] [stdout]     |
[INFO] [stdout] 116 | enum Tagged {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Tagged: FromCborOwned` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:146:14
[INFO] [stdout]     |
[INFO] [stdout] 146 |     decode::<Tagged>(&bytes, Tagged::Four);
[INFO] [stdout]     |              ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Tagged`
[INFO] [stdout]    --> tests/enum_contracts.rs:116:1
[INFO] [stdout]     |
[INFO] [stdout] 116 | enum Tagged {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout]     = note: required for `Tagged` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]    --> tests/enum_contracts.rs:24:14
[INFO] [stdout]     |
[INFO] [stdout]  24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `NegativeWide: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:161:31
[INFO] [stdout]     |
[INFO] [stdout] 161 |         zerocbor::to_cbor_vec(&NegativeWide::MinCbor).unwrap(),
[INFO] [stdout]     |         --------------------- ^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |         |
[INFO] [stdout]     |         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ToCbor` is not implemented for `NegativeWide`
[INFO] [stdout]    --> tests/enum_contracts.rs:152:1
[INFO] [stdout]     |
[INFO] [stdout] 152 | enum NegativeWide {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `NegativeWide: FromCborOwned` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:164:14
[INFO] [stdout]     |
[INFO] [stdout] 164 |     decode::<NegativeWide>(&bytes, NegativeWide::MinCbor);
[INFO] [stdout]     |              ^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `NegativeWide`
[INFO] [stdout]    --> tests/enum_contracts.rs:152:1
[INFO] [stdout]     |
[INFO] [stdout] 152 | enum NegativeWide {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout]     = note: required for `NegativeWide` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]    --> tests/enum_contracts.rs:24:14
[INFO] [stdout]     |
[INFO] [stdout]  24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `NegativeWide: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:166:31
[INFO] [stdout]     |
[INFO] [stdout] 166 |         zerocbor::to_cbor_vec(&NegativeWide::TooNegative),
[INFO] [stdout]     |         --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |         |
[INFO] [stdout]     |         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ToCbor` is not implemented for `NegativeWide`
[INFO] [stdout]    --> tests/enum_contracts.rs:152:1
[INFO] [stdout]     |
[INFO] [stdout] 152 | enum NegativeWide {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `ToCbor`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 41 others
[INFO] [stdout] note: required by a bound in `to_cbor_vec`
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub fn to_cbor_vec<T: ToCbor + ?Sized>(value: &T) -> Result<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^ required by this bound in `to_cbor_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Map: FromCborOwned` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:187:16
[INFO] [stdout]     |
[INFO] [stdout] 187 |     rejected::<Map>(duplicate);
[INFO] [stdout]     |                ^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Map`
[INFO] [stdout]    --> tests/enum_contracts.rs:17:1
[INFO] [stdout]     |
[INFO] [stdout]  17 | enum Map {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout]     = note: required for `Map` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `rejected`
[INFO] [stdout]    --> tests/enum_contracts.rs:29:16
[INFO] [stdout]     |
[INFO] [stdout]  29 | fn rejected<T: FromCborOwned>(bytes: &[u8]) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^ required by this bound in `rejected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Extensible: FromCborOwned` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:188:16
[INFO] [stdout]     |
[INFO] [stdout] 188 |     rejected::<Extensible>(duplicate);
[INFO] [stdout]     |                ^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Extensible`
[INFO] [stdout]    --> tests/enum_contracts.rs:173:1
[INFO] [stdout]     |
[INFO] [stdout] 173 | enum Extensible {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout]     = note: required for `Extensible` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `rejected`
[INFO] [stdout]    --> tests/enum_contracts.rs:29:16
[INFO] [stdout]     |
[INFO] [stdout]  29 | fn rejected<T: FromCborOwned>(bytes: &[u8]) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^ required by this bound in `rejected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Map: FromCborOwned` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:190:16
[INFO] [stdout]     |
[INFO] [stdout] 190 |     rejected::<Map>(unknown);
[INFO] [stdout]     |                ^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Map`
[INFO] [stdout]    --> tests/enum_contracts.rs:17:1
[INFO] [stdout]     |
[INFO] [stdout]  17 | enum Map {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout]     = note: required for `Map` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `rejected`
[INFO] [stdout]    --> tests/enum_contracts.rs:29:16
[INFO] [stdout]     |
[INFO] [stdout]  29 | fn rejected<T: FromCborOwned>(bytes: &[u8]) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^ required by this bound in `rejected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Extensible: FromCborOwned` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:191:14
[INFO] [stdout]     |
[INFO] [stdout] 191 |     decode::<Extensible>(unknown, Extensible::Named { value: 1 });
[INFO] [stdout]     |              ^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Extensible`
[INFO] [stdout]    --> tests/enum_contracts.rs:173:1
[INFO] [stdout]     |
[INFO] [stdout] 173 | enum Extensible {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout]     = note: required for `Extensible` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]    --> tests/enum_contracts.rs:24:14
[INFO] [stdout]     |
[INFO] [stdout]  24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Map: FromCborOwned` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 |     decode::<Map>(
[INFO] [stdout]     |              ^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Map`
[INFO] [stdout]    --> tests/enum_contracts.rs:17:1
[INFO] [stdout]     |
[INFO] [stdout]  17 | enum Map {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout]     = note: required for `Map` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]    --> tests/enum_contracts.rs:24:14
[INFO] [stdout]     |
[INFO] [stdout]  24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Map: FromCborOwned` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:196:16
[INFO] [stdout]     |
[INFO] [stdout] 196 |     rejected::<Map>(b"\xa1\x65Named\xbf\x65value\x01\x65value\x02\xff");
[INFO] [stdout]     |                ^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `Map`
[INFO] [stdout]    --> tests/enum_contracts.rs:17:1
[INFO] [stdout]     |
[INFO] [stdout]  17 | enum Map {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout]     = note: required for `Map` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `rejected`
[INFO] [stdout]    --> tests/enum_contracts.rs:29:16
[INFO] [stdout]     |
[INFO] [stdout]  29 | fn rejected<T: FromCborOwned>(bytes: &[u8]) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^ required by this bound in `rejected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TaggedNamed: FromCborOwned` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:197:16
[INFO] [stdout]     |
[INFO] [stdout] 197 |     rejected::<TaggedNamed>(b"\xd8\x2b\xa1\x65Named\xa1\x65value\x01");
[INFO] [stdout]     |                ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `TaggedNamed`
[INFO] [stdout]    --> tests/enum_contracts.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | enum TaggedNamed {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout]     = note: required for `TaggedNamed` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `rejected`
[INFO] [stdout]    --> tests/enum_contracts.rs:29:16
[INFO] [stdout]     |
[INFO] [stdout]  29 | fn rejected<T: FromCborOwned>(bytes: &[u8]) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^ required by this bound in `rejected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TaggedNamed: FromCborOwned` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:198:16
[INFO] [stdout]     |
[INFO] [stdout] 198 |     rejected::<TaggedNamed>(b"\xa1\x65Named\xa1\x65value\x01");
[INFO] [stdout]     |                ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `TaggedNamed`
[INFO] [stdout]    --> tests/enum_contracts.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | enum TaggedNamed {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout]     = note: required for `TaggedNamed` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `rejected`
[INFO] [stdout]    --> tests/enum_contracts.rs:29:16
[INFO] [stdout]     |
[INFO] [stdout]  29 | fn rejected<T: FromCborOwned>(bytes: &[u8]) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^ required by this bound in `rejected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TaggedNamed: FromCborOwned` is not satisfied
[INFO] [stdout]    --> tests/enum_contracts.rs:199:14
[INFO] [stdout]     |
[INFO] [stdout] 199 |     decode::<TaggedNamed>(
[INFO] [stdout]     |              ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `for<'a> FromCbor<'a>` is not implemented for `TaggedNamed`
[INFO] [stdout]    --> tests/enum_contracts.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | enum TaggedNamed {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `FromCbor<'a>`:
[INFO] [stdout]               `&'a [u8]` implements `FromCbor<'de>`
[INFO] [stdout]               `&'a str` implements `FromCbor<'de>`
[INFO] [stdout]               `()` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4)` implements `FromCbor<'a>`
[INFO] [stdout]               `(T0, T1, T2, T3, T4, T5)` implements `FromCbor<'a>`
[INFO] [stdout]             and 39 others
[INFO] [stdout]     = note: required for `TaggedNamed` to implement `FromCborOwned`
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]    --> tests/enum_contracts.rs:24:14
[INFO] [stdout]     |
[INFO] [stdout]  24 | fn decode<T: FromCborOwned + PartialEq + std::fmt::Debug>(bytes: &[u8], expected: T) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zerocbor` (test "enum_contracts") due to 66 previous errors
[INFO] running `Command { std: "docker" "inspect" "5e16ecaa982dd69f5d5ff7824a60727170cb9d58a937a9a5fb09a7aab2529184", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e16ecaa982dd69f5d5ff7824a60727170cb9d58a937a9a5fb09a7aab2529184", kill_on_drop: false }`
[INFO] [stdout] 5e16ecaa982dd69f5d5ff7824a60727170cb9d58a937a9a5fb09a7aab2529184
