[INFO] fetching crate r-ex 1.0.1...
[INFO] testing r-ex-1.0.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate r-ex 1.0.1 into /workspace/builds/worker-0-tc2/source
[INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml
[INFO] started tweaking crates.io crate r-ex 1.0.1
[INFO] finished tweaking crates.io crate r-ex 1.0.1
[INFO] tweaked toml for crates.io crate r-ex 1.0.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate r-ex 1.0.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6ba71f5c1e14d65f3afaaada361acf19069082200bc806b529877f4e57a332da
[INFO] running `Command { std: "docker" "start" "-a" "6ba71f5c1e14d65f3afaaada361acf19069082200bc806b529877f4e57a332da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6ba71f5c1e14d65f3afaaada361acf19069082200bc806b529877f4e57a332da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ba71f5c1e14d65f3afaaada361acf19069082200bc806b529877f4e57a332da", kill_on_drop: false }`
[INFO] [stdout] 6ba71f5c1e14d65f3afaaada361acf19069082200bc806b529877f4e57a332da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7a3cb945feb53ab53f17e609064dd7cb132f95d9604b344064e737bd5603fef8
[INFO] running `Command { std: "docker" "start" "-a" "7a3cb945feb53ab53f17e609064dd7cb132f95d9604b344064e737bd5603fef8", kill_on_drop: false }`
[INFO] [stderr]    Compiling r-ex v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `Carve` is never used
[INFO] [stdout]  --> src/carve.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Carve<T: Sized + Copy> {
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Carved` is never used
[INFO] [stdout]   --> src/carve.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Carved<T: Sized + Copy> {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CopyFrom` is never used
[INFO] [stdout]  --> src/copy_from.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait CopyFrom<T: Sized + Copy, const N: usize> {
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EndianAs` is never used
[INFO] [stdout]  --> src/endian.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait EndianAs<T> {
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EndianFromRef` is never used
[INFO] [stdout]  --> src/endian.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait EndianFromRef<T, U> {
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EndianSet` is never used
[INFO] [stdout]   --> src/endian.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait EndianSet<T> {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FromArr` is never used
[INFO] [stdout]  --> src/from_arr.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait FromArr<'a, T: 'a, const N: usize, U: 'a> {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FromArrMut` is never used
[INFO] [stdout]   --> src/from_arr.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait FromArrMut<'a, T: 'a, const N: usize, U: 'a> {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FromRef` is never used
[INFO] [stdout]  --> src/from_ref.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait FromRef<T>: Sized {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RefInto` is never used
[INFO] [stdout]   --> src/from_ref.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait RefInto<T: Sized>: Clone {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Splice` is never used
[INFO] [stdout]  --> src/splice.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Splice<T: Sized> {
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] running `Command { std: "docker" "inspect" "7a3cb945feb53ab53f17e609064dd7cb132f95d9604b344064e737bd5603fef8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a3cb945feb53ab53f17e609064dd7cb132f95d9604b344064e737bd5603fef8", kill_on_drop: false }`
[INFO] [stdout] 7a3cb945feb53ab53f17e609064dd7cb132f95d9604b344064e737bd5603fef8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7929015410f338ed9c80489e31109f3bbca5711b55e62d7b2f46cf543aca3fea
[INFO] running `Command { std: "docker" "start" "-a" "7929015410f338ed9c80489e31109f3bbca5711b55e62d7b2f46cf543aca3fea", kill_on_drop: false }`
[INFO] [stdout] warning: trait `Carve` is never used
[INFO] [stdout]  --> src/carve.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Carve<T: Sized + Copy> {
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Carved` is never used
[INFO] [stdout]   --> src/carve.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Carved<T: Sized + Copy> {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CopyFrom` is never used
[INFO] [stdout]  --> src/copy_from.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait CopyFrom<T: Sized + Copy, const N: usize> {
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EndianAs` is never used
[INFO] [stdout]  --> src/endian.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait EndianAs<T> {
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EndianFromRef` is never used
[INFO] [stdout]  --> src/endian.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait EndianFromRef<T, U> {
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EndianSet` is never used
[INFO] [stdout]   --> src/endian.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait EndianSet<T> {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FromArr` is never used
[INFO] [stdout]  --> src/from_arr.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait FromArr<'a, T: 'a, const N: usize, U: 'a> {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FromArrMut` is never used
[INFO] [stdout]   --> src/from_arr.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait FromArrMut<'a, T: 'a, const N: usize, U: 'a> {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FromRef` is never used
[INFO] [stdout]  --> src/from_ref.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait FromRef<T>: Sized {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RefInto` is never used
[INFO] [stdout]   --> src/from_ref.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait RefInto<T: Sized>: Clone {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Splice` is never used
[INFO] [stdout]  --> src/splice.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Splice<T: Sized> {
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling r-ex v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/carve.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/copy_from.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/endian.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/from_arr.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/from_ref.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/splice.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:43:39
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn carve<const N: usize>(&self, offset: usize) -> Option<&[T; N]>;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 43 |         assert_eq!(&[1, 2, 3, 4], buf.carve(0).unwrap());
[INFO] [stdout]    |                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `carved` with a similar name, but with different arguments
[INFO] [stdout]   --> src/carve.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Carve` which provides `carve` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:44:33
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn carve<const N: usize>(&self, offset: usize) -> Option<&[T; N]>;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 44 |         assert_eq!(&[3, 4], buf.carve(2).unwrap());
[INFO] [stdout]    |                                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `carved` with a similar name, but with different arguments
[INFO] [stdout]   --> src/carve.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Carve` which provides `carve` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:45:41
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn carve<const N: usize>(&self, offset: usize) -> Option<&[T; N]>;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 45 |         assert_eq!(&[] as &[u8; 0], buf.carve(4).unwrap());
[INFO] [stdout]    |                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `carved` with a similar name, but with different arguments
[INFO] [stdout]   --> src/carve.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Carve` which provides `carve` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn carve<const N: usize>(&self, offset: usize) -> Option<&[T; N]>;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 46 |         assert!(buf.carve::<5>(0).is_none());
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `carved` with a similar name, but with different arguments
[INFO] [stdout]   --> src/carve.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Carve` which provides `carve` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:48:39
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn carve_mut<const N: usize>(&mut self, offset: usize) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        --------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 48 |         assert_eq!(&[1, 2, 3, 4], buf.carve_mut(0).unwrap());
[INFO] [stdout]    |                                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `carved_mut` with a similar name, but with different arguments
[INFO] [stdout]   --> src/carve.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Carve` which provides `carve_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:49:33
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn carve_mut<const N: usize>(&mut self, offset: usize) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        --------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 49 |         assert_eq!(&[3, 4], buf.carve_mut(2).unwrap());
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `carved_mut` with a similar name, but with different arguments
[INFO] [stdout]   --> src/carve.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Carve` which provides `carve_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:50:41
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn carve_mut<const N: usize>(&mut self, offset: usize) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        --------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 50 |         assert_eq!(&[] as &[u8; 0], buf.carve_mut(4).unwrap());
[INFO] [stdout]    |                                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `carved_mut` with a similar name, but with different arguments
[INFO] [stdout]   --> src/carve.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Carve` which provides `carve_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn carve_mut<const N: usize>(&mut self, offset: usize) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        --------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 51 |         assert!(buf.carve_mut::<5>(0).is_none());
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `carved_mut` with a similar name, but with different arguments
[INFO] [stdout]   --> src/carve.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Carve` which provides `carve_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:58:39
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 58 |         assert_eq!(&[1, 2, 3, 4], buf.carved().unwrap());
[INFO] [stdout]    |                                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `carve` with a similar name, but with different arguments
[INFO] [stdout]   --> src/carve.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn carve<const N: usize>(&self, offset: usize) -> Option<&[T; N]>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Carved` which provides `carved` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:59:33
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 59 |         assert_eq!(&[1, 2], buf.carved().unwrap());
[INFO] [stdout]    |                                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `carve` with a similar name, but with different arguments
[INFO] [stdout]   --> src/carve.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn carve<const N: usize>(&self, offset: usize) -> Option<&[T; N]>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Carved` which provides `carved` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:60:41
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 60 |         assert_eq!(&[] as &[u8; 0], buf.carved().unwrap());
[INFO] [stdout]    |                                         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `carve` with a similar name, but with different arguments
[INFO] [stdout]   --> src/carve.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn carve<const N: usize>(&self, offset: usize) -> Option<&[T; N]>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Carved` which provides `carved` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 61 |         assert!(buf.carved::<5>().is_none());
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `carve` with a similar name, but with different arguments
[INFO] [stdout]   --> src/carve.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn carve<const N: usize>(&self, offset: usize) -> Option<&[T; N]>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Carved` which provides `carved` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:63:39
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 63 |         assert_eq!(&[1, 2, 3, 4], buf.carved_mut().unwrap());
[INFO] [stdout]    |                                       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `carve_mut` with a similar name, but with different arguments
[INFO] [stdout]   --> src/carve.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn carve_mut<const N: usize>(&mut self, offset: usize) -> Option<&mut [T; N]>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Carved` which provides `carved_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:64:33
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 64 |         assert_eq!(&[1, 2], buf.carved_mut().unwrap());
[INFO] [stdout]    |                                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `carve_mut` with a similar name, but with different arguments
[INFO] [stdout]   --> src/carve.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn carve_mut<const N: usize>(&mut self, offset: usize) -> Option<&mut [T; N]>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Carved` which provides `carved_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:65:41
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |         assert_eq!(&[] as &[u8; 0], buf.carved_mut().unwrap());
[INFO] [stdout]    |                                         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `carve_mut` with a similar name, but with different arguments
[INFO] [stdout]   --> src/carve.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn carve_mut<const N: usize>(&mut self, offset: usize) -> Option<&mut [T; N]>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Carved` which provides `carved_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 66 |         assert!(buf.carved_mut::<5>().is_none());
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `carve_mut` with a similar name, but with different arguments
[INFO] [stdout]   --> src/carve.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn carve_mut<const N: usize>(&mut self, offset: usize) -> Option<&mut [T; N]>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Carved` which provides `carved_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `copy_from` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/copy_from.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn copy_from(&mut self, src: &[T; N]);
[INFO] [stdout]    |        --------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 21 |         buf.copy_from(&val1);
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `CopyFrom` which provides `copy_from` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 14 +     use crate::copy_from::CopyFrom;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `copy_from_slice` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 21 |         buf.copy_from_slice(&val1);
[INFO] [stdout]    |                      ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianSet` which provides `set_be` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianAs` which provides `as_be` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_be_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_be_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianSet` which provides `set_le` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianAs` which provides `as_le` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_le_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_le_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianSet` which provides `set_be` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianAs` which provides `as_be` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u32` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u32`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_be_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u32` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u32`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_be_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianSet` which provides `set_le` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianAs` which provides `as_le` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u32` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u32`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_le_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u32` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u32`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_le_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianSet` which provides `set_be` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianAs` which provides `as_be` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u64` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u64`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_be_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u64` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u64`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_be_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianSet` which provides `set_le` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianAs` which provides `as_le` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u64` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u64`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_le_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u64` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u64`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_le_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianSet` which provides `set_be` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianAs` which provides `as_be` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u128` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u128`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_be_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u128` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u128`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_be_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianSet` which provides `set_le` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianAs` which provides `as_le` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u128` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u128`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_le_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u128` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u128`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_le_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianSet` which provides `set_be` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianAs` which provides `as_be` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i16` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i16`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_be_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i16` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i16`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_be_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianSet` which provides `set_le` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianAs` which provides `as_le` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i16` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i16`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_le_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i16` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i16`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_le_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianSet` which provides `set_be` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianAs` which provides `as_be` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i32` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i32`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_be_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i32` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i32`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_be_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianSet` which provides `set_le` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianAs` which provides `as_le` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i32` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i32`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_le_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i32` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i32`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_le_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianSet` which provides `set_be` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianAs` which provides `as_be` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i64` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i64`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_be_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i64` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i64`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_be_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianSet` which provides `set_le` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianAs` which provides `as_le` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i64` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i64`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_le_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i64` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i64`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_le_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianSet` which provides `set_be` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianAs` which provides `as_be` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i128` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i128`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_be_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i128` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i128`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_be_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianSet` which provides `set_le` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianAs` which provides `as_le` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i128` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i128`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_le_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i128` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i128`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `EndianFromRef` which provides `from_le_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_arr` found for struct `BufRef<'a>` in the current scope
[INFO] [stdout]   --> src/from_arr.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 29 |         struct BufRef<'a> {
[INFO] [stdout]    |         ----------------- function or associated item `from_arr` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 42 |         let _ = BufRef::from_arr(&[0u8; 2]);
[INFO] [stdout]    |                         ^^^^^^^^ function or associated item not found in `BufRef<'_>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromArr` which provides `from_arr` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 25 +     use crate::from_arr::FromArr;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 42 -         let _ = BufRef::from_arr(&[0u8; 2]);
[INFO] [stdout] 42 +         let _ = BufRef::from(&[0u8; 2]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_arr_mut` found for struct `BufRefMut<'a>` in the current scope
[INFO] [stdout]   --> src/from_arr.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 44 |         struct BufRefMut<'a> {
[INFO] [stdout]    |         -------------------- function or associated item `from_arr_mut` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |         let _ = BufRefMut::from_arr_mut(&mut buf);
[INFO] [stdout]    |                            ^^^^^^^^^^^^ function or associated item not found in `BufRefMut<'_>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromArrMut` which provides `from_arr_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 25 +     use crate::from_arr::FromArrMut;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from_ref` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 58 -         let _ = BufRefMut::from_arr_mut(&mut buf);
[INFO] [stdout] 58 +         let _ = BufRefMut::from_ref(&mut buf);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/from_ref.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |         u16::from_ref(&a);
[INFO] [stdout]    |              ^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromRef` which provides `from_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 27 +     use crate::from_ref::FromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from_be_ref` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 36 |         u16::from_be_ref(&a);
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/from_ref.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 |         u16::from_ref(&mut a);
[INFO] [stdout]    |              ^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromRef` which provides `from_ref` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 27 +     use crate::from_ref::FromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from_be_ref` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 40 |         u16::from_be_ref(&mut a);
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:30:32
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn splice<const N: usize>(&self) -> Option<(&[T; N], &[T])>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 30 |         let (head, tail) = buf.splice::<0>().unwrap();
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Splice` which provides `splice` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `splice_mut` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let (head, tail) = buf.splice_mut::<0>().unwrap();
[INFO] [stdout]    |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/splice.rs:31:23
[INFO] [stdout]    |
[INFO] [stdout] 31 |         assert_eq!(0, head.len());
[INFO] [stdout]    |                       ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/splice.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |         assert_eq!(2, tail.len());
[INFO] [stdout]    |                       ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:34:32
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn splice<const N: usize>(&self) -> Option<(&[T; N], &[T])>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 34 |         let (head, tail) = buf.splice::<2>().unwrap();
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Splice` which provides `splice` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `splice_mut` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let (head, tail) = buf.splice_mut::<2>().unwrap();
[INFO] [stdout]    |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/splice.rs:35:23
[INFO] [stdout]    |
[INFO] [stdout] 35 |         assert_eq!(2, head.len());
[INFO] [stdout]    |                       ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/splice.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |         assert_eq!(0, tail.len());
[INFO] [stdout]    |                       ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout]  2 |     fn splice<const N: usize>(&self) -> Option<(&[T; N], &[T])>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 38 |         let x = buf.splice::<4>();
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Splice` which provides `splice` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `splice_mut` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let x = buf.splice_mut::<4>();
[INFO] [stdout]    |                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice_mut` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:41:32
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn splice_mut<const N: usize>(&mut self) -> Option<(&mut [T; N], &mut [T])>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 41 |         let (head, tail) = buf.splice_mut::<0>().unwrap();
[INFO] [stdout]    |                                ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Splice` which provides `splice_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `splice` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 41 -         let (head, tail) = buf.splice_mut::<0>().unwrap();
[INFO] [stdout] 41 +         let (head, tail) = buf.splice::<0>().unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/splice.rs:42:23
[INFO] [stdout]    |
[INFO] [stdout] 42 |         assert_eq!(0, head.len());
[INFO] [stdout]    |                       ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/splice.rs:43:23
[INFO] [stdout]    |
[INFO] [stdout] 43 |         assert_eq!(2, tail.len());
[INFO] [stdout]    |                       ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice_mut` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:45:32
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn splice_mut<const N: usize>(&mut self) -> Option<(&mut [T; N], &mut [T])>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 45 |         let (head, tail) = buf.splice_mut::<2>().unwrap();
[INFO] [stdout]    |                                ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Splice` which provides `splice_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `splice` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 45 -         let (head, tail) = buf.splice_mut::<2>().unwrap();
[INFO] [stdout] 45 +         let (head, tail) = buf.splice::<2>().unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/splice.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |         assert_eq!(2, head.len());
[INFO] [stdout]    |                       ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/splice.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 47 |         assert_eq!(0, tail.len());
[INFO] [stdout]    |                       ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice_mut` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout]  3 |     fn splice_mut<const N: usize>(&mut self) -> Option<(&mut [T; N], &mut [T])>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 49 |         let x = buf.splice_mut::<4>();
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Splice` which provides `splice_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `splice` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 49 -         let x = buf.splice_mut::<4>();
[INFO] [stdout] 49 +         let x = buf.splice::<4>();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `r-ex` (lib test) due to 99 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7929015410f338ed9c80489e31109f3bbca5711b55e62d7b2f46cf543aca3fea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7929015410f338ed9c80489e31109f3bbca5711b55e62d7b2f46cf543aca3fea", kill_on_drop: false }`
[INFO] [stdout] 7929015410f338ed9c80489e31109f3bbca5711b55e62d7b2f46cf543aca3fea
