[INFO] fetching crate confined_encoding 0.9.0-alpha.5...
[INFO] checking confined_encoding-0.9.0-alpha.5 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate confined_encoding 0.9.0-alpha.5 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate confined_encoding 0.9.0-alpha.5 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "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-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 50 packages to latest compatible versions
[INFO] [stderr]       Adding amplify v3.14.2 (latest: v4.6.0)
[INFO] [stderr]       Adding amplify_derive v2.11.3 (latest: v4.0.0)
[INFO] [stderr]       Adding amplify_num v0.4.1 (latest: v0.5.2)
[INFO] [stderr]       Adding amplify_syn v1.1.6 (latest: v2.0.1)
[INFO] [stderr]       Adding bech32 v0.9.1 (latest: v0.11.0)
[INFO] [stderr]       Adding bitcoin v0.29.2 (latest: v0.32.0)
[INFO] [stderr]       Adding bitcoin_hashes v0.11.0 (latest: v0.14.0)
[INFO] [stderr]       Adding getrandom v0.1.16 (latest: v0.2.14)
[INFO] [stderr]       Adding rand v0.7.3 (latest: v0.8.5)
[INFO] [stderr]       Adding rand_chacha v0.2.2 (latest: v0.3.1)
[INFO] [stderr]       Adding rand_core v0.5.1 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_hc v0.2.0 (latest: v0.3.2)
[INFO] [stderr]       Adding secp256k1 v0.24.3 (latest: v0.29.0)
[INFO] [stderr]       Adding secp256k1-sys v0.6.1 (latest: v0.10.0)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] [stderr]       Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded confined_encoding_derive v0.9.0-alpha.2
[INFO] [stderr]   Downloaded amplify_syn v1.1.6
[INFO] [stderr]   Downloaded amplify_derive v2.11.3
[INFO] [stderr]   Downloaded amplify_derive v4.0.0
[INFO] [stderr]   Downloaded amplify_syn v2.0.1
[INFO] [stderr]   Downloaded amplify_num v0.5.2
[INFO] [stderr]   Downloaded ascii v1.1.0
[INFO] [stderr]   Downloaded amplify_apfloat v0.3.0
[INFO] [stderr]   Downloaded amplify v4.6.0
[INFO] [stderr]   Downloaded lnpbp_secp256k1zkp v0.9.0
[INFO] [stderr]   Downloaded bitcoin v0.29.2
[INFO] [stderr]   Downloaded amplify_num v0.4.1
[INFO] [stderr]   Downloaded amplify v3.14.2
[INFO] [stderr]   Downloaded encoding_derive_helpers v2.0.0-alpha.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 32137979cb9857a7c5c4007ccefba5ce57b2197d3de03ec31a33bfe83890ee3a
[INFO] running `Command { std: "docker" "start" "-a" "32137979cb9857a7c5c4007ccefba5ce57b2197d3de03ec31a33bfe83890ee3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "32137979cb9857a7c5c4007ccefba5ce57b2197d3de03ec31a33bfe83890ee3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "32137979cb9857a7c5c4007ccefba5ce57b2197d3de03ec31a33bfe83890ee3a", kill_on_drop: false }`
[INFO] [stdout] 32137979cb9857a7c5c4007ccefba5ce57b2197d3de03ec31a33bfe83890ee3a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3974c9fdb8e235227333feda55c7f9987028726f15cea658bf728211a54e810b
[INFO] running `Command { std: "docker" "start" "-a" "3974c9fdb8e235227333feda55c7f9987028726f15cea658bf728211a54e810b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]     Checking unicode-ident v1.0.12
[INFO] [stderr]    Compiling getrandom v0.1.16
[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 amplify_num v0.5.2
[INFO] [stderr]     Checking bitcoin_hashes v0.11.0
[INFO] [stderr]    Compiling lnpbp_secp256k1zkp v0.9.0
[INFO] [stderr]     Checking ascii v1.1.0
[INFO] [stderr]     Checking bech32 v0.9.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[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[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: 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(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>::try_with_capacity
[INFO] [stdout]       Vec::<T>::from_raw_parts
[INFO] [stdout]       and 6 others
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/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>::try_with_capacity
[INFO] [stdout]       Vec::<T>::from_raw_parts
[INFO] [stdout]       and 6 others
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/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>::try_with_capacity
[INFO] [stdout]       Vec::<T>::from_raw_parts
[INFO] [stdout]       and 6 others
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/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 48 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 49 previous errors
[INFO] running `Command { std: "docker" "inspect" "3974c9fdb8e235227333feda55c7f9987028726f15cea658bf728211a54e810b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3974c9fdb8e235227333feda55c7f9987028726f15cea658bf728211a54e810b", kill_on_drop: false }`
[INFO] [stdout] 3974c9fdb8e235227333feda55c7f9987028726f15cea658bf728211a54e810b
[INFO] checking confined_encoding-0.9.0-alpha.5 against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157
[INFO] extracting crate confined_encoding 0.9.0-alpha.5 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate confined_encoding 0.9.0-alpha.5 on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "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-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 50 packages to latest compatible versions
[INFO] [stderr]       Adding amplify v3.14.2 (latest: v4.6.0)
[INFO] [stderr]       Adding amplify_derive v2.11.3 (latest: v4.0.0)
[INFO] [stderr]       Adding amplify_num v0.4.1 (latest: v0.5.2)
[INFO] [stderr]       Adding amplify_syn v1.1.6 (latest: v2.0.1)
[INFO] [stderr]       Adding bech32 v0.9.1 (latest: v0.11.0)
[INFO] [stderr]       Adding bitcoin v0.29.2 (latest: v0.32.0)
[INFO] [stderr]       Adding bitcoin_hashes v0.11.0 (latest: v0.14.0)
[INFO] [stderr]       Adding getrandom v0.1.16 (latest: v0.2.14)
[INFO] [stderr]       Adding rand v0.7.3 (latest: v0.8.5)
[INFO] [stderr]       Adding rand_chacha v0.2.2 (latest: v0.3.1)
[INFO] [stderr]       Adding rand_core v0.5.1 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_hc v0.2.0 (latest: v0.3.2)
[INFO] [stderr]       Adding secp256k1 v0.24.3 (latest: v0.29.0)
[INFO] [stderr]       Adding secp256k1-sys v0.6.1 (latest: v0.10.0)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] [stderr]       Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ebaf9be60dea8c7eecac05972072ed71ce56c0600ec550ef96baabf8c39bfb37
[INFO] running `Command { std: "docker" "start" "-a" "ebaf9be60dea8c7eecac05972072ed71ce56c0600ec550ef96baabf8c39bfb37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ebaf9be60dea8c7eecac05972072ed71ce56c0600ec550ef96baabf8c39bfb37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ebaf9be60dea8c7eecac05972072ed71ce56c0600ec550ef96baabf8c39bfb37", kill_on_drop: false }`
[INFO] [stdout] ebaf9be60dea8c7eecac05972072ed71ce56c0600ec550ef96baabf8c39bfb37
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 43c7e951b59ea96ec5865c44ea35795a422b867b31ec10051bc4269565d44b80
[INFO] running `Command { std: "docker" "start" "-a" "43c7e951b59ea96ec5865c44ea35795a422b867b31ec10051bc4269565d44b80", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]     Checking unicode-ident v1.0.12
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling secp256k1-sys v0.6.1
[INFO] [stderr]    Compiling getrandom v0.1.16
[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 ascii v1.1.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking bech32 v0.9.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[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[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: 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(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>::try_with_capacity
[INFO] [stdout]       Vec::<T>::from_raw_parts
[INFO] [stdout]       and 6 others
[INFO] [stdout]    --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/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>::try_with_capacity
[INFO] [stdout]       Vec::<T>::from_raw_parts
[INFO] [stdout]       and 6 others
[INFO] [stdout]    --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/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>::try_with_capacity
[INFO] [stdout]       Vec::<T>::from_raw_parts
[INFO] [stdout]       and 6 others
[INFO] [stdout]    --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/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 48 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 49 previous errors
[INFO] running `Command { std: "docker" "inspect" "43c7e951b59ea96ec5865c44ea35795a422b867b31ec10051bc4269565d44b80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43c7e951b59ea96ec5865c44ea35795a422b867b31ec10051bc4269565d44b80", kill_on_drop: false }`
[INFO] [stdout] 43c7e951b59ea96ec5865c44ea35795a422b867b31ec10051bc4269565d44b80
