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