[INFO] fetching crate rouille-maint-in 3.0.1... [INFO] checking rouille-maint-in-3.0.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate rouille-maint-in 3.0.1 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rouille-maint-in 3.0.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e2494fb4a1fd8f6076b8cb045f5b7a6702292a24c430f0742ac3bf010ed27a8 [INFO] running `Command { std: "docker" "start" "-a" "9e2494fb4a1fd8f6076b8cb045f5b7a6702292a24c430f0742ac3bf010ed27a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e2494fb4a1fd8f6076b8cb045f5b7a6702292a24c430f0742ac3bf010ed27a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e2494fb4a1fd8f6076b8cb045f5b7a6702292a24c430f0742ac3bf010ed27a8", kill_on_drop: false }` [INFO] [stdout] 9e2494fb4a1fd8f6076b8cb045f5b7a6702292a24c430f0742ac3bf010ed27a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d3d880ff8d90e5d5844c6ae85e1679656cfee31c178969b98bbc5e74ba92e5a [INFO] running `Command { std: "docker" "start" "-a" "2d3d880ff8d90e5d5844c6ae85e1679656cfee31c178969b98bbc5e74ba92e5a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking gzip-header v0.3.0 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking postgres-protocol v0.6.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking postgres-types v0.2.0 [INFO] [stderr] Checking tiny_http v0.8.0 [INFO] [stderr] Checking tokio-util v0.6.4 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking tokio-postgres v0.7.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking rouille-maint-in v3.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:843:20 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn headers(&self) -> HeadersIter { [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] 843 | pub fn headers(&self) -> HeadersIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:904:17 [INFO] [stdout] | [INFO] [stdout] 904 | pub fn data(&self) -> Option { [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] 904 | pub fn data(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 111 | pub fn accepted_content_encodings(request: &Request) -> AcceptedContentEncodingsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 58 | pub fn get_multipart_input(request: &Request) -> Result, MultipartError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/input/cookies.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn cookies(request: &Request) -> CookiesIter { [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] 42 | pub fn cookies(request: &Request) -> CookiesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 100 | pub fn parse_priority_header(input: &str) -> PriorityHeaderIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking postgres v0.19.0 [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/hello-world.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / router!(request, [INFO] [stdout] 32 | | (GET) (/) => { [INFO] [stdout] ... | [INFO] [stdout] 81 | | _ => rouille::Response::empty_404() [INFO] [stdout] 82 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rouille-maint-in` (example "hello-world") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:843:20 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn headers(&self) -> HeadersIter { [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] 843 | pub fn headers(&self) -> HeadersIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:904:17 [INFO] [stdout] | [INFO] [stdout] 904 | pub fn data(&self) -> Option { [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] 904 | pub fn data(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 111 | pub fn accepted_content_encodings(request: &Request) -> AcceptedContentEncodingsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 58 | pub fn get_multipart_input(request: &Request) -> Result, MultipartError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/input/cookies.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn cookies(request: &Request) -> CookiesIter { [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] 42 | pub fn cookies(request: &Request) -> CookiesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 100 | pub fn parse_priority_header(input: &str) -> PriorityHeaderIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router.rs:302:29 [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: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router.rs:302:29 [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 error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router.rs:302:29 [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 error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | match $actual.parse::<$param_type>() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 523 | let resp = router!(request, [INFO] [stdout] | ____________________- [INFO] [stdout] 524 | | (GET) ["/hello"] => { "hello".to_string() }, [INFO] [stdout] 525 | | (GET) ["/word/{int}", int: u32] => { int.to_string() }, [INFO] [stdout] 526 | | (GET) ["/word/{word}", word: String] => { word }, [INFO] [stdout] 527 | | _ => "default".to_string() [INFO] [stdout] 528 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | match $actual.parse::<$param_type>() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | let resp = router!(request, [INFO] [stdout] | ____________________- [INFO] [stdout] 536 | | (GET) ["/hello"] => { "hello".to_string() }, [INFO] [stdout] 537 | | (GET) ["/word/{int}", int: u32] => { int.to_string() }, [INFO] [stdout] 538 | | (GET) ["/word/{a}/{b}/{c}/{d}", a: String, b: String, c: String, d: String] => { [INFO] [stdout] ... | [INFO] [stdout] 544 | | _ => "default".to_string() [INFO] [stdout] 545 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | match $actual.parse::<$param_type>() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | let resp = router!(request, [INFO] [stdout] | ____________________- [INFO] [stdout] 536 | | (GET) ["/hello"] => { "hello".to_string() }, [INFO] [stdout] 537 | | (GET) ["/word/{int}", int: u32] => { int.to_string() }, [INFO] [stdout] 538 | | (GET) ["/word/{a}/{b}/{c}/{d}", a: String, b: String, c: String, d: String] => { [INFO] [stdout] ... | [INFO] [stdout] 544 | | _ => "default".to_string() [INFO] [stdout] 545 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | match $actual.parse::<$param_type>() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | let resp = router!(request, [INFO] [stdout] | ____________________- [INFO] [stdout] 536 | | (GET) ["/hello"] => { "hello".to_string() }, [INFO] [stdout] 537 | | (GET) ["/word/{int}", int: u32] => { int.to_string() }, [INFO] [stdout] 538 | | (GET) ["/word/{a}/{b}/{c}/{d}", a: String, b: String, c: String, d: String] => { [INFO] [stdout] ... | [INFO] [stdout] 544 | | _ => "default".to_string() [INFO] [stdout] 545 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | match $actual.parse::<$param_type>() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | let resp = router!(request, [INFO] [stdout] | ____________________- [INFO] [stdout] 536 | | (GET) ["/hello"] => { "hello".to_string() }, [INFO] [stdout] 537 | | (GET) ["/word/{int}", int: u32] => { int.to_string() }, [INFO] [stdout] 538 | | (GET) ["/word/{a}/{b}/{c}/{d}", a: String, b: String, c: String, d: String] => { [INFO] [stdout] ... | [INFO] [stdout] 544 | | _ => "default".to_string() [INFO] [stdout] 545 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | match $actual.parse::<$param_type>() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | assert_eq!(1, router!(request, [INFO] [stdout] | _______________________- [INFO] [stdout] 555 | | (GET) ["/hello/"] => { 0 }, [INFO] [stdout] 556 | | (GET) ["/hello/{_name}", _name: String, _id: u32] => { 1 }, // this should fail [INFO] [stdout] 557 | | _ => 0 [INFO] [stdout] 558 | | )); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | match $actual.parse::<$param_type>() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 578 | assert_eq!("?a", router!(request, [INFO] [stdout] | __________________________- [INFO] [stdout] 579 | | (GET) ["/hello/{val}/test", val: String] => { val }, [INFO] [stdout] 580 | | _ => String::from(""))); [INFO] [stdout] | |_________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router.rs:302:29 [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 error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | match $actual.parse::<$param_type>() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 598 | / router!(request, [INFO] [stdout] 599 | | (GET) ["/{a}", a: String] => { assert_eq!(a, "hello/5") }, [INFO] [stdout] 600 | | _ => panic!() [INFO] [stdout] 601 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rouille-maint-in` (lib test) due to 12 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2d3d880ff8d90e5d5844c6ae85e1679656cfee31c178969b98bbc5e74ba92e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d3d880ff8d90e5d5844c6ae85e1679656cfee31c178969b98bbc5e74ba92e5a", kill_on_drop: false }` [INFO] [stdout] 2d3d880ff8d90e5d5844c6ae85e1679656cfee31c178969b98bbc5e74ba92e5a