[INFO] fetching crate ratcurl 0.1.0... [INFO] checking ratcurl-0.1.0 against master#23718020b12d7e5a54f82a19910e8356ee719667 for pr-146013-1 [INFO] extracting crate ratcurl 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ratcurl 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ratcurl 0.1.0 [INFO] tweaked toml for crates.io crate ratcurl 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ratcurl 0.1.0 on toolchain 23718020b12d7e5a54f82a19910e8356ee719667 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23718020b12d7e5a54f82a19910e8356ee719667" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ratcurl 0.1.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" "+23718020b12d7e5a54f82a19910e8356ee719667" "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 socket2 v0.4.7 [INFO] [stderr] Downloaded thiserror-impl v1.0.37 [INFO] [stderr] Downloaded schannel v0.1.20 [INFO] [stderr] Downloaded base64 v0.13.1 [INFO] [stderr] Downloaded rustls-ffi v0.8.2 [INFO] [stderr] Downloaded quote v1.0.21 [INFO] [stderr] Downloaded openssl-sys v0.9.79 [INFO] [stderr] Downloaded lazycell v1.3.0 [INFO] [stderr] Downloaded kernel32-sys v0.2.2 [INFO] [stderr] Downloaded anyhow v1.0.66 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.3.3 [INFO] [stderr] Downloaded winapi-build v0.1.1 [INFO] [stderr] Downloaded num_enum_derive v0.5.7 [INFO] [stderr] Downloaded ws2_32-sys v0.2.1 [INFO] [stderr] Downloaded windows_i686_msvc v0.36.1 [INFO] [stderr] Downloaded mio v0.6.23 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.83 [INFO] [stderr] Downloaded miow v0.2.2 [INFO] [stderr] Downloaded syn v1.0.105 [INFO] [stderr] Downloaded rustls v0.20.7 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.36.1 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.36.1 [INFO] [stderr] Downloaded bumpalo v3.11.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.47 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.36.1 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.83 [INFO] [stderr] Downloaded libc v0.2.138 [INFO] [stderr] Downloaded windows_i686_gnu v0.36.1 [INFO] [stderr] Downloaded net2 v0.2.38 [INFO] [stderr] Downloaded wasm-bindgen v0.2.83 [INFO] [stderr] Downloaded slab v0.4.7 [INFO] [stderr] Downloaded autocfg v1.1.0 [INFO] [stderr] Downloaded thiserror v1.0.37 [INFO] [stderr] Downloaded log v0.4.17 [INFO] [stderr] Downloaded untrusted v0.7.1 [INFO] [stderr] Downloaded lazy_static v1.4.0 [INFO] [stderr] Downloaded cc v1.0.78 [INFO] [stderr] Downloaded serde v1.0.150 [INFO] [stderr] Downloaded cfg-if v0.1.10 [INFO] [stderr] Downloaded mio-extras v2.0.6 [INFO] [stderr] Downloaded toml v0.5.10 [INFO] [stderr] Downloaded js-sys v0.3.60 [INFO] [stderr] Downloaded sct v0.7.0 [INFO] [stderr] Downloaded once_cell v1.16.0 [INFO] [stderr] Downloaded winapi v0.2.8 [INFO] [stderr] Downloaded webpki v0.22.0 [INFO] [stderr] Downloaded fuchsia-zircon v0.3.3 [INFO] [stderr] Downloaded iovec v0.1.4 [INFO] [stderr] Downloaded openssl-probe v0.1.5 [INFO] [stderr] Downloaded cmake v0.1.49 [INFO] [stderr] Downloaded pkg-config v0.3.26 [INFO] [stderr] Downloaded proc-macro-crate v1.2.1 [INFO] [stderr] Downloaded rustls-pemfile v0.2.1 [INFO] [stderr] Downloaded web-sys v0.3.60 [INFO] [stderr] Downloaded spin v0.5.2 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.83 [INFO] [stderr] Downloaded num_enum v0.5.7 [INFO] [stderr] Downloaded unicode-ident v1.0.5 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Downloaded ratcurl-sys v0.1.0+curl-7.86.0 [INFO] [stderr] Downloaded libz-sys v1.1.8 [INFO] [stderr] Downloaded windows-sys v0.36.1 [INFO] [stderr] Downloaded libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Downloaded ring v0.16.20 [INFO] [stderr] Downloaded openssl-src v111.24.0+1.1.1s [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+23718020b12d7e5a54f82a19910e8356ee719667" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55a931cf638e2b44ec22aa568efeaa518af53effb3d1e8438c6b5d9e467c7e86 [INFO] running `Command { std: "docker" "start" "-a" "55a931cf638e2b44ec22aa568efeaa518af53effb3d1e8438c6b5d9e467c7e86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55a931cf638e2b44ec22aa568efeaa518af53effb3d1e8438c6b5d9e467c7e86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55a931cf638e2b44ec22aa568efeaa518af53effb3d1e8438c6b5d9e467c7e86", kill_on_drop: false }` [INFO] [stdout] 55a931cf638e2b44ec22aa568efeaa518af53effb3d1e8438c6b5d9e467c7e86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+23718020b12d7e5a54f82a19910e8356ee719667" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58aa5e4621414bca39f6512ed9ddfc7ff4d9afc8a52bf01ca7637bd803d57b70 [INFO] running `Command { std: "docker" "start" "-a" "58aa5e4621414bca39f6512ed9ddfc7ff4d9afc8a52bf01ca7637bd803d57b70", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling ratcurl v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling openssl-sys v0.9.79 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling ratcurl-sys v0.1.0+curl-7.86.0 [INFO] [stderr] Checking net2 v0.2.38 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stdout] warning: unexpected `cfg` condition name: `need_openssl_probe` [INFO] [stdout] --> src/easy/handler.rs:674:11 [INFO] [stdout] | [INFO] [stdout] 674 | #[cfg(need_openssl_probe)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(need_openssl_probe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(need_openssl_probe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `need_openssl_probe` [INFO] [stdout] --> src/easy/handler.rs:696:15 [INFO] [stdout] | [INFO] [stdout] 696 | #[cfg(not(need_openssl_probe))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(need_openssl_probe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(need_openssl_probe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `need_openssl_init` [INFO] [stdout] --> src/lib.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | #[cfg(need_openssl_init)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(need_openssl_init)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(need_openssl_init)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `need_openssl_init` [INFO] [stdout] --> src/lib.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(need_openssl_init)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(need_openssl_init)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(need_openssl_init)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `need_openssl_probe` [INFO] [stdout] --> src/easy/handler.rs:674:11 [INFO] [stdout] | [INFO] [stdout] 674 | #[cfg(need_openssl_probe)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(need_openssl_probe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(need_openssl_probe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `need_openssl_probe` [INFO] [stdout] --> src/easy/handler.rs:696:15 [INFO] [stdout] | [INFO] [stdout] 696 | #[cfg(not(need_openssl_probe))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(need_openssl_probe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(need_openssl_probe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `need_openssl_init` [INFO] [stdout] --> src/lib.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | #[cfg(need_openssl_init)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(need_openssl_init)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(need_openssl_init)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `need_openssl_init` [INFO] [stdout] --> src/lib.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(need_openssl_init)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(need_openssl_init)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(need_openssl_init)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/version.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn protocols(&self) -> Protocols { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 206 | pub fn protocols(&self) -> Protocols<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/easy/handler.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | drop(data); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 114 - drop(data); [INFO] [stdout] 114 + let _ = data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/version.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn protocols(&self) -> Protocols { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 206 | pub fn protocols(&self) -> Protocols<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/easy/handler.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | drop(data); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 114 - drop(data); [INFO] [stdout] 114 + let _ = data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/easy/handler.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | drop(whence); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `SeekFrom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 138 - drop(whence); [INFO] [stdout] 138 + let _ = whence; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/easy/handler.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | drop(data); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&[u8]` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 188 - drop(data); [INFO] [stdout] 188 + let _ = data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/easy/handler.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | drop((dltotal, dlnow, ultotal, ulnow)); [INFO] [stdout] | ^^^^^--------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `(f64, f64, f64, f64)` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 224 - drop((dltotal, dlnow, ultotal, ulnow)); [INFO] [stdout] 224 + let _ = (dltotal, dlnow, ultotal, ulnow); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/easy/list.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 50 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/easy/handler.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | drop(whence); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `SeekFrom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 138 - drop(whence); [INFO] [stdout] 138 + let _ = whence; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/easy/handler.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | drop(data); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&[u8]` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 188 - drop(data); [INFO] [stdout] 188 + let _ = data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/easy/handler.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | drop((dltotal, dlnow, ultotal, ulnow)); [INFO] [stdout] | ^^^^^--------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `(f64, f64, f64, f64)` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 224 - drop((dltotal, dlnow, ultotal, ulnow)); [INFO] [stdout] 224 + let _ = (dltotal, dlnow, ultotal, ulnow); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/easy/list.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 50 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> tests/server/mod.rs:62:48 [INFO] [stdout] | [INFO] [stdout] 62 | ... found = Some(header.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> tests/server/mod.rs:62:48 [INFO] [stdout] | [INFO] [stdout] 62 | ... found = Some(header.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> tests/server/mod.rs:62:48 [INFO] [stdout] | [INFO] [stdout] 62 | ... found = Some(header.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.34s [INFO] running `Command { std: "docker" "inspect" "58aa5e4621414bca39f6512ed9ddfc7ff4d9afc8a52bf01ca7637bd803d57b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58aa5e4621414bca39f6512ed9ddfc7ff4d9afc8a52bf01ca7637bd803d57b70", kill_on_drop: false }` [INFO] [stdout] 58aa5e4621414bca39f6512ed9ddfc7ff4d9afc8a52bf01ca7637bd803d57b70