[INFO] fetching crate zerocbor 0.1.0...
[INFO] testing zerocbor-0.1.0 against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate zerocbor 0.1.0 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate zerocbor 0.1.0 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "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.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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] 3af56ac75a58d4202e718ebb3a3bb935a65ef5d85281e7ceca612c773cc26151
[INFO] running `Command { std: "docker" "start" "3af56ac75a58d4202e718ebb3a3bb935a65ef5d85281e7ceca612c773cc26151", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3af56ac75a58d4202e718ebb3a3bb935a65ef5d85281e7ceca612c773cc26151", 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" "3af56ac75a58d4202e718ebb3a3bb935a65ef5d85281e7ceca612c773cc26151" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3af56ac75a58d4202e718ebb3a3bb935a65ef5d85281e7ceca612c773cc26151", 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" "3af56ac75a58d4202e718ebb3a3bb935a65ef5d85281e7ceca612c773cc26151" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "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.59s
[INFO] running `Command { std: "docker" "inspect" "3af56ac75a58d4202e718ebb3a3bb935a65ef5d85281e7ceca612c773cc26151", 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" "3af56ac75a58d4202e718ebb3a3bb935a65ef5d85281e7ceca612c773cc26151" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "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/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/tags.rs:13:28
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[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/tags.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[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 attribute `cbor` in this scope
[INFO] [stdout]   --> tests/tags.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[cbor(tag = 2)]
[INFO] [stdout]    |   ^^^^
[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 attribute `cbor` in this scope
[INFO] [stdout]   --> tests/tags.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct BigUint(#[cbor(as_bytes)] Vec<u8>);
[INFO] [stdout]    |                  ^^^^
[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] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]   --> tests/tags.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[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/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/tags.rs:17:36
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[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: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/tags.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[cbor(tag = 3)]
[INFO] [stdout]    |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]   --> tests/tags.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct BigInt(#[cbor(as_bytes)] Vec<u8>);
[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: 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: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]   --> tests/tags.rs:21:28
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[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: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: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/tags.rs:21:36
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[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/canonical.rs:108:32
[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: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/canonical.rs:108:40
[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: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/canonical.rs:109:7
[INFO] [stdout]     |
[INFO] [stdout] 109 |     #[cbor(map)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/canonical.rs:111:11
[INFO] [stdout]     |
[INFO] [stdout] 111 |         #[cbor(key = "z")]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/canonical.rs:113:11
[INFO] [stdout]     |
[INFO] [stdout] 113 |         #[cbor(key = "a")]
[INFO] [stdout]     |           ^^^^
[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: cannot find attribute `cbor` in this scope
[INFO] [stdout]   --> tests/tags.rs:22:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[cbor(tag = 1)]
[INFO] [stdout]    |   ^^^^
[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: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]   --> tests/tags.rs:25:28
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[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/canonical.rs:115:11
[INFO] [stdout]     |
[INFO] [stdout] 115 |         #[cbor(key = "mm")]
[INFO] [stdout]     |           ^^^^
[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: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/tags.rs:25:36
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[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/canonical.rs:129:32
[INFO] [stdout]     |
[INFO] [stdout] 129 |     #[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/canonical.rs:129:40
[INFO] [stdout]     |
[INFO] [stdout] 129 |     #[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/tags.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[cbor(map, tag = 55799)]
[INFO] [stdout]    |   ^^^^
[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 attribute `cbor` in this scope
[INFO] [stdout]    --> tests/canonical.rs:130:7
[INFO] [stdout]     |
[INFO] [stdout] 130 |     #[cbor(map)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]   --> tests/tags.rs:31:28
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[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: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: 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: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]   --> tests/tags.rs:31:36
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[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/canonical.rs:143:32
[INFO] [stdout]     |
[INFO] [stdout] 143 |     #[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/canonical.rs:143:40
[INFO] [stdout]     |
[INFO] [stdout] 143 |     #[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/tags.rs:45:36
[INFO] [stdout]    |
[INFO] [stdout] 45 |         #[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/enum_contracts.rs:109:3
[INFO] [stdout]     |
[INFO] [stdout] 109 | #[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: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: 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: cannot find attribute `cbor` in this scope
[INFO] [stdout]   --> tests/tags.rs:46:28
[INFO] [stdout]    |
[INFO] [stdout] 46 |         struct Slice<'a>(#[cbor(as_bytes)] &'a [u8]);
[INFO] [stdout]    |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]   --> tests/tags.rs:57:36
[INFO] [stdout]    |
[INFO] [stdout] 57 |         #[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/canonical.rs:204:32
[INFO] [stdout]     |
[INFO] [stdout] 204 |     #[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/tags.rs:57:44
[INFO] [stdout]    |
[INFO] [stdout] 57 |         #[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/canonical.rs:204:40
[INFO] [stdout]     |
[INFO] [stdout] 204 |     #[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:115:3
[INFO] [stdout]     |
[INFO] [stdout] 115 | #[cbor(c_enum, tag = 42)]
[INFO] [stdout]     |   ^^^^
[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: cannot find attribute `cbor` in this scope
[INFO] [stdout]    --> tests/canonical.rs:205:7
[INFO] [stdout]     |
[INFO] [stdout] 205 |     #[cbor(map)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `cbor` in this scope
[INFO] [stdout]   --> tests/tags.rs:58:11
[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/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: cannot find derive macro `ToCbor` in this scope
[INFO] [stdout]    --> tests/tags.rs:161:32
[INFO] [stdout]     |
[INFO] [stdout] 161 |     #[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/tags.rs:161:40
[INFO] [stdout]     |
[INFO] [stdout] 161 |     #[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/canonical.rs:303:32
[INFO] [stdout]     |
[INFO] [stdout] 303 |     #[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/tags.rs:162:7
[INFO] [stdout]     |
[INFO] [stdout] 162 |     #[cbor(map)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FromCbor` in this scope
[INFO] [stdout]    --> tests/canonical.rs:303:40
[INFO] [stdout]     |
[INFO] [stdout] 303 |     #[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/tags.rs:165:11
[INFO] [stdout]     |
[INFO] [stdout] 165 |         #[cbor(tag = 24)]
[INFO] [stdout]     |           ^^^^
[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 attribute `cbor` in this scope
[INFO] [stdout]    --> tests/canonical.rs:304:7
[INFO] [stdout]     |
[INFO] [stdout] 304 |     #[cbor(map)]
[INFO] [stdout]     |       ^^^^
[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] error[E0277]: the trait bound `Untagged: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:39:32
[INFO] [stdout]     |
[INFO] [stdout]  39 |         assert_eq!(to_cbor_vec(&Untagged(7)).unwrap(), [0x07]);
[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 `Untagged`
[INFO] [stdout]    --> tests/tags.rs:32:1
[INFO] [stdout]     |
[INFO] [stdout]  32 | struct Untagged(u64);
[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 `zerocbor::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 `Untagged: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:40:32
[INFO] [stdout]     |
[INFO] [stdout]  40 |         assert_eq!(from_cbor::<Untagged>(&[0x07]).unwrap(), Untagged(7));
[INFO] [stdout]     |                                ^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Untagged`
[INFO] [stdout]    --> tests/tags.rs:32:1
[INFO] [stdout]     |
[INFO] [stdout]  32 | struct Untagged(u64);
[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: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[E0277]: the trait bound `newtype::a_newtype_can_borrow_through_its_inner_field::Slice<'_>: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:49:34
[INFO] [stdout]     |
[INFO] [stdout]  49 |         let decoded: Slice<'_> = from_cbor(&data[..]).unwrap();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `newtype::a_newtype_can_borrow_through_its_inner_field::Slice<'_>`
[INFO] [stdout]    --> tests/tags.rs:46:9
[INFO] [stdout]     |
[INFO] [stdout]  46 |         struct Slice<'a>(#[cbor(as_bytes)] &'a [u8]);
[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: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 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] [stdout] error[E0277]: the trait bound `Wrapper: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:63:25
[INFO] [stdout]     |
[INFO] [stdout]  63 |             to_cbor_vec(&Wrapper { id: Untagged(3) }).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`
[INFO] [stdout]    --> tests/tags.rs:59:9
[INFO] [stdout]     |
[INFO] [stdout]  59 |         struct Wrapper {
[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 `zerocbor::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 `BigUint: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:77:25
[INFO] [stdout]     |
[INFO] [stdout]  77 |             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 `BigUint`
[INFO] [stdout]    --> tests/tags.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | struct BigUint(#[cbor(as_bytes)] Vec<u8>);
[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 `zerocbor::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 `BigUint: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:81:25
[INFO] [stdout]     |
[INFO] [stdout]  81 |             from_cbor::<BigUint>(&[0xc2, 0x48, 1, 0, 0, 0, 0, 0, 0, 0]).unwrap(),
[INFO] [stdout]     |                         ^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `BigUint`
[INFO] [stdout]    --> tests/tags.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | struct BigUint(#[cbor(as_bytes)] Vec<u8>);
[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/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[E0277]: the trait bound `BigUint: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:91:35
[INFO] [stdout]     |
[INFO] [stdout]  91 |         let encoded = 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 `BigUint`
[INFO] [stdout]    --> tests/tags.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | struct BigUint(#[cbor(as_bytes)] Vec<u8>);
[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 `zerocbor::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 `BigUint: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:93:32
[INFO] [stdout]     |
[INFO] [stdout]  93 |         assert_eq!(from_cbor::<BigUint>(&encoded).unwrap(), value);
[INFO] [stdout]     |                                ^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `BigUint`
[INFO] [stdout]    --> tests/tags.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | struct BigUint(#[cbor(as_bytes)] Vec<u8>);
[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 `BigInt: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:100:32
[INFO] [stdout]     |
[INFO] [stdout] 100 |         assert_eq!(to_cbor_vec(&value).unwrap(), [0xc3, 0x41, 0x01]);
[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 `BigInt`
[INFO] [stdout]    --> tests/tags.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | struct BigInt(#[cbor(as_bytes)] Vec<u8>);
[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 `zerocbor::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: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 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[E0277]: the trait bound `BigInt: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:101:32
[INFO] [stdout]     |
[INFO] [stdout] 101 |         assert_eq!(from_cbor::<BigInt>(&[0xc3, 0x41, 0x01]).unwrap(), value);
[INFO] [stdout]     |                                ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `BigInt`
[INFO] [stdout]    --> tests/tags.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | struct BigInt(#[cbor(as_bytes)] Vec<u8>);
[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: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[E0277]: the trait bound `Epoch: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:136:34
[INFO] [stdout]     |
[INFO] [stdout] 136 |                 1 => from_cbor::<Epoch>(&bytes).unwrap_err(),
[INFO] [stdout]     |                                  ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Epoch`
[INFO] [stdout]    --> tests/tags.rs:23:1
[INFO] [stdout]     |
[INFO] [stdout]  23 | struct Epoch(f64);
[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 `SelfDescribed: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:137:34
[INFO] [stdout]     |
[INFO] [stdout] 137 |                 _ => from_cbor::<SelfDescribed>(&bytes).unwrap_err(),
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `SelfDescribed`
[INFO] [stdout]    --> tests/tags.rs:27:1
[INFO] [stdout]     |
[INFO] [stdout]  27 | struct SelfDescribed {
[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/enum_contracts.rs:178:3
[INFO] [stdout]     |
[INFO] [stdout] 178 | #[cbor(map)]
[INFO] [stdout]     |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Untagged: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:150:31
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let err = from_cbor::<Untagged>(&[0xc1, 0x01]).unwrap_err();
[INFO] [stdout]     |                               ^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Untagged`
[INFO] [stdout]    --> tests/tags.rs:32:1
[INFO] [stdout]     |
[INFO] [stdout]  32 | struct Untagged(u64);
[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/enum_contracts.rs:180:7
[INFO] [stdout]     |
[INFO] [stdout] 180 |     #[cbor(tag = 42)]
[INFO] [stdout]     |       ^^^^
[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[E0277]: the trait bound `Event: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:178:25
[INFO] [stdout]     |
[INFO] [stdout] 178 |             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 `Event`
[INFO] [stdout]    --> tests/tags.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |     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 `zerocbor::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: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:184:25
[INFO] [stdout]     |
[INFO] [stdout] 184 |             from_cbor::<Event>(&to_cbor_vec(&value).unwrap()).unwrap(),
[INFO] [stdout]     |                         ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Event`
[INFO] [stdout]    --> tests/tags.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |     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 `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 `Event: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:184:45
[INFO] [stdout]     |
[INFO] [stdout] 184 |             from_cbor::<Event>(&to_cbor_vec(&value).unwrap()).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 `Event`
[INFO] [stdout]    --> tests/tags.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |     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 `zerocbor::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: zerocbor::ToCbor` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:192:35
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let encoded = to_cbor_vec(&Event::Moved { x: 7 }).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 `Event`
[INFO] [stdout]    --> tests/tags.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |     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 `zerocbor::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 `Ordered: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/canonical.rs:121:21
[INFO] [stdout]     |
[INFO] [stdout] 121 |         to_cbor_vec(&Ordered { z: 1, a: 2, mm: 3 }).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 `Ordered`
[INFO] [stdout]    --> tests/canonical.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     struct Ordered {
[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 `Event: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:194:32
[INFO] [stdout]     |
[INFO] [stdout] 194 |         assert_eq!(from_cbor::<Event>(&encoded).unwrap(), Event::Moved { x: 7 });
[INFO] [stdout]     |                                ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Event`
[INFO] [stdout]    --> tests/tags.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |     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 `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 `Event: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:201:31
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let err = from_cbor::<Event>(&[0xd8, 0x18, 0x67, b'N', b'o', b't', b'h', b'i', b'n', b'g'])
[INFO] [stdout]     |                               ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Event`
[INFO] [stdout]    --> tests/tags.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |     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 `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 "tags") due to 45 previous errors
[INFO] [stdout] error[E0277]: the trait bound `Event: zerocbor::FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/tags.rs:208:31
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let err = from_cbor::<Event>(&[0xa1, 0x64, b'B', b'l', b'o', b'b', 0x81, 0x42, 0x01, 0x02])
[INFO] [stdout]     |                               ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `zerocbor::FromCbor<'_>` is not implemented for `Event`
[INFO] [stdout]    --> tests/tags.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |     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 `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] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the trait bound `Shape: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/canonical.rs:135:21
[INFO] [stdout]     |
[INFO] [stdout] 135 |         to_cbor_vec(&Shape::Moved { x: 1, y: 2, a: 3 }).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 `Shape`
[INFO] [stdout]    --> tests/canonical.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 131 |     enum Shape {
[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 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[E0277]: the trait bound `Positional: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/canonical.rs:149:21
[INFO] [stdout]     |
[INFO] [stdout] 149 |         to_cbor_vec(&Positional { z: 1, a: 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 `ToCbor` is not implemented for `Positional`
[INFO] [stdout]    --> tests/canonical.rs:144:5
[INFO] [stdout]     |
[INFO] [stdout] 144 |     struct Positional {
[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] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Reading: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/canonical.rs:209:31
[INFO] [stdout]     |
[INFO] [stdout] 209 |     let encoded = to_cbor_vec(&Reading { value: 1.0 }).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 `Reading`
[INFO] [stdout]    --> tests/canonical.rs:206:5
[INFO] [stdout]     |
[INFO] [stdout] 206 |     struct Reading {
[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 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 `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[E0277]: the trait bound `Record: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/canonical.rs:309:28
[INFO] [stdout]     |
[INFO] [stdout] 309 |       let once = to_cbor_vec(&Record {
[INFO] [stdout]     |  ________________-----------_^
[INFO] [stdout]     | |                |
[INFO] [stdout]     | |                required by a bound introduced by this call
[INFO] [stdout] 310 | |         z: "Alice".into(),
[INFO] [stdout] 311 | |         a: 42,
[INFO] [stdout] 312 | |     })
[INFO] [stdout]     | |_____^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ToCbor` is not implemented for `Record`
[INFO] [stdout]    --> tests/canonical.rs:305:5
[INFO] [stdout]     |
[INFO] [stdout] 305 |     struct Record {
[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: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 `Record: FromCbor<'_>` is not satisfied
[INFO] [stdout]    --> tests/canonical.rs:316:34
[INFO] [stdout]     |
[INFO] [stdout] 316 |         to_cbor_vec(&from_cbor::<Record>(&once).unwrap()).unwrap()
[INFO] [stdout]     |                                  ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FromCbor<'_>` is not implemented for `Record`
[INFO] [stdout]    --> tests/canonical.rs:305:5
[INFO] [stdout]     |
[INFO] [stdout] 305 |     struct Record {
[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 `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 `Record: ToCbor` is not satisfied
[INFO] [stdout]    --> tests/canonical.rs:316:21
[INFO] [stdout]     |
[INFO] [stdout] 316 |         to_cbor_vec(&from_cbor::<Record>(&once).unwrap()).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 `Record`
[INFO] [stdout]    --> tests/canonical.rs:305:5
[INFO] [stdout]     |
[INFO] [stdout] 305 |     struct Record {
[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 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[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: 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[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: 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[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: 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: 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[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: 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[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: 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[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: 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[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: 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[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: 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[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[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[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 `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: 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[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[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: 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[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: 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[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: 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[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: 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[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[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] [stderr] error: could not compile `zerocbor` (test "canonical") due to 24 previous errors
[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[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[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: 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] For more information about this error, try `rustc --explain E0277`.
[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] 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[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: 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: 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: 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] 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: 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] 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] [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: 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: 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: 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: 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] 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:286:11
[INFO] [stdout]     |
[INFO] [stdout] 286 |         #[cbor(map)]
[INFO] [stdout]     |           ^^^^
[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] [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: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/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 `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 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/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 `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] [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/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] For more information about this error, try `rustc --explain E0277`.
[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] [stderr] error: could not compile `zerocbor` (test "enum_contracts") due to 66 previous errors
[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[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[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[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[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[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[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/build/zerocbor/4d590a85308ca8d4/out/derive-4d590a85308ca8d4.long-type-1844417391518791141.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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[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[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[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[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[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] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zerocbor` (test "derive") due to 110 previous errors
[INFO] running `Command { std: "docker" "inspect" "3af56ac75a58d4202e718ebb3a3bb935a65ef5d85281e7ceca612c773cc26151", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3af56ac75a58d4202e718ebb3a3bb935a65ef5d85281e7ceca612c773cc26151", kill_on_drop: false }`
[INFO] [stdout] 3af56ac75a58d4202e718ebb3a3bb935a65ef5d85281e7ceca612c773cc26151
