[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] testing erickpoppe/sniffer against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferickpoppe%2Fsniffer" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erickpoppe/sniffer on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v3.2.0 [INFO] [stderr] Downloaded lazy_static v0.2.9 [INFO] [stderr] Downloaded serde_derive v1.0.15 [INFO] [stderr] Downloaded threadpool v1.7.0 [INFO] [stderr] Downloaded pcap v0.7.0 [INFO] [stderr] Downloaded serde_derive_internals v0.16.0 [INFO] [stderr] Downloaded rand v0.3.17 [INFO] [stderr] Downloaded rusticata-macros v0.3.3 [INFO] [stderr] Downloaded serde v1.0.15 [INFO] [stderr] Downloaded libc v0.2.32 [INFO] [stderr] Downloaded users v0.6.0 [INFO] [stderr] Downloaded dhcp4r v0.1.0 [INFO] [stderr] Downloaded pktparse v0.2.1 [INFO] [stderr] Downloaded cookie-factory v0.2.2 [INFO] [stderr] Downloaded seccomp-sys v0.1.2 [INFO] [stderr] Downloaded reduce v0.1.1 [INFO] [stderr] Downloaded dns-parser v0.7.0 [INFO] [stderr] Downloaded tls-parser v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c8c67322f9a53127bc588cad30c27e6c041e9f33cae4b2773697109efa77dd2 [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" "6c8c67322f9a53127bc588cad30c27e6c041e9f33cae4b2773697109efa77dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c8c67322f9a53127bc588cad30c27e6c041e9f33cae4b2773697109efa77dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c8c67322f9a53127bc588cad30c27e6c041e9f33cae4b2773697109efa77dd2", kill_on_drop: false }` [INFO] [stdout] 6c8c67322f9a53127bc588cad30c27e6c041e9f33cae4b2773697109efa77dd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c1e749ae34e863d4a1d4b10bcc94d544b9094d051bc87e0b27d3549bdf1a63b [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" "8c1e749ae34e863d4a1d4b10bcc94d544b9094d051bc87e0b27d3549bdf1a63b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.32 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling arrayref v0.3.4 [INFO] [stderr] Compiling cookie-factory v0.2.2 [INFO] [stderr] Compiling serde v1.0.15 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling reduce v0.1.1 [INFO] [stderr] Compiling dns-parser v0.7.0 [INFO] [stderr] Compiling serde_derive_internals v0.16.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling rand v0.3.17 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling num_cpus v1.7.0 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling users v0.6.0 [INFO] [stderr] Compiling seccomp-sys v0.1.2 [INFO] [stderr] Compiling pcap v0.7.0 [INFO] [stderr] Compiling textwrap v0.8.0 [INFO] [stderr] Compiling nom v3.2.0 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling threadpool v1.7.0 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling dhcp4r v0.1.0 [INFO] [stderr] Compiling clap v2.26.2 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.15 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling tls-parser v0.5.0 [INFO] [stderr] Compiling rusticata-macros v0.3.3 [INFO] [stderr] Compiling pktparse v0.2.1 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling toml v0.4.5 [INFO] [stderr] Compiling 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: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: `...` 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: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 is unexpected and probably not what you want. 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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn activate(self) -> Capture { [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 associated function 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 associated function 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] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 195 | .reduce(|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: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 `_IMPL_DESERIALIZE_FOR_Config::_serde::export::Some` [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 associated function 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 associated function 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] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 206 | .reduce(|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: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 `_IMPL_DESERIALIZE_FOR_Config::_serde::export::Some` [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 `Reduce` for the type `I` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `FilterMap` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [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] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [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] ... [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 `Reduce` for the type `I` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `FilterMap` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [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] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [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] ... [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] [stderr] error: could not compile `sniffglue` due to 11 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8c1e749ae34e863d4a1d4b10bcc94d544b9094d051bc87e0b27d3549bdf1a63b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c1e749ae34e863d4a1d4b10bcc94d544b9094d051bc87e0b27d3549bdf1a63b", kill_on_drop: false }` [INFO] [stdout] 8c1e749ae34e863d4a1d4b10bcc94d544b9094d051bc87e0b27d3549bdf1a63b