[INFO] fetching crate dhcp_parser 0.1.0... [INFO] checking dhcp_parser-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate dhcp_parser 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate dhcp_parser 0.1.0 [INFO] finished tweaking crates.io crate dhcp_parser 0.1.0 [INFO] tweaked toml for crates.io crate dhcp_parser 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dhcp_parser 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e03e70c51353ddb05a6bec12814962c9e51b35178ee9ff892e4013fdc96e89fd [INFO] running `Command { std: "docker" "start" "-a" "e03e70c51353ddb05a6bec12814962c9e51b35178ee9ff892e4013fdc96e89fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e03e70c51353ddb05a6bec12814962c9e51b35178ee9ff892e4013fdc96e89fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e03e70c51353ddb05a6bec12814962c9e51b35178ee9ff892e4013fdc96e89fd", kill_on_drop: false }` [INFO] [stdout] e03e70c51353ddb05a6bec12814962c9e51b35178ee9ff892e4013fdc96e89fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce5902676fa045ad54036245e2a41d9f610e648ae0abd07a31a3c427fd963d96 [INFO] running `Command { std: "docker" "start" "-a" "ce5902676fa045ad54036245e2a41d9f610e648ae0abd07a31a3c427fd963d96", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking dhcp_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `nom::be_u8`, `nom::be_u32`, `nom::be_i32`, `nom::length_value` [INFO] [stdout] --> src/options/parse.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::{be_u8, be_u32, be_i32, length_value, IResult}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^ no `length_value` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `be_i32` in the root [INFO] [stdout] | | no `be_u32` in the root [INFO] [stdout] | no `be_u8` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `nom::be_u8`, `nom::be_u16`, `nom::be_u32` [INFO] [stdout] --> src/lib.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use nom::{IResult, be_u8, be_u16, be_u32}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^ no `be_u32` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `be_u16` in the root [INFO] [stdout] | no `be_u8` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `named` in this scope [INFO] [stdout] --> src/options/parse.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | named!(dhcp_option(&'a [u8]) -> DhcpOption, alt!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `named` in this scope [INFO] [stdout] --> src/lib.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | named!(_parse_message(&'a [u8]) -> RawMessage<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] extern crate nom; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `options::DhcpOption::*` [INFO] [stdout] --> src/options/parse.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use options::DhcpOption::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/options/parse.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use {Result, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IResult` [INFO] [stdout] --> src/options/parse.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::{be_u8, be_u32, be_i32, length_value, IResult}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `From` [INFO] [stdout] --> src/options/parse.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::{From}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr` and `Ipv4Addr` [INFO] [stdout] --> src/options/parse.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::{IpAddr, Ipv4Addr}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::parse::parse` [INFO] [stdout] --> src/options/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::parse::parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `From` [INFO] [stdout] --> src/lib.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use std::convert::{From}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/lib.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | use std::net::{IpAddr, Ipv4Addr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `take_rest` [INFO] [stdout] --> src/lib.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | use self::util::{take_rest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ip_addr` has been stable since 1.7.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(ip_addr)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `nom::be_u8`, `nom::be_u32`, `nom::be_i32`, `nom::length_value` [INFO] [stdout] --> src/options/parse.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::{be_u8, be_u32, be_i32, length_value, IResult}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^ no `length_value` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `be_i32` in the root [INFO] [stdout] | | no `be_u32` in the root [INFO] [stdout] | no `be_u8` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `nom::be_u8`, `nom::be_u16`, `nom::be_u32` [INFO] [stdout] --> src/lib.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use nom::{IResult, be_u8, be_u16, be_u32}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^ no `be_u32` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `be_u16` in the root [INFO] [stdout] | no `be_u8` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `named` in this scope [INFO] [stdout] --> src/options/parse.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | named!(dhcp_option(&'a [u8]) -> DhcpOption, alt!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `named` in this scope [INFO] [stdout] --> src/util.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | named!(parts<&[u8],(&str,&str)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `named` in this scope [INFO] [stdout] --> src/lib.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | named!(_parse_message(&'a [u8]) -> RawMessage<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Done` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/util.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | IResult::Done(b"", input) [INFO] [stdout] | ^^^^ variant or associated item not found in `std::result::Result<(_, _), nom::Err<_>>` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] extern crate nom; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `options::DhcpOption::*` [INFO] [stdout] --> src/options/parse.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use options::DhcpOption::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/options/parse.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use {Result, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IResult` [INFO] [stdout] --> src/options/parse.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::{be_u8, be_u32, be_i32, length_value, IResult}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `From` [INFO] [stdout] --> src/options/parse.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::{From}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr` and `Ipv4Addr` [INFO] [stdout] --> src/options/parse.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::{IpAddr, Ipv4Addr}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dhcp_parser` (lib) due to 9 previous errors; 12 warnings emitted [INFO] [stdout] warning: unused import: `self::parse::parse` [INFO] [stdout] --> src/options/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::parse::parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `take_rest` [INFO] [stdout] --> src/util.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use super::{take_rest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/util.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `From` [INFO] [stdout] --> src/lib.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use std::convert::{From}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/lib.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | use std::net::{IpAddr, Ipv4Addr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `take_rest` [INFO] [stdout] --> src/lib.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | use self::util::{take_rest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `_parse_message` in this scope [INFO] [stdout] --> src/lib.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | match _parse_message(bytes) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ip_addr` has been stable since 1.7.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(ip_addr)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Done` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/lib.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | IResult::Done(inp, msg) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `std::result::Result<(_, _), nom::Err<_>>` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Error` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/lib.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | IResult::Error(err) => { [INFO] [stdout] | ^^^^^ variant or associated item not found in `std::result::Result<(_, _), nom::Err<_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Incomplete` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/lib.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | IResult::Incomplete(_) => { [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `std::result::Result<(_, _), nom::Err<_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/options/parse.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Done` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/util.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | IResult::Done(b"", input) [INFO] [stdout] | ^^^^ variant or associated item not found in `std::result::Result<(_, _), nom::Err<_>>` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parts` in this scope [INFO] [stdout] --> src/util.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(parts(b"abcd:thisistherestofthestring"), IResult::Done(&b""[..], ("abcd", "thisistherestofthestring"))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Done` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/util.rs:38:66 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(parts(b"abcd:thisistherestofthestring"), IResult::Done(&b""[..], ("abcd", "thisistherestofthestring"))); [INFO] [stdout] | ^^^^ variant or associated item not found in `std::result::Result<(_, _), nom::Err<_>>` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `_parse_message` in this scope [INFO] [stdout] --> src/lib.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | match _parse_message(bytes) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Done` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/lib.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | IResult::Done(inp, msg) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `std::result::Result<(_, _), nom::Err<_>>` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Error` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/lib.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | IResult::Error(err) => { [INFO] [stdout] | ^^^^^ variant or associated item not found in `std::result::Result<(_, _), nom::Err<_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Incomplete` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/lib.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | IResult::Incomplete(_) => { [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `std::result::Result<(_, _), nom::Err<_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:243:18 [INFO] [stdout] | [INFO] [stdout] 243 | options: &vec![][..], [INFO] [stdout] | ^^^^^^^^^^^ expected `Vec`, found `&[_]` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found reference `&[_]` [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 243 | options: (&vec![][..]).to_vec(), [INFO] [stdout] | + ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/options/parse.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dhcp_parser` (lib test) due to 13 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ce5902676fa045ad54036245e2a41d9f610e648ae0abd07a31a3c427fd963d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce5902676fa045ad54036245e2a41d9f610e648ae0abd07a31a3c427fd963d96", kill_on_drop: false }` [INFO] [stdout] ce5902676fa045ad54036245e2a41d9f610e648ae0abd07a31a3c427fd963d96