[INFO] fetching crate nyquest-backend-curl 0.3.0... [INFO] checking nyquest-backend-curl-0.3.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate nyquest-backend-curl 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate nyquest-backend-curl 0.3.0 [INFO] finished tweaking crates.io crate nyquest-backend-curl 0.3.0 [INFO] tweaked toml for crates.io crate nyquest-backend-curl 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nyquest-backend-curl 0.3.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nyquest-backend-curl 0.3.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nyquest-interface v0.3.0 [INFO] [stderr] Downloaded iconv-native v0.1.0 [INFO] [stderr] Downloaded schannel v0.1.24 [INFO] [stderr] Downloaded cc v1.1.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02e01983c4012c25054680501945f36b0dd93c81da0c22496b87f952333d5740 [INFO] running `Command { std: "docker" "start" "-a" "02e01983c4012c25054680501945f36b0dd93c81da0c22496b87f952333d5740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02e01983c4012c25054680501945f36b0dd93c81da0c22496b87f952333d5740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02e01983c4012c25054680501945f36b0dd93c81da0c22496b87f952333d5740", kill_on_drop: false }` [INFO] [stdout] 02e01983c4012c25054680501945f36b0dd93c81da0c22496b87f952333d5740 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc60791772740664fe5bb4b6777e8ec81fa389bcca0fa81d2d3c30a1a34247b1 [INFO] running `Command { std: "docker" "start" "-a" "cc60791772740664fe5bb4b6777e8ec81fa389bcca0fa81d2d3c30a1a34247b1", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling curl v0.4.47 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling curl-sys v0.4.80+curl-8.12.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking nyquest-interface v0.3.0 [INFO] [stderr] Checking nyquest-backend-curl v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::ErrorKind` [INFO] [stdout] --> src/request.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::ErrorKind` [INFO] [stdout] --> src/request.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoNyquestResult` is never used [INFO] [stdout] --> src/error.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) trait IntoNyquestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `populate_request` is never used [INFO] [stdout] --> src/request.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn populate_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MutexGuardStore` is never used [INFO] [stdout] --> src/share.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | type MutexGuardStore = Mutex>>; // One per curl share data type [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawShare` is never constructed [INFO] [stdout] --> src/share.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct RawShare { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Share` is never constructed [INFO] [stdout] --> src/share.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) struct Share { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShareHandle` is never constructed [INFO] [stdout] --> src/share.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(super) struct ShareHandle { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_handle`, and `bind_easy2` are never used [INFO] [stdout] --> src/share.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Share { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 51 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_handle(&self) -> ShareHandle { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub unsafe fn bind_easy2(&self, easy: &mut Easy2) -> NyquestResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init_options`, and `set_self_ptr` are never used [INFO] [stdout] --> src/share.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl RawShare { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 82 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn init_options(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | unsafe fn set_self_ptr(&self, ptr: *const Self) -> Result<(), ShareError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_share_option` is never used [INFO] [stdout] --> src/share.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | unsafe fn set_share_option( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lock_function` is never used [INFO] [stdout] --> src/share.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | extern "C" fn lock_function( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unlock_function` is never used [INFO] [stdout] --> src/share.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 175 | extern "C" fn unlock_function(_curl: *mut CURL, data: curl_lock_data, user_ptr: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestState` is never constructed [INFO] [stdout] --> src/state.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct RequestState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_header_data` and `write_data` are never used [INFO] [stdout] --> src/state.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl RequestState { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 11 | pub(crate) fn push_header_data(&mut self, data: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) fn write_data(&mut self, data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_absolute` is never used [INFO] [stdout] --> src/url.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn is_absolute(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concat_url` is never used [INFO] [stdout] --> src/url.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn concat_url(base: Option<&str>, relative: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.09s [INFO] [stdout] warning: trait `IntoNyquestResult` is never used [INFO] [stdout] --> src/error.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) trait IntoNyquestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `populate_request` is never used [INFO] [stdout] --> src/request.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn populate_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MutexGuardStore` is never used [INFO] [stdout] --> src/share.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | type MutexGuardStore = Mutex>>; // One per curl share data type [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawShare` is never constructed [INFO] [stdout] --> src/share.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct RawShare { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Share` is never constructed [INFO] [stdout] --> src/share.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) struct Share { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShareHandle` is never constructed [INFO] [stdout] --> src/share.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(super) struct ShareHandle { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_handle`, and `bind_easy2` are never used [INFO] [stdout] --> src/share.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Share { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 51 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_handle(&self) -> ShareHandle { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub unsafe fn bind_easy2(&self, easy: &mut Easy2) -> NyquestResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init_options`, and `set_self_ptr` are never used [INFO] [stdout] --> src/share.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl RawShare { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 82 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn init_options(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | unsafe fn set_self_ptr(&self, ptr: *const Self) -> Result<(), ShareError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_share_option` is never used [INFO] [stdout] --> src/share.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | unsafe fn set_share_option( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lock_function` is never used [INFO] [stdout] --> src/share.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | extern "C" fn lock_function( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unlock_function` is never used [INFO] [stdout] --> src/share.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 175 | extern "C" fn unlock_function(_curl: *mut CURL, data: curl_lock_data, user_ptr: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestState` is never constructed [INFO] [stdout] --> src/state.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct RequestState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_header_data` and `write_data` are never used [INFO] [stdout] --> src/state.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl RequestState { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 11 | pub(crate) fn push_header_data(&mut self, data: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) fn write_data(&mut self, data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cc60791772740664fe5bb4b6777e8ec81fa389bcca0fa81d2d3c30a1a34247b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc60791772740664fe5bb4b6777e8ec81fa389bcca0fa81d2d3c30a1a34247b1", kill_on_drop: false }` [INFO] [stdout] cc60791772740664fe5bb4b6777e8ec81fa389bcca0fa81d2d3c30a1a34247b1