[INFO] fetching crate simple_parse 0.6.3... [INFO] checking simple_parse-0.6.3 against try#f6d7c613ae2d161ff37dbc63cc5abd809c878597 for pr-83850 [INFO] extracting crate simple_parse 0.6.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate simple_parse 0.6.3 on toolchain f6d7c613ae2d161ff37dbc63cc5abd809c878597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate simple_parse 0.6.3 [INFO] finished tweaking crates.io crate simple_parse 0.6.3 [INFO] tweaked toml for crates.io crate simple_parse 0.6.3 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate simple_parse 0.6.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5487ceaeb538bca7c1f24e939a6154a5968bc0d4dc9440226b70e873899153d2 [INFO] running `Command { std: "docker" "start" "-a" "5487ceaeb538bca7c1f24e939a6154a5968bc0d4dc9440226b70e873899153d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5487ceaeb538bca7c1f24e939a6154a5968bc0d4dc9440226b70e873899153d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5487ceaeb538bca7c1f24e939a6154a5968bc0d4dc9440226b70e873899153d2", kill_on_drop: false }` [INFO] [stdout] 5487ceaeb538bca7c1f24e939a6154a5968bc0d4dc9440226b70e873899153d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c723c9dcf5e16727c16650d1b465724c0f7dd423ff6ed38ee520d225dc6ae64 [INFO] running `Command { std: "docker" "start" "-a" "7c723c9dcf5e16727c16650d1b465724c0f7dd423ff6ed38ee520d225dc6ae64", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Compiling darling_core v0.12.2 [INFO] [stderr] Compiling darling_macro v0.12.2 [INFO] [stderr] Compiling darling v0.12.2 [INFO] [stderr] Compiling simple_parse_derive v0.6.3 [INFO] [stderr] Checking simple_parse v0.6.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 244 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:319:1 [INFO] [stdout] | [INFO] [stdout] 319 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:331:1 [INFO] [stdout] | [INFO] [stdout] 331 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:344:1 [INFO] [stdout] | [INFO] [stdout] 344 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:378:1 [INFO] [stdout] | [INFO] [stdout] 378 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/raw.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/reader.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/tests/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/tests/mod.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 244 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:319:1 [INFO] [stdout] | [INFO] [stdout] 319 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:331:1 [INFO] [stdout] | [INFO] [stdout] 331 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:344:1 [INFO] [stdout] | [INFO] [stdout] 344 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/mod.rs:378:1 [INFO] [stdout] | [INFO] [stdout] 378 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/raw.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/default_impls/reader.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 222 | test_primitive!(u8, new_primitive, test_references); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 222 | test_primitive!(u8, new_primitive, test_references); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 222 | test_primitive!(u8, new_primitive, test_references); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 3]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 222 | test_primitive!(u8, new_primitive, test_references); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 3]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 222 | test_primitive!(u8, new_primitive, test_references); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 3]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 222 | test_primitive!(u8, new_primitive, test_references); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 3]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 223 | test_primitive!(u16, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 223 | test_primitive!(u16, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 6]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 223 | test_primitive!(u16, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 6]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 6]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 223 | test_primitive!(u16, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 6]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 6]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 223 | test_primitive!(u16, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 6]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 6]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 223 | test_primitive!(u16, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 6]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 224 | test_primitive!(u32, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 224 | test_primitive!(u32, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 12]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 224 | test_primitive!(u32, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 12]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 12]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 224 | test_primitive!(u32, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 12]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 12]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 224 | test_primitive!(u32, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 12]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 12]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 224 | test_primitive!(u32, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 12]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 225 | test_primitive!(u64, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 225 | test_primitive!(u64, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 225 | test_primitive!(u64, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 225 | test_primitive!(u64, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 225 | test_primitive!(u64, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 225 | test_primitive!(u64, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 226 | test_primitive!(u128, new_primitive, test_references); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 226 | test_primitive!(u128, new_primitive, test_references); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 48]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 226 | test_primitive!(u128, new_primitive, test_references); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 48]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 48]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 226 | test_primitive!(u128, new_primitive, test_references); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 48]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 48]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 226 | test_primitive!(u128, new_primitive, test_references); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 48]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 48]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 226 | test_primitive!(u128, new_primitive, test_references); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 48]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/no_copy.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | let f = File::from_slice(&mut std::io::Cursor::new(&data))?; [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found struct `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn from_slice(src: &mut Cursor<&'b [u8]>) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username_len` [INFO] [stdout] --> examples/inspect.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | username_len: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `LoginInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/inspect.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, SpRead, SpWrite)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `got_session` [INFO] [stdout] --> examples/inspect.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | got_session: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LoginInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/inspect.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, SpRead, SpWrite)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_parse` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 227 | test_primitive!(usize, new_primitive, test_references); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 227 | test_primitive!(usize, new_primitive, test_references); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 227 | test_primitive!(usize, new_primitive, test_references); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 227 | test_primitive!(usize, new_primitive, test_references); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 227 | test_primitive!(usize, new_primitive, test_references); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 227 | test_primitive!(usize, new_primitive, test_references); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 228 | test_primitive!(i8, new_primitive, test_references); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 228 | test_primitive!(i8, new_primitive, test_references); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 228 | test_primitive!(i8, new_primitive, test_references); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 3]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 228 | test_primitive!(i8, new_primitive, test_references); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 3]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 228 | test_primitive!(i8, new_primitive, test_references); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 3]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 228 | test_primitive!(i8, new_primitive, test_references); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 3]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 229 | test_primitive!(i16, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 229 | test_primitive!(i16, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 6]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 229 | test_primitive!(i16, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 6]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 6]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 229 | test_primitive!(i16, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 6]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 6]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 229 | test_primitive!(i16, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 6]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 6]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 229 | test_primitive!(i16, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 6]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 230 | test_primitive!(i32, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 230 | test_primitive!(i32, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 12]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 230 | test_primitive!(i32, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 12]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 12]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 230 | test_primitive!(i32, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 12]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 12]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 230 | test_primitive!(i32, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 12]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 12]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 230 | test_primitive!(i32, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 12]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 231 | test_primitive!(i64, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 231 | test_primitive!(i64, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 231 | test_primitive!(i64, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 231 | test_primitive!(i64, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 231 | test_primitive!(i64, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 231 | test_primitive!(i64, new_primitive, test_references); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 232 | test_primitive!(i128, new_primitive, test_references); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 232 | test_primitive!(i128, new_primitive, test_references); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 48]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 232 | test_primitive!(i128, new_primitive, test_references); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 48]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 48]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 232 | test_primitive!(i128, new_primitive, test_references); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 48]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 48]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 232 | test_primitive!(i128, new_primitive, test_references); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 48]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 48]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 232 | test_primitive!(i128, new_primitive, test_references); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 48]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 233 | test_primitive!(isize, new_primitive, test_references); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 233 | test_primitive!(isize, new_primitive, test_references); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 233 | test_primitive!(isize, new_primitive, test_references); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 233 | test_primitive!(isize, new_primitive, test_references); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 233 | test_primitive!(isize, new_primitive, test_references); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 233 | test_primitive!(isize, new_primitive, test_references); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 235 | test_primitive!(f32, new_float32, test_references); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 235 | test_primitive!(f32, new_float32, test_references); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 12]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 235 | test_primitive!(f32, new_float32, test_references); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 12]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 12]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 235 | test_primitive!(f32, new_float32, test_references); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 12]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 12]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 235 | test_primitive!(f32, new_float32, test_references); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 12]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 12]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 235 | test_primitive!(f32, new_float32, test_references); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 12]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 236 | test_primitive!(f64, new_float64, test_references); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 236 | test_primitive!(f64, new_float64, test_references); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 236 | test_primitive!(f64, new_float64, test_references); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 236 | test_primitive!(f64, new_float64, test_references); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 236 | test_primitive!(f64, new_float64, test_references); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 24]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 236 | test_primitive!(f64, new_float64, test_references); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 24]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 238 | test_primitive!(bool, new_bool); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut empty), &mut ctx), Err(SpError::NotEnoughSpace)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 0]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 238 | test_primitive!(bool, new_bool); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 0]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 238 | test_primitive!(bool, new_bool); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 3]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 238 | test_primitive!(bool, new_bool); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 3]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(<$typ>::inner_from_slice(&mut Cursor::new(&tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 238 | test_primitive!(bool, new_bool); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[u8; 3]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn inner_from_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(<$typ>::inner_from_mut_slice(&mut Cursor::new(&mut tmp), &mut ctx).unwrap(), $new(1)); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[u8; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 238 | test_primitive!(bool, new_bool); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&mut [u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&mut [u8; 3]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn inner_from_mut_slice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 90 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_parse` due to 91 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7c723c9dcf5e16727c16650d1b465724c0f7dd423ff6ed38ee520d225dc6ae64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c723c9dcf5e16727c16650d1b465724c0f7dd423ff6ed38ee520d225dc6ae64", kill_on_drop: false }` [INFO] [stdout] 7c723c9dcf5e16727c16650d1b465724c0f7dd423ff6ed38ee520d225dc6ae64