[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 try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflier%2Frust-pcap2" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flier/rust-pcap2 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-4/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.5.12 [INFO] [stderr] Downloaded arrayref v0.3.4 [INFO] [stderr] Downloaded ipnetwork v0.12.8 [INFO] [stderr] Downloaded structopt v0.2.10 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded num-derive v0.2.2 [INFO] [stderr] Downloaded humantime v1.1.1 [INFO] [stderr] Downloaded itertools v0.7.8 [INFO] [stderr] Downloaded wincolor v1.0.0 [INFO] [stderr] Downloaded chrono v0.4.5 [INFO] [stderr] Downloaded pnet_macros v0.21.0 [INFO] [stderr] Downloaded structopt-derive v0.2.10 [INFO] [stderr] Downloaded pretty_env_logger v0.2.4 [INFO] [stderr] Downloaded termcolor v1.0.1 [INFO] [stderr] Downloaded pnet_sys v0.21.0 [INFO] [stderr] Downloaded pnet_macros_support v0.21.0 [INFO] [stderr] Downloaded hexplay v0.2.1 [INFO] [stderr] Downloaded pnet_base v0.21.0 [INFO] [stderr] Downloaded pnet_transport v0.21.0 [INFO] [stderr] Downloaded pnet_packet v0.21.0 [INFO] [stderr] Downloaded pnet_datalink v0.21.0 [INFO] [stderr] Downloaded pnet v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 37cfa9615d81fc4f264b83e27d089c7c592d9f31c3a05d6ade8cd77a01da899b [INFO] running `Command { std: "docker" "start" "-a" "37cfa9615d81fc4f264b83e27d089c7c592d9f31c3a05d6ade8cd77a01da899b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37cfa9615d81fc4f264b83e27d089c7c592d9f31c3a05d6ade8cd77a01da899b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37cfa9615d81fc4f264b83e27d089c7c592d9f31c3a05d6ade8cd77a01da899b", kill_on_drop: false }` [INFO] [stdout] 37cfa9615d81fc4f264b83e27d089c7c592d9f31c3a05d6ade8cd77a01da899b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbbfdc30e01179ee0547a41334b02e0704c906513f3e85070599f332c0fbdf0e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fbbfdc30e01179ee0547a41334b02e0704c906513f3e85070599f332c0fbdf0e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling arrayref v0.3.4 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling byteorder v1.2.4 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling hexplay v0.2.1 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling nom v4.0.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 25.73s [INFO] running `Command { std: "docker" "inspect" "fbbfdc30e01179ee0547a41334b02e0704c906513f3e85070599f332c0fbdf0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbbfdc30e01179ee0547a41334b02e0704c906513f3e85070599f332c0fbdf0e", kill_on_drop: false }` [INFO] [stdout] fbbfdc30e01179ee0547a41334b02e0704c906513f3e85070599f332c0fbdf0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7dcaa64d819dc4cb72a561cb88ede73d101e56bc6e3f1ba058b450bbd2af9ec7 [INFO] running `Command { std: "docker" "start" "-a" "7dcaa64d819dc4cb72a561cb88ede73d101e56bc6e3f1ba058b450bbd2af9ec7", kill_on_drop: false }` [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling pnet_base v0.21.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling termcolor v1.0.1 [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 httparse v1.3.2 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling pnet_sys v0.21.0 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling pnet_macros_support v0.21.0 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling pnet_datalink v0.21.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling structopt-derive v0.2.10 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling env_logger v0.5.12 [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 pretty_env_logger v0.2.4 [INFO] [stderr] Compiling chrono v0.4.5 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling regex v0.2.11 [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 `#[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: 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 1m 00s [INFO] running `Command { std: "docker" "inspect" "7dcaa64d819dc4cb72a561cb88ede73d101e56bc6e3f1ba058b450bbd2af9ec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dcaa64d819dc4cb72a561cb88ede73d101e56bc6e3f1ba058b450bbd2af9ec7", kill_on_drop: false }` [INFO] [stdout] 7dcaa64d819dc4cb72a561cb88ede73d101e56bc6e3f1ba058b450bbd2af9ec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c5415002da87d88d34a5d51891f7b0aa5fb785a6d91c3288819cb9c3977662d0 [INFO] running `Command { std: "docker" "start" "-a" "c5415002da87d88d34a5d51891f7b0aa5fb785a6d91c3288819cb9c3977662d0", 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 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] 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 `#[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] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pcap2-aab8bd61c4bfaac0) [INFO] [stdout] [INFO] [stdout] running 42 tests [INFO] [stdout] test pcap::packet::tests::test_read ... ok [INFO] [stdout] test pcap::packet::tests::test_write ... ok [INFO] [stdout] test pcap::writer::tests::test_from_packets ... ok [INFO] [stdout] test pcapng::block::tests::test_parse ... ok [INFO] [stdout] test pcapng::blocks::custom::tests::test_parse ... ok [INFO] [stdout] test pcapng::block::tests::test_layout ... ok [INFO] [stdout] test pcap::packet::tests::test_layout ... ok [INFO] [stdout] test pcap::header::tests::test_layout ... ok [INFO] [stdout] test pcap::packet::tests::test_parse ... ok [INFO] [stdout] test pcap::header::tests::test_parse ... ok [INFO] [stdout] test pcap::header::tests::test_write ... ok [INFO] [stdout] test pcap::writer::tests::test_write ... ok [INFO] [stdout] test pcapng::block::tests::test_write ... ok [INFO] [stdout] test pcap::reader::tests::test_parse ... ok [INFO] [stdout] test pcapng::block::tests::test_corrupted ... ok [INFO] [stdout] test pcap::reader::tests::test_read ... ok [INFO] [stdout] test pcapng::blocks::obsoleted_packet::tests::test_parse ... ok [INFO] [stdout] test pcapng::blocks::interface_description::tests::test_options ... ok [INFO] [stdout] test pcapng::blocks::obsoleted_packet::tests::test_write ... ok [INFO] [stdout] test pcapng::blocks::section_header::tests::test_parse ... ok [INFO] [stdout] test pcapng::blocks::simple_packet::tests::test_parse ... ok [INFO] [stdout] test pcapng::blocks::custom::tests::test_write ... ok [INFO] [stdout] test pcapng::blocks::obsoleted_packet::tests::test_options ... ok [INFO] [stdout] test pcapng::blocks::enhanced_packet::tests::test_options ... ok [INFO] [stdout] test pcapng::blocks::simple_packet::tests::test_write ... ok [INFO] [stdout] test pcapng::blocks::interface_statistics::tests::test_write ... ok [INFO] [stdout] test pcapng::blocks::enhanced_packet::tests::test_parse ... ok [INFO] [stdout] test pcapng::blocks::section_header::tests::test_write ... 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::enhanced_packet::tests::test_write ... ok [INFO] [stdout] test pcapng::options::tests::test_parse ... ok [INFO] [stdout] test pcapng::blocks::name_resolution::tests::test_write ... ok [INFO] [stdout] test pcapng::blocks::interface_statistics::tests::test_options ... ok [INFO] [stdout] test pcapng::options::tests::test_write ... ok [INFO] [stdout] test pcapng::options::tests::test_read ... ok [INFO] [stdout] test pcapng::options::tests::test_size ... ok [INFO] [stdout] test pcapng::reader::tests::test_parse_blocks ... ok [INFO] [stdout] test pcapng::options::tests::test_parse_empty ... ok [INFO] [stdout] test pcapng::blocks::interface_description::tests::test_parse ... ok [INFO] [stdout] test pcapng::reader::tests::test_read_blocks ... ok [INFO] [stdout] test pcapng::blocks::interface_description::tests::test_write ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-58c48a10e8df58b1) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_pcapng_data ... ok [INFO] [stdout] test test_generated_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: 0x55a9b39e9280 - std::backtrace_rs::backtrace::libunwind::trace::h706b838f5bbd876b [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55a9b39e9280 - std::backtrace_rs::backtrace::trace_unsynchronized::hc15f29ae7822b7b8 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a9b39e9280 - std::sys_common::backtrace::_print_fmt::h7c580c971f91926c [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55a9b39e9280 - ::fmt::h2a772198c4032452 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55a9b3a0c03c - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x55a9b39e4c05 - std::io::Write::write_fmt::h583dff5009d01a9f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/io/mod.rs:1663:15 [INFO] [stdout] 6: 0x55a9b39eb40b - std::sys_common::backtrace::_print::h5b3c171e6f864ae4 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55a9b39eb40b - std::sys_common::backtrace::print::h93b9e9ed2a98e611 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55a9b39eb40b - std::panicking::default_hook::{{closure}}::hd8da92bb68d520c5 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55a9b39eaf1c - std::panicking::default_hook::hdbc8b2951c5afbab [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55a9b39ebad4 - std::panicking::rust_panic_with_hook::h8a4c841655926f4e [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55a9b39eb5b7 - std::panicking::begin_panic_handler::{{closure}}::h471b6bc74904b7b0 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55a9b39e977c - std::sys_common::backtrace::__rust_end_short_backtrace::h309f5c707f29932f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55a9b39eb519 - rust_begin_unwind [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55a9b37b3feb - std::panicking::begin_panic_fmt::h124dfb9fde553188 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:457:5 [INFO] [stdout] 15: 0x55a9b37c42bb - integration_tests::test_pcap_data::h56b8a9ce66cc67c3 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:256:78 [INFO] [stdout] 16: 0x55a9b37c366a - integration_tests::test_pcap_data::{{closure}}::h7b1f90363fafff22 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:231:1 [INFO] [stdout] 17: 0x55a9b37bd95e - core::ops::function::FnOnce::call_once::h302094e0430a1cdd [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 18: 0x55a9b37f2e03 - core::ops::function::FnOnce::call_once::h99a97b0ff983bd25 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x55a9b37f2e03 - test::__rust_begin_short_backtrace::h8fe0d26ed1584e50 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:577:5 [INFO] [stdout] 20: 0x55a9b37f1890 - as core::ops::function::FnOnce>::call_once::he6b90e352f394d8f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 21: 0x55a9b37f1890 - as core::ops::function::FnOnce<()>>::call_once::h1c05475e029700b8 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:347:9 [INFO] [stdout] 22: 0x55a9b37f1890 - std::panicking::try::do_call::he6de943476ae628a [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:401:40 [INFO] [stdout] 23: 0x55a9b37f1890 - std::panicking::try::ha21937b8feb06f89 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:365:19 [INFO] [stdout] 24: 0x55a9b37f1890 - std::panic::catch_unwind::ha79830b3325c9fa6 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:434:14 [INFO] [stdout] 25: 0x55a9b37f1890 - test::run_test_in_process::h1ab180b83ee2d5b5 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:600:18 [INFO] [stdout] 26: 0x55a9b37f1890 - test::run_test::run_test_inner::{{closure}}::h8258ffe088f187a1 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:492:39 [INFO] [stdout] 27: 0x55a9b37cae52 - test::run_test::run_test_inner::{{closure}}::hc697b214abd32bc6 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:519:37 [INFO] [stdout] 28: 0x55a9b37cae52 - std::sys_common::backtrace::__rust_begin_short_backtrace::h64de0d3f894854a9 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 29: 0x55a9b37ceaa8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h1fd98fc86e533ece [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 30: 0x55a9b37ceaa8 - as core::ops::function::FnOnce<()>>::call_once::h4e2a7abf702e4cfd [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:347:9 [INFO] [stdout] 31: 0x55a9b37ceaa8 - std::panicking::try::do_call::h4496392321a3c8c0 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:401:40 [INFO] [stdout] 32: 0x55a9b37ceaa8 - std::panicking::try::hf1e14258e04e8e9a [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:365:19 [INFO] [stdout] 33: 0x55a9b37ceaa8 - std::panic::catch_unwind::hb72c3777cd55642f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:434:14 [INFO] [stdout] 34: 0x55a9b37ceaa8 - std::thread::Builder::spawn_unchecked::{{closure}}::h2d7915a5910e148e [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 35: 0x55a9b37ceaa8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h83fd2f1ef5be797c [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 36: 0x55a9b39f0b27 - as core::ops::function::FnOnce>::call_once::ha8b1d5a0092467fc [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 37: 0x55a9b39f0b27 - as core::ops::function::FnOnce>::call_once::h4b9f24ec4e8a879e [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 38: 0x55a9b39f0b27 - std::sys::unix::thread::Thread::new::thread_start::h2a0e98fbc4ab4c32 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys/unix/thread.rs:72:17 [INFO] [stdout] 39: 0x7f870e3ee609 - start_thread [INFO] [stdout] 40: 0x7f870e1c0293 - 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.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test integration_tests' [INFO] running `Command { std: "docker" "inspect" "c5415002da87d88d34a5d51891f7b0aa5fb785a6d91c3288819cb9c3977662d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5415002da87d88d34a5d51891f7b0aa5fb785a6d91c3288819cb9c3977662d0", kill_on_drop: false }` [INFO] [stdout] c5415002da87d88d34a5d51891f7b0aa5fb785a6d91c3288819cb9c3977662d0