[INFO] fetching crate dhcp_parser 0.1.0... [INFO] checking dhcp_parser-0.1.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate dhcp_parser 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate dhcp_parser 0.1.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82ecf7d0d218e892155aa85d8b1178ccd1eab6b0e211a45f065d3ad2ef51c610 [INFO] running `Command { std: "docker" "start" "-a" "82ecf7d0d218e892155aa85d8b1178ccd1eab6b0e211a45f065d3ad2ef51c610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82ecf7d0d218e892155aa85d8b1178ccd1eab6b0e211a45f065d3ad2ef51c610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82ecf7d0d218e892155aa85d8b1178ccd1eab6b0e211a45f065d3ad2ef51c610", kill_on_drop: false }` [INFO] [stdout] 82ecf7d0d218e892155aa85d8b1178ccd1eab6b0e211a45f065d3ad2ef51c610 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1a660f15705ff4c75357841c4f9f4289cff2deebf547dccdd08c7286abd35ee [INFO] running `Command { std: "docker" "start" "-a" "b1a660f15705ff4c75357841c4f9f4289cff2deebf547dccdd08c7286abd35ee", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking nom v7.1.3 [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/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[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] 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 `Result<(_, _), Err<_>>` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/cmp.rs:261: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 `Result<(_, _), Err<_>>` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/cmp.rs:261: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 `Result<(_, _), Err<_>>` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/cmp.rs:261:5 [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 `Result<(_, _), Err<_>>` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/cmp.rs:261: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 `Result<(_, _), 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 `Result<(_, _), Err<_>>` [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 `Result<(_, _), Err<_>>` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/cmp.rs:261: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 `Result<(_, _), 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 `Result<(_, _), 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] 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] 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) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dhcp_parser` (lib test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "b1a660f15705ff4c75357841c4f9f4289cff2deebf547dccdd08c7286abd35ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1a660f15705ff4c75357841c4f9f4289cff2deebf547dccdd08c7286abd35ee", kill_on_drop: false }` [INFO] [stdout] b1a660f15705ff4c75357841c4f9f4289cff2deebf547dccdd08c7286abd35ee