[INFO] cloning repository https://github.com/erickpoppe/sniffer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erickpoppe/sniffer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferickpoppe%2Fsniffer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferickpoppe%2Fsniffer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dca3368afcd40ce7d2023e0661c0fa6272dcddba [INFO] checking erickpoppe/sniffer/dca3368afcd40ce7d2023e0661c0fa6272dcddba against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferickpoppe%2Fsniffer" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erickpoppe/sniffer on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erickpoppe/sniffer [INFO] finished tweaking git repo https://github.com/erickpoppe/sniffer [INFO] tweaked toml for git repo https://github.com/erickpoppe/sniffer written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/erickpoppe/sniffer 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.3.17 [INFO] [stderr] Downloaded rusticata-macros v0.3.3 [INFO] [stderr] Downloaded users v0.6.0 [INFO] [stderr] Downloaded arrayref v0.3.4 [INFO] [stderr] Downloaded reduce v0.1.1 [INFO] [stderr] Downloaded cookie-factory v0.2.2 [INFO] [stderr] Downloaded textwrap v0.8.0 [INFO] [stderr] Downloaded term_size v0.3.0 [INFO] [stderr] Downloaded base64 v0.7.0 [INFO] [stderr] Downloaded serde_derive v1.0.15 [INFO] [stderr] Downloaded seccomp-sys v0.1.2 [INFO] [stderr] Downloaded dhcp4r v0.1.0 [INFO] [stderr] Downloaded nom v3.2.0 [INFO] [stderr] Downloaded tls-parser v0.5.0 [INFO] [stderr] Downloaded byteorder v0.4.2 [INFO] [stderr] Downloaded dns-parser v0.7.0 [INFO] [stderr] Downloaded serde_derive_internals v0.16.0 [INFO] [stderr] Downloaded clap v2.26.2 [INFO] [stderr] Downloaded libc v0.2.32 [INFO] [stderr] Downloaded threadpool v1.7.0 [INFO] [stderr] Downloaded pktparse v0.2.1 [INFO] [stderr] Downloaded serde v1.0.15 [INFO] [stderr] Downloaded toml v0.4.5 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3db86985a0af6ebca596662431e6d07e3d6178d83f11f47641d38bbb28510733 [INFO] running `Command { std: "docker" "start" "-a" "3db86985a0af6ebca596662431e6d07e3d6178d83f11f47641d38bbb28510733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3db86985a0af6ebca596662431e6d07e3d6178d83f11f47641d38bbb28510733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db86985a0af6ebca596662431e6d07e3d6178d83f11f47641d38bbb28510733", kill_on_drop: false }` [INFO] [stdout] 3db86985a0af6ebca596662431e6d07e3d6178d83f11f47641d38bbb28510733 [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=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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93d16b80598d46b29fd508570f627aacbb05f58379a8fa50e2378410f6659f8e [INFO] running `Command { std: "docker" "start" "-a" "93d16b80598d46b29fd508570f627aacbb05f58379a8fa50e2378410f6659f8e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.32 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Compiling pcap v0.7.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking cookie-factory v0.2.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking serde v1.0.15 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking quick-error v1.2.1 [INFO] [stderr] Checking phf_shared v0.7.21 [INFO] [stderr] Checking log v0.3.8 [INFO] [stderr] Checking matches v0.1.6 [INFO] [stderr] Checking arrayref v0.3.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking reduce v0.1.1 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking phf v0.7.21 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking dns-parser v0.7.0 [INFO] [stderr] Compiling rand v0.3.17 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking atty v0.2.3 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking users v0.6.0 [INFO] [stderr] Checking seccomp-sys v0.1.2 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking base64 v0.7.0 [INFO] [stderr] Checking textwrap v0.8.0 [INFO] [stderr] Checking threadpool v1.7.0 [INFO] [stderr] Checking nom v3.2.0 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking clap v2.26.2 [INFO] [stderr] Checking dhcp4r v0.1.0 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling serde_derive_internals v0.16.0 [INFO] [stderr] Compiling tls-parser v0.5.0 [INFO] [stderr] Checking rusticata-macros v0.3.3 [INFO] [stderr] Checking pktparse v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.15 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking toml v0.4.5 [INFO] [stderr] Checking sniffglue v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/nom_http.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | 128...255 => false, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/nom_http.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | 0...31 => false, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/nom_http.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | 128...255 => false, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/nom_http.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | 0...31 => false, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/nom_http.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | 128...255 => false, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/nom_http.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | 0...31 => false, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/nom_http.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | 128...255 => false, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/nom_http.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | 0...31 => false, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/sandbox/config.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | match env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/sandbox/config.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | match env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | fn activate(self) -> Capture { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | fn activate(self) -> Capture { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | fn activate(self) -> Capture { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | fn activate(self) -> Capture { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/fmt.rs:195:46 [INFO] [stdout] | [INFO] [stdout] 195 | ... .reduce(|a, b| a + &align(out.len(), &b)) [INFO] [stdout] | ^^^^^^ multiple `reduce` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `std::iter::Map` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 193 ~ match Reduce::reduce(req.questions.iter() [INFO] [stdout] 194 + .map(|x| format!("{:?}", x)), |a, b| a + &align(out.len(), &b)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 193 ~ match Iterator::reduce(req.questions.iter() [INFO] [stdout] 194 + .map(|x| format!("{:?}", x)), |a, b| a + &align(out.len(), &b)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/fmt.rs:195:57 [INFO] [stdout] | [INFO] [stdout] 195 | ... .reduce(|a, b| a + &align(out.len(), &b)) [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/fmt.rs:197:50 [INFO] [stdout] | [INFO] [stdout] 197 | ... Some(dns) => out += &dns, [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/fmt.rs:197:45 [INFO] [stdout] | [INFO] [stdout] 197 | ... Some(dns) => out += &dns, [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `std::prelude::v1::Some` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/fmt.rs:206:46 [INFO] [stdout] | [INFO] [stdout] 206 | ... .reduce(|a, b| a + &align(out.len(), &b)) [INFO] [stdout] | ^^^^^^ multiple `reduce` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `std::iter::Map` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 204 ~ match Reduce::reduce(resp.answers.iter() [INFO] [stdout] 205 + .map(|x| format!("{:?}", x)), |a, b| a + &align(out.len(), &b)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 204 ~ match Iterator::reduce(resp.answers.iter() [INFO] [stdout] 205 + .map(|x| format!("{:?}", x)), |a, b| a + &align(out.len(), &b)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/fmt.rs:195:46 [INFO] [stdout] | [INFO] [stdout] 195 | ... .reduce(|a, b| a + &align(out.len(), &b)) [INFO] [stdout] | ^^^^^^ multiple `reduce` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `std::iter::Map` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 193 ~ match Reduce::reduce(req.questions.iter() [INFO] [stdout] 194 + .map(|x| format!("{:?}", x)), |a, b| a + &align(out.len(), &b)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 193 ~ match Iterator::reduce(req.questions.iter() [INFO] [stdout] 194 + .map(|x| format!("{:?}", x)), |a, b| a + &align(out.len(), &b)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/fmt.rs:206:57 [INFO] [stdout] | [INFO] [stdout] 206 | ... .reduce(|a, b| a + &align(out.len(), &b)) [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/fmt.rs:208:50 [INFO] [stdout] | [INFO] [stdout] 208 | ... Some(dns) => out += &dns, [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/fmt.rs:208:45 [INFO] [stdout] | [INFO] [stdout] 208 | ... Some(dns) => out += &dns, [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `std::prelude::v1::Some` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/fmt.rs:195:57 [INFO] [stdout] | [INFO] [stdout] 195 | ... .reduce(|a, b| a + &align(out.len(), &b)) [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/fmt.rs:197:50 [INFO] [stdout] | [INFO] [stdout] 197 | ... Some(dns) => out += &dns, [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/fmt.rs:197:45 [INFO] [stdout] | [INFO] [stdout] 197 | ... Some(dns) => out += &dns, [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `std::prelude::v1::Some` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/fmt.rs:206:46 [INFO] [stdout] | [INFO] [stdout] 206 | ... .reduce(|a, b| a + &align(out.len(), &b)) [INFO] [stdout] | ^^^^^^ multiple `reduce` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `std::iter::Map` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 204 ~ match Reduce::reduce(resp.answers.iter() [INFO] [stdout] 205 + .map(|x| format!("{:?}", x)), |a, b| a + &align(out.len(), &b)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 204 ~ match Iterator::reduce(resp.answers.iter() [INFO] [stdout] 205 + .map(|x| format!("{:?}", x)), |a, b| a + &align(out.len(), &b)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/fmt.rs:206:57 [INFO] [stdout] | [INFO] [stdout] 206 | ... .reduce(|a, b| a + &align(out.len(), &b)) [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/fmt.rs:208:50 [INFO] [stdout] | [INFO] [stdout] 208 | ... Some(dns) => out += &dns, [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/fmt.rs:208:45 [INFO] [stdout] | [INFO] [stdout] 208 | ... Some(dns) => out += &dns, [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `std::prelude::v1::Some` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/fmt.rs:345:10 [INFO] [stdout] | [INFO] [stdout] 345 | .reduce(|a, b| a + ", " + &b) [INFO] [stdout] | ^^^^^^ multiple `reduce` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `FilterMap` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 336 ~ match Iterator::reduce(list.into_iter() [INFO] [stdout] 337 + .filter_map(|&(key, ref value)| { [INFO] [stdout] 338 + match *value { [INFO] [stdout] 339 + Some(ref value) => { [INFO] [stdout] 340 + Some(format!("{}: {:?}", key, value)) [INFO] [stdout] 341 + }, [INFO] [stdout] 342 + None => None, [INFO] [stdout] 343 + } [INFO] [stdout] 344 + }), |a, b| a + ", " + &b) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 336 ~ match Reduce::reduce(list.into_iter() [INFO] [stdout] 337 + .filter_map(|&(key, ref value)| { [INFO] [stdout] 338 + match *value { [INFO] [stdout] 339 + Some(ref value) => { [INFO] [stdout] 340 + Some(format!("{}: {:?}", key, value)) [INFO] [stdout] 341 + }, [INFO] [stdout] 342 + None => None, [INFO] [stdout] 343 + } [INFO] [stdout] 344 + }), |a, b| a + ", " + &b) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/fmt.rs:369:10 [INFO] [stdout] | [INFO] [stdout] 369 | .reduce(|a, b| a + ", " + &b) [INFO] [stdout] | ^^^^^^ multiple `reduce` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `FilterMap` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 354 ~ match Iterator::reduce(list.into_iter() [INFO] [stdout] 355 + .filter_map(|&(key, ref value)| { [INFO] [stdout] 356 + match *value { [INFO] [stdout] 357 + Some(ref value) => { [INFO] [stdout] 358 + let value = match *value { [INFO] [stdout] 359 + DhcpOption::String(ref value) => format!("{:?}", value), [INFO] [stdout] 360 + DhcpOption::IPv4(ref value) => format!("{:?}", value), [INFO] [stdout] 361 + DhcpOption::Bytes(ref value) => format!("{:?}", value), [INFO] [stdout] 362 + }; [INFO] [stdout] 363 + [INFO] [stdout] 364 + Some(format!("{}: {}", key, value)) [INFO] [stdout] 365 + }, [INFO] [stdout] 366 + None => None, [INFO] [stdout] 367 + } [INFO] [stdout] 368 + }), |a, b| a + ", " + &b) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 354 ~ match Reduce::reduce(list.into_iter() [INFO] [stdout] 355 + .filter_map(|&(key, ref value)| { [INFO] [stdout] 356 + match *value { [INFO] [stdout] 357 + Some(ref value) => { [INFO] [stdout] 358 + let value = match *value { [INFO] [stdout] 359 + DhcpOption::String(ref value) => format!("{:?}", value), [INFO] [stdout] 360 + DhcpOption::IPv4(ref value) => format!("{:?}", value), [INFO] [stdout] 361 + DhcpOption::Bytes(ref value) => format!("{:?}", value), [INFO] [stdout] 362 + }; [INFO] [stdout] 363 + [INFO] [stdout] 364 + Some(format!("{}: {}", key, value)) [INFO] [stdout] 365 + }, [INFO] [stdout] 366 + None => None, [INFO] [stdout] 367 + } [INFO] [stdout] 368 + }), |a, b| a + ", " + &b) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/fmt.rs:345:10 [INFO] [stdout] | [INFO] [stdout] 345 | .reduce(|a, b| a + ", " + &b) [INFO] [stdout] | ^^^^^^ multiple `reduce` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `FilterMap` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 336 ~ match Iterator::reduce(list.into_iter() [INFO] [stdout] 337 + .filter_map(|&(key, ref value)| { [INFO] [stdout] 338 + match *value { [INFO] [stdout] 339 + Some(ref value) => { [INFO] [stdout] 340 + Some(format!("{}: {:?}", key, value)) [INFO] [stdout] 341 + }, [INFO] [stdout] 342 + None => None, [INFO] [stdout] 343 + } [INFO] [stdout] 344 + }), |a, b| a + ", " + &b) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 336 ~ match Reduce::reduce(list.into_iter() [INFO] [stdout] 337 + .filter_map(|&(key, ref value)| { [INFO] [stdout] 338 + match *value { [INFO] [stdout] 339 + Some(ref value) => { [INFO] [stdout] 340 + Some(format!("{}: {:?}", key, value)) [INFO] [stdout] 341 + }, [INFO] [stdout] 342 + None => None, [INFO] [stdout] 343 + } [INFO] [stdout] 344 + }), |a, b| a + ", " + &b) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/fmt.rs:369:10 [INFO] [stdout] | [INFO] [stdout] 369 | .reduce(|a, b| a + ", " + &b) [INFO] [stdout] | ^^^^^^ multiple `reduce` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `FilterMap` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 354 ~ match Iterator::reduce(list.into_iter() [INFO] [stdout] 355 + .filter_map(|&(key, ref value)| { [INFO] [stdout] 356 + match *value { [INFO] [stdout] 357 + Some(ref value) => { [INFO] [stdout] 358 + let value = match *value { [INFO] [stdout] 359 + DhcpOption::String(ref value) => format!("{:?}", value), [INFO] [stdout] 360 + DhcpOption::IPv4(ref value) => format!("{:?}", value), [INFO] [stdout] 361 + DhcpOption::Bytes(ref value) => format!("{:?}", value), [INFO] [stdout] 362 + }; [INFO] [stdout] 363 + [INFO] [stdout] 364 + Some(format!("{}: {}", key, value)) [INFO] [stdout] 365 + }, [INFO] [stdout] 366 + None => None, [INFO] [stdout] 367 + } [INFO] [stdout] 368 + }), |a, b| a + ", " + &b) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 354 ~ match Reduce::reduce(list.into_iter() [INFO] [stdout] 355 + .filter_map(|&(key, ref value)| { [INFO] [stdout] 356 + match *value { [INFO] [stdout] 357 + Some(ref value) => { [INFO] [stdout] 358 + let value = match *value { [INFO] [stdout] 359 + DhcpOption::String(ref value) => format!("{:?}", value), [INFO] [stdout] 360 + DhcpOption::IPv4(ref value) => format!("{:?}", value), [INFO] [stdout] 361 + DhcpOption::Bytes(ref value) => format!("{:?}", value), [INFO] [stdout] 362 + }; [INFO] [stdout] 363 + [INFO] [stdout] 364 + Some(format!("{}: {}", key, value)) [INFO] [stdout] 365 + }, [INFO] [stdout] 366 + None => None, [INFO] [stdout] 367 + } [INFO] [stdout] 368 + }), |a, b| a + ", " + &b) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reduce::Reduce` [INFO] [stdout] --> src/fmt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use reduce::Reduce; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reduce::Reduce` [INFO] [stdout] --> src/fmt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use reduce::Reduce; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sniffglue` (bin "sniffglue") due to 11 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sniffglue` (bin "sniffglue" test) due to 11 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "93d16b80598d46b29fd508570f627aacbb05f58379a8fa50e2378410f6659f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93d16b80598d46b29fd508570f627aacbb05f58379a8fa50e2378410f6659f8e", kill_on_drop: false }` [INFO] [stdout] 93d16b80598d46b29fd508570f627aacbb05f58379a8fa50e2378410f6659f8e