[INFO] cloning repository https://github.com/flier/rust-pcap2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flier/rust-pcap2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflier%2Frust-pcap2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflier%2Frust-pcap2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1815db39ab6edbf1eca2b9cfa18284609f941ea5 [INFO] checking flier/rust-pcap2 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflier%2Frust-pcap2" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flier/rust-pcap2 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/flier/rust-pcap2 [INFO] finished tweaking git repo https://github.com/flier/rust-pcap2 [INFO] tweaked toml for git repo https://github.com/flier/rust-pcap2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/flier/rust-pcap2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acf43e35c1b5464082999c103e6cda027863a8f1a987fa421fb318ce3e1782ec [INFO] running `Command { std: "docker" "start" "-a" "acf43e35c1b5464082999c103e6cda027863a8f1a987fa421fb318ce3e1782ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acf43e35c1b5464082999c103e6cda027863a8f1a987fa421fb318ce3e1782ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acf43e35c1b5464082999c103e6cda027863a8f1a987fa421fb318ce3e1782ec", kill_on_drop: false }` [INFO] [stdout] acf43e35c1b5464082999c103e6cda027863a8f1a987fa421fb318ce3e1782ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50b843698723e4f39262abe5c90321cd616e9a2990f7d94507ff14b218017dcd [INFO] running `Command { std: "docker" "start" "-a" "50b843698723e4f39262abe5c90321cd616e9a2990f7d94507ff14b218017dcd", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Checking pnet_base v0.21.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Compiling pnet v0.21.0 [INFO] [stderr] Checking ipnetwork v0.12.8 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking termcolor v1.0.1 [INFO] [stderr] Checking byteorder v1.2.4 [INFO] [stderr] Checking arrayref v0.3.4 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking pnet_macros_support v0.21.0 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking pnet_sys v0.21.0 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking hexplay v0.2.1 [INFO] [stderr] Checking pnet_datalink v0.21.0 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Checking chrono v0.4.5 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking nom v4.0.0 [INFO] [stderr] Checking env_logger v0.5.12 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking pretty_env_logger v0.2.4 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling structopt-derive v0.2.10 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking pcap2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/block.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / /// 0 1 2 3 [INFO] [stdout] 98 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 99 | | /// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [INFO] [stdout] 100 | | /// | Block Type | [INFO] [stdout] ... | [INFO] [stdout] 107 | | /// | Block Total Length | [INFO] [stdout] 108 | | /// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [INFO] [stdout] | |_---------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/blocks/custom.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / /// 0 1 2 3 [INFO] [stdout] 46 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 47 | | /// +---------------------------------------------------------------+ [INFO] [stdout] 48 | | /// 0 | Block Type = 0x00000BAD or 0x40000BAD | [INFO] [stdout] ... | [INFO] [stdout] 63 | | /// | Block Total Length | [INFO] [stdout] 64 | | /// +---------------------------------------------------------------+ [INFO] [stdout] | |_-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/blocks/enhanced_packet.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | / /// 0 1 2 3 [INFO] [stdout] 127 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 128 | | /// +---------------------------------------------------------------+ [INFO] [stdout] 129 | | /// 0 | Block Type = 0x00000006 | [INFO] [stdout] ... | [INFO] [stdout] 152 | | /// | Block Total Length | [INFO] [stdout] 153 | | /// +---------------------------------------------------------------+ [INFO] [stdout] | |_-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/blocks/interface_description.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 267 | / /// 0 1 2 3 [INFO] [stdout] 268 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 269 | | /// +---------------------------------------------------------------+ [INFO] [stdout] 270 | | /// 0 | Block Type = 0x00000001 | [INFO] [stdout] ... | [INFO] [stdout] 282 | | /// | Block Total Length | [INFO] [stdout] 283 | | /// +---------------------------------------------------------------+ [INFO] [stdout] | |_-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/blocks/interface_statistics.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | / /// 0 1 2 3 [INFO] [stdout] 155 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 156 | | /// +---------------------------------------------------------------+ [INFO] [stdout] 157 | | /// 0 | Block Type = 0x00000005 | [INFO] [stdout] ... | [INFO] [stdout] 171 | | /// | Block Total Length | [INFO] [stdout] 172 | | /// +---------------------------------------------------------------+ [INFO] [stdout] | |_-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/blocks/name_resolution.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / /// 0 1 2 3 [INFO] [stdout] 156 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 157 | | /// +---------------------------------------------------------------+ [INFO] [stdout] 158 | | /// 0 | Block Type = 0x00000004 | [INFO] [stdout] ... | [INFO] [stdout] 177 | | /// | Block Total Length | [INFO] [stdout] 178 | | /// +---------------------------------------------------------------+ [INFO] [stdout] | |_-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/blocks/obsoleted_packet.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / /// 0 1 2 3 [INFO] [stdout] 75 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 76 | | /// +---------------------------------------------------------------+ [INFO] [stdout] 77 | | /// 0 | Block Type = 0x00000002 | [INFO] [stdout] ... | [INFO] [stdout] 100 | | /// | Block Total Length | [INFO] [stdout] 101 | | /// +---------------------------------------------------------------+ [INFO] [stdout] | |_-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/blocks/section_header.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / /// 0 1 2 3 [INFO] [stdout] 135 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 136 | | /// +---------------------------------------------------------------+ [INFO] [stdout] 137 | | /// 0 | Block Type = 0x0A0D0D0A | [INFO] [stdout] ... | [INFO] [stdout] 153 | | /// | Block Total Length | [INFO] [stdout] 154 | | /// +---------------------------------------------------------------+ [INFO] [stdout] | |_-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/blocks/simple_packet.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / /// 0 1 2 3 [INFO] [stdout] 40 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 41 | | /// +---------------------------------------------------------------+ [INFO] [stdout] 42 | | /// 0 | Block Type = 0x00000003 | [INFO] [stdout] ... | [INFO] [stdout] 53 | | /// | Block Total Length | [INFO] [stdout] 54 | | /// +---------------------------------------------------------------+ [INFO] [stdout] | |_-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/options.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / /// The option list is terminated by a option which uses the special 'End of Option' code (opt_endofopt). [INFO] [stdout] 273 | | /// Code that writes pcapng files MUST put an opt_endofopt option at the end of an option list. [INFO] [stdout] 274 | | /// Code that reads pcapng files MUST NOT assume an option list will have an opt_endofopt option at the end; [INFO] [stdout] 275 | | /// it MUST also check for the end of the block, and SHOULD treat blocks [INFO] [stdout] ... | [INFO] [stdout] 307 | | /// / variable length, padded to 32 bits / [INFO] [stdout] 308 | | /// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [INFO] [stdout] | |_--------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pcapng/blocks/enhanced_packet.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | pub struct Flags: u32 { [INFO] [stdout] 22 | | const INBOUND = 1; [INFO] [stdout] 23 | | const OUTBOUND = 2; [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pcapng/blocks/enhanced_packet.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | pub struct Flags: u32 { [INFO] [stdout] 22 | | const INBOUND = 1; [INFO] [stdout] 23 | | const OUTBOUND = 2; [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pcapng/blocks/enhanced_packet.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | pub struct Flags: u32 { [INFO] [stdout] 22 | | const INBOUND = 1; [INFO] [stdout] 23 | | const OUTBOUND = 2; [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking structopt v0.2.10 [INFO] [stdout] warning: associated function is never used: `link_type` [INFO] [stdout] --> src/pcap/header.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn link_type(&self) -> LinkType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `r` [INFO] [stdout] --> src/pcapng/reader.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | r: R, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/pcapng/options.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | buf.split_off(opt_len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.21.0 [INFO] [stderr] Compiling pnet_packet v0.21.0 [INFO] [stderr] Checking pnet_transport v0.21.0 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/pcapdump.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pcapng` [INFO] [stdout] --> tests/integration_tests.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | use pcap2::{pcap, pcapng}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> examples/pcapdump.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | fn dump_file(w: &mut W, r: &mut R) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> examples/pcapdump.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | fn dump_file(w: &mut W, r: &mut R) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/pcapdump.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | let mut handle = stdout.lock(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `TimeExceeded` should have an upper case name [INFO] [stdout] --> tests/integration_tests.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | TimeExceeded => { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `TIME_EXCEEDED` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/block.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / /// 0 1 2 3 [INFO] [stdout] 98 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 99 | | /// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [INFO] [stdout] 100 | | /// | Block Type | [INFO] [stdout] ... | [INFO] [stdout] 107 | | /// | Block Total Length | [INFO] [stdout] 108 | | /// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [INFO] [stdout] | |_---------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/blocks/custom.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / /// 0 1 2 3 [INFO] [stdout] 46 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 47 | | /// +---------------------------------------------------------------+ [INFO] [stdout] 48 | | /// 0 | Block Type = 0x00000BAD or 0x40000BAD | [INFO] [stdout] ... | [INFO] [stdout] 63 | | /// | Block Total Length | [INFO] [stdout] 64 | | /// +---------------------------------------------------------------+ [INFO] [stdout] | |_-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/blocks/enhanced_packet.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | / /// 0 1 2 3 [INFO] [stdout] 127 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 128 | | /// +---------------------------------------------------------------+ [INFO] [stdout] 129 | | /// 0 | Block Type = 0x00000006 | [INFO] [stdout] ... | [INFO] [stdout] 152 | | /// | Block Total Length | [INFO] [stdout] 153 | | /// +---------------------------------------------------------------+ [INFO] [stdout] | |_-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/blocks/interface_description.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 267 | / /// 0 1 2 3 [INFO] [stdout] 268 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 269 | | /// +---------------------------------------------------------------+ [INFO] [stdout] 270 | | /// 0 | Block Type = 0x00000001 | [INFO] [stdout] ... | [INFO] [stdout] 282 | | /// | Block Total Length | [INFO] [stdout] 283 | | /// +---------------------------------------------------------------+ [INFO] [stdout] | |_-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/blocks/interface_statistics.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | / /// 0 1 2 3 [INFO] [stdout] 155 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 156 | | /// +---------------------------------------------------------------+ [INFO] [stdout] 157 | | /// 0 | Block Type = 0x00000005 | [INFO] [stdout] ... | [INFO] [stdout] 171 | | /// | Block Total Length | [INFO] [stdout] 172 | | /// +---------------------------------------------------------------+ [INFO] [stdout] | |_-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/blocks/name_resolution.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / /// 0 1 2 3 [INFO] [stdout] 156 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 157 | | /// +---------------------------------------------------------------+ [INFO] [stdout] 158 | | /// 0 | Block Type = 0x00000004 | [INFO] [stdout] ... | [INFO] [stdout] 177 | | /// | Block Total Length | [INFO] [stdout] 178 | | /// +---------------------------------------------------------------+ [INFO] [stdout] | |_-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/blocks/obsoleted_packet.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / /// 0 1 2 3 [INFO] [stdout] 75 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 76 | | /// +---------------------------------------------------------------+ [INFO] [stdout] 77 | | /// 0 | Block Type = 0x00000002 | [INFO] [stdout] ... | [INFO] [stdout] 100 | | /// | Block Total Length | [INFO] [stdout] 101 | | /// +---------------------------------------------------------------+ [INFO] [stdout] | |_-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/blocks/section_header.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / /// 0 1 2 3 [INFO] [stdout] 135 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 136 | | /// +---------------------------------------------------------------+ [INFO] [stdout] 137 | | /// 0 | Block Type = 0x0A0D0D0A | [INFO] [stdout] ... | [INFO] [stdout] 153 | | /// | Block Total Length | [INFO] [stdout] 154 | | /// +---------------------------------------------------------------+ [INFO] [stdout] | |_-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/blocks/simple_packet.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / /// 0 1 2 3 [INFO] [stdout] 40 | | /// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 [INFO] [stdout] 41 | | /// +---------------------------------------------------------------+ [INFO] [stdout] 42 | | /// 0 | Block Type = 0x00000003 | [INFO] [stdout] ... | [INFO] [stdout] 53 | | /// | Block Total Length | [INFO] [stdout] 54 | | /// +---------------------------------------------------------------+ [INFO] [stdout] | |_-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pcapng/options.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / /// The option list is terminated by a option which uses the special 'End of Option' code (opt_endofopt). [INFO] [stdout] 273 | | /// Code that writes pcapng files MUST put an opt_endofopt option at the end of an option list. [INFO] [stdout] 274 | | /// Code that reads pcapng files MUST NOT assume an option list will have an opt_endofopt option at the end; [INFO] [stdout] 275 | | /// it MUST also check for the end of the block, and SHOULD treat blocks [INFO] [stdout] ... | [INFO] [stdout] 307 | | /// / variable length, padded to 32 bits / [INFO] [stdout] 308 | | /// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [INFO] [stdout] | |_--------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pcapng/blocks/enhanced_packet.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | pub struct Flags: u32 { [INFO] [stdout] 22 | | const INBOUND = 1; [INFO] [stdout] 23 | | const OUTBOUND = 2; [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pcapng/blocks/enhanced_packet.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | pub struct Flags: u32 { [INFO] [stdout] 22 | | const INBOUND = 1; [INFO] [stdout] 23 | | const OUTBOUND = 2; [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pcapng/blocks/enhanced_packet.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | pub struct Flags: u32 { [INFO] [stdout] 22 | | const INBOUND = 1; [INFO] [stdout] 23 | | const OUTBOUND = 2; [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pcap/writer.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | let mut data = vec![]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `r` [INFO] [stdout] --> src/pcapng/reader.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | r: R, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/pcapng/options.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | buf.split_off(opt_len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.42s [INFO] running `Command { std: "docker" "inspect" "50b843698723e4f39262abe5c90321cd616e9a2990f7d94507ff14b218017dcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50b843698723e4f39262abe5c90321cd616e9a2990f7d94507ff14b218017dcd", kill_on_drop: false }` [INFO] [stdout] 50b843698723e4f39262abe5c90321cd616e9a2990f7d94507ff14b218017dcd