[INFO] fetching crate win_inet 0.1.1... [INFO] testing win_inet-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate win_inet 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate win_inet 0.1.1 [INFO] finished tweaking crates.io crate win_inet 0.1.1 [INFO] tweaked toml for crates.io crate win_inet 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate win_inet 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate win_inet 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f2318eaf9a54fe319b40d45724f755487fc8364e1431e61403711754a9a8a6f [INFO] running `Command { std: "docker" "start" "-a" "0f2318eaf9a54fe319b40d45724f755487fc8364e1431e61403711754a9a8a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f2318eaf9a54fe319b40d45724f755487fc8364e1431e61403711754a9a8a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f2318eaf9a54fe319b40d45724f755487fc8364e1431e61403711754a9a8a6f", kill_on_drop: false }` [INFO] [stdout] 0f2318eaf9a54fe319b40d45724f755487fc8364e1431e61403711754a9a8a6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bad60c14d010fb11774e78785deca6c36ffdcd025b9bd44ce6577b4a9d7b2d15 [INFO] running `Command { std: "docker" "start" "-a" "bad60c14d010fb11774e78785deca6c36ffdcd025b9bd44ce6577b4a9d7b2d15", kill_on_drop: false }` [INFO] [stderr] Compiling win_inet v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `c_int` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type c_int = i32; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `CInt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `c_long` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type c_long = i32; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `CLong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `c_ushort` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | type c_ushort = u16; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CUshort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__int8` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | type __int8 = i8; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Int8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__uint8` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | type __uint8 = u8; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Uint8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__int16` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type __int16 = i16; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Int16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__uint16` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | type __uint16 = u16; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Uint16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__int32` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | type __int32 = i32; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Int32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__uint32` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | type __uint32 = u32; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Uint32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__int64` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | type __int64 = i64; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Int64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__uint64` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | type __uint64 = u64; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Uint64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DWORD_PTR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | type DWORD_PTR = usize; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DwordPtr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `INTERNET_STATUS_CALLBACK` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | pub type INTERNET_STATUS_CALLBACK = Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InternetStatusCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LPINTERNET_STATUS_CALLBACK` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | pub type LPINTERNET_STATUS_CALLBACK = *mut INTERNET_STATUS_CALLBACK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LpinternetStatusCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::Unpin` [INFO] [stdout] --> src/lib.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | use std::marker::Unpin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `c_long` is never used [INFO] [stdout] --> src/lib.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type c_long = i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PDWORD` is never used [INFO] [stdout] --> src/lib.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type PDWORD = *mut DWORD; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPCVOID` is never used [INFO] [stdout] --> src/lib.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | type LPCVOID = *const c_void; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LONG` is never used [INFO] [stdout] --> src/lib.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type LONG = c_long; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WORD` is never used [INFO] [stdout] --> src/lib.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | type WORD = c_ushort; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `c_ushort` is never used [INFO] [stdout] --> src/lib.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | type c_ushort = u16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PLONG` is never used [INFO] [stdout] --> src/lib.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | type PLONG = *mut LONG; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPHINTERNET` is never used [INFO] [stdout] --> src/lib.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | type LPHINTERNET = *mut HINTERNET; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FILETIME` is never constructed [INFO] [stdout] --> src/lib.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | struct FILETIME { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:249:34 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct WinINetConnection<'a>(&'a WinINet, HINTERNET); [INFO] [stdout] | ----------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 249 - pub struct WinINetConnection<'a>(&'a WinINet, HINTERNET); [INFO] [stdout] 249 + pub struct WinINetConnection<'a>((), HINTERNET); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Upload`, `End`, and `Download` are never constructed [INFO] [stdout] --> src/lib.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 290 | enum ReqState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 291 | Send, [INFO] [stdout] 292 | Upload, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 293 | End, [INFO] [stdout] | ^^^ [INFO] [stdout] 294 | Download [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | pub struct WinINetRequest<'a>(&'a WinINetConnection<'a>, HINTERNET, Option, ReqState); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 300 - pub struct WinINetRequest<'a>(&'a WinINetConnection<'a>, HINTERNET, Option, ReqState); [INFO] [stdout] 300 + pub struct WinINetRequest<'a>((), HINTERNET, Option, ReqState); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `InternetQueryDataAvailable` is never used [INFO] [stdout] --> src/lib.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn InternetQueryDataAvailable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `InternetSetFilePointer` is never used [INFO] [stdout] --> src/lib.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | fn InternetSetFilePointer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `InternetWriteFile` is never used [INFO] [stdout] --> src/lib.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn InternetWriteFile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPSTR` is never used [INFO] [stdout] --> src/ansi.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | type LPSTR = *mut CHAR; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_content_len` is never used [INFO] [stdout] --> src/ansi.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl INTERNET_BUFFERSA { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn set_content_len(&mut self, len: super::DWORD) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwResult` should have a snake case name [INFO] [stdout] --> src/lib.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub dwResult: DWORD_PTR, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dw_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwError` should have a snake case name [INFO] [stdout] --> src/lib.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub dwError: DWORD, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `dw_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwLowDateTime` should have a snake case name [INFO] [stdout] --> src/lib.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | dwLowDateTime: DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_low_date_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwHighDateTime` should have a snake case name [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | dwHighDateTime: DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_high_date_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hInternet` should have a snake case name [INFO] [stdout] --> src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | hInternet: HINTERNET, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `h_internet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dwContext` should have a snake case name [INFO] [stdout] --> src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | dwContext: DWORD_PTR, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `dw_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dwInternetStatus` should have a snake case name [INFO] [stdout] --> src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | dwInternetStatus: DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_internet_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lpvStatusInformation` should have a snake case name [INFO] [stdout] --> src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | lpvStatusInformation: LPVOID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `lpv_status_information` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dwStatusInformationLength` should have a snake case name [INFO] [stdout] --> src/lib.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | dwStatusInformationLength: DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_status_information_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 214 | ) -> Result { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 214 | ) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn request(&self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 267 | tls: bool) -> Result { [INFO] [stdout] | -------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 267 | tls: bool) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Flags` should have a snake case name [INFO] [stdout] --> src/lib.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let mut Flags = INTERNET_FLAG_RELOAD | INTERNET_FLAG_NO_CACHE_WRITE; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwStructSize` should have a snake case name [INFO] [stdout] --> src/ansi.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | dwStructSize: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_struct_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Next` should have a snake case name [INFO] [stdout] --> src/ansi.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | Next: *mut INTERNET_BUFFERSA, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lpcszHeader` should have a snake case name [INFO] [stdout] --> src/ansi.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | lpcszHeader: LPCSTR, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `lpcsz_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwHeadersLength` should have a snake case name [INFO] [stdout] --> src/ansi.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | dwHeadersLength: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_headers_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwHeadersTotal` should have a snake case name [INFO] [stdout] --> src/ansi.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | dwHeadersTotal: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_headers_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lpvBuffer` should have a snake case name [INFO] [stdout] --> src/ansi.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | lpvBuffer: super::LPVOID, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `lpv_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwBufferLength` should have a snake case name [INFO] [stdout] --> src/ansi.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | dwBufferLength: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_buffer_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwBufferTotal` should have a snake case name [INFO] [stdout] --> src/ansi.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | dwBufferTotal: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_buffer_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwOffsetLow` should have a snake case name [INFO] [stdout] --> src/ansi.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | dwOffsetLow: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `dw_offset_low` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwOffsetHigh` should have a snake case name [INFO] [stdout] --> src/ansi.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | dwOffsetHigh: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_offset_high` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "bad60c14d010fb11774e78785deca6c36ffdcd025b9bd44ce6577b4a9d7b2d15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad60c14d010fb11774e78785deca6c36ffdcd025b9bd44ce6577b4a9d7b2d15", kill_on_drop: false }` [INFO] [stdout] bad60c14d010fb11774e78785deca6c36ffdcd025b9bd44ce6577b4a9d7b2d15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 682b573457b51c9412cfc74ce08e06cb41173d47343c1ab056c4b490c843efdb [INFO] running `Command { std: "docker" "start" "-a" "682b573457b51c9412cfc74ce08e06cb41173d47343c1ab056c4b490c843efdb", kill_on_drop: false }` [INFO] [stdout] warning: type `c_int` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type c_int = i32; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `CInt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `c_long` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type c_long = i32; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `CLong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `c_ushort` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | type c_ushort = u16; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CUshort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__int8` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | type __int8 = i8; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Int8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__uint8` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | type __uint8 = u8; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Uint8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__int16` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type __int16 = i16; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Int16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__uint16` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | type __uint16 = u16; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Uint16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__int32` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | type __int32 = i32; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Int32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__uint32` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | type __uint32 = u32; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Uint32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__int64` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | type __int64 = i64; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Int64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__uint64` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | type __uint64 = u64; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Uint64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DWORD_PTR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | type DWORD_PTR = usize; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DwordPtr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `INTERNET_STATUS_CALLBACK` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | pub type INTERNET_STATUS_CALLBACK = Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InternetStatusCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LPINTERNET_STATUS_CALLBACK` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | pub type LPINTERNET_STATUS_CALLBACK = *mut INTERNET_STATUS_CALLBACK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LpinternetStatusCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::Unpin` [INFO] [stdout] --> src/lib.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | use std::marker::Unpin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `c_long` is never used [INFO] [stdout] --> src/lib.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type c_long = i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PDWORD` is never used [INFO] [stdout] --> src/lib.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type PDWORD = *mut DWORD; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPCVOID` is never used [INFO] [stdout] --> src/lib.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | type LPCVOID = *const c_void; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LONG` is never used [INFO] [stdout] --> src/lib.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type LONG = c_long; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WORD` is never used [INFO] [stdout] --> src/lib.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | type WORD = c_ushort; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `c_ushort` is never used [INFO] [stdout] --> src/lib.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | type c_ushort = u16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PLONG` is never used [INFO] [stdout] --> src/lib.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | type PLONG = *mut LONG; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPHINTERNET` is never used [INFO] [stdout] --> src/lib.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | type LPHINTERNET = *mut HINTERNET; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FILETIME` is never constructed [INFO] [stdout] --> src/lib.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | struct FILETIME { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:249:34 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct WinINetConnection<'a>(&'a WinINet, HINTERNET); [INFO] [stdout] | ----------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 249 - pub struct WinINetConnection<'a>(&'a WinINet, HINTERNET); [INFO] [stdout] 249 + pub struct WinINetConnection<'a>((), HINTERNET); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Upload`, `End`, and `Download` are never constructed [INFO] [stdout] --> src/lib.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 290 | enum ReqState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 291 | Send, [INFO] [stdout] 292 | Upload, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 293 | End, [INFO] [stdout] | ^^^ [INFO] [stdout] 294 | Download [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | pub struct WinINetRequest<'a>(&'a WinINetConnection<'a>, HINTERNET, Option, ReqState); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 300 - pub struct WinINetRequest<'a>(&'a WinINetConnection<'a>, HINTERNET, Option, ReqState); [INFO] [stdout] 300 + pub struct WinINetRequest<'a>((), HINTERNET, Option, ReqState); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `InternetQueryDataAvailable` is never used [INFO] [stdout] --> src/lib.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn InternetQueryDataAvailable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `InternetSetFilePointer` is never used [INFO] [stdout] --> src/lib.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | fn InternetSetFilePointer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `InternetWriteFile` is never used [INFO] [stdout] --> src/lib.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn InternetWriteFile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPSTR` is never used [INFO] [stdout] --> src/ansi.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | type LPSTR = *mut CHAR; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_content_len` is never used [INFO] [stdout] --> src/ansi.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl INTERNET_BUFFERSA { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn set_content_len(&mut self, len: super::DWORD) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwResult` should have a snake case name [INFO] [stdout] --> src/lib.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub dwResult: DWORD_PTR, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dw_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwError` should have a snake case name [INFO] [stdout] --> src/lib.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub dwError: DWORD, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `dw_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwLowDateTime` should have a snake case name [INFO] [stdout] --> src/lib.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | dwLowDateTime: DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_low_date_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwHighDateTime` should have a snake case name [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | dwHighDateTime: DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_high_date_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hInternet` should have a snake case name [INFO] [stdout] --> src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | hInternet: HINTERNET, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `h_internet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dwContext` should have a snake case name [INFO] [stdout] --> src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | dwContext: DWORD_PTR, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `dw_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dwInternetStatus` should have a snake case name [INFO] [stdout] --> src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | dwInternetStatus: DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_internet_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lpvStatusInformation` should have a snake case name [INFO] [stdout] --> src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | lpvStatusInformation: LPVOID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `lpv_status_information` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dwStatusInformationLength` should have a snake case name [INFO] [stdout] --> src/lib.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | dwStatusInformationLength: DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_status_information_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 214 | ) -> Result { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 214 | ) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn request(&self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 267 | tls: bool) -> Result { [INFO] [stdout] | -------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 267 | tls: bool) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Flags` should have a snake case name [INFO] [stdout] --> src/lib.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let mut Flags = INTERNET_FLAG_RELOAD | INTERNET_FLAG_NO_CACHE_WRITE; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwStructSize` should have a snake case name [INFO] [stdout] --> src/ansi.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | dwStructSize: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_struct_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Next` should have a snake case name [INFO] [stdout] --> src/ansi.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | Next: *mut INTERNET_BUFFERSA, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lpcszHeader` should have a snake case name [INFO] [stdout] --> src/ansi.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | lpcszHeader: LPCSTR, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `lpcsz_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwHeadersLength` should have a snake case name [INFO] [stdout] --> src/ansi.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | dwHeadersLength: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_headers_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwHeadersTotal` should have a snake case name [INFO] [stdout] --> src/ansi.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | dwHeadersTotal: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_headers_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lpvBuffer` should have a snake case name [INFO] [stdout] --> src/ansi.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | lpvBuffer: super::LPVOID, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `lpv_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwBufferLength` should have a snake case name [INFO] [stdout] --> src/ansi.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | dwBufferLength: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_buffer_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwBufferTotal` should have a snake case name [INFO] [stdout] --> src/ansi.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | dwBufferTotal: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_buffer_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwOffsetLow` should have a snake case name [INFO] [stdout] --> src/ansi.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | dwOffsetLow: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `dw_offset_low` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling win_inet v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: structure field `dwOffsetHigh` should have a snake case name [INFO] [stdout] --> src/ansi.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | dwOffsetHigh: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_offset_high` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OsStr` [INFO] [stdout] --> examples/async.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::{OsStr, CString}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WinINetRequest` [INFO] [stdout] --> examples/async.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | use win_inet::{InternetOpenType, WinINet, WinINetRequest, InternetStatus, INTERNET_ASYNC_RESULT}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `barrier` should have an upper case name [INFO] [stdout] --> examples/async.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | static mut barrier: Option = None; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 18 - static mut barrier: Option = None; [INFO] [stdout] 18 + static mut BARRIER: Option = None; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/async.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | agent.set_callback(Some(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = agent.set_callback(Some(callback)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> examples/async.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe {barrier.as_ref()}.unwrap().wait(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> examples/async.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe {barrier.as_ref()}.unwrap().wait(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> examples/async.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | unsafe {barrier.as_ref()}.unwrap().wait(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> examples/async.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(w) = barrier.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `c_int` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type c_int = i32; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `CInt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `c_long` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type c_long = i32; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `CLong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `c_ushort` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | type c_ushort = u16; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CUshort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__int8` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | type __int8 = i8; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Int8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__uint8` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | type __uint8 = u8; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Uint8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__int16` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type __int16 = i16; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Int16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__uint16` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | type __uint16 = u16; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Uint16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__int32` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | type __int32 = i32; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Int32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__uint32` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | type __uint32 = u32; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Uint32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__int64` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | type __int64 = i64; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Int64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__uint64` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | type __uint64 = u64; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Uint64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DWORD_PTR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | type DWORD_PTR = usize; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DwordPtr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `INTERNET_STATUS_CALLBACK` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | pub type INTERNET_STATUS_CALLBACK = Option< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InternetStatusCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LPINTERNET_STATUS_CALLBACK` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | pub type LPINTERNET_STATUS_CALLBACK = *mut INTERNET_STATUS_CALLBACK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LpinternetStatusCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::Unpin` [INFO] [stdout] --> src/lib.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | use std::marker::Unpin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcL54CYB/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libwin_inet-2c2bd2ace298f6e2.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-l:libwininet.a" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcL54CYB/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/async-9c4591b4cdd0b072" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -l:libwininet.a [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `win_inet` (example "async") due to 1 previous error; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type alias `c_long` is never used [INFO] [stdout] --> src/lib.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type c_long = i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PDWORD` is never used [INFO] [stdout] --> src/lib.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type PDWORD = *mut DWORD; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPCVOID` is never used [INFO] [stdout] --> src/lib.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | type LPCVOID = *const c_void; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LONG` is never used [INFO] [stdout] --> src/lib.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type LONG = c_long; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WORD` is never used [INFO] [stdout] --> src/lib.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | type WORD = c_ushort; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `c_ushort` is never used [INFO] [stdout] --> src/lib.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | type c_ushort = u16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PLONG` is never used [INFO] [stdout] --> src/lib.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | type PLONG = *mut LONG; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPHINTERNET` is never used [INFO] [stdout] --> src/lib.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | type LPHINTERNET = *mut HINTERNET; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FILETIME` is never constructed [INFO] [stdout] --> src/lib.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | struct FILETIME { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:249:34 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct WinINetConnection<'a>(&'a WinINet, HINTERNET); [INFO] [stdout] | ----------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 249 - pub struct WinINetConnection<'a>(&'a WinINet, HINTERNET); [INFO] [stdout] 249 + pub struct WinINetConnection<'a>((), HINTERNET); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Upload`, `End`, and `Download` are never constructed [INFO] [stdout] --> src/lib.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 290 | enum ReqState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 291 | Send, [INFO] [stdout] 292 | Upload, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 293 | End, [INFO] [stdout] | ^^^ [INFO] [stdout] 294 | Download [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | pub struct WinINetRequest<'a>(&'a WinINetConnection<'a>, HINTERNET, Option, ReqState); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 300 - pub struct WinINetRequest<'a>(&'a WinINetConnection<'a>, HINTERNET, Option, ReqState); [INFO] [stdout] 300 + pub struct WinINetRequest<'a>((), HINTERNET, Option, ReqState); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `InternetQueryDataAvailable` is never used [INFO] [stdout] --> src/lib.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn InternetQueryDataAvailable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `InternetSetFilePointer` is never used [INFO] [stdout] --> src/lib.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | fn InternetSetFilePointer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `InternetWriteFile` is never used [INFO] [stdout] --> src/lib.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn InternetWriteFile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPSTR` is never used [INFO] [stdout] --> src/ansi.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | type LPSTR = *mut CHAR; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_content_len` is never used [INFO] [stdout] --> src/ansi.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl INTERNET_BUFFERSA { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn set_content_len(&mut self, len: super::DWORD) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwResult` should have a snake case name [INFO] [stdout] --> src/lib.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub dwResult: DWORD_PTR, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dw_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwError` should have a snake case name [INFO] [stdout] --> src/lib.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub dwError: DWORD, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `dw_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwLowDateTime` should have a snake case name [INFO] [stdout] --> src/lib.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | dwLowDateTime: DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_low_date_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwHighDateTime` should have a snake case name [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | dwHighDateTime: DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_high_date_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hInternet` should have a snake case name [INFO] [stdout] --> src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | hInternet: HINTERNET, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `h_internet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dwContext` should have a snake case name [INFO] [stdout] --> src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | dwContext: DWORD_PTR, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `dw_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dwInternetStatus` should have a snake case name [INFO] [stdout] --> src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | dwInternetStatus: DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_internet_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lpvStatusInformation` should have a snake case name [INFO] [stdout] --> src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | lpvStatusInformation: LPVOID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `lpv_status_information` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dwStatusInformationLength` should have a snake case name [INFO] [stdout] --> src/lib.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | dwStatusInformationLength: DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_status_information_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 214 | ) -> Result { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 214 | ) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn request(&self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 267 | tls: bool) -> Result { [INFO] [stdout] | -------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 267 | tls: bool) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Flags` should have a snake case name [INFO] [stdout] --> src/lib.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let mut Flags = INTERNET_FLAG_RELOAD | INTERNET_FLAG_NO_CACHE_WRITE; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwStructSize` should have a snake case name [INFO] [stdout] --> src/ansi.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | dwStructSize: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_struct_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Next` should have a snake case name [INFO] [stdout] --> src/ansi.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | Next: *mut INTERNET_BUFFERSA, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lpcszHeader` should have a snake case name [INFO] [stdout] --> src/ansi.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | lpcszHeader: LPCSTR, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `lpcsz_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwHeadersLength` should have a snake case name [INFO] [stdout] --> src/ansi.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | dwHeadersLength: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_headers_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwHeadersTotal` should have a snake case name [INFO] [stdout] --> src/ansi.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | dwHeadersTotal: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_headers_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lpvBuffer` should have a snake case name [INFO] [stdout] --> src/ansi.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | lpvBuffer: super::LPVOID, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `lpv_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwBufferLength` should have a snake case name [INFO] [stdout] --> src/ansi.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | dwBufferLength: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_buffer_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwBufferTotal` should have a snake case name [INFO] [stdout] --> src/ansi.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | dwBufferTotal: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_buffer_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwOffsetLow` should have a snake case name [INFO] [stdout] --> src/ansi.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | dwOffsetLow: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `dw_offset_low` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dwOffsetHigh` should have a snake case name [INFO] [stdout] --> src/ansi.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | dwOffsetHigh: super::DWORD, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_offset_high` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcaskG1o/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-l:libwininet.a" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcaskG1o/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/win_inet-365b89039caf8298" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -l:libwininet.a [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `win_inet` (lib test) due to 1 previous error; 54 warnings emitted [INFO] running `Command { std: "docker" "inspect" "682b573457b51c9412cfc74ce08e06cb41173d47343c1ab056c4b490c843efdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "682b573457b51c9412cfc74ce08e06cb41173d47343c1ab056c4b490c843efdb", kill_on_drop: false }` [INFO] [stdout] 682b573457b51c9412cfc74ce08e06cb41173d47343c1ab056c4b490c843efdb