[INFO] fetching crate barrique 1.0.1...
[INFO] testing barrique-1.0.1 against 1.94.0 for beta-1.95-1
[INFO] extracting crate barrique 1.0.1 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate barrique 1.0.1
[INFO] finished tweaking crates.io crate barrique 1.0.1
[INFO] tweaked toml for crates.io crate barrique 1.0.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate barrique 1.0.1 on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate barrique 1.0.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded twox-hash v2.1.2
[INFO] [stderr]   Downloaded barrique_derive v0.1.0
[INFO] [stderr]   Downloaded lz4-sys v1.11.1+lz4-1.10.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bb2c60d1821b48a11603d8695b51bbbf852ebfb7d410982d25bca6eb3e5744fe
[INFO] running `Command { std: "docker" "start" "-a" "bb2c60d1821b48a11603d8695b51bbbf852ebfb7d410982d25bca6eb3e5744fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb2c60d1821b48a11603d8695b51bbbf852ebfb7d410982d25bca6eb3e5744fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb2c60d1821b48a11603d8695b51bbbf852ebfb7d410982d25bca6eb3e5744fe", kill_on_drop: false }`
[INFO] [stdout] bb2c60d1821b48a11603d8695b51bbbf852ebfb7d410982d25bca6eb3e5744fe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ff67af416a2fd23bd6716fa6477df957fe665723e3f90624f6e737b3f83cd97b
[INFO] running `Command { std: "docker" "start" "-a" "ff67af416a2fd23bd6716fa6477df957fe665723e3f90624f6e737b3f83cd97b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling zerocopy v0.8.40
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling lz4-sys v1.11.1+lz4-1.10.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling twox-hash v2.1.2
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling barrique_derive v0.1.0
[INFO] [stderr]    Compiling barrique v1.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.41s
[INFO] running `Command { std: "docker" "inspect" "ff67af416a2fd23bd6716fa6477df957fe665723e3f90624f6e737b3f83cd97b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff67af416a2fd23bd6716fa6477df957fe665723e3f90624f6e737b3f83cd97b", kill_on_drop: false }`
[INFO] [stdout] ff67af416a2fd23bd6716fa6477df957fe665723e3f90624f6e737b3f83cd97b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3f9e99e029152a33fa94ff063772029e01a1c7446dec2ddf1fdbcc99e095b69b
[INFO] running `Command { std: "docker" "start" "-a" "3f9e99e029152a33fa94ff063772029e01a1c7446dec2ddf1fdbcc99e095b69b", kill_on_drop: false }`
[INFO] [stderr]    Compiling barrique v1.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.87s
[INFO] running `Command { std: "docker" "inspect" "3f9e99e029152a33fa94ff063772029e01a1c7446dec2ddf1fdbcc99e095b69b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f9e99e029152a33fa94ff063772029e01a1c7446dec2ddf1fdbcc99e095b69b", kill_on_drop: false }`
[INFO] [stdout] 3f9e99e029152a33fa94ff063772029e01a1c7446dec2ddf1fdbcc99e095b69b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4c573a5461329eb168d296c1f681899ca9fccebb25d62dc714c018f1b93fffa1
[INFO] running `Command { std: "docker" "start" "-a" "4c573a5461329eb168d296c1f681899ca9fccebb25d62dc714c018f1b93fffa1", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/barrique-f5c3186774bbb6bc)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests barrique
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test src/decode.rs - decode::StreamDecoder<R>::new (line 177) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 70) ... FAILED
[INFO] [stdout] test src/region.rs - region::Seed (line 49) ... FAILED
[INFO] [stdout] test src/region.rs - region::AllocOrd (line 120) ... FAILED
[INFO] [stdout] test src/decode.rs - decode::StreamDecoder (line 134) ... FAILED
[INFO] [stdout] test src/region.rs - region::Seed (line 38) ... FAILED
[INFO] [stdout] test src/cursor.rs - cursor::CursorView (line 184) ... FAILED
[INFO] [stdout] test src/decode.rs - decode::StreamDecoder<R>::relocate (line 216) ... FAILED
[INFO] [stdout] test src/encode.rs - encode::StreamEncoder (line 182) ... FAILED
[INFO] [stdout] test src/encode.rs - encode::StreamEncoder<W>::relocate (line 266) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 12) ... FAILED
[INFO] [stdout] test src/frame.rs - frame::Frame<T,W>::encode (line 412) ... ok
[INFO] [stdout] test src/frame.rs - frame::Frame<T,R>::get_value (line 485) ... FAILED
[INFO] [stdout] test src/encode.rs - encode::StreamEncoder<W>::new (line 224) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/decode.rs - decode::StreamDecoder<R>::new (line 177) stdout ----
[INFO] [stdout] error[E0603]: enum `AllocOrd` is private
[INFO] [stdout]    --> src/decode.rs:179:24
[INFO] [stdout]     |
[INFO] [stdout] 179 | use barrique::decode::{AllocOrd, StreamDecoder};
[INFO] [stdout]     |                        ^^^^^^^^ private enum
[INFO] [stdout]     |
[INFO] [stdout] note: the enum `AllocOrd` is defined here
[INFO] [stdout]    --> src/decode.rs:1:21
[INFO] [stdout]     |
[INFO] [stdout]   1 | use crate::region::{AllocOrd, Pull, RegionBuffer, RegionError, Seed};
[INFO] [stdout]     |                     ^^^^^^^^
[INFO] [stdout] help: import `AllocOrd` directly
[INFO] [stdout]     |
[INFO] [stdout] 179 | use barrique::decode::{barrique::region::AllocOrd, StreamDecoder};
[INFO] [stdout]     |                        ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: in expressions, `_` can only be used on the left-hand side of an assignment
[INFO] [stdout]    --> src/decode.rs:186:24
[INFO] [stdout]     |
[INFO] [stdout] 186 | assert_eq!(bearer, Err(_));
[INFO] [stdout]     |                        ^ `_` not allowed here
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&Vec<_>: Reader` is not satisfied
[INFO] [stdout]    --> src/decode.rs:182:37
[INFO] [stdout]     |
[INFO] [stdout] 182 | let mut bearer = StreamDecoder::new(&src, 0, Default::default());
[INFO] [stdout]     |                  ------------------ ^^^^ the trait `Reader` is not implemented for `&Vec<_>`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `StreamDecoder::<R>::new`
[INFO] [stdout]    --> src/decode.rs:171:8
[INFO] [stdout]     |
[INFO] [stdout] 171 |     R: Reader,
[INFO] [stdout]     |        ^^^^^^ required by this bound in `StreamDecoder::<R>::new`
[INFO] [stdout] ...
[INFO] [stdout] 198 |     pub fn new(src: R, seed: Seed, ord: AllocOrd) -> Result<Self, RegionError> {
[INFO] [stdout]     |            --- required by a bound in this associated function
[INFO] [stdout] help: consider dereferencing here
[INFO] [stdout]     |
[INFO] [stdout] 182 | let mut bearer = StreamDecoder::new(&*src, 0, Default::default());
[INFO] [stdout]     |                                      +
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/decode.rs:182:43
[INFO] [stdout]     |
[INFO] [stdout] 182 | let mut bearer = StreamDecoder::new(&src, 0, Default::default());
[INFO] [stdout]     |                  ------------------       ^ expected `Seed`, found integer
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/decode.rs:198:12
[INFO] [stdout]     |
[INFO] [stdout] 198 |     pub fn new(src: R, seed: Seed, ord: AllocOrd) -> Result<Self, RegionError> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Seed`
[INFO] [stdout]     |
[INFO] [stdout] 182 | let mut bearer = StreamDecoder::new(&src, 0.into(), Default::default());
[INFO] [stdout]     |                                            +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&Vec<_>: Reader` is not satisfied
[INFO] [stdout]    --> src/decode.rs:182:18
[INFO] [stdout]     |
[INFO] [stdout] 182 | let mut bearer = StreamDecoder::new(&src, 0, Default::default());
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reader` is not implemented for `&Vec<_>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `Reader`
[INFO] [stdout]    --> src/decode.rs:68:1
[INFO] [stdout]     |
[INFO] [stdout]  68 |   impl Reader for &[u8] {
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^ `&[u8]`
[INFO] [stdout] ...
[INFO] [stdout]  81 |   impl Reader for &mut [u8] {
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^ `&mut [u8]`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cursor.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | / impl<T> Reader for Cursor<T>
[INFO] [stdout]  40 | | where
[INFO] [stdout]  41 | |     T: AsRef<[u8]>,
[INFO] [stdout]     | |___________________^ `barrique::cursor::Cursor<T>`
[INFO] [stdout] ...
[INFO] [stdout] 235 | / impl<T> Reader for CursorView<T>
[INFO] [stdout] 236 | | where
[INFO] [stdout] 237 | |     T: Read,
[INFO] [stdout]     | |____________^ `CursorView<T>`
[INFO] [stdout] note: required by a bound in `StreamDecoder`
[INFO] [stdout]    --> src/decode.rs:162:8
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct StreamDecoder<R>
[INFO] [stdout]     |            ------------- required by a bound in this struct
[INFO] [stdout] 161 | where
[INFO] [stdout] 162 |     R: Reader,
[INFO] [stdout]     |        ^^^^^^ required by this bound in `StreamDecoder`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0603.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 70) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Encode` in this scope
[INFO] [stdout]   --> src/lib.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 | <str as Encode>::encode(&mut encoder, "Hello, world!").unwrap();
[INFO] [stdout]    |         ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 69 + use barrique::encode::Encode;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/region.rs - region::Seed (line 49) stdout ----
[INFO] [stdout] error: format argument must be a string literal
[INFO] [stdout]   --> src/region.rs:53:24
[INFO] [stdout]    |
[INFO] [stdout] 53 | assert!(Seed::empty(), Default::default());
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a string literal to format with
[INFO] [stdout]    |
[INFO] [stdout] 53 | assert!(Seed::empty(), "{}", Default::default());
[INFO] [stdout]    |                        +++++
[INFO] [stdout] 
[INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `Seed`
[INFO] [stdout]   --> src/region.rs:53:1
[INFO] [stdout]    |
[INFO] [stdout] 53 | assert!(Seed::empty(), Default::default());
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!`
[INFO] [stdout]    |
[INFO] [stdout] note: `Seed` does not implement `Not`
[INFO] [stdout]   --> src/region.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct Seed {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `Seed` is defined in another crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0600`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/region.rs - region::AllocOrd (line 120) stdout ----
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/region.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 | let value = String::new("Hello, world!");
[INFO] [stdout]     |             ^^^^^^^^^^^ --------------- unexpected argument of type `&'static str`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/string.rs:437:17
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 125 - let value = String::new("Hello, world!");
[INFO] [stdout] 125 + let value = String::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/region.rs:129:46
[INFO] [stdout]     |
[INFO] [stdout] 129 | let mut encoder = StreamEncoder::new(vec![], 0, ord);
[INFO] [stdout]     |                   ------------------         ^ expected `Seed`, found integer
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/encode.rs:247:12
[INFO] [stdout]     |
[INFO] [stdout] 247 |     pub fn new<E>(dst: W, seed: Seed, ord: AllocOrd<E>) -> Self
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Seed`
[INFO] [stdout]     |
[INFO] [stdout] 129 | let mut encoder = StreamEncoder::new(vec![], 0.into(), ord);
[INFO] [stdout]     |                                               +++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/decode.rs - decode::StreamDecoder (line 134) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamDecoder`
[INFO] [stdout]    --> src/decode.rs:138:18
[INFO] [stdout]     |
[INFO] [stdout] 138 | let mut bearer = StreamDecoder::new(&src, 0, Default::default());
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ use of undeclared type `StreamDecoder`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 134 + use barrique::decode::StreamDecoder;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Decode` in this scope
[INFO] [stdout]    --> src/decode.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout] 141 | <String as Decode>::decode(&mut bearer, &mut string).unwrap();
[INFO] [stdout]     |            ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 134 + use barrique::decode::Decode;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/region.rs - region::Seed (line 38) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Seed`
[INFO] [stdout]   --> src/region.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | let seed = Seed::new(0);
[INFO] [stdout]    |            ^^^^ use of undeclared type `Seed`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 42 - let seed = Seed::new(0);
[INFO] [stdout] 42 + let seed = Send::new(0);
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 37 + use barrique::region::Seed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/cursor.rs - cursor::CursorView (line 184) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamEncoder`
[INFO] [stdout]    --> src/cursor.rs:192:18
[INFO] [stdout]     |
[INFO] [stdout] 192 | let mut bearer = StreamEncoder::new(&mut src, 0.into(), AllocOrd::Full);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ use of undeclared type `StreamEncoder`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 183 + use barrique::encode::StreamEncoder;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AllocOrd`
[INFO] [stdout]    --> src/cursor.rs:192:57
[INFO] [stdout]     |
[INFO] [stdout] 192 | let mut bearer = StreamEncoder::new(&mut src, 0.into(), AllocOrd::Full);
[INFO] [stdout]     |                                                         ^^^^^^^^ use of undeclared type `AllocOrd`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 183 + use barrique::region::AllocOrd;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Encode` in this scope
[INFO] [stdout]    --> src/cursor.rs:193:12
[INFO] [stdout]     |
[INFO] [stdout] 193 | <String as Encode>::encode(&mut bearer, String::new("Hello, world!").as_str())
[INFO] [stdout]     |            ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 183 + use barrique::encode::Encode;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/cursor.rs:193:41
[INFO] [stdout]     |
[INFO] [stdout] 193 | <String as Encode>::encode(&mut bearer, String::new("Hello, world!").as_str())
[INFO] [stdout]     |                                         ^^^^^^^^^^^ --------------- unexpected argument of type `&'static str`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/string.rs:437:17
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 193 - <String as Encode>::encode(&mut bearer, String::new("Hello, world!").as_str())
[INFO] [stdout] 193 + <String as Encode>::encode(&mut bearer, String::new().as_str())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0405, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/decode.rs - decode::StreamDecoder<R>::relocate (line 216) stdout ----
[INFO] [stdout] error[E0603]: enum `AllocOrd` is private
[INFO] [stdout]    --> src/decode.rs:218:24
[INFO] [stdout]     |
[INFO] [stdout] 218 | use barrique::decode::{AllocOrd, StreamDecoder};
[INFO] [stdout]     |                        ^^^^^^^^ private enum
[INFO] [stdout]     |
[INFO] [stdout] note: the enum `AllocOrd` is defined here
[INFO] [stdout]    --> src/decode.rs:1:21
[INFO] [stdout]     |
[INFO] [stdout]   1 | use crate::region::{AllocOrd, Pull, RegionBuffer, RegionError, Seed};
[INFO] [stdout]     |                     ^^^^^^^^
[INFO] [stdout] help: import `AllocOrd` directly
[INFO] [stdout]     |
[INFO] [stdout] 218 | use barrique::decode::{barrique::region::AllocOrd, StreamDecoder};
[INFO] [stdout]     |                        ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&Vec<u8>: Reader` is not satisfied
[INFO] [stdout]    --> src/decode.rs:221:37
[INFO] [stdout]     |
[INFO] [stdout] 221 | let mut bearer = StreamDecoder::new(&src, 0, Default::default())
[INFO] [stdout]     |                  ------------------ ^^^^ the trait `Reader` is not implemented for `&Vec<u8>`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `StreamDecoder::<R>::new`
[INFO] [stdout]    --> src/decode.rs:171:8
[INFO] [stdout]     |
[INFO] [stdout] 171 |     R: Reader,
[INFO] [stdout]     |        ^^^^^^ required by this bound in `StreamDecoder::<R>::new`
[INFO] [stdout] ...
[INFO] [stdout] 198 |     pub fn new(src: R, seed: Seed, ord: AllocOrd) -> Result<Self, RegionError> {
[INFO] [stdout]     |            --- required by a bound in this associated function
[INFO] [stdout] help: consider dereferencing here
[INFO] [stdout]     |
[INFO] [stdout] 221 | let mut bearer = StreamDecoder::new(&*src, 0, Default::default())
[INFO] [stdout]     |                                      +
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/decode.rs:221:43
[INFO] [stdout]     |
[INFO] [stdout] 221 | let mut bearer = StreamDecoder::new(&src, 0, Default::default())
[INFO] [stdout]     |                  ------------------       ^ expected `Seed`, found integer
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/decode.rs:198:12
[INFO] [stdout]     |
[INFO] [stdout] 198 |     pub fn new(src: R, seed: Seed, ord: AllocOrd) -> Result<Self, RegionError> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Seed`
[INFO] [stdout]     |
[INFO] [stdout] 221 | let mut bearer = StreamDecoder::new(&src, 0.into(), Default::default())
[INFO] [stdout]     |                                            +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&Vec<u8>: Reader` is not satisfied
[INFO] [stdout]    --> src/decode.rs:221:18
[INFO] [stdout]     |
[INFO] [stdout] 221 | let mut bearer = StreamDecoder::new(&src, 0, Default::default())
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reader` is not implemented for `&Vec<u8>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `Reader`
[INFO] [stdout]    --> src/decode.rs:68:1
[INFO] [stdout]     |
[INFO] [stdout]  68 |   impl Reader for &[u8] {
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^ `&[u8]`
[INFO] [stdout] ...
[INFO] [stdout]  81 |   impl Reader for &mut [u8] {
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^ `&mut [u8]`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cursor.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | / impl<T> Reader for Cursor<T>
[INFO] [stdout]  40 | | where
[INFO] [stdout]  41 | |     T: AsRef<[u8]>,
[INFO] [stdout]     | |___________________^ `barrique::cursor::Cursor<T>`
[INFO] [stdout] ...
[INFO] [stdout] 235 | / impl<T> Reader for CursorView<T>
[INFO] [stdout] 236 | | where
[INFO] [stdout] 237 | |     T: Read,
[INFO] [stdout]     | |____________^ `CursorView<T>`
[INFO] [stdout] note: required by a bound in `StreamDecoder`
[INFO] [stdout]    --> src/decode.rs:162:8
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct StreamDecoder<R>
[INFO] [stdout]     |            ------------- required by a bound in this struct
[INFO] [stdout] 161 | where
[INFO] [stdout] 162 |     R: Reader,
[INFO] [stdout]     |        ^^^^^^ required by this bound in `StreamDecoder`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&Vec<u8>: Reader` is not satisfied
[INFO] [stdout]    --> src/decode.rs:221:18
[INFO] [stdout]     |
[INFO] [stdout] 221 |   let mut bearer = StreamDecoder::new(&src, 0, Default::default())
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 222 | |     .expect("Failed to initialize a bearer");
[INFO] [stdout]     | |____________________________________________^ the trait `Reader` is not implemented for `&Vec<u8>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `Reader`
[INFO] [stdout]    --> src/decode.rs:68:1
[INFO] [stdout]     |
[INFO] [stdout]  68 |   impl Reader for &[u8] {
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^ `&[u8]`
[INFO] [stdout] ...
[INFO] [stdout]  81 |   impl Reader for &mut [u8] {
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^ `&mut [u8]`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cursor.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | / impl<T> Reader for Cursor<T>
[INFO] [stdout]  40 | | where
[INFO] [stdout]  41 | |     T: AsRef<[u8]>,
[INFO] [stdout]     | |___________________^ `barrique::cursor::Cursor<T>`
[INFO] [stdout] ...
[INFO] [stdout] 235 | / impl<T> Reader for CursorView<T>
[INFO] [stdout] 236 | | where
[INFO] [stdout] 237 | |     T: Read,
[INFO] [stdout]     | |____________^ `CursorView<T>`
[INFO] [stdout] note: required by a bound in `StreamDecoder`
[INFO] [stdout]    --> src/decode.rs:162:8
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct StreamDecoder<R>
[INFO] [stdout]     |            ------------- required by a bound in this struct
[INFO] [stdout] 161 | where
[INFO] [stdout] 162 |     R: Reader,
[INFO] [stdout]     |        ^^^^^^ required by this bound in `StreamDecoder`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `relocate` exists for struct `StreamDecoder<&Vec<u8>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/decode.rs:227:8
[INFO] [stdout]     |
[INFO] [stdout] 227 | bearer.relocate(&mut src)
[INFO] [stdout]     |        ^^^^^^^^ method cannot be called on `StreamDecoder<&Vec<u8>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `&Vec<u8>: Reader`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599, E0603.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/encode.rs - encode::StreamEncoder (line 182) stdout ----
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/encode.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 | let value = String::new("That's a barrique");
[INFO] [stdout]     |             ^^^^^^^^^^^ ------------------- unexpected argument of type `&'static str`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/string.rs:437:17
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 187 - let value = String::new("That's a barrique");
[INFO] [stdout] 187 + let value = String::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `encode` found for struct `String` in the current scope
[INFO] [stdout]    --> src/encode.rs:191:9
[INFO] [stdout]     |
[INFO] [stdout] 191 | String::encode(&mut bearer, &value).unwrap();
[INFO] [stdout]     |         ^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]    --> /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/string.rs:437:4
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 181 + use crate::barrique::encode::Encode;
[INFO] [stdout]     |
[INFO] [stdout] help: there is an associated function `decode` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 191 - String::encode(&mut bearer, &value).unwrap();
[INFO] [stdout] 191 + String::decode(&mut bearer, &value).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/encode.rs - encode::StreamEncoder<W>::relocate (line 266) stdout ----
[INFO] [stdout] error[E0505]: cannot move out of `dst` because it is borrowed
[INFO] [stdout]    --> src/encode.rs:276:36
[INFO] [stdout]     |
[INFO] [stdout] 271 | let mut dst = vec![];
[INFO] [stdout]     |     ------- binding `dst` declared here
[INFO] [stdout] 272 | let mut bearer = StreamEncoder::new(&mut dst, 0.into(), Default::default());
[INFO] [stdout]     |                                     -------- borrow of `dst` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 276 | std::fs::write("serialized_1.bin", dst).unwrap();
[INFO] [stdout]     |                                    ^^^ move out of `dst` occurs here
[INFO] [stdout] 277 | bearer.relocate(&mut dst).expect("Failed to relocate the bearer");
[INFO] [stdout]     | ------ borrow later used here
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 272 | let mut bearer = StreamEncoder::new(&mut dst.clone(), 0.into(), Default::default());
[INFO] [stdout]     |                                             ++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `dst` as mutable more than once at a time
[INFO] [stdout]    --> src/encode.rs:277:17
[INFO] [stdout]     |
[INFO] [stdout] 272 | let mut bearer = StreamEncoder::new(&mut dst, 0.into(), Default::default());
[INFO] [stdout]     |                                     -------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 277 | bearer.relocate(&mut dst).expect("Failed to relocate the bearer");
[INFO] [stdout]     |        -------- ^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout]     |        |
[INFO] [stdout]     |        first borrow later used by call
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `dst`
[INFO] [stdout]    --> src/encode.rs:277:17
[INFO] [stdout]     |
[INFO] [stdout] 271 | let mut dst = vec![];
[INFO] [stdout]     |     ------- move occurs because `dst` has type `Vec<u8>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 276 | std::fs::write("serialized_1.bin", dst).unwrap();
[INFO] [stdout]     |                                    --- value moved here
[INFO] [stdout] 277 | bearer.relocate(&mut dst).expect("Failed to relocate the bearer");
[INFO] [stdout]     |                 ^^^^^^^^ value borrowed here after move
[INFO] [stdout]     |
[INFO] [stdout] help: consider borrowing `dst`
[INFO] [stdout]     |
[INFO] [stdout] 276 | std::fs::write("serialized_1.bin", &dst).unwrap();
[INFO] [stdout]     |                                    +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0499, E0505.
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 12) stdout ----
[INFO] [stdout] error[E0432]: unresolved imports `barrique::Encode`, `barrique::Decode`
[INFO] [stdout]   --> src/lib.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 14 | use barrique::{Encode, Decode};
[INFO] [stdout]    |                ^^^^^^  ^^^^^^ no `Decode` in the root
[INFO] [stdout]    |                |
[INFO] [stdout]    |                no `Encode` in the root
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this trait instead:
[INFO] [stdout]            barrique::encode::Encode
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/lib.rs:99:27
[INFO] [stdout]    |
[INFO] [stdout] 98 | #[cfg(feature = "derive")]
[INFO] [stdout]    |       ------------------ the item is gated behind the `derive` feature
[INFO] [stdout] 99 | pub use barrique_derive::{Encode, Decode};
[INFO] [stdout]    |                           ^^^^^^
[INFO] [stdout]    = help: consider importing this trait instead:
[INFO] [stdout]            barrique::decode::Decode
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/lib.rs:99:35
[INFO] [stdout]    |
[INFO] [stdout] 98 | #[cfg(feature = "derive")]
[INFO] [stdout]    |       ------------------ the item is gated behind the `derive` feature
[INFO] [stdout] 99 | pub use barrique_derive::{Encode, Decode};
[INFO] [stdout]    |                                   ^^^^^^
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 14 - use barrique::{Encode, Decode};
[INFO] [stdout] 14 + use barrique::{encode, Decode};
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 14 - use barrique::{Encode, Decode};
[INFO] [stdout] 14 + use barrique::{Encode, decode};
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `barrique` in this scope
[INFO] [stdout]   --> src/lib.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 |     #[barrique(skip)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `barrique` is an attribute that can be used by the derive macros `Decode` and `Encode`, you might be missing a `derive` attribute
[INFO] [stdout] note: `barrique` is imported here, but it is a crate, not an attribute
[INFO] [stdout]   --> src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | extern crate r#barrique;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `barrique` in this scope
[INFO] [stdout]   --> src/lib.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[barrique(tag_repr = "u8")]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `barrique` is an attribute that can be used by the derive macros `Decode` and `Encode`, you might be missing a `derive` attribute
[INFO] [stdout] note: `barrique` is imported here, but it is a crate, not an attribute
[INFO] [stdout]   --> src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | extern crate r#barrique;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 |     name: "Oh, hey!",
[INFO] [stdout]    |           ^^^^^^^^^^ expected `String`, found `&str`
[INFO] [stdout]    |
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]    |
[INFO] [stdout] 37 |     name: "Oh, hey!".to_string(),
[INFO] [stdout]    |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:44:17
[INFO] [stdout]     |
[INFO] [stdout]  44 |     .with_label("A beehive");
[INFO] [stdout]     |      ---------- ^^^^^^^^^^^ expected `Label`, found `&str`
[INFO] [stdout]     |      |
[INFO] [stdout]     |      arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/frame.rs:396:12
[INFO] [stdout]     |
[INFO] [stdout] 396 |     pub fn with_label(mut self, label: Label) -> Frame<T, W> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Bee: Encode` is not satisfied
[INFO] [stdout]    --> src/lib.rs:45:7
[INFO] [stdout]     |
[INFO] [stdout]  45 | frame.encode(bee.clone());
[INFO] [stdout]     |       ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Encode` is not implemented for `Bee`
[INFO] [stdout]    --> src/lib.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | struct Bee {
[INFO] [stdout]     | ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Encode`:
[INFO] [stdout]               &T
[INFO] [stdout]               ()
[INFO] [stdout]               (A, B)
[INFO] [stdout]               (A, B, C)
[INFO] [stdout]               (A, B, C, D)
[INFO] [stdout]               (A, B, C, D, E)
[INFO] [stdout]               (A, B, C, D, E, F)
[INFO] [stdout]               (A, B, C, D, E, F, G)
[INFO] [stdout]             and 38 others
[INFO] [stdout] note: required by a bound in `Frame::<T, W>::encode`
[INFO] [stdout]    --> src/frame.rs:380:8
[INFO] [stdout]     |
[INFO] [stdout] 380 |     T: Encode,
[INFO] [stdout]     |        ^^^^^^ required by this bound in `Frame::<T, W>::encode`
[INFO] [stdout] ...
[INFO] [stdout] 421 |     pub fn encode(mut self, value: T) -> Result<(), EncodeError> {
[INFO] [stdout]     |            ------ required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Bee: Encode` is not satisfied
[INFO] [stdout]    --> src/lib.rs:44:6
[INFO] [stdout]     |
[INFO] [stdout]  44 |     .with_label("A beehive");
[INFO] [stdout]     |      ^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Encode` is not implemented for `Bee`
[INFO] [stdout]    --> src/lib.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | struct Bee {
[INFO] [stdout]     | ^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Encode`:
[INFO] [stdout]               &T
[INFO] [stdout]               ()
[INFO] [stdout]               (A, B)
[INFO] [stdout]               (A, B, C)
[INFO] [stdout]               (A, B, C, D)
[INFO] [stdout]               (A, B, C, D, E)
[INFO] [stdout]               (A, B, C, D, E, F)
[INFO] [stdout]               (A, B, C, D, E, F, G)
[INFO] [stdout]             and 38 others
[INFO] [stdout] note: required by a bound in `Frame::<T, W>::with_label`
[INFO] [stdout]    --> src/frame.rs:380:8
[INFO] [stdout]     |
[INFO] [stdout] 380 |     T: Encode,
[INFO] [stdout]     |        ^^^^^^ required by this bound in `Frame::<T, W>::with_label`
[INFO] [stdout] ...
[INFO] [stdout] 396 |     pub fn with_label(mut self, label: Label) -> Frame<T, W> {
[INFO] [stdout]     |            ---------- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&Vec<u8>: Reader` is not satisfied
[INFO] [stdout]    --> src/lib.rs:47:27
[INFO] [stdout]     |
[INFO] [stdout]  47 | let frame = Frame::decode(&dst, Seed::new(0))
[INFO] [stdout]     |             ------------- ^^^^ the trait `Reader` is not implemented for `&Vec<u8>`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Frame::<T, R>::decode`
[INFO] [stdout]    --> src/frame.rs:438:8
[INFO] [stdout]     |
[INFO] [stdout] 438 |     R: Reader,
[INFO] [stdout]     |        ^^^^^^ required by this bound in `Frame::<T, R>::decode`
[INFO] [stdout] ...
[INFO] [stdout] 451 |     pub fn decode(mut src: R, seed: Seed) -> Result<Self, FrameError> {
[INFO] [stdout]     |            ------ required by a bound in this associated function
[INFO] [stdout] help: consider dereferencing here
[INFO] [stdout]     |
[INFO] [stdout]  47 | let frame = Frame::decode(&*dst, Seed::new(0))
[INFO] [stdout]     |                            +
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `get_value` exists for struct `Frame<_, &Vec<u8>>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 | assert_eq!(frame.get_value().unwrap(), bee);
[INFO] [stdout]    |                  ^^^^^^^^^ method cannot be called on `Frame<_, &Vec<u8>>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `&Vec<u8>: Reader`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/frame.rs - frame::Frame<T,R>::get_value (line 485) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `&Vec<u8>: Reader` is not satisfied
[INFO] [stdout]    --> src/frame.rs:491:27
[INFO] [stdout]     |
[INFO] [stdout] 491 | let frame = Frame::decode(&bytes, 0).expect("Failed to open a frame");
[INFO] [stdout]     |             ------------- ^^^^^^ the trait `Reader` is not implemented for `&Vec<u8>`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Frame::<T, R>::decode`
[INFO] [stdout]    --> src/frame.rs:438:8
[INFO] [stdout]     |
[INFO] [stdout] 438 |     R: Reader,
[INFO] [stdout]     |        ^^^^^^ required by this bound in `Frame::<T, R>::decode`
[INFO] [stdout] ...
[INFO] [stdout] 451 |     pub fn decode(mut src: R, seed: Seed) -> Result<Self, FrameError> {
[INFO] [stdout]     |            ------ required by a bound in this associated function
[INFO] [stdout] help: consider dereferencing here
[INFO] [stdout]     |
[INFO] [stdout] 491 | let frame = Frame::decode(&*bytes, 0).expect("Failed to open a frame");
[INFO] [stdout]     |                            +
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/frame.rs:491:35
[INFO] [stdout]     |
[INFO] [stdout] 491 | let frame = Frame::decode(&bytes, 0).expect("Failed to open a frame");
[INFO] [stdout]     |             -------------         ^ expected `Seed`, found integer
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/frame.rs:451:12
[INFO] [stdout]     |
[INFO] [stdout] 451 |     pub fn decode(mut src: R, seed: Seed) -> Result<Self, FrameError> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Seed`
[INFO] [stdout]     |
[INFO] [stdout] 491 | let frame = Frame::decode(&bytes, 0.into()).expect("Failed to open a frame");
[INFO] [stdout]     |                                    +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `get_label` exists for struct `Frame<_, &Vec<u8>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/frame.rs:494:10
[INFO] [stdout]     |
[INFO] [stdout] 494 | if frame.get_label() != "Verified".into() {
[INFO] [stdout]     |          ^^^^^^^^^ method cannot be called on `Frame<_, &Vec<u8>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `&Vec<u8>: Reader`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `get_value` exists for struct `Frame<_, &Vec<u8>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/frame.rs:498:15
[INFO] [stdout]     |
[INFO] [stdout] 498 | let _ = frame.get_value(AllocOrd::Manual(bytes.len()));
[INFO] [stdout]     |               ^^^^^^^^^ method cannot be called on `Frame<_, &Vec<u8>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `&Vec<u8>: Reader`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/frame.rs:498:42
[INFO] [stdout]     |
[INFO] [stdout] 498 | let _ = frame.get_value(AllocOrd::Manual(bytes.len()));
[INFO] [stdout]     |                         ---------------- ^^^^^^^^^^^ expected `isize`, found `usize`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> src/region.rs:143:5
[INFO] [stdout]     |
[INFO] [stdout] 143 |     Manual(isize),
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 498 | let _ = frame.get_value(AllocOrd::Manual(bytes.len().try_into().unwrap()));
[INFO] [stdout]     |                                                     ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/cursor.rs - cursor::CursorView (line 184)
[INFO] [stdout]     src/decode.rs - decode::StreamDecoder (line 134)
[INFO] [stdout]     src/decode.rs - decode::StreamDecoder<R>::new (line 177)
[INFO] [stdout]     src/decode.rs - decode::StreamDecoder<R>::relocate (line 216)
[INFO] [stdout]     src/encode.rs - encode::StreamEncoder (line 182)
[INFO] [stdout]     src/encode.rs - encode::StreamEncoder<W>::relocate (line 266)
[INFO] [stdout]     src/frame.rs - frame::Frame<T,R>::get_value (line 485)
[INFO] [stdout]     src/lib.rs - (line 12)
[INFO] [stdout]     src/lib.rs - (line 70)
[INFO] [stdout]     src/region.rs - region::AllocOrd (line 120)
[INFO] [stdout]     src/region.rs - region::Seed (line 38)
[INFO] [stdout]     src/region.rs - region::Seed (line 49)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "4c573a5461329eb168d296c1f681899ca9fccebb25d62dc714c018f1b93fffa1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c573a5461329eb168d296c1f681899ca9fccebb25d62dc714c018f1b93fffa1", kill_on_drop: false }`
[INFO] [stdout] 4c573a5461329eb168d296c1f681899ca9fccebb25d62dc714c018f1b93fffa1
