[INFO] fetching crate pcap_on_demand 0.1.3... [INFO] checking pcap_on_demand-0.1.3 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate pcap_on_demand 0.1.3 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate pcap_on_demand 0.1.3 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-3/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--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-uds v0.2.6 [INFO] [stderr] Downloaded tokio-core v0.1.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a28af812c7d28543b62b20818fc2c3a99a6bb9bf5698ce8277deb443a433ba2 [INFO] running `Command { std: "docker" "start" "-a" "2a28af812c7d28543b62b20818fc2c3a99a6bb9bf5698ce8277deb443a433ba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a28af812c7d28543b62b20818fc2c3a99a6bb9bf5698ce8277deb443a433ba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a28af812c7d28543b62b20818fc2c3a99a6bb9bf5698ce8277deb443a433ba2", kill_on_drop: false }` [INFO] [stdout] 2a28af812c7d28543b62b20818fc2c3a99a6bb9bf5698ce8277deb443a433ba2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8726feccfd907a485cef342e464db3adf0d62bc91dfb64cf3f70371e3fd0caa [INFO] running `Command { std: "docker" "start" "-a" "c8726feccfd907a485cef342e464db3adf0d62bc91dfb64cf3f70371e3fd0caa", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling pcap_on_demand v0.1.3 (/tmp/fixit) [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (6 fixes) [INFO] [stderr] Checking tempdir v0.3.7 [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: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/easylisten.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/streamlisten.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/savefile.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/getdevices.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/listenlocalhost.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/getstatistics.rs from 2018 edition to 2021 [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[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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pcap_on_demand` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c8726feccfd907a485cef342e464db3adf0d62bc91dfb64cf3f70371e3fd0caa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8726feccfd907a485cef342e464db3adf0d62bc91dfb64cf3f70371e3fd0caa", kill_on_drop: false }` [INFO] [stdout] c8726feccfd907a485cef342e464db3adf0d62bc91dfb64cf3f70371e3fd0caa