[INFO] fetching crate rouille-maint-in 3.0.1... [INFO] testing rouille-maint-in-3.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rouille-maint-in 3.0.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate rouille-maint-in 3.0.1 [INFO] finished tweaking crates.io crate rouille-maint-in 3.0.1 [INFO] tweaked toml for crates.io crate rouille-maint-in 3.0.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rouille-maint-in 3.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rouille-maint-in 3.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-types v0.2.0 [INFO] [stderr] Downloaded postgres v0.19.0 [INFO] [stderr] Downloaded gzip-header v0.3.0 [INFO] [stderr] Downloaded postgres-protocol v0.6.0 [INFO] [stderr] Downloaded tiny_http v0.8.0 [INFO] [stderr] Downloaded tokio-postgres v0.7.0 [INFO] [stderr] Downloaded syn v1.0.64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af9e434fe31648eedb16cce2bb962d9c3e37870e387cde62320a4183fd16846b [INFO] running `Command { std: "docker" "start" "-a" "af9e434fe31648eedb16cce2bb962d9c3e37870e387cde62320a4183fd16846b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af9e434fe31648eedb16cce2bb962d9c3e37870e387cde62320a4183fd16846b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af9e434fe31648eedb16cce2bb962d9c3e37870e387cde62320a4183fd16846b", kill_on_drop: false }` [INFO] [stdout] af9e434fe31648eedb16cce2bb962d9c3e37870e387cde62320a4183fd16846b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 92f068ca0ca977415b06718a847f6555838fb3818bfa943b278182b26353d2c0 [INFO] running `Command { std: "docker" "start" "-a" "92f068ca0ca977415b06718a847f6555838fb3818bfa943b278182b26353d2c0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling gzip-header v0.3.0 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling ascii v1.0.0 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling tiny_http v0.8.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling rouille-maint-in v3.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:843:20 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn headers(&self) -> HeadersIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 843 | pub fn headers(&self) -> HeadersIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:904:17 [INFO] [stdout] | [INFO] [stdout] 904 | pub fn data(&self) -> Option { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 904 | pub fn data(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/content_encoding.rs:111:44 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn accepted_content_encodings(request: &Request) -> AcceptedContentEncodingsIter { [INFO] [stdout] | ^^^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn accepted_content_encodings(request: &Request) -> AcceptedContentEncodingsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/input/multipart.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_multipart_input(request: &Request) -> Result { [INFO] [stdout] | ^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_multipart_input(request: &Request) -> Result, MultipartError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/input/cookies.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn cookies(request: &Request) -> CookiesIter { [INFO] [stdout] | ^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn cookies(request: &Request) -> CookiesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/input/priority_header.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn parse_priority_header(input: &str) -> PriorityHeaderIter { [INFO] [stdout] | ^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn parse_priority_header(input: &str) -> PriorityHeaderIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.98s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.17.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "92f068ca0ca977415b06718a847f6555838fb3818bfa943b278182b26353d2c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92f068ca0ca977415b06718a847f6555838fb3818bfa943b278182b26353d2c0", kill_on_drop: false }` [INFO] [stdout] 92f068ca0ca977415b06718a847f6555838fb3818bfa943b278182b26353d2c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9833c44bfcdc942ec8c42018eb7ea52f8b95990c34b94a1cb745771a1c05dae4 [INFO] running `Command { std: "docker" "start" "-a" "9833c44bfcdc942ec8c42018eb7ea52f8b95990c34b94a1cb745771a1c05dae4", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:843:20 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn headers(&self) -> HeadersIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 843 | pub fn headers(&self) -> HeadersIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:904:17 [INFO] [stdout] | [INFO] [stdout] 904 | pub fn data(&self) -> Option { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 904 | pub fn data(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/content_encoding.rs:111:44 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn accepted_content_encodings(request: &Request) -> AcceptedContentEncodingsIter { [INFO] [stdout] | ^^^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn accepted_content_encodings(request: &Request) -> AcceptedContentEncodingsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/input/multipart.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_multipart_input(request: &Request) -> Result { [INFO] [stdout] | ^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_multipart_input(request: &Request) -> Result, MultipartError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/input/cookies.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn cookies(request: &Request) -> CookiesIter { [INFO] [stdout] | ^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn cookies(request: &Request) -> CookiesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/input/priority_header.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn parse_priority_header(input: &str) -> PriorityHeaderIter { [INFO] [stdout] | ^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn parse_priority_header(input: &str) -> PriorityHeaderIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling postgres-protocol v0.6.0 [INFO] [stderr] Compiling postgres-types v0.2.0 [INFO] [stderr] Compiling tokio-util v0.6.4 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling tokio-postgres v0.7.0 [INFO] [stderr] Compiling postgres v0.19.0 [INFO] [stderr] Compiling rouille-maint-in v3.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `login` is never read [INFO] [stdout] --> examples/login-session.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | struct SessionData { login: String } [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `SessionData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/router.rs:302:16 [INFO] [stdout] | [INFO] [stdout] 302 | if let Ok($p) = $crate::percent_encoding::percent_decode(url[0 .. pat_end].as_bytes()) [INFO] [stdout] | ________________^ [INFO] [stdout] 303 | | .decode_utf8_lossy().parse() { [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 390 | assert_eq!(1, router!(request, [INFO] [stdout] | _______________________- [INFO] [stdout] 391 | | (GET) (/hello/) => { 0 }, [INFO] [stdout] 392 | | (GET) (/hello/{id:u32}) => { if id == 5 { 1 } else { 0 } }, [INFO] [stdout] 393 | | (GET) (/hello/{_id:String}) => { 0 }, [INFO] [stdout] 394 | | _ => 0 [INFO] [stdout] 395 | | )); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/router.rs:302:16 [INFO] [stdout] | [INFO] [stdout] 302 | if let Ok($p) = $crate::percent_encoding::percent_decode(url[0 .. pat_end].as_bytes()) [INFO] [stdout] | ________________^ [INFO] [stdout] 303 | | .decode_utf8_lossy().parse() { [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 402 | assert_eq!(1, router!(request, [INFO] [stdout] | _______________________- [INFO] [stdout] 403 | | (GET) (/hello/) => { 0 }, [INFO] [stdout] 404 | | (GET) (/hello/{id:u32}) => { if id == 5 { 1 } else { 0 } }, [INFO] [stdout] 405 | | (GET) (/hello/{_id:String}) => { 0 }, [INFO] [stdout] 406 | | _ => 0, [INFO] [stdout] 407 | | )); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: this warning originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/router.rs:302:16 [INFO] [stdout] | [INFO] [stdout] 302 | if let Ok($p) = $crate::percent_encoding::percent_decode(url[0 .. pat_end].as_bytes()) [INFO] [stdout] | ________________^ [INFO] [stdout] 303 | | .decode_utf8_lossy().parse() { [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 414 | assert_eq!(1, router!(request, [INFO] [stdout] | _______________________- [INFO] [stdout] 415 | | (GET) (/hello/) => { 0 }, [INFO] [stdout] 416 | | (GET) (/hello/{id:u32}) => { if id == 5 { 1 } else { 0 } }, [INFO] [stdout] 417 | | (GET) (/hello/{_id:String}) => { 0 }, [INFO] [stdout] 418 | | _ => 0,,,, [INFO] [stdout] 419 | | )); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: this warning originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/router.rs:302:16 [INFO] [stdout] | [INFO] [stdout] 302 | if let Ok($p) = $crate::percent_encoding::percent_decode(url[0 .. pat_end].as_bytes()) [INFO] [stdout] | ________________^ [INFO] [stdout] 303 | | .decode_utf8_lossy().parse() { [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 587 | assert_eq!("?a", router!(request, [INFO] [stdout] | __________________________- [INFO] [stdout] 588 | | (GET) (/hello/{val: String}/test) => { val }, [INFO] [stdout] 589 | | _ => String::from(""))); [INFO] [stdout] | |_________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: this warning originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field` is never read [INFO] [stdout] --> src/input/post.rs:773:13 [INFO] [stdout] | [INFO] [stdout] 490 | struct PostInput { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 773 | field: String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field` is never read [INFO] [stdout] --> src/input/post.rs:804:13 [INFO] [stdout] | [INFO] [stdout] 490 | struct PostInput { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 804 | field: u32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field` is never read [INFO] [stdout] --> src/input/post.rs:850:13 [INFO] [stdout] | [INFO] [stdout] 490 | struct PostInput { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 850 | field: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field` is never read [INFO] [stdout] --> src/input/post.rs:882:13 [INFO] [stdout] | [INFO] [stdout] 490 | struct PostInput { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 882 | field: String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field` is never read [INFO] [stdout] --> src/input/post.rs:942:13 [INFO] [stdout] | [INFO] [stdout] 490 | struct PostInput { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 942 | field: u32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field` is never read [INFO] [stdout] --> src/input/post.rs:974:13 [INFO] [stdout] | [INFO] [stdout] 490 | struct PostInput { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 974 | field: u8 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field` is never read [INFO] [stdout] --> src/input/post.rs:994:13 [INFO] [stdout] | [INFO] [stdout] 490 | struct PostInput { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 994 | field: u8 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field` is never read [INFO] [stdout] --> src/input/post.rs:1012:13 [INFO] [stdout] | [INFO] [stdout] 490 | struct PostInput { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1012 | field: String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:843:20 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn headers(&self) -> HeadersIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 843 | pub fn headers(&self) -> HeadersIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:904:17 [INFO] [stdout] | [INFO] [stdout] 904 | pub fn data(&self) -> Option { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 904 | pub fn data(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/content_encoding.rs:111:44 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn accepted_content_encodings(request: &Request) -> AcceptedContentEncodingsIter { [INFO] [stdout] | ^^^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn accepted_content_encodings(request: &Request) -> AcceptedContentEncodingsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/input/multipart.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_multipart_input(request: &Request) -> Result { [INFO] [stdout] | ^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_multipart_input(request: &Request) -> Result, MultipartError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/input/cookies.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn cookies(request: &Request) -> CookiesIter { [INFO] [stdout] | ^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn cookies(request: &Request) -> CookiesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/input/priority_header.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn parse_priority_header(input: &str) -> PriorityHeaderIter { [INFO] [stdout] | ^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn parse_priority_header(input: &str) -> PriorityHeaderIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.17.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "9833c44bfcdc942ec8c42018eb7ea52f8b95990c34b94a1cb745771a1c05dae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9833c44bfcdc942ec8c42018eb7ea52f8b95990c34b94a1cb745771a1c05dae4", kill_on_drop: false }` [INFO] [stdout] 9833c44bfcdc942ec8c42018eb7ea52f8b95990c34b94a1cb745771a1c05dae4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 18aa4c51e2e1f7a7b2f303f448b30d09975b5b3b5cd8b2ae6ff078f4e224d070 [INFO] running `Command { std: "docker" "start" "-a" "18aa4c51e2e1f7a7b2f303f448b30d09975b5b3b5cd8b2ae6ff078f4e224d070", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:843:20 [INFO] [stderr] | [INFO] [stderr] 843 | pub fn headers(&self) -> HeadersIter { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 843 | pub fn headers(&self) -> HeadersIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:904:17 [INFO] [stderr] | [INFO] [stderr] 904 | pub fn data(&self) -> Option { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 904 | pub fn data(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/content_encoding.rs:111:44 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn accepted_content_encodings(request: &Request) -> AcceptedContentEncodingsIter { [INFO] [stderr] | ^^^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 111 | pub fn accepted_content_encodings(request: &Request) -> AcceptedContentEncodingsIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/input/multipart.rs:58:37 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn get_multipart_input(request: &Request) -> Result { [INFO] [stderr] | ^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 58 | pub fn get_multipart_input(request: &Request) -> Result, MultipartError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/input/cookies.rs:42:25 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn cookies(request: &Request) -> CookiesIter { [INFO] [stderr] | ^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 42 | pub fn cookies(request: &Request) -> CookiesIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/input/priority_header.rs:100:37 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn parse_priority_header(input: &str) -> PriorityHeaderIter { [INFO] [stderr] | ^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 100 | pub fn parse_priority_header(input: &str) -> PriorityHeaderIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/router.rs:302:16 [INFO] [stderr] | [INFO] [stderr] 302 | if let Ok($p) = $crate::percent_encoding::percent_decode(url[0 .. pat_end].as_bytes()) [INFO] [stderr] | ________________^ [INFO] [stderr] 303 | | .decode_utf8_lossy().parse() { [INFO] [stderr] | |____________________________________________^ [INFO] [stderr] ... [INFO] [stderr] 390 | assert_eq!(1, router!(request, [INFO] [stderr] | _______________________- [INFO] [stderr] 391 | | (GET) (/hello/) => { 0 }, [INFO] [stderr] 392 | | (GET) (/hello/{id:u32}) => { if id == 5 { 1 } else { 0 } }, [INFO] [stderr] 393 | | (GET) (/hello/{_id:String}) => { 0 }, [INFO] [stderr] 394 | | _ => 0 [INFO] [stderr] 395 | | )); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stderr] = note: this warning originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/router.rs:302:16 [INFO] [stderr] | [INFO] [stderr] 302 | if let Ok($p) = $crate::percent_encoding::percent_decode(url[0 .. pat_end].as_bytes()) [INFO] [stderr] | ________________^ [INFO] [stderr] 303 | | .decode_utf8_lossy().parse() { [INFO] [stderr] | |____________________________________________^ [INFO] [stderr] ... [INFO] [stderr] 402 | assert_eq!(1, router!(request, [INFO] [stderr] | _______________________- [INFO] [stderr] 403 | | (GET) (/hello/) => { 0 }, [INFO] [stderr] 404 | | (GET) (/hello/{id:u32}) => { if id == 5 { 1 } else { 0 } }, [INFO] [stderr] 405 | | (GET) (/hello/{_id:String}) => { 0 }, [INFO] [stderr] 406 | | _ => 0, [INFO] [stderr] 407 | | )); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] = note: this warning originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/router.rs:302:16 [INFO] [stderr] | [INFO] [stderr] 302 | if let Ok($p) = $crate::percent_encoding::percent_decode(url[0 .. pat_end].as_bytes()) [INFO] [stderr] | ________________^ [INFO] [stderr] 303 | | .decode_utf8_lossy().parse() { [INFO] [stderr] | |____________________________________________^ [INFO] [stderr] ... [INFO] [stderr] 414 | assert_eq!(1, router!(request, [INFO] [stderr] | _______________________- [INFO] [stderr] 415 | | (GET) (/hello/) => { 0 }, [INFO] [stderr] 416 | | (GET) (/hello/{id:u32}) => { if id == 5 { 1 } else { 0 } }, [INFO] [stderr] 417 | | (GET) (/hello/{_id:String}) => { 0 }, [INFO] [stderr] 418 | | _ => 0,,,, [INFO] [stderr] 419 | | )); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] = note: this warning originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/router.rs:302:16 [INFO] [stderr] | [INFO] [stderr] 302 | if let Ok($p) = $crate::percent_encoding::percent_decode(url[0 .. pat_end].as_bytes()) [INFO] [stderr] | ________________^ [INFO] [stderr] 303 | | .decode_utf8_lossy().parse() { [INFO] [stderr] | |____________________________________________^ [INFO] [stderr] ... [INFO] [stderr] 587 | assert_eq!("?a", router!(request, [INFO] [stderr] | __________________________- [INFO] [stderr] 588 | | (GET) (/hello/{val: String}/test) => { val }, [INFO] [stderr] 589 | | _ => String::from(""))); [INFO] [stderr] | |_________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] = note: this warning originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `field` is never read [INFO] [stderr] --> src/input/post.rs:773:13 [INFO] [stderr] | [INFO] [stderr] 490 | struct PostInput { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 773 | field: String [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PostInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `field` is never read [INFO] [stderr] --> src/input/post.rs:804:13 [INFO] [stderr] | [INFO] [stderr] 490 | struct PostInput { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 804 | field: u32 [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PostInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `field` is never read [INFO] [stderr] --> src/input/post.rs:850:13 [INFO] [stderr] | [INFO] [stderr] 490 | struct PostInput { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 850 | field: Vec [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PostInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `field` is never read [INFO] [stderr] --> src/input/post.rs:882:13 [INFO] [stderr] | [INFO] [stderr] 490 | struct PostInput { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 882 | field: String [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PostInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `field` is never read [INFO] [stderr] --> src/input/post.rs:942:13 [INFO] [stderr] | [INFO] [stderr] 490 | struct PostInput { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 942 | field: u32 [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PostInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `field` is never read [INFO] [stderr] --> src/input/post.rs:974:13 [INFO] [stderr] | [INFO] [stderr] 490 | struct PostInput { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 974 | field: u8 [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PostInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `field` is never read [INFO] [stderr] --> src/input/post.rs:994:13 [INFO] [stderr] | [INFO] [stderr] 490 | struct PostInput { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 994 | field: u8 [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PostInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `field` is never read [INFO] [stderr] --> src/input/post.rs:1012:13 [INFO] [stderr] | [INFO] [stderr] 490 | struct PostInput { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 1012 | field: String [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PostInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rouille-maint-in` (lib) generated 6 warnings (run `cargo fix --lib -p rouille-maint-in` to apply 6 suggestions) [INFO] [stderr] warning: `rouille-maint-in` (lib test) generated 18 warnings (6 duplicates) [INFO] [stderr] warning: field `login` is never read [INFO] [stderr] --> examples/login-session.rs:12:22 [INFO] [stderr] | [INFO] [stderr] 12 | struct SessionData { login: String } [INFO] [stderr] | ----------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = note: `SessionData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rouille-maint-in` (example "login-session") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.17.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rouille_maint_in-7b0bf9e338c577bb) [INFO] [stdout] [INFO] [stdout] running 88 tests [INFO] [stdout] test content_encoding::tests::empty_req_encodings ... ok [INFO] [stdout] test content_encoding::tests::no_req_encodings ... ok [INFO] [stdout] test content_encoding::tests::multi_req_encoding ... ok [INFO] [stdout] test content_encoding::tests::one_req_encoding ... ok [INFO] [stdout] test input::accept::tests::multimatch_first ... ok [INFO] [stdout] test input::accept::tests::no_header_first ... ok [INFO] [stdout] test input::accept::tests::no_header_wildcard ... ok [INFO] [stdout] test input::accept::tests::no_match ... ok [INFO] [stdout] test input::basic_http_auth::test::basic_http_auth_no_header ... ok [INFO] [stdout] test input::accept::tests::wildcard ... ok [INFO] [stdout] test input::basic_http_auth::test::basic_http_auth_ok ... ok [INFO] [stdout] test input::basic_http_auth::test::basic_http_auth_wrong_header ... ok [INFO] [stdout] test input::cookies::test::cookies_ok ... ok [INFO] [stdout] test input::cookies::test::no_cookie ... ok [INFO] [stdout] test input::plain::test::body_twice ... ok [INFO] [stdout] test input::plain::test::bytes_limit ... ok [INFO] [stdout] test input::plain::test::non_utf8_encoding ... ignored [INFO] [stdout] test input::plain::test::ok ... ok [INFO] [stdout] test input::post::tests::basic_bool ... ok [INFO] [stdout] test input::plain::test::wrong_content_type ... ok [INFO] [stdout] test input::plain::test::non_utf8_body ... ok [INFO] [stdout] test input::post::tests::basic_int ... ok [INFO] [stdout] test input::post::tests::basic_string ... ok [INFO] [stdout] test input::plain::test::charset ... ok [INFO] [stdout] test input::plain::test::exact_limit ... ok [INFO] [stdout] test input::plain::test::missing_content_type ... ok [INFO] [stdout] test input::post::tests::missing_field_bool ... ok [INFO] [stdout] test input::post::tests::body_extracted ... ok [INFO] [stdout] test input::post::tests::basic_option_string ... ok [INFO] [stdout] test input::post::tests::basic_float ... ok [INFO] [stdout] test input::post::tests::missing_field ... ok [INFO] [stdout] test input::post::tests::missing_field_vec ... ok [INFO] [stdout] test input::post::tests::multiple_values_bool ... ok [INFO] [stdout] test input::post::tests::multiple_values_vec_option_parse_failure ... ok [INFO] [stdout] test input::post::tests::not_utf8 ... ignored [INFO] [stdout] test input::post::tests::num_overflow ... ok [INFO] [stdout] test input::accept::tests::basic ... ok [INFO] [stdout] test input::post::tests::multiple_values ... ok [INFO] [stdout] test input::post::tests::multiple_values_vec ... ok [INFO] [stdout] test input::post::tests::missing_field_option ... ok [INFO] [stdout] test input::post::tests::multiple_values_vec_parse_failure ... ok [INFO] [stdout] test input::post::tests::wrong_content_type ... ok [INFO] [stdout] test input::priority_header::tests::parse_basic ... ok [INFO] [stdout] test input::priority_header::tests::parse_white_spaces ... ok [INFO] [stdout] test input::priority_header::tests::preferred_multimatch_first ... ok [INFO] [stdout] test input::priority_header::tests::preferred_empty ... ok [INFO] [stdout] test input::post::tests::num_parse_error_option ... ok [INFO] [stdout] test input::priority_header::tests::preferred_basic ... ok [INFO] [stdout] test input::post::tests::too_many_fields ... ok [INFO] [stdout] test input::post::tests::weird_stuff ... ok [INFO] [stdout] test input::priority_header::tests::preferred_wildcard_header_left ... ok [INFO] [stdout] test response::tests::unique_header_adds ... ok [INFO] [stdout] test input::post::tests::num_parse_error ... ok [INFO] [stdout] test input::priority_header::tests::preferred_wildcard_header ... ok [INFO] [stdout] test response::tests::unique_header_replaces ... ok [INFO] [stdout] test router::tests::basic ... ok [INFO] [stdout] test router::tests::dash ... ok [INFO] [stdout] test router::tests::encoded ... ok [INFO] [stdout] test router::tests::encoded_old ... ok [INFO] [stdout] test router::tests::files ... ok [INFO] [stdout] test response::tests::unique_header_adds_without_touching ... ok [INFO] [stdout] test router::tests::numbers ... ok [INFO] [stdout] test router::tests::multiple_params ... ok [INFO] [stdout] test router::tests::old_style_basic ... ok [INFO] [stdout] test router::tests::old_style_dash ... ok [INFO] [stdout] test router::tests::old_style_params ... ok [INFO] [stdout] test router::tests::param_slash ... ok [INFO] [stdout] test router::tests::trailing_commas ... ok [INFO] [stdout] test router::tests::old_style_trailing_comma ... ok [INFO] [stdout] test router::tests::old_style_trailing_commas ... ok [INFO] [stdout] test router::tests::trailing_comma ... ok [INFO] [stdout] test router::tests::url_parameter_ownership ... ok [INFO] [stdout] test tests::dnt ... ok [INFO] [stdout] test router::tests::skip_failed_parse_string ... ok [INFO] [stdout] test tests::header ... ok [INFO] [stdout] test tests::get_param ... ok [INFO] [stdout] test router::tests::skip_failed_parse_float ... ok [INFO] [stdout] test session::test_generate_session_id ... ok [INFO] [stdout] test tests::body_twice ... ok [INFO] [stdout] test tests::encoded_plus_in_query_string ... ok [INFO] [stdout] test tests::plus_in_query_string ... ok [INFO] [stdout] test tests::plus_in_url ... ok [INFO] [stdout] test tests::url_encode ... ok [INFO] [stdout] test tests::url_strips_get_query ... ok [INFO] [stdout] test tests::urlencode_query_string ... ok [INFO] [stdout] test websocket::low_level::tests::basic ... ok [INFO] [stdout] test router::tests::identity_not_present_in_url_string - should panic ... ok [INFO] [stdout] test router::tests::parameter_with_no_matching_identity - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 86 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "18aa4c51e2e1f7a7b2f303f448b30d09975b5b3b5cd8b2ae6ff078f4e224d070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18aa4c51e2e1f7a7b2f303f448b30d09975b5b3b5cd8b2ae6ff078f4e224d070", kill_on_drop: false }` [INFO] [stdout] 18aa4c51e2e1f7a7b2f303f448b30d09975b5b3b5cd8b2ae6ff078f4e224d070