[INFO] fetching crate pcap_on_demand 0.1.3... [INFO] checking pcap_on_demand-0.1.3 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate pcap_on_demand 0.1.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate pcap_on_demand 0.1.3 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pcap_on_demand 0.1.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate pcap_on_demand 0.1.3 [INFO] tweaked toml for crates.io crate pcap_on_demand 0.1.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate pcap_on_demand 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-core v0.1.17 [INFO] [stderr] Downloaded tokio-uds v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3123cc61b205e80b84ba1f3d3c432d9fd1ddbf0643190593f6c5438e3babdd8 [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" "a3123cc61b205e80b84ba1f3d3c432d9fd1ddbf0643190593f6c5438e3babdd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3123cc61b205e80b84ba1f3d3c432d9fd1ddbf0643190593f6c5438e3babdd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3123cc61b205e80b84ba1f3d3c432d9fd1ddbf0643190593f6c5438e3babdd8", kill_on_drop: false }` [INFO] [stdout] a3123cc61b205e80b84ba1f3d3c432d9fd1ddbf0643190593f6c5438e3babdd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77391d9ddd176059fb40ebf7d165c89d87447b61a33c1d96a2e17857b8bb9065 [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" "77391d9ddd176059fb40ebf7d165c89d87447b61a33c1d96a2e17857b8bb9065", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling pcap_on_demand v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stdout] warning: unused import: `Symbol` [INFO] [stdout] --> src/lib.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | use libloading::{Library, Symbol}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:885:49 [INFO] [stdout] | [INFO] [stdout] 885 | impl From> for Capture { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Activated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:886:41 [INFO] [stdout] | [INFO] [stdout] 886 | fn from(cap: Capture) -> Capture { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Activated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leaked_dll` [INFO] [stdout] --> src/lib.rs:187:41 [INFO] [stdout] | [INFO] [stdout] 187 | fn load_fopen_offline_precision_feature(leaked_dll: &mut Library) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leaked_dll` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leaked_dll` [INFO] [stdout] --> src/lib.rs:197:38 [INFO] [stdout] | [INFO] [stdout] 197 | fn load_pcap_savefile_append_feature(leaked_dll: &mut Library) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leaked_dll` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stdout] warning: field is never read: `nonblock` [INFO] [stdout] --> src/lib.rs:513:5 [INFO] [stdout] | [INFO] [stdout] 513 | nonblock: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | load_non_windows(leaked_dll); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_create_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) static mut pcap_create_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_CREATE_SYMBOL` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_lookupdev_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) static mut pcap_lookupdev_symbol: Option *mut c_char> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_LOOKUPDEV_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_set_snaplen_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) static mut pcap_set_snaplen_symbol: Option c_int> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SET_SNAPLEN_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_set_promisc_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) static mut pcap_set_promisc_symbol: Option c_int> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SET_PROMISC_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_set_timeout_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | pub(crate) static mut pcap_set_timeout_symbol: Option c_int> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SET_TIMEOUT_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_set_buffer_size_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) static mut pcap_set_buffer_size_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SET_BUFFER_SIZE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_activate_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) static mut pcap_activate_symbol: Option c_int> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_ACTIVATE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_open_dead_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) static mut pcap_open_dead_symbol: Option *mut pcap_t> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_OPEN_DEAD_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_open_offline_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) static mut pcap_open_offline_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_OPEN_OFFLINE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_fopen_offline_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) static mut pcap_fopen_offline_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_FOPEN_OFFLINE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_close_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | pub(crate) static mut pcap_close_symbol: Option ()> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_CLOSE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_next_ex_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | pub(crate) static mut pcap_next_ex_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_NEXT_EX_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_stats_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | pub(crate) static mut pcap_stats_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_STATS_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_setfilter_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | pub(crate) static mut pcap_setfilter_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SETFILTER_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_setdirection_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | pub(crate) static mut pcap_setdirection_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SETDIRECTION_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_setnonblock_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | pub(crate) static mut pcap_setnonblock_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SETNONBLOCK_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_sendpacket_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | pub(crate) static mut pcap_sendpacket_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SENDPACKET_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_geterr_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | pub(crate) static mut pcap_geterr_symbol: Option *mut c_char> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_GETERR_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_compile_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | pub(crate) static mut pcap_compile_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_COMPILE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_freecode_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | pub(crate) static mut pcap_freecode_symbol: Option ()> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_FREECODE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_datalink_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | pub(crate) static mut pcap_datalink_symbol: Option c_int> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_DATALINK_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_list_datalinks_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | pub(crate) static mut pcap_list_datalinks_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_LIST_DATALINKS_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_set_datalink_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:147:23 [INFO] [stdout] | [INFO] [stdout] 147 | pub(crate) static mut pcap_set_datalink_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SET_DATALINK_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_free_datalinks_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | pub(crate) static mut pcap_free_datalinks_symbol: Option ()> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_FREE_DATALINKS_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_datalink_val_to_name_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | pub(crate) static mut pcap_datalink_val_to_name_symbol: Option *const c_char> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_DATALINK_VAL_TO_NAME_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_datalink_val_to_description_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) static mut pcap_datalink_val_to_description_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_DATALINK_VAL_TO_DESCRIPTION_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_fileno_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | pub(crate) static mut pcap_fileno_symbol: Option c_int> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_FILENO_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_dump_open_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | pub(crate) static mut pcap_dump_open_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_DUMP_OPEN_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_dump_fopen_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:161:23 [INFO] [stdout] | [INFO] [stdout] 161 | pub(crate) static mut pcap_dump_fopen_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_DUMP_FOPEN_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_dump_close_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:164:23 [INFO] [stdout] | [INFO] [stdout] 164 | pub(crate) static mut pcap_dump_close_symbol: Option ()> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_DUMP_CLOSE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_dump_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) static mut pcap_dump_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_DUMP_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_findalldevs_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | pub(crate) static mut pcap_findalldevs_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_FINDALLDEVS_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_freealldevs_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | pub(crate) static mut pcap_freealldevs_symbol: Option ()> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_FREEALLDEVS_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_set_tstamp_type_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | pub(crate) static mut pcap_set_tstamp_type_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SET_TSTAMP_TYPE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_set_tstamp_precision_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | pub(crate) static mut pcap_set_tstamp_precision_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SET_TSTAMP_PRECISION_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_set_rfmon_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) static mut pcap_set_rfmon_symbol: Option c_int> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SET_RFMON_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> examples/streamlisten.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::stream::Stream; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_core` [INFO] [stdout] --> examples/streamlisten.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_core::reactor::Core; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pcap_on_demand::tokio` [INFO] [stdout] --> examples/streamlisten.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use pcap_on_demand::tokio::PacketCodec; [INFO] [stdout] | ^^^^^ could not find `tokio` in `pcap_on_demand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Core` [INFO] [stdout] --> examples/streamlisten.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | let mut core = Core::new().unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pcap_on_demand` [INFO] [stdout] warning: unused import: `Symbol` [INFO] [stdout] --> src/lib.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | use libloading::{Library, Symbol}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:885:49 [INFO] [stdout] | [INFO] [stdout] 885 | impl From> for Capture { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Activated` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:886:41 [INFO] [stdout] | [INFO] [stdout] 886 | fn from(cap: Capture) -> Capture { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Activated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `subseconds_t` in crate `libc` [INFO] [stdout] --> tests/lib.rs:65:65 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn push(&mut self, tv_sec: libc::time_t, tv_usec: libc::subseconds_t, caplen: u32, len: u32, data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^ help: a type alias with a similar name exists: `suseconds_t` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.67/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub type suseconds_t = i64; [INFO] [stdout] | --------------------------- similarly named type alias `suseconds_t` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leaked_dll` [INFO] [stdout] --> src/lib.rs:187:41 [INFO] [stdout] | [INFO] [stdout] 187 | fn load_fopen_offline_precision_feature(leaked_dll: &mut Library) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leaked_dll` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leaked_dll` [INFO] [stdout] --> src/lib.rs:197:38 [INFO] [stdout] | [INFO] [stdout] 197 | fn load_pcap_savefile_append_feature(leaked_dll: &mut Library) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leaked_dll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nonblock` [INFO] [stdout] --> src/lib.rs:513:5 [INFO] [stdout] | [INFO] [stdout] 513 | nonblock: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | load_non_windows(leaked_dll); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_create_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) static mut pcap_create_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_CREATE_SYMBOL` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_lookupdev_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) static mut pcap_lookupdev_symbol: Option *mut c_char> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_LOOKUPDEV_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_set_snaplen_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) static mut pcap_set_snaplen_symbol: Option c_int> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SET_SNAPLEN_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_set_promisc_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) static mut pcap_set_promisc_symbol: Option c_int> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SET_PROMISC_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_set_timeout_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | pub(crate) static mut pcap_set_timeout_symbol: Option c_int> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SET_TIMEOUT_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_set_buffer_size_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) static mut pcap_set_buffer_size_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SET_BUFFER_SIZE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_activate_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) static mut pcap_activate_symbol: Option c_int> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_ACTIVATE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_open_dead_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) static mut pcap_open_dead_symbol: Option *mut pcap_t> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_OPEN_DEAD_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_open_offline_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) static mut pcap_open_offline_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_OPEN_OFFLINE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_fopen_offline_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) static mut pcap_fopen_offline_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_FOPEN_OFFLINE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_close_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | pub(crate) static mut pcap_close_symbol: Option ()> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_CLOSE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_next_ex_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | pub(crate) static mut pcap_next_ex_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_NEXT_EX_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_stats_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | pub(crate) static mut pcap_stats_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_STATS_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_setfilter_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | pub(crate) static mut pcap_setfilter_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SETFILTER_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_setdirection_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | pub(crate) static mut pcap_setdirection_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SETDIRECTION_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_setnonblock_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | pub(crate) static mut pcap_setnonblock_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SETNONBLOCK_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_sendpacket_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | pub(crate) static mut pcap_sendpacket_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SENDPACKET_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_geterr_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | pub(crate) static mut pcap_geterr_symbol: Option *mut c_char> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_GETERR_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_compile_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | pub(crate) static mut pcap_compile_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_COMPILE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_freecode_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | pub(crate) static mut pcap_freecode_symbol: Option ()> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_FREECODE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_datalink_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | pub(crate) static mut pcap_datalink_symbol: Option c_int> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_DATALINK_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_list_datalinks_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | pub(crate) static mut pcap_list_datalinks_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_LIST_DATALINKS_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_set_datalink_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:147:23 [INFO] [stdout] | [INFO] [stdout] 147 | pub(crate) static mut pcap_set_datalink_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SET_DATALINK_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_free_datalinks_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | pub(crate) static mut pcap_free_datalinks_symbol: Option ()> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_FREE_DATALINKS_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_datalink_val_to_name_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | pub(crate) static mut pcap_datalink_val_to_name_symbol: Option *const c_char> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_DATALINK_VAL_TO_NAME_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_datalink_val_to_description_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) static mut pcap_datalink_val_to_description_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_DATALINK_VAL_TO_DESCRIPTION_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_fileno_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | pub(crate) static mut pcap_fileno_symbol: Option c_int> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_FILENO_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_dump_open_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | pub(crate) static mut pcap_dump_open_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_DUMP_OPEN_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_dump_fopen_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:161:23 [INFO] [stdout] | [INFO] [stdout] 161 | pub(crate) static mut pcap_dump_fopen_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_DUMP_FOPEN_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_dump_close_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:164:23 [INFO] [stdout] | [INFO] [stdout] 164 | pub(crate) static mut pcap_dump_close_symbol: Option ()> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_DUMP_CLOSE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_dump_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) static mut pcap_dump_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_DUMP_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_findalldevs_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | pub(crate) static mut pcap_findalldevs_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_FINDALLDEVS_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_freealldevs_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | pub(crate) static mut pcap_freealldevs_symbol: Option ()> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_FREEALLDEVS_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_set_tstamp_type_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | pub(crate) static mut pcap_set_tstamp_type_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SET_TSTAMP_TYPE_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_set_tstamp_precision_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | pub(crate) static mut pcap_set_tstamp_precision_symbol: Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SET_TSTAMP_PRECISION_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pcap_set_rfmon_symbol` should have an upper case name [INFO] [stdout] --> src/raw.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) static mut pcap_set_rfmon_symbol: Option c_int> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PCAP_SET_RFMON_SYMBOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "77391d9ddd176059fb40ebf7d165c89d87447b61a33c1d96a2e17857b8bb9065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77391d9ddd176059fb40ebf7d165c89d87447b61a33c1d96a2e17857b8bb9065", kill_on_drop: false }` [INFO] [stdout] 77391d9ddd176059fb40ebf7d165c89d87447b61a33c1d96a2e17857b8bb9065