[INFO] fetching crate engine_io_warp 0.1.0... [INFO] testing engine_io_warp-0.1.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate engine_io_warp 0.1.0 into /workspace/builds/worker-37/source [INFO] validating manifest of crates.io crate engine_io_warp 0.1.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate engine_io_warp 0.1.0 [INFO] finished tweaking crates.io crate engine_io_warp 0.1.0 [INFO] tweaked toml for crates.io crate engine_io_warp 0.1.0 written to /workspace/builds/worker-37/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.18.0 [INFO] [stderr] Downloaded strum_macros v0.18.0 [INFO] [stderr] Downloaded sha-1 v0.10.0 [INFO] [stderr] Downloaded tungstenite v0.11.1 [INFO] [stderr] Downloaded urlencoding v1.3.3 [INFO] [stderr] Downloaded engine_io_parser v0.2.0 [INFO] [stderr] Downloaded engine_io_server v0.1.0 [INFO] [stderr] Downloaded headers v0.3.7 [INFO] [stderr] Downloaded multipart v0.17.1 [INFO] [stderr] Downloaded tokio-tungstenite v0.11.0 [INFO] [stderr] Downloaded warp v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17157ba97c4005fdd79acdd20a4f9cc9e192afb908b7853e72dbab9ba920a91c [INFO] running `Command { std: "docker" "start" "-a" "17157ba97c4005fdd79acdd20a4f9cc9e192afb908b7853e72dbab9ba920a91c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17157ba97c4005fdd79acdd20a4f9cc9e192afb908b7853e72dbab9ba920a91c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17157ba97c4005fdd79acdd20a4f9cc9e192afb908b7853e72dbab9ba920a91c", kill_on_drop: false }` [INFO] [stdout] 17157ba97c4005fdd79acdd20a4f9cc9e192afb908b7853e72dbab9ba920a91c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88907dcf506b78be69f5fd04da8ddc4ce33e04facb99128cdbd75bf96bb626db [INFO] running `Command { std: "docker" "start" "-a" "88907dcf506b78be69f5fd04da8ddc4ce33e04facb99128cdbd75bf96bb626db", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling urlencoding v1.3.3 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling engine_io_parser v0.2.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling pin-project v0.4.29 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.11.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling engine_io_server v0.1.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling warp v0.2.5 [INFO] [stderr] Compiling engine_io_warp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `engine_io_parser::binary::decoder as binaryDecoder` [INFO] [stdout] --> src/polling.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use engine_io_parser::binary::decoder as binaryDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine_io_parser::string::decoder as stringDecoder` [INFO] [stdout] --> src/polling.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use engine_io_parser::string::decoder as stringDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CACHE_CONTROL` [INFO] [stdout] --> src/polling.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | use warp::http::header::{HeaderValue, CACHE_CONTROL, CONTENT_TYPE}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/adapter_warp.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use warp::ws::{Message, WebSocket, Ws}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/polling.rs:128:39 [INFO] [stdout] | [INFO] [stdout] 128 | fn respond(content: ResponseBodyData, context: &RequestContext, compress: bool) -> AdapterResponse { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compress` [INFO] [stdout] --> src/polling.rs:128:65 [INFO] [stdout] | [INFO] [stdout] 128 | fn respond(content: ResponseBodyData, context: &RequestContext, compress: bool) -> AdapterResponse { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packets` [INFO] [stdout] --> src/polling.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | async fn send(&mut self, packets: Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_context` [INFO] [stdout] --> src/polling.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | request_context: &RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_context` [INFO] [stdout] --> src/polling.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | request_context: &RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_context` [INFO] [stdout] --> src/polling.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | request_context: &RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_cookie` [INFO] [stdout] --> src/adapter_warp.rs:155:41 [INFO] [stdout] | [INFO] [stdout] 155 | ... if let Some(set_cookie) = result.set_cookie { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/adapter_warp.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | Err(error) => Ok(warp::reply::html("asdf".to_owned())), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/adapter_warp.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let data = path::path(path) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/adapter_warp.rs:187:47 [INFO] [stdout] | [INFO] [stdout] 187 | ServerEvent::Connection { connection_id } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/adapter_warp.rs:190:42 [INFO] [stdout] | [INFO] [stdout] 190 | ServerEvent::Flush { connection_id } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/adapter_warp.rs:193:42 [INFO] [stdout] | [INFO] [stdout] 193 | ServerEvent::Drain { connection_id } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/adapter_warp.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 197 | connection_id, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/adapter_warp.rs:198:25 [INFO] [stdout] | [INFO] [stdout] 198 | data, [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sid` [INFO] [stdout] --> src/adapter_warp.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | sid: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sid` [INFO] [stdout] --> src/adapter_warp.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | sid: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packets` [INFO] [stdout] --> src/websocket.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | async fn send(&mut self, packets: Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_context` [INFO] [stdout] --> src/websocket.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | request_context: &RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/adapter_warp.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | error: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `WarpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/adapter_warp.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/polling.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | self.event_sender.send(TransportEvent::Close).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.94s [INFO] running `Command { std: "docker" "inspect" "88907dcf506b78be69f5fd04da8ddc4ce33e04facb99128cdbd75bf96bb626db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88907dcf506b78be69f5fd04da8ddc4ce33e04facb99128cdbd75bf96bb626db", kill_on_drop: false }` [INFO] [stdout] 88907dcf506b78be69f5fd04da8ddc4ce33e04facb99128cdbd75bf96bb626db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00d96d8bd2b50e9cafa2ef846034e3c75027ac6fd397402562a071f73c7c70c9 [INFO] running `Command { std: "docker" "start" "-a" "00d96d8bd2b50e9cafa2ef846034e3c75027ac6fd397402562a071f73c7c70c9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling engine_io_warp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `engine_io_parser::binary::decoder as binaryDecoder` [INFO] [stdout] --> src/polling.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use engine_io_parser::binary::decoder as binaryDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine_io_parser::string::decoder as stringDecoder` [INFO] [stdout] --> src/polling.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use engine_io_parser::string::decoder as stringDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CACHE_CONTROL` [INFO] [stdout] --> src/polling.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | use warp::http::header::{HeaderValue, CACHE_CONTROL, CONTENT_TYPE}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/adapter_warp.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use warp::ws::{Message, WebSocket, Ws}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/polling.rs:128:39 [INFO] [stdout] | [INFO] [stdout] 128 | fn respond(content: ResponseBodyData, context: &RequestContext, compress: bool) -> AdapterResponse { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compress` [INFO] [stdout] --> src/polling.rs:128:65 [INFO] [stdout] | [INFO] [stdout] 128 | fn respond(content: ResponseBodyData, context: &RequestContext, compress: bool) -> AdapterResponse { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packets` [INFO] [stdout] --> src/polling.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | async fn send(&mut self, packets: Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_context` [INFO] [stdout] --> src/polling.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | request_context: &RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_context` [INFO] [stdout] --> src/polling.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | request_context: &RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_context` [INFO] [stdout] --> src/polling.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | request_context: &RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_cookie` [INFO] [stdout] --> src/adapter_warp.rs:155:41 [INFO] [stdout] | [INFO] [stdout] 155 | ... if let Some(set_cookie) = result.set_cookie { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/adapter_warp.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | Err(error) => Ok(warp::reply::html("asdf".to_owned())), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/adapter_warp.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let data = path::path(path) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/adapter_warp.rs:187:47 [INFO] [stdout] | [INFO] [stdout] 187 | ServerEvent::Connection { connection_id } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/adapter_warp.rs:190:42 [INFO] [stdout] | [INFO] [stdout] 190 | ServerEvent::Flush { connection_id } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/adapter_warp.rs:193:42 [INFO] [stdout] | [INFO] [stdout] 193 | ServerEvent::Drain { connection_id } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/adapter_warp.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 197 | connection_id, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/adapter_warp.rs:198:25 [INFO] [stdout] | [INFO] [stdout] 198 | data, [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sid` [INFO] [stdout] --> src/adapter_warp.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | sid: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sid` [INFO] [stdout] --> src/adapter_warp.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | sid: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packets` [INFO] [stdout] --> src/websocket.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | async fn send(&mut self, packets: Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_context` [INFO] [stdout] --> src/websocket.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | request_context: &RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/adapter_warp.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | error: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `WarpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/adapter_warp.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/polling.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | self.event_sender.send(TransportEvent::Close).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine_io_parser::binary::decoder as binaryDecoder` [INFO] [stdout] --> src/polling.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use engine_io_parser::binary::decoder as binaryDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine_io_parser::string::decoder as stringDecoder` [INFO] [stdout] --> src/polling.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use engine_io_parser::string::decoder as stringDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CACHE_CONTROL` [INFO] [stdout] --> src/polling.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | use warp::http::header::{HeaderValue, CACHE_CONTROL, CONTENT_TYPE}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/adapter_warp.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use warp::ws::{Message, WebSocket, Ws}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/polling.rs:128:39 [INFO] [stdout] | [INFO] [stdout] 128 | fn respond(content: ResponseBodyData, context: &RequestContext, compress: bool) -> AdapterResponse { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compress` [INFO] [stdout] --> src/polling.rs:128:65 [INFO] [stdout] | [INFO] [stdout] 128 | fn respond(content: ResponseBodyData, context: &RequestContext, compress: bool) -> AdapterResponse { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packets` [INFO] [stdout] --> src/polling.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | async fn send(&mut self, packets: Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_context` [INFO] [stdout] --> src/polling.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | request_context: &RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_context` [INFO] [stdout] --> src/polling.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | request_context: &RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_context` [INFO] [stdout] --> src/polling.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | request_context: &RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_cookie` [INFO] [stdout] --> src/adapter_warp.rs:155:41 [INFO] [stdout] | [INFO] [stdout] 155 | ... if let Some(set_cookie) = result.set_cookie { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/adapter_warp.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | Err(error) => Ok(warp::reply::html("asdf".to_owned())), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/adapter_warp.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let data = path::path(path) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/adapter_warp.rs:187:47 [INFO] [stdout] | [INFO] [stdout] 187 | ServerEvent::Connection { connection_id } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/adapter_warp.rs:190:42 [INFO] [stdout] | [INFO] [stdout] 190 | ServerEvent::Flush { connection_id } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/adapter_warp.rs:193:42 [INFO] [stdout] | [INFO] [stdout] 193 | ServerEvent::Drain { connection_id } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/adapter_warp.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 197 | connection_id, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/adapter_warp.rs:198:25 [INFO] [stdout] | [INFO] [stdout] 198 | data, [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sid` [INFO] [stdout] --> src/adapter_warp.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | sid: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sid` [INFO] [stdout] --> src/adapter_warp.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | sid: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packets` [INFO] [stdout] --> src/websocket.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | async fn send(&mut self, packets: Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_context` [INFO] [stdout] --> src/websocket.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | request_context: &RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/adapter_warp.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | error: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `WarpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/adapter_warp.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/polling.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | self.event_sender.send(TransportEvent::Close).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "00d96d8bd2b50e9cafa2ef846034e3c75027ac6fd397402562a071f73c7c70c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00d96d8bd2b50e9cafa2ef846034e3c75027ac6fd397402562a071f73c7c70c9", kill_on_drop: false }` [INFO] [stdout] 00d96d8bd2b50e9cafa2ef846034e3c75027ac6fd397402562a071f73c7c70c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0970dc75df3b631b557f4b0f74f963f9526873853386af4e020e7f3b795ae600 [INFO] running `Command { std: "docker" "start" "-a" "0970dc75df3b631b557f4b0f74f963f9526873853386af4e020e7f3b795ae600", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `engine_io_parser::binary::decoder as binaryDecoder` [INFO] [stderr] --> src/polling.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use engine_io_parser::binary::decoder as binaryDecoder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `engine_io_parser::string::decoder as stringDecoder` [INFO] [stderr] --> src/polling.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use engine_io_parser::string::decoder as stringDecoder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `CACHE_CONTROL` [INFO] [stderr] --> src/polling.rs:15:39 [INFO] [stderr] | [INFO] [stderr] 15 | use warp::http::header::{HeaderValue, CACHE_CONTROL, CONTENT_TYPE}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Message` [INFO] [stderr] --> src/adapter_warp.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 20 | use warp::ws::{Message, WebSocket, Ws}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/polling.rs:128:39 [INFO] [stderr] | [INFO] [stderr] 128 | fn respond(content: ResponseBodyData, context: &RequestContext, compress: bool) -> AdapterResponse { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `compress` [INFO] [stderr] --> src/polling.rs:128:65 [INFO] [stderr] | [INFO] [stderr] 128 | fn respond(content: ResponseBodyData, context: &RequestContext, compress: bool) -> AdapterResponse { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compress` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `packets` [INFO] [stderr] --> src/polling.rs:45:30 [INFO] [stderr] | [INFO] [stderr] 45 | async fn send(&mut self, packets: Vec) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packets` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request_context` [INFO] [stderr] --> src/polling.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | request_context: &RequestContext, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request_context` [INFO] [stderr] --> src/polling.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | request_context: &RequestContext, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request_context` [INFO] [stderr] --> src/polling.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | request_context: &RequestContext, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `set_cookie` [INFO] [stderr] --> src/adapter_warp.rs:155:41 [INFO] [stderr] | [INFO] [stderr] 155 | ... if let Some(set_cookie) = result.set_cookie { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_cookie` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `error` [INFO] [stderr] --> src/adapter_warp.rs:163:29 [INFO] [stderr] | [INFO] [stderr] 163 | Err(error) => Ok(warp::reply::html("asdf".to_owned())), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/adapter_warp.rs:167:13 [INFO] [stderr] | [INFO] [stderr] 167 | let data = path::path(path) [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `connection_id` [INFO] [stderr] --> src/adapter_warp.rs:187:47 [INFO] [stderr] | [INFO] [stderr] 187 | ServerEvent::Connection { connection_id } => { [INFO] [stderr] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `connection_id` [INFO] [stderr] --> src/adapter_warp.rs:190:42 [INFO] [stderr] | [INFO] [stderr] 190 | ServerEvent::Flush { connection_id } => { [INFO] [stderr] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `connection_id` [INFO] [stderr] --> src/adapter_warp.rs:193:42 [INFO] [stderr] | [INFO] [stderr] 193 | ServerEvent::Drain { connection_id } => { [INFO] [stderr] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `connection_id` [INFO] [stderr] --> src/adapter_warp.rs:197:25 [INFO] [stderr] | [INFO] [stderr] 197 | connection_id, [INFO] [stderr] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/adapter_warp.rs:198:25 [INFO] [stderr] | [INFO] [stderr] 198 | data, [INFO] [stderr] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sid` [INFO] [stderr] --> src/adapter_warp.rs:213:9 [INFO] [stderr] | [INFO] [stderr] 213 | sid: &str, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sid` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sid` [INFO] [stderr] --> src/adapter_warp.rs:224:9 [INFO] [stderr] | [INFO] [stderr] 224 | sid: &str, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sid` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `packets` [INFO] [stderr] --> src/websocket.rs:29:30 [INFO] [stderr] | [INFO] [stderr] 29 | async fn send(&mut self, packets: Vec) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packets` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request_context` [INFO] [stderr] --> src/websocket.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | request_context: &RequestContext, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_context` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `error` [INFO] [stderr] --> src/adapter_warp.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | error: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `WarpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/adapter_warp.rs:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/polling.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | self.event_sender.send(TransportEvent::Close).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `engine_io_warp` (lib) generated 24 warnings [INFO] [stderr] warning: `engine_io_warp` (lib test) generated 24 warnings (24 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/engine_io_warp-3fb5d6111fde11d1) [INFO] [stdout] [INFO] [stderr] Doc-tests engine_io_warp [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0970dc75df3b631b557f4b0f74f963f9526873853386af4e020e7f3b795ae600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0970dc75df3b631b557f4b0f74f963f9526873853386af4e020e7f3b795ae600", kill_on_drop: false }` [INFO] [stdout] 0970dc75df3b631b557f4b0f74f963f9526873853386af4e020e7f3b795ae600