[INFO] fetching crate r-ex 1.0.1...
[INFO] testing r-ex-1.0.1 against 1.75.0 for beta-1.76-1
[INFO] extracting crate r-ex 1.0.1 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate r-ex 1.0.1 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0aaf9035f59dcb8a9c11bc47e52ef26e126615d2d22c8a4c1ca1ead63c315632
[INFO] running `Command { std: "docker" "start" "-a" "0aaf9035f59dcb8a9c11bc47e52ef26e126615d2d22c8a4c1ca1ead63c315632", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0aaf9035f59dcb8a9c11bc47e52ef26e126615d2d22c8a4c1ca1ead63c315632", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0aaf9035f59dcb8a9c11bc47e52ef26e126615d2d22c8a4c1ca1ead63c315632", kill_on_drop: false }`
[INFO] [stdout] 0aaf9035f59dcb8a9c11bc47e52ef26e126615d2d22c8a4c1ca1ead63c315632
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2512de1ed710cb281945c0a11184d2dbddc4f5cf9d771947df514ac46cbcbcbe
[INFO] running `Command { std: "docker" "start" "-a" "2512de1ed710cb281945c0a11184d2dbddc4f5cf9d771947df514ac46cbcbcbe", kill_on_drop: false }`
[INFO] [stderr]    Compiling r-ex v1.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.05s
[INFO] running `Command { std: "docker" "inspect" "2512de1ed710cb281945c0a11184d2dbddc4f5cf9d771947df514ac46cbcbcbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2512de1ed710cb281945c0a11184d2dbddc4f5cf9d771947df514ac46cbcbcbe", kill_on_drop: false }`
[INFO] [stdout] 2512de1ed710cb281945c0a11184d2dbddc4f5cf9d771947df514ac46cbcbcbe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f263d6f01f00f813ef6d4237ff322307603c049d4530e6575026c8db0a5319be
[INFO] running `Command { std: "docker" "start" "-a" "f263d6f01f00f813ef6d4237ff322307603c049d4530e6575026c8db0a5319be", kill_on_drop: false }`
[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)]` 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]    |                                       ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                 ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                         ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                     ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                       ^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                 ^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                         ^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                     ^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                       ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                 ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                         ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                     ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                       ^^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                 ^^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                         ^^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                     ^^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 14 +     use crate::copy_from::CopyFrom;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method 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]    |                     ^^^^^^ method not found in `[u8; 2]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                             ^^^^^ method not found in `[u8; 2]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 2]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 4]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                             ^^^^^ method not found in `[u8; 4]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 4]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 8]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                             ^^^^^ method not found in `[u8; 8]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 8]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 16]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                             ^^^^^ method not found in `[u8; 16]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 16]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 2]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                             ^^^^^ method not found in `[u8; 2]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 2]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 4]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                             ^^^^^ method not found in `[u8; 4]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 4]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 8]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                             ^^^^^ method not found in `[u8; 8]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 8]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 16]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                             ^^^^^ method not found in `[u8; 16]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 16]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_arr` found for struct `BufRef` 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 25 +     use crate::from_arr::FromArr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_arr_mut` found for struct `BufRefMut` 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 25 +     use crate::from_arr::FromArrMut;
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 27 +     use crate::from_ref::FromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 36 |         u16::from_be(&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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 27 +     use crate::from_ref::FromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 40 |         u16::from_be(&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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let (head, tail) = buf.split::<0>().unwrap();
[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: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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let (head, tail) = buf.split::<2>().unwrap();
[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: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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let x = buf.split::<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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let (head, tail) = buf.split::<0>().unwrap();
[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: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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let (head, tail) = buf.split::<2>().unwrap();
[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: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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let x = buf.split::<4>();
[INFO] [stdout]    |                     ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 91 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `r-ex` (lib test) due to 92 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f263d6f01f00f813ef6d4237ff322307603c049d4530e6575026c8db0a5319be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f263d6f01f00f813ef6d4237ff322307603c049d4530e6575026c8db0a5319be", kill_on_drop: false }`
[INFO] [stdout] f263d6f01f00f813ef6d4237ff322307603c049d4530e6575026c8db0a5319be
[INFO] testing r-ex-1.0.1 against beta-2023-12-22 for beta-1.76-1
[INFO] extracting crate r-ex 1.0.1 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate r-ex 1.0.1 on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "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" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a9b59ec7adc02b4d58c242cf193ea1be69dddae400209fc8fd7eddf344e0d37d
[INFO] running `Command { std: "docker" "start" "-a" "a9b59ec7adc02b4d58c242cf193ea1be69dddae400209fc8fd7eddf344e0d37d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a9b59ec7adc02b4d58c242cf193ea1be69dddae400209fc8fd7eddf344e0d37d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9b59ec7adc02b4d58c242cf193ea1be69dddae400209fc8fd7eddf344e0d37d", kill_on_drop: false }`
[INFO] [stdout] a9b59ec7adc02b4d58c242cf193ea1be69dddae400209fc8fd7eddf344e0d37d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 55249e8760d071b5359f24b64fd622b8346bade55a4095f74113bbaf5341ae2d
[INFO] running `Command { std: "docker" "start" "-a" "55249e8760d071b5359f24b64fd622b8346bade55a4095f74113bbaf5341ae2d", kill_on_drop: false }`
[INFO] [stderr]    Compiling r-ex v1.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.05s
[INFO] running `Command { std: "docker" "inspect" "55249e8760d071b5359f24b64fd622b8346bade55a4095f74113bbaf5341ae2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55249e8760d071b5359f24b64fd622b8346bade55a4095f74113bbaf5341ae2d", kill_on_drop: false }`
[INFO] [stdout] 55249e8760d071b5359f24b64fd622b8346bade55a4095f74113bbaf5341ae2d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eec2e9c2d004699da2a26a8ebb079abd53617545d4789f1c100a9f2a845a327d
[INFO] running `Command { std: "docker" "start" "-a" "eec2e9c2d004699da2a26a8ebb079abd53617545d4789f1c100a9f2a845a327d", kill_on_drop: false }`
[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)]` 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]    |                                       ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                 ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                         ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                     ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                       ^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                 ^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                         ^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                     ^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                       ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                 ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                         ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                     ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                       ^^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                 ^^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                         ^^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                     ^^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 14 +     use crate::copy_from::CopyFrom;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method 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]    |                     ^^^^^^ method not found in `[u8; 2]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                             ^^^^^ method not found in `[u8; 2]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 2]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 4]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                             ^^^^^ method not found in `[u8; 4]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 4]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 8]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                             ^^^^^ method not found in `[u8; 8]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 8]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 16]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                             ^^^^^ method not found in `[u8; 16]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 16]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 2]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                             ^^^^^ method not found in `[u8; 2]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 2]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 4]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                             ^^^^^ method not found in `[u8; 4]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 4]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 8]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                             ^^^^^ method not found in `[u8; 8]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 8]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 16]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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]    |                                             ^^^^^ method not found in `[u8; 16]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[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]    |                     ^^^^^^ method not found in `[u8; 16]`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_arr` found for struct `BufRef` 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 25 +     use crate::from_arr::FromArr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_arr_mut` found for struct `BufRefMut` 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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 25 +     use crate::from_arr::FromArrMut;
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 27 +     use crate::from_ref::FromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 36 |         u16::from_be(&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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 27 +     use crate::from_ref::FromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 40 |         u16::from_be(&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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let (head, tail) = buf.split::<0>().unwrap();
[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: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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let (head, tail) = buf.split::<2>().unwrap();
[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: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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let x = buf.split::<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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let (head, tail) = buf.split::<0>().unwrap();
[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: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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let (head, tail) = buf.split::<2>().unwrap();
[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: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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let x = buf.split::<4>();
[INFO] [stdout]    |                     ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 91 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `r-ex` (lib test) due to 92 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "eec2e9c2d004699da2a26a8ebb079abd53617545d4789f1c100a9f2a845a327d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eec2e9c2d004699da2a26a8ebb079abd53617545d4789f1c100a9f2a845a327d", kill_on_drop: false }`
[INFO] [stdout] eec2e9c2d004699da2a26a8ebb079abd53617545d4789f1c100a9f2a845a327d
