[INFO] cloning repository https://github.com/PotatoDrug/SNI-Sniffer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PotatoDrug/SNI-Sniffer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPotatoDrug%2FSNI-Sniffer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPotatoDrug%2FSNI-Sniffer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a693b59fe08bdfd9282a33147cf7e3eecaeab572 [INFO] checking PotatoDrug/SNI-Sniffer against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPotatoDrug%2FSNI-Sniffer" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PotatoDrug/SNI-Sniffer on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PotatoDrug/SNI-Sniffer [INFO] finished tweaking git repo https://github.com/PotatoDrug/SNI-Sniffer [INFO] tweaked toml for git repo https://github.com/PotatoDrug/SNI-Sniffer written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/PotatoDrug/SNI-Sniffer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--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-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f691853a015119fe1dd7a765a78bbbe66cdf36b81bf688abca500eed5d936ed7 [INFO] running `Command { std: "docker" "start" "-a" "f691853a015119fe1dd7a765a78bbbe66cdf36b81bf688abca500eed5d936ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f691853a015119fe1dd7a765a78bbbe66cdf36b81bf688abca500eed5d936ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f691853a015119fe1dd7a765a78bbbe66cdf36b81bf688abca500eed5d936ed7", kill_on_drop: false }` [INFO] [stdout] f691853a015119fe1dd7a765a78bbbe66cdf36b81bf688abca500eed5d936ed7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cdad8645866fdfceeafafaf4780093299000e4faa9ab2b1557959cfd2e62d5a [INFO] running `Command { std: "docker" "start" "-a" "4cdad8645866fdfceeafafaf4780093299000e4faa9ab2b1557959cfd2e62d5a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Checking pnet_base v0.22.0 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Checking cookie-factory v0.2.4 [INFO] [stderr] Compiling pnet v0.22.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking pnet_sys v0.22.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling regex-syntax v0.6.8 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Checking pnet_macros_support v0.22.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Checking rusticata-macros v1.1.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking ipnetwork v0.14.0 [INFO] [stderr] Checking pnet_datalink v0.22.0 [INFO] [stderr] Checking pcap-parser v0.3.0 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking der-parser v1.1.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling tls-parser v0.8.0 [INFO] [stderr] Checking x509-parser v0.4.3 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.22.0 [INFO] [stderr] Compiling pnet_packet v0.22.0 [INFO] [stderr] Checking pnet_transport v0.22.0 [INFO] [stderr] Checking sni-sniffer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tls.rs:409:14 [INFO] [stdout] | [INFO] [stdout] 409 | (0x14...0x17,0x03,0...3) => true, [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 2018) 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/tls.rs:409:28 [INFO] [stdout] | [INFO] [stdout] 409 | (0x14...0x17,0x03,0...3) => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pcap.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | fn iter_capture(cap: &mut Capture) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Capture` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pcap.rs:109:56 [INFO] [stdout] | [INFO] [stdout] 109 | fn try_open_capture<'a>(buffer: &'a[u8]) -> Result,&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Capture + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/tls.rs:409:14 [INFO] [stdout] | [INFO] [stdout] 409 | (0x14...0x17,0x03,0...3) => true, [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 2018) 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/tls.rs:409:28 [INFO] [stdout] | [INFO] [stdout] 409 | (0x14...0x17,0x03,0...3) => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pcap.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | fn iter_capture(cap: &mut Capture) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Capture` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pcap.rs:109:56 [INFO] [stdout] | [INFO] [stdout] 109 | fn try_open_capture<'a>(buffer: &'a[u8]) -> Result,&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Capture + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/pcap.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/pcap.rs:144:32 [INFO] [stdout] | [INFO] [stdout] 144 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/pcap.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/pcap.rs:144:32 [INFO] [stdout] | [INFO] [stdout] 144 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `R_STATUS_EV_MASK` [INFO] [stdout] --> src/tls.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub const R_STATUS_EV_MASK : u32 = 0x0f00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `R_STATUS_MASK` [INFO] [stdout] --> src/tls.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub const R_STATUS_MASK : u32 = 0x00ff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STREAM_TOCLIENT` [INFO] [stdout] --> src/tls.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub const STREAM_TOCLIENT : u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RecordIncomplete` [INFO] [stdout] --> src/tls.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | RecordIncomplete = 3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `R_STATUS_EV_MASK` [INFO] [stdout] --> src/tls.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub const R_STATUS_EV_MASK : u32 = 0x0f00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `R_STATUS_MASK` [INFO] [stdout] --> src/tls.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub const R_STATUS_MASK : u32 = 0x00ff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STREAM_TOCLIENT` [INFO] [stdout] --> src/tls.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub const STREAM_TOCLIENT : u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RecordIncomplete` [INFO] [stdout] --> src/tls.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | RecordIncomplete = 3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/interface.rs:92:62 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(_) => panic!("packetdump: unhandled channel type: {}"), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 92 | Ok(_) => panic!("packetdump: unhandled channel type: {}", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 92 | Ok(_) => panic!("{}", "packetdump: unhandled channel type: {}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/interface.rs:92:62 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(_) => panic!("packetdump: unhandled channel type: {}"), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 92 | Ok(_) => panic!("packetdump: unhandled channel type: {}", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 92 | Ok(_) => panic!("{}", "packetdump: unhandled channel type: {}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.98s [INFO] running `Command { std: "docker" "inspect" "4cdad8645866fdfceeafafaf4780093299000e4faa9ab2b1557959cfd2e62d5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cdad8645866fdfceeafafaf4780093299000e4faa9ab2b1557959cfd2e62d5a", kill_on_drop: false }` [INFO] [stdout] 4cdad8645866fdfceeafafaf4780093299000e4faa9ab2b1557959cfd2e62d5a