[INFO] fetching crate confined_encoding 0.9.0-alpha.5...
[INFO] checking confined_encoding-0.9.0-alpha.5 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate confined_encoding 0.9.0-alpha.5 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate confined_encoding 0.9.0-alpha.5 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate confined_encoding 0.9.0-alpha.5
[INFO] finished tweaking crates.io crate confined_encoding 0.9.0-alpha.5
[INFO] tweaked toml for crates.io crate confined_encoding 0.9.0-alpha.5 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded amplify_syn v2.0.1
[INFO] [stderr]   Downloaded amplify_num v0.5.2
[INFO] [stderr]   Downloaded encoding_derive_helpers v2.0.0-alpha.2
[INFO] [stderr]   Downloaded confined_encoding_derive v0.9.0-alpha.2
[INFO] [stderr]   Downloaded amplify v3.14.2
[INFO] [stderr]   Downloaded amplify_syn v1.1.6
[INFO] [stderr]   Downloaded amplify_derive v2.11.3
[INFO] [stderr]   Downloaded amplify v4.6.0
[INFO] [stderr]   Downloaded amplify_derive v4.0.0
[INFO] [stderr]   Downloaded amplify_apfloat v0.3.0
[INFO] [stderr]   Downloaded bitcoin_hashes v0.11.0
[INFO] [stderr]   Downloaded lnpbp_secp256k1zkp v0.9.0
[INFO] [stderr]   Downloaded amplify_num v0.4.1
[INFO] [stderr]   Downloaded bitcoin v0.29.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2cd25b6c15b544f02374348b2dfa7dfb84282e3b2ac99bf37a057d4e363676c0
[INFO] running `Command { std: "docker" "start" "-a" "2cd25b6c15b544f02374348b2dfa7dfb84282e3b2ac99bf37a057d4e363676c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2cd25b6c15b544f02374348b2dfa7dfb84282e3b2ac99bf37a057d4e363676c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cd25b6c15b544f02374348b2dfa7dfb84282e3b2ac99bf37a057d4e363676c0", kill_on_drop: false }`
[INFO] [stdout] 2cd25b6c15b544f02374348b2dfa7dfb84282e3b2ac99bf37a057d4e363676c0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e39d18e340cecff720060a0cd0ba247d2789b88299822c39a8f6e231ca523b56
[INFO] running `Command { std: "docker" "start" "-a" "e39d18e340cecff720060a0cd0ba247d2789b88299822c39a8f6e231ca523b56", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling secp256k1-sys v0.6.1
[INFO] [stderr]    Compiling amplify_num v0.4.1
[INFO] [stderr]     Checking bitcoin_hashes v0.11.0
[INFO] [stderr]     Checking amplify_num v0.5.2
[INFO] [stderr]    Compiling lnpbp_secp256k1zkp v0.9.0
[INFO] [stderr]     Checking bech32 v0.9.1
[INFO] [stderr]     Checking ascii v1.1.0
[INFO] [stderr]     Checking amplify_apfloat v0.3.0
[INFO] [stderr]     Checking amplify_syn v2.0.1
[INFO] [stderr]    Compiling amplify_syn v1.1.6
[INFO] [stderr]    Compiling amplify_derive v2.11.3
[INFO] [stderr]    Compiling amplify_derive v4.0.0
[INFO] [stderr]     Checking secp256k1 v0.24.3
[INFO] [stderr]     Checking bitcoin v0.29.2
[INFO] [stderr]    Compiling amplify v3.14.2
[INFO] [stderr]    Compiling encoding_derive_helpers v2.0.0-alpha.2
[INFO] [stderr]     Checking amplify v4.6.0
[INFO] [stderr]    Compiling confined_encoding_derive v0.9.0-alpha.2
[INFO] [stderr]     Checking confined_encoding v0.9.0-alpha.5 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0463]: can't find crate for `confined_encoding_test`
[INFO] [stdout]   --> src/lib.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | extern crate confined_encoding_test;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::confined_serialize`
[INFO] [stdout]    --> src/collections.rs:336:9
[INFO] [stdout]     |
[INFO] [stdout] 336 |     use crate::confined_serialize;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ no `confined_serialize` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `chrono`
[INFO] [stdout]    --> src/primitives.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |     use chrono::{NaiveDateTime, Utc};
[INFO] [stdout]     |         ^^^^^^ use of undeclared crate or module `chrono`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::confined_deserialize`
[INFO] [stdout]    --> src/primitives.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |     use crate::confined_deserialize;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `confined_deserialize` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DataEncodingTestFailure` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:405:21
[INFO] [stdout]     |
[INFO] [stdout] 405 |     ) -> Result<(), DataEncodingTestFailure<bitcoin::Network>> {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `hash160` is imported redundantly
[INFO] [stdout]    --> src/bitcoin.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |         hash160, hmac, ripemd160, sha256, sha256d, sha256t, Hash,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     use super::*;
[INFO] [stdout]     |         -------- the item `hash160` is already imported here
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:17:34
[INFO] [stdout]     |
[INFO] [stdout] 17  | #![deny(dead_code, missing_docs, warnings)]
[INFO] [stdout]     |                                  ^^^^^^^^
[INFO] [stdout]     = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `hmac` is imported redundantly
[INFO] [stdout]    --> src/bitcoin.rs:253:18
[INFO] [stdout]     |
[INFO] [stdout] 253 |         hash160, hmac, ripemd160, sha256, sha256d, sha256t, Hash,
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     use super::*;
[INFO] [stdout]     |         -------- the item `hmac` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `ripemd160` is imported redundantly
[INFO] [stdout]    --> src/bitcoin.rs:253:24
[INFO] [stdout]     |
[INFO] [stdout] 253 |         hash160, hmac, ripemd160, sha256, sha256d, sha256t, Hash,
[INFO] [stdout]     |                        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     use super::*;
[INFO] [stdout]     |         -------- the item `ripemd160` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `sha256` is imported redundantly
[INFO] [stdout]    --> src/bitcoin.rs:253:35
[INFO] [stdout]     |
[INFO] [stdout] 253 |         hash160, hmac, ripemd160, sha256, sha256d, sha256t, Hash,
[INFO] [stdout]     |                                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     use super::*;
[INFO] [stdout]     |         -------- the item `sha256` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `sha256d` is imported redundantly
[INFO] [stdout]    --> src/bitcoin.rs:253:43
[INFO] [stdout]     |
[INFO] [stdout] 253 |         hash160, hmac, ripemd160, sha256, sha256d, sha256t, Hash,
[INFO] [stdout]     |                                           ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     use super::*;
[INFO] [stdout]     |         -------- the item `sha256d` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `sha256t` is imported redundantly
[INFO] [stdout]    --> src/bitcoin.rs:253:52
[INFO] [stdout]     |
[INFO] [stdout] 253 |         hash160, hmac, ripemd160, sha256, sha256d, sha256t, Hash,
[INFO] [stdout]     |                                                    ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     use super::*;
[INFO] [stdout]     |         -------- the item `sha256t` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `Hash` is imported redundantly
[INFO] [stdout]    --> src/bitcoin.rs:253:61
[INFO] [stdout]     |
[INFO] [stdout] 253 |         hash160, hmac, ripemd160, sha256, sha256d, sha256t, Hash,
[INFO] [stdout]     |                                                             ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     use super::*;
[INFO] [stdout]     |         -------- the item `Hash` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `Confined<Vec<u8>, 0, _>` with `[{integer}; 32]`
[INFO] [stdout]   --> src/amplify_types.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         assert_eq!(&ser, &data);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Confined<Vec<u8>, 0, _> == [{integer}; 32]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `PartialEq<[{integer}; 32]>` is not implemented for `Confined<Vec<u8>, 0, _>`, which is required by `&Confined<Vec<u8>, 0, _>: PartialEq<&[{integer}; 32]>`
[INFO] [stdout]    = note: required for `&Confined<Vec<u8>, 0, _>` to implement `PartialEq<&[{integer}; 32]>`
[INFO] [stdout]    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated associated function `amplify::Array::<T, LEN, REVERSE_STR>::from_slice`: use copy_from_slice
[INFO] [stdout]   --> src/amplify_types.rs:80:29
[INFO] [stdout]    |
[INFO] [stdout] 80 |         assert_eq!(Bytes32::from_slice(data), Some(slice32));
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated associated function `amplify::Array::<T, LEN, REVERSE_STR>::from_slice`: use copy_from_slice
[INFO] [stdout]   --> src/amplify_types.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |         assert_eq!(Bytes32::from_slice(&data[..30]), None);
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:288:9
[INFO] [stdout]     |
[INFO] [stdout] 288 |         test_encoding_roundtrip(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `test_encoding_outpoint`
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn test_encoding_outpoint() {
[INFO] [stdout]     |     --------------------------- similarly named function `test_encoding_outpoint` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:293:9
[INFO] [stdout]     |
[INFO] [stdout] 293 |         test_encoding_roundtrip(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `test_encoding_outpoint`
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn test_encoding_outpoint() {
[INFO] [stdout]     |     --------------------------- similarly named function `test_encoding_outpoint` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:298:9
[INFO] [stdout]     |
[INFO] [stdout] 298 |         test_encoding_roundtrip(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `test_encoding_outpoint`
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn test_encoding_outpoint() {
[INFO] [stdout]     |     --------------------------- similarly named function `test_encoding_outpoint` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:303:9
[INFO] [stdout]     |
[INFO] [stdout] 303 |         test_encoding_roundtrip(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `test_encoding_outpoint`
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn test_encoding_outpoint() {
[INFO] [stdout]     |     --------------------------- similarly named function `test_encoding_outpoint` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |         test_encoding_roundtrip(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `test_encoding_outpoint`
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn test_encoding_outpoint() {
[INFO] [stdout]     |     --------------------------- similarly named function `test_encoding_outpoint` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:313:9
[INFO] [stdout]     |
[INFO] [stdout] 313 |         test_encoding_roundtrip(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `test_encoding_outpoint`
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn test_encoding_outpoint() {
[INFO] [stdout]     |     --------------------------- similarly named function `test_encoding_outpoint` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:318:9
[INFO] [stdout]     |
[INFO] [stdout] 318 |         test_encoding_roundtrip(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `test_encoding_outpoint`
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn test_encoding_outpoint() {
[INFO] [stdout]     |     --------------------------- similarly named function `test_encoding_outpoint` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 |         test_encoding_roundtrip(&secp_pk_02, PK_BYTES_02).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `test_encoding_outpoint`
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn test_encoding_outpoint() {
[INFO] [stdout]     |     --------------------------- similarly named function `test_encoding_outpoint` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:357:9
[INFO] [stdout]     |
[INFO] [stdout] 357 |         test_encoding_roundtrip(&secp_pk_03, PK_BYTES_03).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `test_encoding_outpoint`
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn test_encoding_outpoint() {
[INFO] [stdout]     |     --------------------------- similarly named function `test_encoding_outpoint` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:358:9
[INFO] [stdout]     |
[INFO] [stdout] 358 |         test_encoding_roundtrip(&secp_pk_one, PK_BYTES_ONEKEY).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `test_encoding_outpoint`
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn test_encoding_outpoint() {
[INFO] [stdout]     |     --------------------------- similarly named function `test_encoding_outpoint` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bitcoin.rs:360:56
[INFO] [stdout]     |
[INFO] [stdout] 360 |             secp256k1::PublicKey::confined_deserialize(PK_BYTES_04),
[INFO] [stdout]     |             ------------------------------------------ ^^^^^^^^^^^ expected `&Confined<Vec<u8>, _, _>`, found `[u8; 65]`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Confined<Vec<u8>, _, _>`
[INFO] [stdout]                    found array `[u8; 65]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 |     fn confined_deserialize<const MIN: usize, const MAX: usize>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 147 |         data: &Confined<Vec<u8>, MIN, MAX>,
[INFO] [stdout]     |         ----------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:372:9
[INFO] [stdout]     |
[INFO] [stdout] 372 |         test_encoding_roundtrip(&xcoordonly_02, &PK_BYTES_02[1..]).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `test_encoding_outpoint`
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn test_encoding_outpoint() {
[INFO] [stdout]     |     --------------------------- similarly named function `test_encoding_outpoint` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:373:9
[INFO] [stdout]     |
[INFO] [stdout] 373 |         test_encoding_roundtrip(&xcoordonly_one, PK_BYTES_ONEKEY).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `test_encoding_outpoint`
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn test_encoding_outpoint() {
[INFO] [stdout]     |     --------------------------- similarly named function `test_encoding_outpoint` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `[{integer}; 60]: std::io::Read` is not satisfied
[INFO] [stdout]    --> src/bitcoin.rs:381:47
[INFO] [stdout]     |
[INFO] [stdout] 381 |           secp256k1::PublicKey::confined_decode(&mut [
[INFO] [stdout]     |  _________-------------------------------------_^
[INFO] [stdout]     | |         |
[INFO] [stdout]     | |         required by a bound introduced by this call
[INFO] [stdout] 382 | |             0x04, 0x9b, 0x63, 0x47, 0x39, 0x85, 0x05, 0xf5, 0xec, 0x93, 0x82,
[INFO] [stdout] 383 | |             0x6d, 0xc6, 0x1c, 0x19, 0xf4, 0x7c, 0x66, 0xc0, 0x28, 0x3e, 0xe9,
[INFO] [stdout] 384 | |             0xbe, 0x98, 0x0e, 0x29, 0xce, 0x32, 0x5a, 0x0f, 0x46, 0x79, 0xef,
[INFO] [stdout] ...   |
[INFO] [stdout] 387 | |             0x9e, 0x4e, 0xe9, 0x71, 0xd8,
[INFO] [stdout] 388 | |         ])
[INFO] [stdout]     | |_________^ the trait `std::io::Read` is not implemented for `[{integer}; 60]`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::io::Read` is implemented for `&[u8]`
[INFO] [stdout] note: required by a bound in `ConfinedDecode::confined_decode`
[INFO] [stdout]    --> src/lib.rs:140:37
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn confined_decode(d: &mut impl io::Read) -> Result<Self, Error>;
[INFO] [stdout]     |                                     ^^^^^^^^ required by this bound in `ConfinedDecode::confined_decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `[{integer}; 33]: std::io::Read` is not satisfied
[INFO] [stdout]    --> src/bitcoin.rs:395:47
[INFO] [stdout]     |
[INFO] [stdout] 395 |           secp256k1::PublicKey::confined_decode(&mut [
[INFO] [stdout]     |  _________-------------------------------------_^
[INFO] [stdout]     | |         |
[INFO] [stdout]     | |         required by a bound introduced by this call
[INFO] [stdout] 396 | |             0xa5, 0x9b, 0x63, 0x47, 0x39, 0x85, 0x05, 0xf5, 0xec, 0x93, 0x82,
[INFO] [stdout] 397 | |             0x6d, 0xc6, 0x1c, 0x19, 0xf4, 0x7c, 0x66, 0xc0, 0x28, 0x3e, 0xe9,
[INFO] [stdout] 398 | |             0xbe, 0x98, 0x0e, 0x29, 0xce, 0x32, 0x5a, 0x0f, 0x46, 0x79, 0xef,
[INFO] [stdout] 399 | |         ])
[INFO] [stdout]     | |_________^ the trait `std::io::Read` is not implemented for `[{integer}; 33]`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::io::Read` is implemented for `&[u8]`
[INFO] [stdout] note: required by a bound in `ConfinedDecode::confined_decode`
[INFO] [stdout]    --> src/lib.rs:140:37
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn confined_decode(d: &mut impl io::Read) -> Result<Self, Error>;
[INFO] [stdout]     |                                     ^^^^^^^^ required by this bound in `ConfinedDecode::confined_decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:406:9
[INFO] [stdout]     |
[INFO] [stdout] 406 |         test_encoding_roundtrip(&bitcoin::Network::Bitcoin, [
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `test_encoding_outpoint`
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn test_encoding_outpoint() {
[INFO] [stdout]     |     --------------------------- similarly named function `test_encoding_outpoint` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:409:9
[INFO] [stdout]     |
[INFO] [stdout] 409 |         test_encoding_roundtrip(&bitcoin::Network::Testnet, [
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `test_encoding_outpoint`
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn test_encoding_outpoint() {
[INFO] [stdout]     |     --------------------------- similarly named function `test_encoding_outpoint` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:412:9
[INFO] [stdout]     |
[INFO] [stdout] 412 |         test_encoding_roundtrip(&bitcoin::Network::Signet, [
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `test_encoding_outpoint`
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn test_encoding_outpoint() {
[INFO] [stdout]     |     --------------------------- similarly named function `test_encoding_outpoint` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:415:9
[INFO] [stdout]     |
[INFO] [stdout] 415 |         test_encoding_roundtrip(&bitcoin::Network::Regtest, [
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `test_encoding_outpoint`
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn test_encoding_outpoint() {
[INFO] [stdout]     |     --------------------------- similarly named function `test_encoding_outpoint` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `[u8; 4]: std::io::Read` is not satisfied
[INFO] [stdout]    --> src/bitcoin.rs:426:43
[INFO] [stdout]     |
[INFO] [stdout] 426 |           bitcoin::Network::confined_decode(&mut [
[INFO] [stdout]     |  _________---------------------------------_^
[INFO] [stdout]     | |         |
[INFO] [stdout]     | |         required by a bound introduced by this call
[INFO] [stdout] 427 | |             0xA1u8, 0xA2u8, 0xA3u8, 0xA4u8,
[INFO] [stdout] 428 | |         ])
[INFO] [stdout]     | |_________^ the trait `std::io::Read` is not implemented for `[u8; 4]`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::io::Read` is implemented for `&[u8]`
[INFO] [stdout] note: required by a bound in `ConfinedDecode::confined_decode`
[INFO] [stdout]    --> src/lib.rs:140:37
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn confined_decode(d: &mut impl io::Read) -> Result<Self, Error>;
[INFO] [stdout]     |                                     ^^^^^^^^ required by this bound in `ConfinedDecode::confined_decode`
[INFO] [stdout] help: convert the array to a `&[u8]` slice instead
[INFO] [stdout]     |
[INFO] [stdout] 428 |         ][..])
[INFO] [stdout]     |          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:454:9
[INFO] [stdout]     |
[INFO] [stdout] 454 |         test_encoding_roundtrip(&outpoint, OUTPOINT).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_encoding_roundtrip` in this scope
[INFO] [stdout]    --> src/bitcoin.rs:456:9
[INFO] [stdout]     |
[INFO] [stdout] 456 |         test_encoding_roundtrip(&null, OUTPOINT_NULL).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `[{integer}; 32]: std::io::Read` is not satisfied
[INFO] [stdout]    --> src/bitcoin.rs:465:35
[INFO] [stdout]     |
[INFO] [stdout] 465 |           OutPoint::confined_decode(&mut [
[INFO] [stdout]     |  _________-------------------------_^
[INFO] [stdout]     | |         |
[INFO] [stdout]     | |         required by a bound introduced by this call
[INFO] [stdout] 466 | |             0x53, 0xc6, 0x31, 0x13, 0xed, 0x18, 0x68, 0xfc, 0xa, 0xdf, 0x8e,
[INFO] [stdout] 467 | |             0xcd, 0xfd, 0x1f, 0x4d, 0xd6, 0xe5, 0xe3, 0x85, 0x83, 0xa4, 0x9d,
[INFO] [stdout] 468 | |             0xb, 0x14, 0xe7, 0xf8, 0x87, 0xa4, 0xd1, 0x61, 0x78, 0x21,
[INFO] [stdout] 469 | |         ])
[INFO] [stdout]     | |_________^ the trait `std::io::Read` is not implemented for `[{integer}; 32]`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::io::Read` is implemented for `&[u8]`
[INFO] [stdout] note: required by a bound in `ConfinedDecode::confined_decode`
[INFO] [stdout]    --> src/lib.rs:140:37
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn confined_decode(d: &mut impl io::Read) -> Result<Self, Error>;
[INFO] [stdout]     |                                     ^^^^^^^^ required by this bound in `ConfinedDecode::confined_decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/collections.rs:355:48
[INFO] [stdout]     |
[INFO] [stdout] 355 |             Option::<u8>::confined_deserialize(two_zero_bytes).unwrap(),
[INFO] [stdout]     |             ---------------------------------- ^^^^^^^^^^^^^^ expected `&Confined<Vec<u8>, _, _>`, found `&[u8]`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Confined<Vec<u8>, _, _>`
[INFO] [stdout]                found reference `&[u8]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 |     fn confined_deserialize<const MIN: usize, const MAX: usize>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 147 |         data: &Confined<Vec<u8>, MIN, MAX>,
[INFO] [stdout]     |         ----------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/collections.rs:359:49
[INFO] [stdout]     |
[INFO] [stdout] 359 |             Option::<u64>::confined_deserialize(two_zero_bytes).unwrap(),
[INFO] [stdout]     |             ----------------------------------- ^^^^^^^^^^^^^^ expected `&Confined<Vec<u8>, _, _>`, found `&[u8]`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Confined<Vec<u8>, _, _>`
[INFO] [stdout]                found reference `&[u8]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 |     fn confined_deserialize<const MIN: usize, const MAX: usize>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 147 |         data: &Confined<Vec<u8>, MIN, MAX>,
[INFO] [stdout]     |         ----------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/collections.rs:400:50
[INFO] [stdout]     |
[INFO] [stdout] 400 |         assert_eq!(Option::<u8>::confined_decode(byte_0).unwrap(), Some(0));
[INFO] [stdout]     |                    ----------------------------- ^^^^^^ types differ in mutability
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                        found reference `&[u8]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn confined_decode(d: &mut impl io::Read) -> Result<Self, Error>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/collections.rs:401:50
[INFO] [stdout]     |
[INFO] [stdout] 401 |         assert_eq!(Option::<u8>::confined_decode(byte_13).unwrap(), Some(13));
[INFO] [stdout]     |                    ----------------------------- ^^^^^^^ types differ in mutability
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                        found reference `&[u8]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn confined_decode(d: &mut impl io::Read) -> Result<Self, Error>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/collections.rs:403:43
[INFO] [stdout]     |
[INFO] [stdout] 403 |             Option::<u8>::confined_decode(byte_255).unwrap(),
[INFO] [stdout]     |             ----------------------------- ^^^^^^^^ types differ in mutability
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                        found reference `&[u8]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn confined_decode(d: &mut impl io::Read) -> Result<Self, Error>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/collections.rs:406:51
[INFO] [stdout]     |
[INFO] [stdout] 406 |         assert_eq!(Option::<u64>::confined_decode(qword_13).unwrap(), Some(13));
[INFO] [stdout]     |                    ------------------------------ ^^^^^^^^ types differ in mutability
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                        found reference `&[u8]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn confined_decode(d: &mut impl io::Read) -> Result<Self, Error>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/collections.rs:408:44
[INFO] [stdout]     |
[INFO] [stdout] 408 |             Option::<u64>::confined_decode(qword_256).unwrap(),
[INFO] [stdout]     |             ------------------------------ ^^^^^^^^^ types differ in mutability
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                        found reference `&[u8]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn confined_decode(d: &mut impl io::Read) -> Result<Self, Error>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/collections.rs:412:44
[INFO] [stdout]     |
[INFO] [stdout] 412 |             Option::<u64>::confined_decode(qword_max).unwrap(),
[INFO] [stdout]     |             ------------------------------ ^^^^^^^^^ types differ in mutability
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                        found reference `&[u8]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn confined_decode(d: &mut impl io::Read) -> Result<Self, Error>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the variant or associated item `confined_decode` exists for enum `Option<usize>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/collections.rs:416:30
[INFO] [stdout]     |
[INFO] [stdout] 416 |             Option::<usize>::confined_decode(word_13).unwrap(),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ variant or associated item cannot be called on `Option<usize>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `usize: ConfinedDecode` was not satisfied
[INFO] [stdout]    --> src/collections.rs:48:8
[INFO] [stdout]     |
[INFO] [stdout] 46  | impl<T> ConfinedDecode for Option<T>
[INFO] [stdout]     |         --------------     ---------
[INFO] [stdout] 47  | where
[INFO] [stdout] 48  |     T: ConfinedDecode,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^ unsatisfied trait bound introduced here
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `ConfinedDecode` defines an item `confined_decode`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:137:1
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub trait ConfinedDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the variant or associated item `confined_decode` exists for enum `Option<usize>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/collections.rs:420:30
[INFO] [stdout]     |
[INFO] [stdout] 420 |             Option::<usize>::confined_decode(qword_max).unwrap(),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ variant or associated item cannot be called on `Option<usize>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `usize: ConfinedDecode` was not satisfied
[INFO] [stdout]    --> src/collections.rs:48:8
[INFO] [stdout]     |
[INFO] [stdout] 46  | impl<T> ConfinedDecode for Option<T>
[INFO] [stdout]     |         --------------     ---------
[INFO] [stdout] 47  | where
[INFO] [stdout] 48  |     T: ConfinedDecode,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^ unsatisfied trait bound introduced here
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `ConfinedDecode` defines an item `confined_decode`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:137:1
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub trait ConfinedDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/collections.rs:429:47
[INFO] [stdout]     |
[INFO] [stdout] 429 |         assert!(Option::<u8>::confined_decode(&[2u8, 0u8, 0u8, 0u8][..])
[INFO] [stdout]     |                 ----------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                        found reference `&[u8]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn confined_decode(d: &mut impl io::Read) -> Result<Self, Error>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/collections.rs:432:47
[INFO] [stdout]     |
[INFO] [stdout] 432 |         assert!(Option::<u8>::confined_decode(&[3u8, 0u8, 0u8, 0u8][..])
[INFO] [stdout]     |                 ----------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                        found reference `&[u8]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn confined_decode(d: &mut impl io::Read) -> Result<Self, Error>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/collections.rs:435:47
[INFO] [stdout]     |
[INFO] [stdout] 435 |         assert!(Option::<u8>::confined_decode(&[0xFFu8, 0u8, 0u8, 0u8][..])
[INFO] [stdout]     |                 ----------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                        found reference `&[u8]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn confined_decode(d: &mut impl io::Read) -> Result<Self, Error>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `confined_decode` found for struct `Vec<u8>` in the current scope
[INFO] [stdout]    --> src/collections.rs:467:31
[INFO] [stdout]     |
[INFO] [stdout] 467 |         assert_eq!(Vec::<u8>::confined_decode(s1).unwrap(), v1);
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^ function or associated item not found in `Vec<u8>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Vec<u8>` consider using one of the following associated functions:
[INFO] [stdout]       Vec::<T>::new
[INFO] [stdout]       Vec::<T>::with_capacity
[INFO] [stdout]       Vec::<T>::from_raw_parts
[INFO] [stdout]       Vec::<T, A>::new_in
[INFO] [stdout]       and 2 others
[INFO] [stdout]    --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/alloc/src/vec/mod.rs:422:5
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `ConfinedDecode` defines an item `confined_decode`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:137:1
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub trait ConfinedDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `consensus_decode` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 467 |         assert_eq!(Vec::<u8>::consensus_decode(s1).unwrap(), v1);
[INFO] [stdout]     |                               ~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `confined_decode` found for struct `Vec<u8>` in the current scope
[INFO] [stdout]    --> src/collections.rs:468:31
[INFO] [stdout]     |
[INFO] [stdout] 468 |         assert_eq!(Vec::<u8>::confined_decode(s2).unwrap(), v2);
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^ function or associated item not found in `Vec<u8>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Vec<u8>` consider using one of the following associated functions:
[INFO] [stdout]       Vec::<T>::new
[INFO] [stdout]       Vec::<T>::with_capacity
[INFO] [stdout]       Vec::<T>::from_raw_parts
[INFO] [stdout]       Vec::<T, A>::new_in
[INFO] [stdout]       and 2 others
[INFO] [stdout]    --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/alloc/src/vec/mod.rs:422:5
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `ConfinedDecode` defines an item `confined_decode`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:137:1
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub trait ConfinedDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `consensus_decode` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 468 |         assert_eq!(Vec::<u8>::consensus_decode(s2).unwrap(), v2);
[INFO] [stdout]     |                               ~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `confined_decode` found for struct `Vec<u64>` in the current scope
[INFO] [stdout]    --> src/collections.rs:469:32
[INFO] [stdout]     |
[INFO] [stdout] 469 |         assert_eq!(Vec::<u64>::confined_decode(s3).unwrap(), v3);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ function or associated item not found in `Vec<u64>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Vec<u64>` consider using one of the following associated functions:
[INFO] [stdout]       Vec::<T>::new
[INFO] [stdout]       Vec::<T>::with_capacity
[INFO] [stdout]       Vec::<T>::from_raw_parts
[INFO] [stdout]       Vec::<T, A>::new_in
[INFO] [stdout]       and 2 others
[INFO] [stdout]    --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/alloc/src/vec/mod.rs:422:5
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `ConfinedDecode` defines an item `confined_decode`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:137:1
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub trait ConfinedDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `consensus_decode` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 469 |         assert_eq!(Vec::<u64>::consensus_decode(s3).unwrap(), v3);
[INFO] [stdout]     |                                ~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/primitives.rs:274:35
[INFO] [stdout]     |
[INFO] [stdout] 274 |             bool::confined_decode(&[0x20][..]),
[INFO] [stdout]     |             --------------------- ^^^^^^^^^^^ types differ in mutability
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                        found reference `&[{integer}]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn confined_decode(d: &mut impl io::Read) -> Result<Self, Error>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 55 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0432, E0463, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `confined_encoding` (lib test) due to 56 previous errors
[INFO] running `Command { std: "docker" "inspect" "e39d18e340cecff720060a0cd0ba247d2789b88299822c39a8f6e231ca523b56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e39d18e340cecff720060a0cd0ba247d2789b88299822c39a8f6e231ca523b56", kill_on_drop: false }`
[INFO] [stdout] e39d18e340cecff720060a0cd0ba247d2789b88299822c39a8f6e231ca523b56
