[INFO] cloning repository https://github.com/brhoades/rusty-dns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brhoades/rusty-dns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrhoades%2Frusty-dns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrhoades%2Frusty-dns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77fed40c978f35cde5960f86584b6fdfebc4e9b4 [INFO] checking brhoades/rusty-dns against master#195ad4830e11a544391abe296b146450dea8411b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrhoades%2Frusty-dns" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brhoades/rusty-dns on toolchain 195ad4830e11a544391abe296b146450dea8411b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brhoades/rusty-dns [INFO] finished tweaking git repo https://github.com/brhoades/rusty-dns [INFO] tweaked toml for git repo https://github.com/brhoades/rusty-dns written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/brhoades/rusty-dns already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b5b8698b3b65ecdb9d79c98a9d33c1f85a73d63d47269c20f527135ee14bb0a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4b5b8698b3b65ecdb9d79c98a9d33c1f85a73d63d47269c20f527135ee14bb0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b5b8698b3b65ecdb9d79c98a9d33c1f85a73d63d47269c20f527135ee14bb0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b5b8698b3b65ecdb9d79c98a9d33c1f85a73d63d47269c20f527135ee14bb0a", kill_on_drop: false }` [INFO] [stdout] 4b5b8698b3b65ecdb9d79c98a9d33c1f85a73d63d47269c20f527135ee14bb0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05e3bfbec33cdec55828039bb59d97f892803c9956499c742fc65d7f934e2aab [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "05e3bfbec33cdec55828039bb59d97f892803c9956499c742fc65d7f934e2aab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking data-encoding v2.1.2 [INFO] [stderr] Checking nibble_vec v0.0.4 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking oorandom v11.1.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling nom v5.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking radix_trie v0.1.6 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking bstr v0.2.11 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking resolv-conf v0.6.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking criterion-plot v0.4.1 [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking plotters v0.2.12 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking backtrace v0.3.44 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.4 [INFO] [stderr] Compiling async-trait v0.1.24 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling enum-as-inner v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking tokio v0.2.11 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Checking thiserror v1.0.11 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking rusty-dns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Incomplete` in this scope [INFO] [stdout] --> src/dns/parse.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | Err(Incomplete(e)) => PResult::Err(failure::format_err!("error parsing u16: {}", e)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use nom::Err::Incomplete; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::complete::take` [INFO] [stdout] --> src/dns/parse.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use nom::{bytes::complete::take, named, number::Endianness, u16}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | let mut msg = dns_forward(&remoteaddr, m.to_bytes()).await?; [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] error[E0308]: mismatched types [INFO] [stdout] --> src/dns/parse.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | Err(Incomplete(e)) => PResult::Err(failure::format_err!("error parsing u16: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `nom::Err`, found struct `failure::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `nom::Err` [INFO] [stdout] found struct `failure::Error` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 63 | ($($arg:tt)*) => { nom::Err::Error($crate::err_msg(format!($($arg)*))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | ($($arg:tt)*) => { Failure($crate::err_msg(format!($($arg)*))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-dns` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "05e3bfbec33cdec55828039bb59d97f892803c9956499c742fc65d7f934e2aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05e3bfbec33cdec55828039bb59d97f892803c9956499c742fc65d7f934e2aab", kill_on_drop: false }` [INFO] [stdout] 05e3bfbec33cdec55828039bb59d97f892803c9956499c742fc65d7f934e2aab