[INFO] fetching crate flyer 0.0.32... [INFO] testing flyer-0.0.32 against 1.90.0 for beta-1.91-3 [INFO] extracting crate flyer 0.0.32 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate flyer 0.0.32 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate flyer 0.0.32 [INFO] tweaked toml for crates.io crate flyer 0.0.32 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate flyer 0.0.32 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate flyer 0.0.32 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded event-emitter-rs v0.1.4 [INFO] [stderr] Downloaded tokio-scoped v0.2.0 [INFO] [stderr] Downloaded h3-quinn v0.0.10 [INFO] [stderr] Downloaded async-event-emitter v0.1.5 [INFO] [stderr] Downloaded ctrlc v3.5.0 [INFO] [stderr] Downloaded wit-bindgen v0.45.0 [INFO] [stderr] Downloaded wasi v0.14.3+wasi-0.2.4 [INFO] [stderr] Downloaded indexmap v2.11.0 [INFO] [stderr] Downloaded h3 v0.0.8 [INFO] [stderr] Downloaded fastbloom v0.14.0 [INFO] [stderr] Downloaded tokio-openssl v0.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d01535ef348a661c22c986748e295de0af06687b7e1699420eaf479208580de [INFO] running `Command { std: "docker" "start" "-a" "6d01535ef348a661c22c986748e295de0af06687b7e1699420eaf479208580de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d01535ef348a661c22c986748e295de0af06687b7e1699420eaf479208580de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d01535ef348a661c22c986748e295de0af06687b7e1699420eaf479208580de", kill_on_drop: false }` [INFO] [stdout] 6d01535ef348a661c22c986748e295de0af06687b7e1699420eaf479208580de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71191d162f816f4a06a056dba4626e627cefead27903240e2c6606c61c5781fc [INFO] running `Command { std: "docker" "start" "-a" "71191d162f816f4a06a056dba4626e627cefead27903240e2c6606c61c5781fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling quinn-udp v0.5.14 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling quinn v0.11.9 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling lru-slab v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling fastbloom v0.14.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling ctrlc v3.5.0 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling tungstenite v0.27.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h3 v0.0.8 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling tokio-tungstenite v0.27.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-scoped v0.2.0 [INFO] [stderr] Compiling async-event-emitter v0.1.5 [INFO] [stderr] Compiling event-emitter-rs v0.1.4 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.1 [INFO] [stderr] Compiling quinn-proto v0.11.13 [INFO] [stderr] Compiling h3-quinn v0.0.10 [INFO] [stderr] Compiling flyer v0.0.32 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mem::take` [INFO] [stdout] --> src/utils/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, mem::take}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `request::Request`, `response::Response`, `view::new_view`, and `ws::Ws` [INFO] [stdout] --> src/server/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | request::Request, response::Response, view::new_view, ws::Ws, HTTP [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/server/handler/http1.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | return base64::encode(&result) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ws.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn write(&mut self, data: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/ws.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn write_json(&mut self, json: &J) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ws.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn write_binary(&mut self, data: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/server/handler/http1.rs:182:14 [INFO] [stdout] | [INFO] [stdout] 182 | let (writer, mut stream) = WebSocketStream::from_raw_socket(sender, Server, None).await.split(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/session/cookie.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | fn handle<'a>(&self, req: &'a mut Request, res: &'a mut Response) -> Box { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/session/cookie.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | fn handle<'a>(&self, req: &'a mut Request, res: &'a mut Response) -> Box { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/session/cookie.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | fn set(&self, key: &str, value: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/session/cookie.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn set(&self, key: &str, value: &str) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/session/cookie.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | fn get(&self, key: &str) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http` [INFO] [stdout] --> src/server/handler/mod.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn ws(http: &'a mut HTTP, req: &'a mut Request, ws: &'a mut Ws) -> IOResult<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_http` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server/handler/mod.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn ws(http: &'a mut HTTP, req: &'a mut Request, ws: &'a mut Ws) -> IOResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ws` [INFO] [stdout] --> src/server/handler/mod.rs:48:57 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn ws(http: &'a mut HTTP, req: &'a mut Request, ws: &'a mut Ws) -> IOResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `writer` is never read [INFO] [stdout] --> src/ws.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Write<'a, R> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 31 | pub(crate) writer: SplitSink>>, Message>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn router(&mut self) -> Router { [INFO] [stdout] | ^^^^^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn router(&mut self) -> Router<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server/tcp.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_protocol(&mut self, buffer: &[u8]) -> Protocol [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | fn get_protocol(&mut self, buffer: &[u8]) -> Protocol<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | server.router().get("api/users/{user}", |req, res| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | server.router().ws("/", |req, ws| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 11s [INFO] running `Command { std: "docker" "inspect" "71191d162f816f4a06a056dba4626e627cefead27903240e2c6606c61c5781fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71191d162f816f4a06a056dba4626e627cefead27903240e2c6606c61c5781fc", kill_on_drop: false }` [INFO] [stdout] 71191d162f816f4a06a056dba4626e627cefead27903240e2c6606c61c5781fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94ac08bb21451bc41ca47c3848efbece0f4d15c1aaa35e01f1794ff37b66fe0d [INFO] running `Command { std: "docker" "start" "-a" "94ac08bb21451bc41ca47c3848efbece0f4d15c1aaa35e01f1794ff37b66fe0d", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `mem::take` [INFO] [stdout] --> src/utils/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, mem::take}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `request::Request`, `response::Response`, `view::new_view`, and `ws::Ws` [INFO] [stdout] --> src/server/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | request::Request, response::Response, view::new_view, ws::Ws, HTTP [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/server/handler/http1.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | return base64::encode(&result) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ws.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn write(&mut self, data: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/ws.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn write_json(&mut self, json: &J) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ws.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn write_binary(&mut self, data: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/server/handler/http1.rs:182:14 [INFO] [stdout] | [INFO] [stdout] 182 | let (writer, mut stream) = WebSocketStream::from_raw_socket(sender, Server, None).await.split(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/session/cookie.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | fn handle<'a>(&self, req: &'a mut Request, res: &'a mut Response) -> Box { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/session/cookie.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | fn handle<'a>(&self, req: &'a mut Request, res: &'a mut Response) -> Box { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/session/cookie.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | fn set(&self, key: &str, value: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/session/cookie.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn set(&self, key: &str, value: &str) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/session/cookie.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | fn get(&self, key: &str) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http` [INFO] [stdout] --> src/server/handler/mod.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn ws(http: &'a mut HTTP, req: &'a mut Request, ws: &'a mut Ws) -> IOResult<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_http` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server/handler/mod.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn ws(http: &'a mut HTTP, req: &'a mut Request, ws: &'a mut Ws) -> IOResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ws` [INFO] [stdout] --> src/server/handler/mod.rs:48:57 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn ws(http: &'a mut HTTP, req: &'a mut Request, ws: &'a mut Ws) -> IOResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `writer` is never read [INFO] [stdout] --> src/ws.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Write<'a, R> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 31 | pub(crate) writer: SplitSink>>, Message>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn router(&mut self) -> Router { [INFO] [stdout] | ^^^^^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn router(&mut self) -> Router<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling flyer v0.0.32 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server/tcp.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_protocol(&mut self, buffer: &[u8]) -> Protocol [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | fn get_protocol(&mut self, buffer: &[u8]) -> Protocol<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::take` [INFO] [stdout] --> src/utils/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, mem::take}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | server.router().get("api/users/{user}", |req, res| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `request::Request`, `response::Response`, `view::new_view`, and `ws::Ws` [INFO] [stdout] --> src/server/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | request::Request, response::Response, view::new_view, ws::Ws, HTTP [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> examples/view/main.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | server.router().get("/", |req, res| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | server.router().ws("/", |req, ws| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/server/handler/http1.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | return base64::encode(&result) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> examples/basic/main.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | server.router().get("/", |req, res| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ws.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn write(&mut self, data: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/ws.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn write_json(&mut self, json: &J) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ws.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn write_binary(&mut self, data: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> examples/routing/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn index<'a>(req: &'a mut Request, res: &'a mut Response) -> &'a mut Response { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> examples/routing/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn store<'a>(req: &'a mut Request, res: &'a mut Response) -> &'a mut Response { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> examples/routing/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | fn view<'a>(req: &'a mut Request, res: &'a mut Response) -> &'a mut Response { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> examples/routing/main.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | fn update<'a>(req: &'a mut Request, res: &'a mut Response) -> &'a mut Response { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> examples/routing/main.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | fn destroy<'a>(req: &'a mut Request, res: &'a mut Response) -> &'a mut Response { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> examples/websocket/main.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | server.router().ws("/", |req, ws| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> examples/middleware/main.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn auth<'a>(req: &'a mut Request, res: &'a mut Response, next: &'a mut Next<'a>) -> &'a mut Response { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> examples/middleware/main.rs:15:62 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn auth<'a>(req: &'a mut Request, res: &'a mut Response, next: &'a mut Next<'a>) -> &'a mut Response { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/server/handler/http1.rs:182:14 [INFO] [stdout] | [INFO] [stdout] 182 | let (writer, mut stream) = WebSocketStream::from_raw_socket(sender, Server, None).await.split(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/session/cookie.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | fn handle<'a>(&self, req: &'a mut Request, res: &'a mut Response) -> Box { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/session/cookie.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | fn handle<'a>(&self, req: &'a mut Request, res: &'a mut Response) -> Box { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/session/cookie.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | fn set(&self, key: &str, value: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/session/cookie.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn set(&self, key: &str, value: &str) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/session/cookie.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | fn get(&self, key: &str) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http` [INFO] [stdout] --> src/server/handler/mod.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn ws(http: &'a mut HTTP, req: &'a mut Request, ws: &'a mut Ws) -> IOResult<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_http` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server/handler/mod.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn ws(http: &'a mut HTTP, req: &'a mut Request, ws: &'a mut Ws) -> IOResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ws` [INFO] [stdout] --> src/server/handler/mod.rs:48:57 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn ws(http: &'a mut HTTP, req: &'a mut Request, ws: &'a mut Ws) -> IOResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `writer` is never read [INFO] [stdout] --> src/ws.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Write<'a, R> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 31 | pub(crate) writer: SplitSink>>, Message>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn router(&mut self) -> Router { [INFO] [stdout] | ^^^^^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn router(&mut self) -> Router<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server/tcp.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_protocol(&mut self, buffer: &[u8]) -> Protocol [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | fn get_protocol(&mut self, buffer: &[u8]) -> Protocol<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.47s [INFO] running `Command { std: "docker" "inspect" "94ac08bb21451bc41ca47c3848efbece0f4d15c1aaa35e01f1794ff37b66fe0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94ac08bb21451bc41ca47c3848efbece0f4d15c1aaa35e01f1794ff37b66fe0d", kill_on_drop: false }` [INFO] [stdout] 94ac08bb21451bc41ca47c3848efbece0f4d15c1aaa35e01f1794ff37b66fe0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4d55c24eb4ca06cc5e2df9a94f1901573c7738a18826655cd1fdd99739abfc93 [INFO] running `Command { std: "docker" "start" "-a" "4d55c24eb4ca06cc5e2df9a94f1901573c7738a18826655cd1fdd99739abfc93", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `mem::take` [INFO] [stdout] [INFO] [stderr] --> src/utils/mod.rs:1:33 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 1 | use std::{collections::HashMap, mem::take}; [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `request::Request`, `response::Response`, `view::new_view`, and `ws::Ws` [INFO] [stderr] --> src/server/mod.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | request::Request, response::Response, view::new_view, ws::Ws, HTTP [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> src/server/handler/http1.rs:165:24 [INFO] [stderr] | [INFO] [stderr] 165 | return base64::encode(&result) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/ws.rs:38:35 [INFO] [stderr] | [INFO] [stderr] 38 | pub async fn write(&mut self, data: Vec) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `json` [INFO] [stderr] --> src/ws.rs:41:43 [INFO] [stderr] | [INFO] [stderr] 41 | pub async fn write_json(&mut self, json: &J) [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/ws.rs:47:42 [INFO] [stderr] | [INFO] [stderr] 47 | pub async fn write_binary(&mut self, data: Vec) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `writer` [INFO] [stderr] --> src/server/handler/http1.rs:182:14 [INFO] [stderr] | [INFO] [stderr] 182 | let (writer, mut stream) = WebSocketStream::from_raw_socket(sender, Server, None).await.split(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/session/cookie.rs:36:26 [INFO] [stderr] | [INFO] [stderr] 36 | fn handle<'a>(&self, req: &'a mut Request, res: &'a mut Response) -> Box { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/session/cookie.rs:36:48 [INFO] [stderr] | [INFO] [stderr] 36 | fn handle<'a>(&self, req: &'a mut Request, res: &'a mut Response) -> Box { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/session/cookie.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 44 | fn set(&self, key: &str, value: &str) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/session/cookie.rs:44:30 [INFO] [stderr] | [INFO] [stderr] 44 | fn set(&self, key: &str, value: &str) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/session/cookie.rs:48:19 [INFO] [stderr] | [INFO] [stderr] 48 | fn get(&self, key: &str) -> String { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `http` [INFO] [stderr] --> src/server/handler/mod.rs:48:15 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn ws(http: &'a mut HTTP, req: &'a mut Request, ws: &'a mut Ws) -> IOResult<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_http` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/server/handler/mod.rs:48:35 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn ws(http: &'a mut HTTP, req: &'a mut Request, ws: &'a mut Ws) -> IOResult<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ws` [INFO] [stderr] --> src/server/handler/mod.rs:48:57 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn ws(http: &'a mut HTTP, req: &'a mut Request, ws: &'a mut Ws) -> IOResult<()> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ws` [INFO] [stderr] [INFO] [stderr] warning: field `writer` is never read [INFO] [stderr] --> src/ws.rs:31:16 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct Write<'a, R> { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 31 | pub(crate) writer: SplitSink>>, Message>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:120:19 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn router(&mut self) -> Router { [INFO] [stderr] | ^^^^^^^^^ ------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 120 | pub fn router(&mut self) -> Router<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/server/tcp.rs:77:21 [INFO] [stderr] | [INFO] [stderr] 77 | fn get_protocol(&mut self, buffer: &[u8]) -> Protocol [INFO] [stderr] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 77 | fn get_protocol(&mut self, buffer: &[u8]) -> Protocol<'_> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `flyer` (lib) generated 18 warnings (run `cargo fix --lib -p flyer` to apply 2 suggestions) [INFO] [stderr] warning: `flyer` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/main.rs:8:46 [INFO] [stderr] | [INFO] [stderr] 8 | server.router().get("api/users/{user}", |req, res| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/main.rs:20:30 [INFO] [stderr] | [INFO] [stderr] 20 | server.router().ws("/", |req, ws| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> examples/basic/main.rs:6:31 [INFO] [stderr] | [INFO] [stderr] 6 | server.router().get("/", |req, res| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> examples/websocket/main.rs:7:30 [INFO] [stderr] | [INFO] [stderr] 7 | server.router().ws("/", |req, ws| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> examples/routing/main.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | fn index<'a>(req: &'a mut Request, res: &'a mut Response) -> &'a mut Response { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> examples/routing/main.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | fn store<'a>(req: &'a mut Request, res: &'a mut Response) -> &'a mut Response { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> examples/routing/main.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | fn view<'a>(req: &'a mut Request, res: &'a mut Response) -> &'a mut Response { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> examples/routing/main.rs:15:15 [INFO] [stderr] | [INFO] [stderr] 15 | fn update<'a>(req: &'a mut Request, res: &'a mut Response) -> &'a mut Response { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> examples/routing/main.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 19 | fn destroy<'a>(req: &'a mut Request, res: &'a mut Response) -> &'a mut Response { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> examples/view/main.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | server.router().get("/", |req, res| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> examples/middleware/main.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn auth<'a>(req: &'a mut Request, res: &'a mut Response, next: &'a mut Next<'a>) -> &'a mut Response { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `next` [INFO] [stderr] --> examples/middleware/main.rs:15:62 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn auth<'a>(req: &'a mut Request, res: &'a mut Response, next: &'a mut Next<'a>) -> &'a mut Response { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stderr] [INFO] [stderr] warning: `flyer` (bin "flyer" test) generated 2 warnings [INFO] [stderr] warning: `flyer` (example "basic") generated 1 warning [INFO] [stderr] warning: `flyer` (example "websocket") generated 1 warning [INFO] [stderr] warning: `flyer` (example "routing") generated 5 warnings [INFO] [stderr] warning: `flyer` (example "view") generated 1 warning [INFO] [stderr] warning: `flyer` (example "middleware") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/flyer-73c152b96a889e52) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/flyer-bdd3d02ea03bb20e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests flyer [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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" "4d55c24eb4ca06cc5e2df9a94f1901573c7738a18826655cd1fdd99739abfc93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d55c24eb4ca06cc5e2df9a94f1901573c7738a18826655cd1fdd99739abfc93", kill_on_drop: false }` [INFO] [stdout] 4d55c24eb4ca06cc5e2df9a94f1901573c7738a18826655cd1fdd99739abfc93