[INFO] fetching crate bitwrap_extra 2.0.6...
[INFO] checking bitwrap_extra-2.0.6 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate bitwrap_extra 2.0.6 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate bitwrap_extra 2.0.6 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate bitwrap_extra 2.0.6
[INFO] finished tweaking crates.io crate bitwrap_extra 2.0.6
[INFO] tweaked toml for crates.io crate bitwrap_extra 2.0.6 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate crates.io crate bitwrap_extra 2.0.6 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bitwrap_derive_extra v2.0.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 326cf2538f74a165fbf67dcc4d2197c904136239f4ce6d5301d4e3efb68f26c5
[INFO] running `Command { std: "docker" "start" "-a" "326cf2538f74a165fbf67dcc4d2197c904136239f4ce6d5301d4e3efb68f26c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "326cf2538f74a165fbf67dcc4d2197c904136239f4ce6d5301d4e3efb68f26c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "326cf2538f74a165fbf67dcc4d2197c904136239f4ce6d5301d4e3efb68f26c5", kill_on_drop: false }`
[INFO] [stdout] 326cf2538f74a165fbf67dcc4d2197c904136239f4ce6d5301d4e3efb68f26c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 465a58e3de5769c477e6678b56f68531bb99e4a48c1ec9f08e40fc14390c00f1
[INFO] running `Command { std: "docker" "start" "-a" "465a58e3de5769c477e6678b56f68531bb99e4a48c1ec9f08e40fc14390c00f1", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling bitwrap_derive_extra v2.0.6
[INFO] [stderr]     Checking bitwrap_extra v2.0.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/protocol.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut buffer = vec![0 as u8; len];
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `dataType1` should have a snake case name
[INFO] [stdout]   --> examples/protocol.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     dataType1: u8,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case: `data_type1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `dataType2` should have a snake case name
[INFO] [stdout]   --> examples/protocol.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     dataType2: u8,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case: `data_type2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]   --> tests/readme.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |     #[derive(BitWrap)]
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: message: assertion `left == right` failed: bitwrap not aligned
[INFO] [stdout]              left: 7
[INFO] [stdout]             right: 8
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `vec` in this scope
[INFO] [stdout]   --> tests/no_std.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[derive(Default, BitWrap)]
[INFO] [stdout]    |                       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `BitWrap` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `vec` in this scope
[INFO] [stdout]   --> tests/array.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[derive(Default, BitWrap)]
[INFO] [stdout]    |                       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `BitWrap` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope
[INFO] [stdout]   --> tests/no_std.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[derive(Default, BitWrap)]
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `BitWrap` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope
[INFO] [stdout]   --> tests/array.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[derive(Default, BitWrap)]
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `BitWrap` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> tests/array.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let result = packet.pack(&mut buffer).unwrap();
[INFO] [stdout]    |                         ^^^^ -----------
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              unexpected argument of type `&mut [u8; 5]`
[INFO] [stdout]    |                              help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn pack(&self) -> Result<Vec<u8>, BitWrapError>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> tests/bits.rs:35:25
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let result = packet.pack(&mut buffer).unwrap();
[INFO] [stdout]    |                         ^^^^ -----------
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              unexpected argument of type `&mut Vec<u8>`
[INFO] [stdout]    |                              help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn pack(&self) -> Result<Vec<u8>, BitWrapError>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> tests/no_std.rs:32:25
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let result = packet.pack(&mut buffer).unwrap();
[INFO] [stdout]    |                         ^^^^ -----------
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              unexpected argument of type `&mut [u8; 2]`
[INFO] [stdout]    |                              help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn pack(&self) -> Result<Vec<u8>, BitWrapError>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/protocol_le.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut buffer = vec![0 as u8; len];
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `dataType1` should have a snake case name
[INFO] [stdout]   --> examples/protocol_le.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     dataType1: u8,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case: `data_type1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `dataType2` should have a snake case name
[INFO] [stdout]   --> examples/protocol_le.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     dataType2: u8,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case: `data_type2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> tests/skip.rs:24:25
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let result = packet.pack(&mut buffer).unwrap();
[INFO] [stdout]    |                         ^^^^ -----------
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              unexpected argument of type `&mut [u8; 2]`
[INFO] [stdout]    |                              help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn pack(&self) -> Result<Vec<u8>, BitWrapError>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> tests/nested.rs:41:25
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let result = packet.pack(&mut buffer).unwrap();
[INFO] [stdout]    |                         ^^^^ -----------
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              unexpected argument of type `&mut Vec<u8>`
[INFO] [stdout]    |                              help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn pack(&self) -> Result<Vec<u8>, BitWrapError>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `dataType1` should have a snake case name
[INFO] [stdout]   --> examples/protocol_data_len.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     dataType1: u8,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case: `data_type1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `dataType2` should have a snake case name
[INFO] [stdout]   --> examples/protocol_data_len.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     dataType2: u8,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case: `data_type2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `data_len` in this scope
[INFO] [stdout]  --> tests/vec.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 |         #[bitfield(data_len)]
[INFO] [stdout]   |                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `Vec<u8>` with `usize`
[INFO] [stdout]   --> tests/bits.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     assert_eq!(result, DATA.len());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Vec<u8> == usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `PartialEq<usize>` is not implemented for `Vec<u8>`
[INFO] [stdout]    = help: the following other types implement trait `PartialEq<Rhs>`:
[INFO] [stdout]              <Vec<T, A> as PartialEq<[U; N]>>
[INFO] [stdout]              <Vec<T, A> as PartialEq<[U]>>
[INFO] [stdout]              <Vec<T, A1> as PartialEq<Vec<U, A2>>>
[INFO] [stdout]              <Vec<T, A> as PartialEq<&[U]>>
[INFO] [stdout]              <Vec<T, A> as PartialEq<&mut [U]>>
[INFO] [stdout]              <Vec<T, A> as PartialEq<&[U; N]>>
[INFO] [stdout]    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `data_len` in this scope
[INFO] [stdout]   --> tests/vec.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |         #[bitfield(data_len)]
[INFO] [stdout]    |                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `RangeTo<Vec<u8>>`
[INFO] [stdout]   --> tests/bits.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |     assert_eq!(&buffer[.. result], DATA);
[INFO] [stdout]    |                        ^^^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `RangeTo<Vec<u8>>`, which is required by `Vec<u8>: Index<_>`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              <RangeTo<usize> as SliceIndex<str>>
[INFO] [stdout]              <RangeTo<usize> as SliceIndex<[T]>>
[INFO] [stdout]    = note: required for `Vec<u8>` to implement `Index<RangeTo<Vec<u8>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `RangeTo<Vec<u8>>`
[INFO] [stdout]   --> tests/nested.rs:43:24
[INFO] [stdout]    |
[INFO] [stdout] 43 |     assert_eq!(&buffer[.. result], DATA);
[INFO] [stdout]    |                        ^^^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `RangeTo<Vec<u8>>`, which is required by `Vec<u8>: Index<_>`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              <RangeTo<usize> as SliceIndex<str>>
[INFO] [stdout]              <RangeTo<usize> as SliceIndex<[T]>>
[INFO] [stdout]    = note: required for `Vec<u8>` to implement `Index<RangeTo<Vec<u8>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `alloc::vec::Vec<u8>` with `usize`
[INFO] [stdout]   --> tests/array.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     assert_eq!(result, DATA.len());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `alloc::vec::Vec<u8> == usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `PartialEq<usize>` is not implemented for `alloc::vec::Vec<u8>`
[INFO] [stdout]    = help: the following other types implement trait `PartialEq<Rhs>`:
[INFO] [stdout]              <alloc::vec::Vec<T, A> as PartialEq<[U; N]>>
[INFO] [stdout]              <alloc::vec::Vec<T, A> as PartialEq<[U]>>
[INFO] [stdout]              <alloc::vec::Vec<T, A1> as PartialEq<alloc::vec::Vec<U, A2>>>
[INFO] [stdout]              <alloc::vec::Vec<T, A> as PartialEq<&[U]>>
[INFO] [stdout]              <alloc::vec::Vec<T, A> as PartialEq<&mut [U]>>
[INFO] [stdout]              <alloc::vec::Vec<T, A> as PartialEq<&[U; N]>>
[INFO] [stdout]    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `crc`
[INFO] [stdout]   --> examples/protocol_nested.rs:43:26
[INFO] [stdout]    |
[INFO] [stdout] 43 |     #[bitfield(8, name = crc, value = self.crc())]
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_crc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `vec` in this scope
[INFO] [stdout]   --> tests/convert.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |     #[derive(Default, BitWrap)]
[INFO] [stdout]    |                       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `BitWrap` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `alloc::vec::Vec<u8>` with `usize`
[INFO] [stdout]   --> tests/no_std.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     assert_eq!(result, DATA.len());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `alloc::vec::Vec<u8> == usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `PartialEq<usize>` is not implemented for `alloc::vec::Vec<u8>`
[INFO] [stdout]    = help: the following other types implement trait `PartialEq<Rhs>`:
[INFO] [stdout]              <alloc::vec::Vec<T, A> as PartialEq<[U; N]>>
[INFO] [stdout]              <alloc::vec::Vec<T, A> as PartialEq<[U]>>
[INFO] [stdout]              <alloc::vec::Vec<T, A1> as PartialEq<alloc::vec::Vec<U, A2>>>
[INFO] [stdout]              <alloc::vec::Vec<T, A> as PartialEq<&[U]>>
[INFO] [stdout]              <alloc::vec::Vec<T, A> as PartialEq<&mut [U]>>
[INFO] [stdout]              <alloc::vec::Vec<T, A> as PartialEq<&[U; N]>>
[INFO] [stdout]    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope
[INFO] [stdout]   --> tests/convert.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |     #[derive(Default, BitWrap)]
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `BitWrap` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/protocol_nested.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let mut buffer = vec![0 as u8; len];
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `dataType1` should have a snake case name
[INFO] [stdout]   --> examples/protocol_nested.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     dataType1: u8,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case: `data_type1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `dataType2` should have a snake case name
[INFO] [stdout]   --> examples/protocol_nested.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     dataType2: u8,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case: `data_type2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0412.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `Vec<u8>` with `usize`
[INFO] [stdout]   --> tests/skip.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     assert_eq!(result, DATA.len());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Vec<u8> == usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `PartialEq<usize>` is not implemented for `Vec<u8>`
[INFO] [stdout]    = help: the following other types implement trait `PartialEq<Rhs>`:
[INFO] [stdout]              <Vec<T, A> as PartialEq<[U; N]>>
[INFO] [stdout]              <Vec<T, A> as PartialEq<[U]>>
[INFO] [stdout]              <Vec<T, A1> as PartialEq<Vec<U, A2>>>
[INFO] [stdout]              <Vec<T, A> as PartialEq<&[U]>>
[INFO] [stdout]              <Vec<T, A> as PartialEq<&mut [U]>>
[INFO] [stdout]              <Vec<T, A> as PartialEq<&[U; N]>>
[INFO] [stdout]    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> tests/vec.rs:22:25
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let result = packet.pack(&mut buffer).unwrap();
[INFO] [stdout]    |                         ^^^^ -----------
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              unexpected argument of type `&mut [u8; 5]`
[INFO] [stdout]    |                              help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn pack(&self) -> Result<Vec<u8>, BitWrapError>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `RangeTo<Vec<u8>>`
[INFO] [stdout]   --> tests/skip.rs:27:24
[INFO] [stdout]    |
[INFO] [stdout] 27 |     assert_eq!(&buffer[.. result], DATA);
[INFO] [stdout]    |                        ^^^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `RangeTo<Vec<u8>>`, which is required by `[u8; 2]: Index<_>`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              <RangeTo<usize> as SliceIndex<str>>
[INFO] [stdout]              <RangeTo<usize> as SliceIndex<[T]>>
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<RangeTo<Vec<u8>>>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 2]` to implement `Index<RangeTo<Vec<u8>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `Vec<u8>` with `usize`
[INFO] [stdout]   --> tests/vec.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     assert_eq!(result, DATA.len());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Vec<u8> == usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `PartialEq<usize>` is not implemented for `Vec<u8>`
[INFO] [stdout]    = help: the following other types implement trait `PartialEq<Rhs>`:
[INFO] [stdout]              <Vec<T, A> as PartialEq<[U; N]>>
[INFO] [stdout]              <Vec<T, A> as PartialEq<[U]>>
[INFO] [stdout]              <Vec<T, A1> as PartialEq<Vec<U, A2>>>
[INFO] [stdout]              <Vec<T, A> as PartialEq<&[U]>>
[INFO] [stdout]              <Vec<T, A> as PartialEq<&mut [U]>>
[INFO] [stdout]              <Vec<T, A> as PartialEq<&[U; N]>>
[INFO] [stdout]    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `RangeTo<Vec<u8>>`
[INFO] [stdout]   --> tests/vec.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |     assert_eq!(&buffer[.. result], DATA);
[INFO] [stdout]    |                        ^^^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `RangeTo<Vec<u8>>`, which is required by `[u8; 5]: Index<_>`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              <RangeTo<usize> as SliceIndex<str>>
[INFO] [stdout]              <RangeTo<usize> as SliceIndex<[T]>>
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<RangeTo<Vec<u8>>>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 5]` to implement `Index<RangeTo<Vec<u8>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> tests/convert.rs:71:25
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let result = packet.pack(&mut buffer).unwrap();
[INFO] [stdout]    |                         ^^^^ -----------
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              unexpected argument of type `&mut [u8; 1]`
[INFO] [stdout]    |                              help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn pack(&self) -> Result<Vec<u8>, BitWrapError>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0412.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `RangeTo<alloc::vec::Vec<u8>>`
[INFO] [stdout]   --> tests/convert.rs:73:24
[INFO] [stdout]    |
[INFO] [stdout] 73 |     assert_eq!(&buffer[.. result], DATA);
[INFO] [stdout]    |                        ^^^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `RangeTo<alloc::vec::Vec<u8>>`, which is required by `[u8; 1]: Index<_>`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              <RangeTo<usize> as SliceIndex<str>>
[INFO] [stdout]              <RangeTo<usize> as SliceIndex<[T]>>
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<RangeTo<alloc::vec::Vec<u8>>>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 1]` to implement `Index<RangeTo<alloc::vec::Vec<u8>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bitwrap_extra` (test "no_std") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> tests/vec.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |     assert_eq!(packet.pack(&mut buffer), Err(BitWrapError));
[INFO] [stdout]    |                       ^^^^ -----------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            unexpected argument of type `&mut [u8; 4]`
[INFO] [stdout]    |                            help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn pack(&self) -> Result<Vec<u8>, BitWrapError>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bitwrap_extra` (test "array") due to 5 previous errors
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bitwrap_extra` (test "skip") due to 4 previous errors
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bitwrap_extra` (test "vec") due to 7 previous errors
[INFO] [stdout] error[E0599]: no method named `pack` found for struct `Ipv4Addr` in the current scope
[INFO] [stdout]  --> tests/nested.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 |     #[derive(BitWrap)]
[INFO] [stdout]   |              ^^^^^^^ method not found in `Ipv4Addr`
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the derive macro `BitWrap` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bitwrap_extra` (test "bits") due to 4 previous errors
[INFO] [stdout] error[E0599]: no method named `unpack` found for struct `Packet` in the current scope
[INFO] [stdout]   --> tests/readme.rs:96:25
[INFO] [stdout]    |
[INFO] [stdout] 49 |     struct Packet {
[INFO] [stdout]    |     ------------- method `unpack` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 96 |     let result = packet.unpack(DATA).unwrap();
[INFO] [stdout]    |                         ^^^^^^ method not found in `Packet`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `unpack`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `BitWrapExt`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let result = packet.data.unpack(DATA).unwrap();
[INFO] [stdout]    |                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pack` found for enum `Coffee` in the current scope
[INFO] [stdout]   --> tests/convert.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 15 |     enum Coffee {
[INFO] [stdout]    |     ----------- method `pack` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 56 |     #[derive(Default, BitWrap)]
[INFO] [stdout]    |                       ^^^^^^^ method not found in `Coffee`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `pack`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `bitwrap_extra::BitWrapExt`
[INFO] [stdout]    = note: this error originates in the derive macro `BitWrap` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pack` found for struct `Packet` in the current scope
[INFO] [stdout]    --> tests/readme.rs:107:25
[INFO] [stdout]     |
[INFO] [stdout] 49  |     struct Packet {
[INFO] [stdout]     |     ------------- method `pack` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 107 |     let result = packet.pack(&mut buffer).unwrap();
[INFO] [stdout]     |                         ^^^^ method not found in `Packet`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `pack`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `BitWrapExt`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let result = packet.data.pack(&mut buffer).unwrap();
[INFO] [stdout]     |                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BitWrapExt`
[INFO] [stdout]  --> tests/readme.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |         BitWrapExt,
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bitwrap_extra` (test "readme") due to 4 previous errors; 1 warning emitted
[INFO] [stdout] error[E0599]: no method named `unpack` found for enum `Coffee` in the current scope
[INFO] [stdout]   --> tests/convert.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 15 |     enum Coffee {
[INFO] [stdout]    |     ----------- method `unpack` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 56 |     #[derive(Default, BitWrap)]
[INFO] [stdout]    |                       ^^^^^^^ method not found in `Coffee`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `unpack`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `bitwrap_extra::BitWrapExt`
[INFO] [stdout]    = note: this error originates in the derive macro `BitWrap` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unpack` found for struct `Ipv4Addr` in the current scope
[INFO] [stdout]  --> tests/nested.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 |     #[derive(BitWrap)]
[INFO] [stdout]   |              ^^^^^^^ method not found in `Ipv4Addr`
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the derive macro `BitWrap` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0412, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bitwrap_extra` (test "nested") due to 5 previous errors
[INFO] [stderr] error: could not compile `bitwrap_extra` (test "convert") due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "465a58e3de5769c477e6678b56f68531bb99e4a48c1ec9f08e40fc14390c00f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "465a58e3de5769c477e6678b56f68531bb99e4a48c1ec9f08e40fc14390c00f1", kill_on_drop: false }`
[INFO] [stdout] 465a58e3de5769c477e6678b56f68531bb99e4a48c1ec9f08e40fc14390c00f1
