[INFO] fetching crate httpbis 0.9.1... [INFO] testing httpbis-0.9.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate httpbis 0.9.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate httpbis 0.9.1 [INFO] finished tweaking crates.io crate httpbis 0.9.1 [INFO] tweaked toml for crates.io crate httpbis 0.9.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate httpbis 0.9.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate httpbis 0.9.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tls-api v0.4.0 [INFO] [stderr] Downloaded unix_socket v0.5.0 [INFO] [stderr] Downloaded log-ndc v0.2.0 [INFO] [stderr] Downloaded tls-api-stub v0.4.0 [INFO] [stderr] Downloaded openssl-sys v0.9.54 [INFO] [stderr] Downloaded openssl v0.10.28 [INFO] [stderr] Downloaded tls-api-openssl v0.4.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 626baca4e30b5419b3241db03514bcc1eacc6aa174798aab369822a8c7fd70b5 [INFO] running `Command { std: "docker" "start" "-a" "626baca4e30b5419b3241db03514bcc1eacc6aa174798aab369822a8c7fd70b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "626baca4e30b5419b3241db03514bcc1eacc6aa174798aab369822a8c7fd70b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "626baca4e30b5419b3241db03514bcc1eacc6aa174798aab369822a8c7fd70b5", kill_on_drop: false }` [INFO] [stdout] 626baca4e30b5419b3241db03514bcc1eacc6aa174798aab369822a8c7fd70b5 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ccada63b35631a99001d3ad802441fe96194f726ec8d6fe5a9776c5d55a8a284 [INFO] running `Command { std: "docker" "start" "-a" "ccada63b35631a99001d3ad802441fe96194f726ec8d6fe5a9776c5d55a8a284", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling httpbis v0.9.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling log-ndc v0.2.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling unix_socket v0.5.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio v0.2.18 [INFO] [stderr] Compiling tls-api v0.4.0 [INFO] [stderr] Compiling tls-api-stub v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::resp::Response` [INFO] [stdout] --> src/common/conn.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use crate::resp::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `interop_tests` [INFO] [stdout] --> src/hpack/decoder.rs:1517:7 [INFO] [stdout] | [INFO] [stdout] 1517 | #[cfg(feature = "interop_tests")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `interop_tests` as a feature in `Cargo.toml` [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: variant `GoAway` is never constructed [INFO] [stdout] --> src/client/mod.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 452 | enum ControllerCommand { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 453 | GoAway, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tx` is never read [INFO] [stdout] --> src/client/mod.rs:525:5 [INFO] [stdout] | [INFO] [stdout] 524 | struct CallbacksImpl { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 525 | tx: UnboundedSender, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `goaway` is never used [INFO] [stdout] --> src/client/conn.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 220 | pub trait ClientConnCallbacks: Send + 'static { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] 221 | // called at most once [INFO] [stdout] 222 | fn goaway(&self, stream_id: StreamId, raw_error_code: u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `specific` is never read [INFO] [stdout] --> src/common/stream.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub(crate) struct HttpStreamCommon { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 67 | pub specific: T::HttpStreamSpecific, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `OUT_REQUEST_OR_RESPONSE` is never used [INFO] [stdout] --> src/common/types.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) trait Types: Default + Clone + Unpin + 'static { [INFO] [stdout] | ----- associated constant in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | const OUT_REQUEST_OR_RESPONSE: RequestOrResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Executor` is never used [INFO] [stdout] --> src/exec.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Executor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufVecDequeBackMut` is never constructed [INFO] [stdout] --> src/bytes_ext/buf_vec_deque.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct BufVecDequeBackMut<'a, B: Buf> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/solicit/frame/mod.rs:347:25 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn as_frame_ref(&self) -> RawFrameRef { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 347 | pub fn as_frame_ref(&self) -> RawFrameRef<'_> { [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/client/mod.rs:582:9 [INFO] [stdout] | [INFO] [stdout] 582 | drop(done_tx.send(())); [INFO] [stdout] | ^^^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `std::result::Result<(), ()>` [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] 582 - drop(done_tx.send(())); [INFO] [stdout] 582 + let _ = done_tx.send(()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client/conn.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 473 | ) -> result::Result>> { [INFO] [stdout] | -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 473 | ) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/client/req.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | mem::replace(&mut self.drop_callback, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = mem::replace(&mut self.drop_callback, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codec/write_buffer.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn tail_vec(&mut self) -> WriteBufferTailVec { [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 125 | pub fn tail_vec(&mut self) -> WriteBufferTailVec<'_> { [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/server/mod.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | drop(done_tx.send(())); [INFO] [stdout] | ^^^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `std::result::Result<(), ()>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 378 - drop(done_tx.send(())); [INFO] [stdout] 378 + let _ = done_tx.send(()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/conn.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 103 | ) -> result::Result> { [INFO] [stdout] | -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 103 | ) -> result::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/conn.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 218 | ) -> result::Result>> { [INFO] [stdout] | -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 218 | ) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/server/handler_paths.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 141 | / pub fn set_service_fn(&mut self, path: &str, service: F) [INFO] [stdout] 142 | | where [INFO] [stdout] 143 | | F: Fn(ServerHandlerContext, ServerRequest, ServerResponse) -> result::Result<()> [INFO] [stdout] 144 | | + Send [INFO] [stdout] 145 | | + Sync [INFO] [stdout] 146 | | + 'static, [INFO] [stdout] | |______________________- move the `impl` block outside of this method `set_service_fn` [INFO] [stdout] 147 | { [INFO] [stdout] 148 | / impl< [INFO] [stdout] 149 | | F: Fn(ServerHandlerContext, ServerRequest, ServerResponse) -> result::Result<()> [INFO] [stdout] 150 | | + Send [INFO] [stdout] 151 | | + Sync [INFO] [stdout] 152 | | + 'static, [INFO] [stdout] 153 | | > ServerHandler for F [INFO] [stdout] | |_______________-------------_____^ [INFO] [stdout] | | [INFO] [stdout] | `ServerHandler` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/server/resp.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | mem::replace(&mut self.drop_callback, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = mem::replace(&mut self.drop_callback, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/common/atomic_box_option.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 17 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 205 | ) -> (HttpStreamRef, window_size::StreamOutWindowReceiver) { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 205 | ) -> (HttpStreamRef<'_, T>, window_size::StreamOutWindowReceiver) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 323 | ) -> result::Result>> { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 323 | ) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 409 | stream_id: StreamId, [INFO] [stdout] 410 | ) -> result::Result>> { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 410 | ) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn_read.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 48 | ) -> result::Result>>; [INFO] [stdout] | -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | ) -> result::Result>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn_read.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | fn process_data_frame(&mut self, frame: DataFrame) -> result::Result>> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 69 | fn process_data_frame(&mut self, frame: DataFrame) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn_read.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 200 | frame: HeadersDecodedFrame, [INFO] [stdout] 201 | ) -> result::Result>> { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | ) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn_read.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 213 | frame: PriorityFrame, [INFO] [stdout] 214 | ) -> result::Result>> { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 214 | ) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn_read.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 273 | frame: WindowUpdateFrame, [INFO] [stdout] 274 | ) -> result::Result>> { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 274 | ) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn_read.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 344 | frame: RstStreamFrame, [INFO] [stdout] 345 | ) -> result::Result>> { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 345 | ) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/hash_set_shallow_clone.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn _iter(&self) -> hash_set::Iter { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn _iter(&self) -> hash_set::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/stream_map.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn insert(&mut self, id: StreamId, stream: HttpStreamCommon) -> HttpStreamRef { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn insert(&mut self, id: StreamId, stream: HttpStreamCommon) -> HttpStreamRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/stream_map.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_mut(&mut self, id: StreamId) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_mut(&mut self, id: StreamId) -> Option> { [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/hpack/encoder.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | drop(additional); [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 19 - drop(additional); [INFO] [stdout] 19 + let _ = additional; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.03s [INFO] running `Command { std: "docker" "inspect" "ccada63b35631a99001d3ad802441fe96194f726ec8d6fe5a9776c5d55a8a284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccada63b35631a99001d3ad802441fe96194f726ec8d6fe5a9776c5d55a8a284", kill_on_drop: false }` [INFO] [stdout] ccada63b35631a99001d3ad802441fe96194f726ec8d6fe5a9776c5d55a8a284 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e28ca9e09349baeefafb2dba79dfc79791cc3821a4938bac00b96452ed59589d [INFO] running `Command { std: "docker" "start" "-a" "e28ca9e09349baeefafb2dba79dfc79791cc3821a4938bac00b96452ed59589d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling tls-api-openssl v0.4.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::resp::Response` [INFO] [stdout] --> src/common/conn.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use crate::resp::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `interop_tests` [INFO] [stdout] --> src/hpack/decoder.rs:1517:7 [INFO] [stdout] | [INFO] [stdout] 1517 | #[cfg(feature = "interop_tests")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `interop_tests` as a feature in `Cargo.toml` [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: variant `GoAway` is never constructed [INFO] [stdout] --> src/client/mod.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 452 | enum ControllerCommand { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 453 | GoAway, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tx` is never read [INFO] [stdout] --> src/client/mod.rs:525:5 [INFO] [stdout] | [INFO] [stdout] 524 | struct CallbacksImpl { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 525 | tx: UnboundedSender, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `goaway` is never used [INFO] [stdout] --> src/client/conn.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 220 | pub trait ClientConnCallbacks: Send + 'static { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] 221 | // called at most once [INFO] [stdout] 222 | fn goaway(&self, stream_id: StreamId, raw_error_code: u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `specific` is never read [INFO] [stdout] --> src/common/stream.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub(crate) struct HttpStreamCommon { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 67 | pub specific: T::HttpStreamSpecific, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `OUT_REQUEST_OR_RESPONSE` is never used [INFO] [stdout] --> src/common/types.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) trait Types: Default + Clone + Unpin + 'static { [INFO] [stdout] | ----- associated constant in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | const OUT_REQUEST_OR_RESPONSE: RequestOrResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Executor` is never used [INFO] [stdout] --> src/exec.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Executor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufVecDequeBackMut` is never constructed [INFO] [stdout] --> src/bytes_ext/buf_vec_deque.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct BufVecDequeBackMut<'a, B: Buf> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/solicit/frame/mod.rs:347:25 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn as_frame_ref(&self) -> RawFrameRef { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 347 | pub fn as_frame_ref(&self) -> RawFrameRef<'_> { [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/client/mod.rs:582:9 [INFO] [stdout] | [INFO] [stdout] 582 | drop(done_tx.send(())); [INFO] [stdout] | ^^^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `std::result::Result<(), ()>` [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] 582 - drop(done_tx.send(())); [INFO] [stdout] 582 + let _ = done_tx.send(()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client/conn.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 473 | ) -> result::Result>> { [INFO] [stdout] | -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 473 | ) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/client/req.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | mem::replace(&mut self.drop_callback, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = mem::replace(&mut self.drop_callback, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codec/write_buffer.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn tail_vec(&mut self) -> WriteBufferTailVec { [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 125 | pub fn tail_vec(&mut self) -> WriteBufferTailVec<'_> { [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/server/mod.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | drop(done_tx.send(())); [INFO] [stdout] | ^^^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `std::result::Result<(), ()>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 378 - drop(done_tx.send(())); [INFO] [stdout] 378 + let _ = done_tx.send(()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/conn.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 103 | ) -> result::Result> { [INFO] [stdout] | -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 103 | ) -> result::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/conn.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 218 | ) -> result::Result>> { [INFO] [stdout] | -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 218 | ) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/server/handler_paths.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 141 | / pub fn set_service_fn(&mut self, path: &str, service: F) [INFO] [stdout] 142 | | where [INFO] [stdout] 143 | | F: Fn(ServerHandlerContext, ServerRequest, ServerResponse) -> result::Result<()> [INFO] [stdout] 144 | | + Send [INFO] [stdout] 145 | | + Sync [INFO] [stdout] 146 | | + 'static, [INFO] [stdout] | |______________________- move the `impl` block outside of this method `set_service_fn` [INFO] [stdout] 147 | { [INFO] [stdout] 148 | / impl< [INFO] [stdout] 149 | | F: Fn(ServerHandlerContext, ServerRequest, ServerResponse) -> result::Result<()> [INFO] [stdout] 150 | | + Send [INFO] [stdout] 151 | | + Sync [INFO] [stdout] 152 | | + 'static, [INFO] [stdout] 153 | | > ServerHandler for F [INFO] [stdout] | |_______________-------------_____^ [INFO] [stdout] | | [INFO] [stdout] | `ServerHandler` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/server/resp.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | mem::replace(&mut self.drop_callback, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = mem::replace(&mut self.drop_callback, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/common/atomic_box_option.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 17 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 205 | ) -> (HttpStreamRef, window_size::StreamOutWindowReceiver) { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 205 | ) -> (HttpStreamRef<'_, T>, window_size::StreamOutWindowReceiver) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 323 | ) -> result::Result>> { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 323 | ) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 409 | stream_id: StreamId, [INFO] [stdout] 410 | ) -> result::Result>> { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 410 | ) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn_read.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 48 | ) -> result::Result>>; [INFO] [stdout] | -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | ) -> result::Result>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn_read.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | fn process_data_frame(&mut self, frame: DataFrame) -> result::Result>> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 69 | fn process_data_frame(&mut self, frame: DataFrame) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn_read.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 200 | frame: HeadersDecodedFrame, [INFO] [stdout] 201 | ) -> result::Result>> { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | ) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn_read.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 213 | frame: PriorityFrame, [INFO] [stdout] 214 | ) -> result::Result>> { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 214 | ) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn_read.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 273 | frame: WindowUpdateFrame, [INFO] [stdout] 274 | ) -> result::Result>> { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 274 | ) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/conn_read.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 344 | frame: RstStreamFrame, [INFO] [stdout] 345 | ) -> result::Result>> { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 345 | ) -> result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/hash_set_shallow_clone.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn _iter(&self) -> hash_set::Iter { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn _iter(&self) -> hash_set::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/stream_map.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn insert(&mut self, id: StreamId, stream: HttpStreamCommon) -> HttpStreamRef { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn insert(&mut self, id: StreamId, stream: HttpStreamCommon) -> HttpStreamRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/stream_map.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_mut(&mut self, id: StreamId) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_mut(&mut self, id: StreamId) -> Option> { [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/hpack/encoder.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | drop(additional); [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 19 - drop(additional); [INFO] [stdout] 19 + let _ = additional; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] error: failed to run custom build command for `openssl-sys v0.9.54` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/openssl-sys-61385710fddcc121/build-script-main` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-cfg=const_fn [INFO] [stderr] cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_LIB_DIR [INFO] [stderr] X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_LIB_DIR unset [INFO] [stderr] cargo:rerun-if-env-changed=OPENSSL_LIB_DIR [INFO] [stderr] OPENSSL_LIB_DIR unset [INFO] [stderr] cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_INCLUDE_DIR [INFO] [stderr] X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_INCLUDE_DIR unset [INFO] [stderr] cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR [INFO] [stderr] OPENSSL_INCLUDE_DIR unset [INFO] [stderr] cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_DIR [INFO] [stderr] X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_DIR unset [INFO] [stderr] cargo:rerun-if-env-changed=OPENSSL_DIR [INFO] [stderr] OPENSSL_DIR unset [INFO] [stderr] run pkg_config fail: "Cross compilation detected. Use PKG_CONFIG_ALLOW_CROSS=1 to override" [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-sys-0.9.54/build/find_normal.rs:150:5: [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] Could not find directory of OpenSSL installation, and this `-sys` crate cannot [INFO] [stderr] proceed without this knowledge. If OpenSSL is installed and this crate had [INFO] [stderr] trouble finding it, you can set the `OPENSSL_DIR` environment variable for the [INFO] [stderr] compilation process. [INFO] [stderr] [INFO] [stderr] Make sure you also have the development packages of openssl installed. [INFO] [stderr] For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora. [INFO] [stderr] [INFO] [stderr] If you're in a situation where you think the directory *should* be found [INFO] [stderr] automatically, please open a bug at https://github.com/sfackler/rust-openssl [INFO] [stderr] and include information about your system as well as this message. [INFO] [stderr] [INFO] [stderr] $HOST = x86_64-unknown-linux-gnu [INFO] [stderr] $TARGET = x86_64-unknown-linux-musl [INFO] [stderr] openssl-sys = 0.9.54 [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5d060fa194b2 - std::backtrace_rs::backtrace::libunwind::trace::h7c95ef939f65c294 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5d060fa194b2 - std::backtrace_rs::backtrace::trace_unsynchronized::h32c948083968be8c [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5d060fa194b2 - std::sys::backtrace::_print_fmt::hbce1ec88d06e088c [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5d060fa194b2 - ::fmt::hb9fc0e74cd3e2ce7 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5d060fa3c663 - core::fmt::rt::Argument::fmt::h6807405d250eb341 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5d060fa3c663 - core::fmt::write::h44c4c28224d1d425 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stderr] 6: 0x5d060fa165b3 - std::io::default_write_fmt::h2bbef4d99fdfa1fb [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5d060fa165b3 - std::io::Write::write_fmt::h7c137d8faa040f47 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5d060fa19302 - std::sys::backtrace::BacktraceLock::print::hdd765023e0895687 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5d060fa1a7e2 - std::panicking::default_hook::{{closure}}::h3703709d08ff9881 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stderr] 10: 0x5d060fa1a5e5 - std::panicking::default_hook::h52db45a3301fd26f [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x5d060fa1b1f2 - std::panicking::rust_panic_with_hook::h6c4d7d69d053bb09 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:833:13 [INFO] [stderr] 12: 0x5d060f97d5ab - std::panicking::begin_panic::{{closure}}::h4655ecca14d82497 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:770:9 [INFO] [stderr] 13: 0x5d060f97d326 - std::sys::backtrace::__rust_end_short_backtrace::h40397642347f498b [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 14: 0x5d060f97d542 - std::panicking::begin_panic::ha47d366f37d11e70 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:769:5 [INFO] [stderr] 15: 0x5d060f9820d5 - build_script_main::find::find_openssl_dir::hdea7e97cb26d303a [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-sys-0.9.54/build/find_normal.rs:150:5 [INFO] [stderr] 16: 0x5d060f9812e2 - build_script_main::find::get_openssl::{{closure}}::h6f8442d569edfbb9 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-sys-0.9.54/build/find_normal.rs:13:64 [INFO] [stderr] 17: 0x5d060f97f8fc - core::option::Option::unwrap_or_else::hdf9b5a92589c4fd6 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/option.rs:1050:21 [INFO] [stderr] 18: 0x5d060f981101 - build_script_main::find::get_openssl::hcc8d628d0c86493b [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-sys-0.9.54/build/find_normal.rs:13:46 [INFO] [stderr] 19: 0x5d060f9793e9 - build_script_main::main::hc0923d78d1aa5b34 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-sys-0.9.54/build/main.rs:49:34 [INFO] [stderr] 20: 0x5d060f9742db - core::ops::function::FnOnce::call_once::h193f613c623e2f94 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 21: 0x5d060f97d33e - std::sys::backtrace::__rust_begin_short_backtrace::hbbd9d10717bccfdf [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stderr] 22: 0x5d060f97cd21 - std::rt::lang_start::{{closure}}::h874ecf46154381c7 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:206:18 [INFO] [stderr] 23: 0x5d060fa12040 - core::ops::function::impls:: for &F>::call_once::h776d28ad5d8e3065 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:284:21 [INFO] [stderr] 24: 0x5d060fa12040 - std::panicking::catch_unwind::do_call::hc52b7f8762002282 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stderr] 25: 0x5d060fa12040 - std::panicking::catch_unwind::h65ae6675cb87c293 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stderr] 26: 0x5d060fa12040 - std::panic::catch_unwind::h4bf88f8de30a831e [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stderr] 27: 0x5d060fa12040 - std::rt::lang_start_internal::{{closure}}::he18cde089aa4ecf1 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:175:24 [INFO] [stderr] 28: 0x5d060fa12040 - std::panicking::catch_unwind::do_call::h8d614f4790efaa4f [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stderr] 29: 0x5d060fa12040 - std::panicking::catch_unwind::he616f21a5745eff4 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stderr] 30: 0x5d060fa12040 - std::panic::catch_unwind::ha12dd71f2a653c0c [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stderr] 31: 0x5d060fa12040 - std::rt::lang_start_internal::hacfd5a6cee565422 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:171:5 [INFO] [stderr] 32: 0x5d060f97cd07 - std::rt::lang_start::hf14879309a757560 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:205:5 [INFO] [stderr] 33: 0x5d060f97c58e - main [INFO] [stderr] 34: 0x71ee4e9ce1ca - [INFO] [stderr] 35: 0x71ee4e9ce28b - __libc_start_main [INFO] [stderr] 36: 0x5d060f973245 - _start [INFO] [stderr] 37: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e28ca9e09349baeefafb2dba79dfc79791cc3821a4938bac00b96452ed59589d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e28ca9e09349baeefafb2dba79dfc79791cc3821a4938bac00b96452ed59589d", kill_on_drop: false }` [INFO] [stdout] e28ca9e09349baeefafb2dba79dfc79791cc3821a4938bac00b96452ed59589d