[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] testing PotatoDrug/SNI-Sniffer against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPotatoDrug%2FSNI-Sniffer" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PotatoDrug/SNI-Sniffer on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-9/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" "+1.59.0" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c8116b45c4eb82da59f255f56e2a6481b02e6f8399a9aeab907c188113c3402 [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" "2c8116b45c4eb82da59f255f56e2a6481b02e6f8399a9aeab907c188113c3402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c8116b45c4eb82da59f255f56e2a6481b02e6f8399a9aeab907c188113c3402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c8116b45c4eb82da59f255f56e2a6481b02e6f8399a9aeab907c188113c3402", kill_on_drop: false }` [INFO] [stdout] 2c8116b45c4eb82da59f255f56e2a6481b02e6f8399a9aeab907c188113c3402 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bb62148f790540c0c4ccbf1e6e9079a1e425bc373d4d29fe366026d2c0de826 [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" "2bb62148f790540c0c4ccbf1e6e9079a1e425bc373d4d29fe366026d2c0de826", kill_on_drop: false }` [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling pnet_base v0.22.0 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling pnet v0.22.0 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.8 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling pnet_sys v0.22.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling num-traits v0.1.43 [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] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling pnet_macros_support v0.22.0 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rusticata-macros v1.1.0 [INFO] [stderr] Compiling pcap-parser v0.3.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling tls-parser v0.8.0 [INFO] [stderr] Compiling der-parser v1.1.1 [INFO] [stderr] Compiling x509-parser v0.4.3 [INFO] [stderr] Compiling ipnetwork v0.14.0 [INFO] [stderr] Compiling pnet_datalink v0.22.0 [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] Compiling pnet_transport v0.22.0 [INFO] [stderr] Compiling 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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 - fn iter_capture(cap: &mut Capture) { [INFO] [stdout] 92 + fn iter_capture(cap: &mut dyn Capture) { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 - fn try_open_capture<'a>(buffer: &'a[u8]) -> Result,&'static str> { [INFO] [stdout] 109 + fn try_open_capture<'a>(buffer: &'a[u8]) -> Result,&'static str> { [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: 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "2bb62148f790540c0c4ccbf1e6e9079a1e425bc373d4d29fe366026d2c0de826", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bb62148f790540c0c4ccbf1e6e9079a1e425bc373d4d29fe366026d2c0de826", kill_on_drop: false }` [INFO] [stdout] 2bb62148f790540c0c4ccbf1e6e9079a1e425bc373d4d29fe366026d2c0de826 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f0a35709ee833889a4702cdb31608a64deecf8d5f84a3377e5da700f11cadd51 [INFO] running `Command { std: "docker" "start" "-a" "f0a35709ee833889a4702cdb31608a64deecf8d5f84a3377e5da700f11cadd51", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 - fn iter_capture(cap: &mut Capture) { [INFO] [stdout] 92 + fn iter_capture(cap: &mut dyn Capture) { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 - fn try_open_capture<'a>(buffer: &'a[u8]) -> Result,&'static str> { [INFO] [stdout] 109 + fn try_open_capture<'a>(buffer: &'a[u8]) -> Result,&'static str> { [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: 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "f0a35709ee833889a4702cdb31608a64deecf8d5f84a3377e5da700f11cadd51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0a35709ee833889a4702cdb31608a64deecf8d5f84a3377e5da700f11cadd51", kill_on_drop: false }` [INFO] [stdout] f0a35709ee833889a4702cdb31608a64deecf8d5f84a3377e5da700f11cadd51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ae8e8ed509ba161c38046b8598954f8dbb6ac217ed73e82f1e03ba998f952c65 [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" "ae8e8ed509ba161c38046b8598954f8dbb6ac217ed73e82f1e03ba998f952c65", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/tls.rs:409:14 [INFO] [stderr] | [INFO] [stderr] 409 | (0x14...0x17,0x03,0...3) => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/tls.rs:409:28 [INFO] [stderr] | [INFO] [stderr] 409 | (0x14...0x17,0x03,0...3) => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/pcap.rs:92:27 [INFO] [stderr] | [INFO] [stderr] 92 | fn iter_capture(cap: &mut Capture) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 92 - fn iter_capture(cap: &mut Capture) { [INFO] [stderr] 92 + fn iter_capture(cap: &mut dyn Capture) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/pcap.rs:109:56 [INFO] [stderr] | [INFO] [stderr] 109 | fn try_open_capture<'a>(buffer: &'a[u8]) -> Result,&'static str> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 109 - fn try_open_capture<'a>(buffer: &'a[u8]) -> Result,&'static str> { [INFO] [stderr] 109 + fn try_open_capture<'a>(buffer: &'a[u8]) -> Result,&'static str> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/pcap.rs:137:32 [INFO] [stderr] | [INFO] [stderr] 137 | ... why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/pcap.rs:144:32 [INFO] [stderr] | [INFO] [stderr] 144 | ... why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `R_STATUS_EV_MASK` [INFO] [stderr] --> src/tls.rs:37:1 [INFO] [stderr] | [INFO] [stderr] 37 | pub const R_STATUS_EV_MASK : u32 = 0x0f00; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `R_STATUS_MASK` [INFO] [stderr] --> src/tls.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | pub const R_STATUS_MASK : u32 = 0x00ff; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `STREAM_TOCLIENT` [INFO] [stderr] --> src/tls.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | pub const STREAM_TOCLIENT : u8 = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RecordIncomplete` [INFO] [stderr] --> src/tls.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | RecordIncomplete = 3, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains an unused formatting placeholder [INFO] [stderr] --> src/interface.rs:92:62 [INFO] [stderr] | [INFO] [stderr] 92 | Ok(_) => panic!("packetdump: unhandled channel type: {}"), [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stderr] help: add the missing argument [INFO] [stderr] | [INFO] [stderr] 92 | Ok(_) => panic!("packetdump: unhandled channel type: {}", ...), [INFO] [stderr] | +++++ [INFO] [stderr] help: or add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 92 | Ok(_) => panic!("{}", "packetdump: unhandled channel type: {}"), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `sni-sniffer` (bin "sni-sniffer" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sni_sniffer-580406ab61783e0f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ae8e8ed509ba161c38046b8598954f8dbb6ac217ed73e82f1e03ba998f952c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae8e8ed509ba161c38046b8598954f8dbb6ac217ed73e82f1e03ba998f952c65", kill_on_drop: false }` [INFO] [stdout] ae8e8ed509ba161c38046b8598954f8dbb6ac217ed73e82f1e03ba998f952c65