[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] testing flier/rust-pcap2 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflier%2Frust-pcap2" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flier/rust-pcap2 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-2/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d1903973981fb9c8cd97dde54d1a8e2f959f1d709f1d6bd4ab32785921f26a2 [INFO] running `Command { std: "docker" "start" "-a" "7d1903973981fb9c8cd97dde54d1a8e2f959f1d709f1d6bd4ab32785921f26a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d1903973981fb9c8cd97dde54d1a8e2f959f1d709f1d6bd4ab32785921f26a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d1903973981fb9c8cd97dde54d1a8e2f959f1d709f1d6bd4ab32785921f26a2", kill_on_drop: false }` [INFO] [stdout] 7d1903973981fb9c8cd97dde54d1a8e2f959f1d709f1d6bd4ab32785921f26a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69ac8c8edfad41686f94e4c5da628d70bcf75e03d70c986892e4d06929066cbe [INFO] running `Command { std: "docker" "start" "-a" "69ac8c8edfad41686f94e4c5da628d70bcf75e03d70c986892e4d06929066cbe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling arrayref v0.3.4 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling hexplay v0.2.1 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling nom v4.0.0 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling 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] [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] Finished dev [unoptimized + debuginfo] target(s) in 18.13s [INFO] running `Command { std: "docker" "inspect" "69ac8c8edfad41686f94e4c5da628d70bcf75e03d70c986892e4d06929066cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69ac8c8edfad41686f94e4c5da628d70bcf75e03d70c986892e4d06929066cbe", kill_on_drop: false }` [INFO] [stdout] 69ac8c8edfad41686f94e4c5da628d70bcf75e03d70c986892e4d06929066cbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d01d5a1ff556bb99a4658c586b485b0da8fd69a626ee34d6f3d4740b13d1b41e [INFO] running `Command { std: "docker" "start" "-a" "d01d5a1ff556bb99a4658c586b485b0da8fd69a626ee34d6f3d4740b13d1b41e", kill_on_drop: false }` [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling pnet_base v0.21.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling ipnetwork v0.12.8 [INFO] [stderr] Compiling pnet v0.21.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling termcolor v1.0.1 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling pnet_sys v0.21.0 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling structopt-derive v0.2.10 [INFO] [stderr] Compiling regex v0.2.11 [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: 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 pnet_macros_support v0.21.0 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling pnet_datalink v0.21.0 [INFO] [stderr] Compiling env_logger v0.5.12 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling chrono v0.4.5 [INFO] [stderr] Compiling pretty_env_logger v0.2.4 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling structopt v0.2.10 [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] Compiling pnet_transport v0.21.0 [INFO] [stderr] Compiling pcap2 v0.1.0 (/opt/rustwide/workdir) [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 `#[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 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: 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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 51.33s [INFO] running `Command { std: "docker" "inspect" "d01d5a1ff556bb99a4658c586b485b0da8fd69a626ee34d6f3d4740b13d1b41e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d01d5a1ff556bb99a4658c586b485b0da8fd69a626ee34d6f3d4740b13d1b41e", kill_on_drop: false }` [INFO] [stdout] d01d5a1ff556bb99a4658c586b485b0da8fd69a626ee34d6f3d4740b13d1b41e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 12c3853704558bb16a79eb520b595a768c69ad0d346fdc2719cad248ac0d87fb [INFO] running `Command { std: "docker" "start" "-a" "12c3853704558bb16a79eb520b595a768c69ad0d346fdc2719cad248ac0d87fb", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/block.rs:97:1 [INFO] [stderr] | [INFO] [stderr] 97 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 99 | | /// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [INFO] [stderr] 100 | | /// | Block Type | [INFO] [stderr] ... | [INFO] [stderr] 107 | | /// | Block Total Length | [INFO] [stderr] 108 | | /// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [INFO] [stderr] | |_---------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/blocks/custom.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 47 | | /// +---------------------------------------------------------------+ [INFO] [stderr] 48 | | /// 0 | Block Type = 0x00000BAD or 0x40000BAD | [INFO] [stderr] ... | [INFO] [stderr] 63 | | /// | Block Total Length | [INFO] [stderr] 64 | | /// +---------------------------------------------------------------+ [INFO] [stderr] | |_-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/blocks/enhanced_packet.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 128 | | /// +---------------------------------------------------------------+ [INFO] [stderr] 129 | | /// 0 | Block Type = 0x00000006 | [INFO] [stderr] ... | [INFO] [stderr] 152 | | /// | Block Total Length | [INFO] [stderr] 153 | | /// +---------------------------------------------------------------+ [INFO] [stderr] | |_-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/blocks/interface_description.rs:267:1 [INFO] [stderr] | [INFO] [stderr] 267 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 269 | | /// +---------------------------------------------------------------+ [INFO] [stderr] 270 | | /// 0 | Block Type = 0x00000001 | [INFO] [stderr] ... | [INFO] [stderr] 282 | | /// | Block Total Length | [INFO] [stderr] 283 | | /// +---------------------------------------------------------------+ [INFO] [stderr] | |_-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/blocks/interface_statistics.rs:154:1 [INFO] [stderr] | [INFO] [stderr] 154 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 156 | | /// +---------------------------------------------------------------+ [INFO] [stderr] 157 | | /// 0 | Block Type = 0x00000005 | [INFO] [stderr] ... | [INFO] [stderr] 171 | | /// | Block Total Length | [INFO] [stderr] 172 | | /// +---------------------------------------------------------------+ [INFO] [stderr] | |_-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/blocks/name_resolution.rs:155:1 [INFO] [stderr] | [INFO] [stderr] 155 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 157 | | /// +---------------------------------------------------------------+ [INFO] [stderr] 158 | | /// 0 | Block Type = 0x00000004 | [INFO] [stderr] ... | [INFO] [stderr] 177 | | /// | Block Total Length | [INFO] [stderr] 178 | | /// +---------------------------------------------------------------+ [INFO] [stderr] | |_-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/blocks/obsoleted_packet.rs:74:1 [INFO] [stderr] | [INFO] [stderr] 74 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 76 | | /// +---------------------------------------------------------------+ [INFO] [stderr] 77 | | /// 0 | Block Type = 0x00000002 | [INFO] [stderr] ... | [INFO] [stderr] 100 | | /// | Block Total Length | [INFO] [stderr] 101 | | /// +---------------------------------------------------------------+ [INFO] [stderr] | |_-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/blocks/section_header.rs:134:1 [INFO] [stderr] | [INFO] [stderr] 134 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 136 | | /// +---------------------------------------------------------------+ [INFO] [stderr] 137 | | /// 0 | Block Type = 0x0A0D0D0A | [INFO] [stderr] ... | [INFO] [stderr] 153 | | /// | Block Total Length | [INFO] [stderr] 154 | | /// +---------------------------------------------------------------+ [INFO] [stderr] | |_-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/blocks/simple_packet.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 41 | | /// +---------------------------------------------------------------+ [INFO] [stderr] 42 | | /// 0 | Block Type = 0x00000003 | [INFO] [stderr] ... | [INFO] [stderr] 53 | | /// | Block Total Length | [INFO] [stderr] 54 | | /// +---------------------------------------------------------------+ [INFO] [stderr] | |_-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/options.rs:272:1 [INFO] [stderr] | [INFO] [stderr] 272 | / /// The option list is terminated by a option which uses the special 'End of Option' code (opt_endofopt). [INFO] [stderr] 273 | | /// Code that writes pcapng files MUST put an opt_endofopt option at the end of an option list. [INFO] [stderr] 274 | | /// Code that reads pcapng files MUST NOT assume an option list will have an opt_endofopt option at the end; [INFO] [stderr] 275 | | /// it MUST also check for the end of the block, and SHOULD treat blocks [INFO] [stderr] ... | [INFO] [stderr] 307 | | /// / variable length, padded to 32 bits / [INFO] [stderr] 308 | | /// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [INFO] [stderr] | |_--------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pcapng/blocks/enhanced_packet.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / bitflags! { [INFO] [stderr] 21 | | pub struct Flags: u32 { [INFO] [stderr] 22 | | const INBOUND = 1; [INFO] [stderr] 23 | | const OUTBOUND = 2; [INFO] [stderr] ... | [INFO] [stderr] 40 | | } [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pcapng/blocks/enhanced_packet.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / bitflags! { [INFO] [stderr] 21 | | pub struct Flags: u32 { [INFO] [stderr] 22 | | const INBOUND = 1; [INFO] [stderr] 23 | | const OUTBOUND = 2; [INFO] [stderr] ... | [INFO] [stderr] 40 | | } [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pcapng/blocks/enhanced_packet.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / bitflags! { [INFO] [stderr] 21 | | pub struct Flags: u32 { [INFO] [stderr] 22 | | const INBOUND = 1; [INFO] [stderr] 23 | | const OUTBOUND = 2; [INFO] [stderr] ... | [INFO] [stderr] 40 | | } [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `link_type` [INFO] [stderr] --> src/pcap/header.rs:95:12 [INFO] [stderr] | [INFO] [stderr] 95 | pub fn link_type(&self) -> LinkType { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `r` [INFO] [stderr] --> src/pcapng/reader.rs:313:5 [INFO] [stderr] | [INFO] [stderr] 313 | r: R, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stderr] --> src/pcapng/options.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | buf.split_off(opt_len); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: use `.truncate()` if you don't need the other half [INFO] [stderr] [INFO] [stderr] warning: 17 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/pcapdump.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `w` [INFO] [stderr] --> examples/pcapdump.rs:63:33 [INFO] [stderr] | [INFO] [stderr] 63 | fn dump_file(w: &mut W, r: &mut R) -> fmt::Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> examples/pcapdump.rs:63:44 [INFO] [stderr] | [INFO] [stderr] 63 | fn dump_file(w: &mut W, r: &mut R) -> fmt::Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/pcapdump.rs:87:17 [INFO] [stderr] | [INFO] [stderr] 87 | let mut handle = stdout.lock(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused import: `pcapng` [INFO] [stderr] --> tests/integration_tests.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 23 | use pcap2::{pcap, pcapng}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant in pattern `TimeExceeded` should have an upper case name [INFO] [stderr] --> tests/integration_tests.rs:212:13 [INFO] [stderr] | [INFO] [stderr] 212 | TimeExceeded => { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `TIME_EXCEEDED` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/block.rs:97:1 [INFO] [stderr] | [INFO] [stderr] 97 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 99 | | /// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [INFO] [stderr] 100 | | /// | Block Type | [INFO] [stderr] ... | [INFO] [stderr] 107 | | /// | Block Total Length | [INFO] [stderr] 108 | | /// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [INFO] [stderr] | |_---------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/blocks/custom.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 47 | | /// +---------------------------------------------------------------+ [INFO] [stderr] 48 | | /// 0 | Block Type = 0x00000BAD or 0x40000BAD | [INFO] [stderr] ... | [INFO] [stderr] 63 | | /// | Block Total Length | [INFO] [stderr] 64 | | /// +---------------------------------------------------------------+ [INFO] [stderr] | |_-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/blocks/enhanced_packet.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 128 | | /// +---------------------------------------------------------------+ [INFO] [stderr] 129 | | /// 0 | Block Type = 0x00000006 | [INFO] [stderr] ... | [INFO] [stderr] 152 | | /// | Block Total Length | [INFO] [stderr] 153 | | /// +---------------------------------------------------------------+ [INFO] [stderr] | |_-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/blocks/interface_description.rs:267:1 [INFO] [stderr] | [INFO] [stderr] 267 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 269 | | /// +---------------------------------------------------------------+ [INFO] [stderr] 270 | | /// 0 | Block Type = 0x00000001 | [INFO] [stderr] ... | [INFO] [stderr] 282 | | /// | Block Total Length | [INFO] [stderr] 283 | | /// +---------------------------------------------------------------+ [INFO] [stderr] | |_-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/blocks/interface_statistics.rs:154:1 [INFO] [stderr] | [INFO] [stderr] 154 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 156 | | /// +---------------------------------------------------------------+ [INFO] [stderr] 157 | | /// 0 | Block Type = 0x00000005 | [INFO] [stderr] ... | [INFO] [stderr] 171 | | /// | Block Total Length | [INFO] [stderr] 172 | | /// +---------------------------------------------------------------+ [INFO] [stderr] | |_-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/blocks/name_resolution.rs:155:1 [INFO] [stderr] | [INFO] [stderr] 155 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 157 | | /// +---------------------------------------------------------------+ [INFO] [stderr] 158 | | /// 0 | Block Type = 0x00000004 | [INFO] [stderr] ... | [INFO] [stderr] 177 | | /// | Block Total Length | [INFO] [stderr] 178 | | /// +---------------------------------------------------------------+ [INFO] [stderr] | |_-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/blocks/obsoleted_packet.rs:74:1 [INFO] [stderr] | [INFO] [stderr] 74 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 76 | | /// +---------------------------------------------------------------+ [INFO] [stderr] 77 | | /// 0 | Block Type = 0x00000002 | [INFO] [stderr] ... | [INFO] [stderr] 100 | | /// | Block Total Length | [INFO] [stderr] 101 | | /// +---------------------------------------------------------------+ [INFO] [stderr] | |_-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/blocks/section_header.rs:134:1 [INFO] [stderr] | [INFO] [stderr] 134 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 136 | | /// +---------------------------------------------------------------+ [INFO] [stderr] 137 | | /// 0 | Block Type = 0x0A0D0D0A | [INFO] [stderr] ... | [INFO] [stderr] 153 | | /// | Block Total Length | [INFO] [stderr] 154 | | /// +---------------------------------------------------------------+ [INFO] [stderr] | |_-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/blocks/simple_packet.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / /// 0 1 2 3 [INFO] [stderr] 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] [stderr] 41 | | /// +---------------------------------------------------------------+ [INFO] [stderr] 42 | | /// 0 | Block Type = 0x00000003 | [INFO] [stderr] ... | [INFO] [stderr] 53 | | /// | Block Total Length | [INFO] [stderr] 54 | | /// +---------------------------------------------------------------+ [INFO] [stderr] | |_-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pcapng/options.rs:272:1 [INFO] [stderr] | [INFO] [stderr] 272 | / /// The option list is terminated by a option which uses the special 'End of Option' code (opt_endofopt). [INFO] [stderr] 273 | | /// Code that writes pcapng files MUST put an opt_endofopt option at the end of an option list. [INFO] [stderr] 274 | | /// Code that reads pcapng files MUST NOT assume an option list will have an opt_endofopt option at the end; [INFO] [stderr] 275 | | /// it MUST also check for the end of the block, and SHOULD treat blocks [INFO] [stderr] ... | [INFO] [stderr] 307 | | /// / variable length, padded to 32 bits / [INFO] [stderr] 308 | | /// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [INFO] [stderr] | |_--------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pcapng/blocks/enhanced_packet.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / bitflags! { [INFO] [stderr] 21 | | pub struct Flags: u32 { [INFO] [stderr] 22 | | const INBOUND = 1; [INFO] [stderr] 23 | | const OUTBOUND = 2; [INFO] [stderr] ... | [INFO] [stderr] 40 | | } [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pcapng/blocks/enhanced_packet.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / bitflags! { [INFO] [stderr] 21 | | pub struct Flags: u32 { [INFO] [stderr] 22 | | const INBOUND = 1; [INFO] [stderr] 23 | | const OUTBOUND = 2; [INFO] [stderr] ... | [INFO] [stderr] 40 | | } [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pcapng/blocks/enhanced_packet.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / bitflags! { [INFO] [stderr] 21 | | pub struct Flags: u32 { [INFO] [stderr] 22 | | const INBOUND = 1; [INFO] [stderr] 23 | | const OUTBOUND = 2; [INFO] [stderr] ... | [INFO] [stderr] 40 | | } [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/pcap/writer.rs:204:17 [INFO] [stderr] | [INFO] [stderr] 204 | let mut data = vec![]; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `r` [INFO] [stderr] --> src/pcapng/reader.rs:313:5 [INFO] [stderr] | [INFO] [stderr] 313 | r: R, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stderr] --> src/pcapng/options.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | buf.split_off(opt_len); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: use `.truncate()` if you don't need the other half [INFO] [stderr] [INFO] [stderr] warning: 17 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pcap2-b2cec72c046ff8a5) [INFO] [stdout] [INFO] [stdout] running 42 tests [INFO] [stdout] test pcap::header::tests::test_write ... ok [INFO] [stdout] test pcap::header::tests::test_parse ... ok [INFO] [stdout] test pcap::packet::tests::test_parse ... ok [INFO] [stdout] test pcap::packet::tests::test_layout ... ok [INFO] [stdout] test pcap::writer::tests::test_from_packets ... ok [INFO] [stdout] test pcap::packet::tests::test_read ... ok [INFO] [stdout] test pcap::writer::tests::test_write ... ok [INFO] [stdout] test pcapng::block::tests::test_parse ... ok [INFO] [stdout] test pcapng::block::tests::test_corrupted ... ok [INFO] [stdout] test pcapng::blocks::custom::tests::test_write ... ok [INFO] [stdout] test pcapng::block::tests::test_layout ... ok [INFO] [stdout] test pcapng::block::tests::test_write ... ok [INFO] [stdout] test pcapng::blocks::custom::tests::test_parse ... ok [INFO] [stdout] test pcapng::blocks::enhanced_packet::tests::test_options ... ok [INFO] [stdout] test pcapng::blocks::enhanced_packet::tests::test_write ... ok [INFO] [stdout] test pcapng::blocks::enhanced_packet::tests::test_parse ... ok [INFO] [stdout] test pcapng::blocks::interface_description::tests::test_parse ... ok [INFO] [stdout] test pcapng::blocks::interface_description::tests::test_write ... ok [INFO] [stdout] test pcapng::blocks::interface_description::tests::test_options ... ok [INFO] [stdout] test pcapng::blocks::interface_statistics::tests::test_options ... ok [INFO] [stdout] test pcapng::blocks::interface_statistics::tests::test_parse ... ok [INFO] [stdout] test pcapng::blocks::name_resolution::tests::test_parse ... ok [INFO] [stdout] test pcapng::blocks::interface_statistics::tests::test_write ... ok [INFO] [stdout] test pcapng::blocks::name_resolution::tests::test_write ... ok [INFO] [stdout] test pcapng::blocks::obsoleted_packet::tests::test_write ... ok [INFO] [stdout] test pcapng::blocks::obsoleted_packet::tests::test_options ... ok [INFO] [stdout] test pcapng::blocks::obsoleted_packet::tests::test_parse ... ok [INFO] [stdout] test pcapng::blocks::section_header::tests::test_parse ... ok [INFO] [stdout] test pcapng::blocks::section_header::tests::test_write ... ok [INFO] [stdout] test pcapng::blocks::simple_packet::tests::test_write ... ok [INFO] [stdout] test pcapng::blocks::simple_packet::tests::test_parse ... ok [INFO] [stdout] test pcapng::options::tests::test_parse_empty ... ok [INFO] [stdout] test pcapng::options::tests::test_parse ... ok [INFO] [stdout] test pcapng::options::tests::test_read ... ok [INFO] [stdout] test pcapng::options::tests::test_size ... ok [INFO] [stdout] test pcap::header::tests::test_layout ... ok [INFO] [stdout] test pcap::reader::tests::test_read ... ok [INFO] [stdout] test pcap::reader::tests::test_parse ... ok [INFO] [stdout] test pcapng::options::tests::test_write ... ok [INFO] [stdout] test pcap::packet::tests::test_write ... ok [INFO] [stdout] test pcapng::reader::tests::test_parse_blocks ... ok [INFO] [stdout] test pcapng::reader::tests::test_read_blocks ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-bb8311d88568bae7) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_generated_data ... ok [INFO] [stdout] test test_pcapng_data ... ok [INFO] [stdout] test test_pcap_data ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_pcap_data stdout ---- [INFO] [stdout] thread 'test_pcap_data' panicked at '"tests/data/smallFlows.pcap" decoded #0 packet mismatch: [INFO] [stdout] packet: [INFO] [stdout] 18:52:22.484409 IP 192.168.3.131.57011 > 72.14.213.138.80 [INFO] [stdout] dumps: [INFO] [stdout] 02:52:22.484409 IP 192.168.3.131.57011 > 72.14.213.138.80: Flags [P.], seq 2542412440:2542413383, ack 2428019935, win 16288, length 943: HTTP: GET /complete/search?client=chrome&hl=en-US&q=cr HTTP/1.1', tests/integration_tests.rs:256:78 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5607b952dd70 - std::backtrace_rs::backtrace::libunwind::trace::h1037ca7e6eeef65c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x5607b952dd70 - std::backtrace_rs::backtrace::trace_unsynchronized::haaefac1bc3669450 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5607b952dd70 - std::sys_common::backtrace::_print_fmt::h863a6f5e6d995885 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5607b952dd70 - ::fmt::h767e17e1aa7df6a8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5607b9550b0c - core::fmt::write::h7aa6cd0067dca82a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x5607b95296f5 - std::io::Write::write_fmt::h6f1a9b91376a1376 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x5607b952fefb - std::sys_common::backtrace::_print::h2769edb26a7eb606 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5607b952fefb - std::sys_common::backtrace::print::ha71f3549862b4cb6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5607b952fefb - std::panicking::default_hook::{{closure}}::h95488a3bade217f6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x5607b952fa0c - std::panicking::default_hook::h290aa602c0fb11df [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x5607b95305a1 - std::panicking::rust_panic_with_hook::hf32c4fa635e215f2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x5607b95300a7 - std::panicking::begin_panic_handler::{{closure}}::h95197ccd88846f7a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x5607b952e24c - std::sys_common::backtrace::__rust_end_short_backtrace::h7641df9566f7b7d0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x5607b9530009 - rust_begin_unwind [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x5607b92f6e5b - std::panicking::begin_panic_fmt::hdc39c0cc0031e534 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:457:5 [INFO] [stdout] 15: 0x5607b930780b - integration_tests::test_pcap_data::h55445f45bd9fb8f5 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:256:78 [INFO] [stdout] 16: 0x5607b9306bba - integration_tests::test_pcap_data::{{closure}}::h16e0e2d7cdc489e2 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:231:1 [INFO] [stdout] 17: 0x5607b930292e - core::ops::function::FnOnce::call_once::h7cbd71afa338de0b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 18: 0x5607b9334073 - core::ops::function::FnOnce::call_once::h673fbe3f96486fd2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x5607b9334073 - test::__rust_begin_short_backtrace::h8eedc24e104ef6a0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:577:5 [INFO] [stdout] 20: 0x5607b9332b20 - as core::ops::function::FnOnce>::call_once::h028d0969d3f94d78 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 21: 0x5607b9332b20 - as core::ops::function::FnOnce<()>>::call_once::h7634b01590b1722b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 22: 0x5607b9332b20 - std::panicking::try::do_call::hf74f869706dec63b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 23: 0x5607b9332b20 - std::panicking::try::hd0b7346ebfaaae44 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 24: 0x5607b9332b20 - std::panic::catch_unwind::hdbf6904f7c253080 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 25: 0x5607b9332b20 - test::run_test_in_process::h87e95a014ac91067 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:600:18 [INFO] [stdout] 26: 0x5607b9332b20 - test::run_test::run_test_inner::{{closure}}::hdd69ae44aaab3470 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:492:39 [INFO] [stdout] 27: 0x5607b930ddf2 - test::run_test::run_test_inner::{{closure}}::hc159305704d5b68a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:519:37 [INFO] [stdout] 28: 0x5607b930ddf2 - std::sys_common::backtrace::__rust_begin_short_backtrace::h33d8a8ad5f788fcc [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 29: 0x5607b9311b68 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h6181011ddf4b8353 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 30: 0x5607b9311b68 - as core::ops::function::FnOnce<()>>::call_once::hf924ea0a0f25a1c0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 31: 0x5607b9311b68 - std::panicking::try::do_call::hd58061792d05fa5c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 32: 0x5607b9311b68 - std::panicking::try::h3080747417e5af37 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 33: 0x5607b9311b68 - std::panic::catch_unwind::hfeba515dcf36cb66 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 34: 0x5607b9311b68 - std::thread::Builder::spawn_unchecked::{{closure}}::h29d57a62faff749b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 35: 0x5607b9311b68 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h44709d312d2a9c59 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 36: 0x5607b9535517 - as core::ops::function::FnOnce>::call_once::h902e2cf6655e1b0c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 37: 0x5607b9535517 - as core::ops::function::FnOnce>::call_once::h893a5452154309d1 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 38: 0x5607b9535517 - std::sys::unix::thread::Thread::new::thread_start::hdedcb57c96ab37cd [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 39: 0x7efdb30ad609 - start_thread [INFO] [stdout] 40: 0x7efdb2e7f293 - clone [INFO] [stdout] 41: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_pcap_data [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test integration_tests' [INFO] running `Command { std: "docker" "inspect" "12c3853704558bb16a79eb520b595a768c69ad0d346fdc2719cad248ac0d87fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12c3853704558bb16a79eb520b595a768c69ad0d346fdc2719cad248ac0d87fb", kill_on_drop: false }` [INFO] [stdout] 12c3853704558bb16a79eb520b595a768c69ad0d346fdc2719cad248ac0d87fb