[INFO] fetching crate rs-router 0.1.1... [INFO] testing rs-router-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rs-router 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate rs-router 0.1.1 [INFO] finished tweaking crates.io crate rs-router 0.1.1 [INFO] tweaked toml for crates.io crate rs-router 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rs-router 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages to latest compatible versions [INFO] [stderr] Adding hyper v0.10.16 (available: v1.7.0) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.28) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.3) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded traitobject v0.1.1 [INFO] [stderr] Downloaded ucd-util v0.1.10 [INFO] [stderr] Downloaded utf8-ranges v1.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f050ef3c99e741ae1a90cf80f35aed11882ae60c3be3062db2f842f90b5d9f5e [INFO] running `Command { std: "docker" "start" "-a" "f050ef3c99e741ae1a90cf80f35aed11882ae60c3be3062db2f842f90b5d9f5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f050ef3c99e741ae1a90cf80f35aed11882ae60c3be3062db2f842f90b5d9f5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f050ef3c99e741ae1a90cf80f35aed11882ae60c3be3062db2f842f90b5d9f5e", kill_on_drop: false }` [INFO] [stdout] f050ef3c99e741ae1a90cf80f35aed11882ae60c3be3062db2f842f90b5d9f5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b63eeb41b734b007d1ea3ce52ace749d428793669b8639a6c27ab23d0021424 [INFO] running `Command { std: "docker" "start" "-a" "7b63eeb41b734b007d1ea3ce52ace749d428793669b8639a6c27ab23d0021424", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling rs-router v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:213:37 [INFO] [stdout] | [INFO] [stdout] 213 | fn handle<'a, 'b, 'c>(&'a self, Request<'a, 'b, 'c>) -> Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Request<'a, 'b, 'c>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | Other(err: Box<::std::error::Error + Send + Sync>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | Other(err: Box) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | pub body: Option> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 172 | pub body: Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:251:50 [INFO] [stdout] | [INFO] [stdout] 251 | $prefix_handlers: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | / impls!{ [INFO] [stdout] 357 | | [get_regex_set, get_regexes, get_priorities, get_handlers, get_strs, Method::Get, add_get, add_get_with_priority], [INFO] [stdout] 358 | | [post_regex_set, post_regexes, post_priorities, post_handlers, post_strs, Method::Post, add_post, add_post_with_priority], [INFO] [stdout] 359 | | [put_regex_set, put_regexes, put_priorities, put_handlers, put_strs, Method::Put, add_put, add_put_with_priority], [INFO] [stdout] ... | [INFO] [stdout] 362 | | [head_regex_set, head_regexes, head_priorities, head_handlers, head_strs, Method::Head, add_head, add_head_with_priority] [INFO] [stdout] 363 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:253:28 [INFO] [stdout] | [INFO] [stdout] 253 | not_found: Box [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | / impls!{ [INFO] [stdout] 357 | | [get_regex_set, get_regexes, get_priorities, get_handlers, get_strs, Method::Get, add_get, add_get_with_priority], [INFO] [stdout] 358 | | [post_regex_set, post_regexes, post_priorities, post_handlers, post_strs, Method::Post, add_post, add_post_with_priority], [INFO] [stdout] 359 | | [put_regex_set, put_regexes, put_priorities, put_handlers, put_strs, Method::Put, add_put, add_put_with_priority], [INFO] [stdout] ... | [INFO] [stdout] 362 | | [head_regex_set, head_regexes, head_priorities, head_handlers, head_strs, Method::Head, add_head, add_head_with_priority] [INFO] [stdout] 363 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:289:50 [INFO] [stdout] | [INFO] [stdout] 289 | $prefix_handlers: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | / impls!{ [INFO] [stdout] 357 | | [get_regex_set, get_regexes, get_priorities, get_handlers, get_strs, Method::Get, add_get, add_get_with_priority], [INFO] [stdout] 358 | | [post_regex_set, post_regexes, post_priorities, post_handlers, post_strs, Method::Post, add_post, add_post_with_priority], [INFO] [stdout] 359 | | [put_regex_set, put_regexes, put_priorities, put_handlers, put_strs, Method::Put, add_put, add_put_with_priority], [INFO] [stdout] ... | [INFO] [stdout] 362 | | [head_regex_set, head_regexes, head_priorities, head_handlers, head_strs, Method::Head, add_head, add_head_with_priority] [INFO] [stdout] 363 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:291:35 [INFO] [stdout] | [INFO] [stdout] 291 | not_found: Option> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | / impls!{ [INFO] [stdout] 357 | | [get_regex_set, get_regexes, get_priorities, get_handlers, get_strs, Method::Get, add_get, add_get_with_priority], [INFO] [stdout] 358 | | [post_regex_set, post_regexes, post_priorities, post_handlers, post_strs, Method::Post, add_post, add_post_with_priority], [INFO] [stdout] 359 | | [put_regex_set, put_regexes, put_priorities, put_handlers, put_strs, Method::Put, add_put, add_put_with_priority], [INFO] [stdout] ... | [INFO] [stdout] 362 | | [head_regex_set, head_regexes, head_priorities, head_handlers, head_strs, Method::Head, add_head, add_head_with_priority] [INFO] [stdout] 363 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 136 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:146:40 [INFO] [stdout] | [INFO] [stdout] 146 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:158:40 [INFO] [stdout] | [INFO] [stdout] 158 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:140:40 [INFO] [stdout] | [INFO] [stdout] 140 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:152:40 [INFO] [stdout] | [INFO] [stdout] 152 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:164:40 [INFO] [stdout] | [INFO] [stdout] 164 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:187:71 [INFO] [stdout] | [INFO] [stdout] 187 | fn write_body(mut res: HyperResponse, body: Option>) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 | fn write_body(mut res: HyperResponse, body: Option>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn captures(&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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn captures(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.60s [INFO] running `Command { std: "docker" "inspect" "7b63eeb41b734b007d1ea3ce52ace749d428793669b8639a6c27ab23d0021424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b63eeb41b734b007d1ea3ce52ace749d428793669b8639a6c27ab23d0021424", kill_on_drop: false }` [INFO] [stdout] 7b63eeb41b734b007d1ea3ce52ace749d428793669b8639a6c27ab23d0021424 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab5616e3a385fe0ad07f53b9bb7f19c58335e172a9129e023afef8824b6fe90e [INFO] running `Command { std: "docker" "start" "-a" "ab5616e3a385fe0ad07f53b9bb7f19c58335e172a9129e023afef8824b6fe90e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:213:37 [INFO] [stdout] | [INFO] [stdout] 213 | fn handle<'a, 'b, 'c>(&'a self, Request<'a, 'b, 'c>) -> Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Request<'a, 'b, 'c>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | Other(err: Box<::std::error::Error + Send + Sync>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | Other(err: Box) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | pub body: Option> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 172 | pub body: Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:251:50 [INFO] [stdout] | [INFO] [stdout] 251 | $prefix_handlers: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | / impls!{ [INFO] [stdout] 357 | | [get_regex_set, get_regexes, get_priorities, get_handlers, get_strs, Method::Get, add_get, add_get_with_priority], [INFO] [stdout] 358 | | [post_regex_set, post_regexes, post_priorities, post_handlers, post_strs, Method::Post, add_post, add_post_with_priority], [INFO] [stdout] 359 | | [put_regex_set, put_regexes, put_priorities, put_handlers, put_strs, Method::Put, add_put, add_put_with_priority], [INFO] [stdout] ... | [INFO] [stdout] 362 | | [head_regex_set, head_regexes, head_priorities, head_handlers, head_strs, Method::Head, add_head, add_head_with_priority] [INFO] [stdout] 363 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:253:28 [INFO] [stdout] | [INFO] [stdout] 253 | not_found: Box [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | / impls!{ [INFO] [stdout] 357 | | [get_regex_set, get_regexes, get_priorities, get_handlers, get_strs, Method::Get, add_get, add_get_with_priority], [INFO] [stdout] 358 | | [post_regex_set, post_regexes, post_priorities, post_handlers, post_strs, Method::Post, add_post, add_post_with_priority], [INFO] [stdout] 359 | | [put_regex_set, put_regexes, put_priorities, put_handlers, put_strs, Method::Put, add_put, add_put_with_priority], [INFO] [stdout] ... | [INFO] [stdout] 362 | | [head_regex_set, head_regexes, head_priorities, head_handlers, head_strs, Method::Head, add_head, add_head_with_priority] [INFO] [stdout] 363 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:289:50 [INFO] [stdout] | [INFO] [stdout] 289 | $prefix_handlers: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | / impls!{ [INFO] [stdout] 357 | | [get_regex_set, get_regexes, get_priorities, get_handlers, get_strs, Method::Get, add_get, add_get_with_priority], [INFO] [stdout] 358 | | [post_regex_set, post_regexes, post_priorities, post_handlers, post_strs, Method::Post, add_post, add_post_with_priority], [INFO] [stdout] 359 | | [put_regex_set, put_regexes, put_priorities, put_handlers, put_strs, Method::Put, add_put, add_put_with_priority], [INFO] [stdout] ... | [INFO] [stdout] 362 | | [head_regex_set, head_regexes, head_priorities, head_handlers, head_strs, Method::Head, add_head, add_head_with_priority] [INFO] [stdout] 363 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:291:35 [INFO] [stdout] | [INFO] [stdout] 291 | not_found: Option> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | / impls!{ [INFO] [stdout] 357 | | [get_regex_set, get_regexes, get_priorities, get_handlers, get_strs, Method::Get, add_get, add_get_with_priority], [INFO] [stdout] 358 | | [post_regex_set, post_regexes, post_priorities, post_handlers, post_strs, Method::Post, add_post, add_post_with_priority], [INFO] [stdout] 359 | | [put_regex_set, put_regexes, put_priorities, put_handlers, put_strs, Method::Put, add_put, add_put_with_priority], [INFO] [stdout] ... | [INFO] [stdout] 362 | | [head_regex_set, head_regexes, head_priorities, head_handlers, head_strs, Method::Head, add_head, add_head_with_priority] [INFO] [stdout] 363 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 136 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:146:40 [INFO] [stdout] | [INFO] [stdout] 146 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:158:40 [INFO] [stdout] | [INFO] [stdout] 158 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:140:40 [INFO] [stdout] | [INFO] [stdout] 140 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:152:40 [INFO] [stdout] | [INFO] [stdout] 152 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:164:40 [INFO] [stdout] | [INFO] [stdout] 164 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:187:71 [INFO] [stdout] | [INFO] [stdout] 187 | fn write_body(mut res: HyperResponse, body: Option>) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 | fn write_body(mut res: HyperResponse, body: Option>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn captures(&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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn captures(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rs-router v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/simple.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:213:37 [INFO] [stdout] | [INFO] [stdout] 213 | fn handle<'a, 'b, 'c>(&'a self, Request<'a, 'b, 'c>) -> Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Request<'a, 'b, 'c>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> examples/simple.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | fn maybe_handler(req: Request) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | Other(err: Box<::std::error::Error + Send + Sync>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | Other(err: Box) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | pub body: Option> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 172 | pub body: Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:251:50 [INFO] [stdout] | [INFO] [stdout] 251 | $prefix_handlers: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | / impls!{ [INFO] [stdout] 357 | | [get_regex_set, get_regexes, get_priorities, get_handlers, get_strs, Method::Get, add_get, add_get_with_priority], [INFO] [stdout] 358 | | [post_regex_set, post_regexes, post_priorities, post_handlers, post_strs, Method::Post, add_post, add_post_with_priority], [INFO] [stdout] 359 | | [put_regex_set, put_regexes, put_priorities, put_handlers, put_strs, Method::Put, add_put, add_put_with_priority], [INFO] [stdout] ... | [INFO] [stdout] 362 | | [head_regex_set, head_regexes, head_priorities, head_handlers, head_strs, Method::Head, add_head, add_head_with_priority] [INFO] [stdout] 363 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:253:28 [INFO] [stdout] | [INFO] [stdout] 253 | not_found: Box [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | / impls!{ [INFO] [stdout] 357 | | [get_regex_set, get_regexes, get_priorities, get_handlers, get_strs, Method::Get, add_get, add_get_with_priority], [INFO] [stdout] 358 | | [post_regex_set, post_regexes, post_priorities, post_handlers, post_strs, Method::Post, add_post, add_post_with_priority], [INFO] [stdout] 359 | | [put_regex_set, put_regexes, put_priorities, put_handlers, put_strs, Method::Put, add_put, add_put_with_priority], [INFO] [stdout] ... | [INFO] [stdout] 362 | | [head_regex_set, head_regexes, head_priorities, head_handlers, head_strs, Method::Head, add_head, add_head_with_priority] [INFO] [stdout] 363 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:289:50 [INFO] [stdout] | [INFO] [stdout] 289 | $prefix_handlers: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | / impls!{ [INFO] [stdout] 357 | | [get_regex_set, get_regexes, get_priorities, get_handlers, get_strs, Method::Get, add_get, add_get_with_priority], [INFO] [stdout] 358 | | [post_regex_set, post_regexes, post_priorities, post_handlers, post_strs, Method::Post, add_post, add_post_with_priority], [INFO] [stdout] 359 | | [put_regex_set, put_regexes, put_priorities, put_handlers, put_strs, Method::Put, add_put, add_put_with_priority], [INFO] [stdout] ... | [INFO] [stdout] 362 | | [head_regex_set, head_regexes, head_priorities, head_handlers, head_strs, Method::Head, add_head, add_head_with_priority] [INFO] [stdout] 363 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:291:35 [INFO] [stdout] | [INFO] [stdout] 291 | not_found: Option> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | / impls!{ [INFO] [stdout] 357 | | [get_regex_set, get_regexes, get_priorities, get_handlers, get_strs, Method::Get, add_get, add_get_with_priority], [INFO] [stdout] 358 | | [post_regex_set, post_regexes, post_priorities, post_handlers, post_strs, Method::Post, add_post, add_post_with_priority], [INFO] [stdout] 359 | | [put_regex_set, put_regexes, put_priorities, put_handlers, put_strs, Method::Put, add_put, add_put_with_priority], [INFO] [stdout] ... | [INFO] [stdout] 362 | | [head_regex_set, head_regexes, head_priorities, head_handlers, head_strs, Method::Head, add_head, add_head_with_priority] [INFO] [stdout] 363 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 136 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:146:40 [INFO] [stdout] | [INFO] [stdout] 146 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:158:40 [INFO] [stdout] | [INFO] [stdout] 158 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:140:40 [INFO] [stdout] | [INFO] [stdout] 140 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:152:40 [INFO] [stdout] | [INFO] [stdout] 152 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:164:40 [INFO] [stdout] | [INFO] [stdout] 164 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:187:71 [INFO] [stdout] | [INFO] [stdout] 187 | fn write_body(mut res: HyperResponse, body: Option>) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 | fn write_body(mut res: HyperResponse, body: Option>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn captures(&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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn captures(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "ab5616e3a385fe0ad07f53b9bb7f19c58335e172a9129e023afef8824b6fe90e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab5616e3a385fe0ad07f53b9bb7f19c58335e172a9129e023afef8824b6fe90e", kill_on_drop: false }` [INFO] [stdout] ab5616e3a385fe0ad07f53b9bb7f19c58335e172a9129e023afef8824b6fe90e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b22fa1554668255917995bb4dc1409b31d2b776f0b4720afc0609c3c9383863d [INFO] running `Command { std: "docker" "start" "-a" "b22fa1554668255917995bb4dc1409b31d2b776f0b4720afc0609c3c9383863d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:213:37 [INFO] [stderr] | [INFO] [stderr] 213 | fn handle<'a, 'b, 'c>(&'a self, Request<'a, 'b, 'c>) -> Response; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Request<'a, 'b, 'c>` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | Other(err: Box<::std::error::Error + Send + Sync>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 16 | Other(err: Box) { [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:172:26 [INFO] [stderr] | [INFO] [stderr] 172 | pub body: Option> [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 172 | pub body: Option> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:251:50 [INFO] [stderr] | [INFO] [stderr] 251 | $prefix_handlers: Option>>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 356 | / impls!{ [INFO] [stderr] 357 | | [get_regex_set, get_regexes, get_priorities, get_handlers, get_strs, Method::Get, add_get, add_get_with_priority], [INFO] [stderr] 358 | | [post_regex_set, post_regexes, post_priorities, post_handlers, post_strs, Method::Post, add_post, add_post_with_priority], [INFO] [stderr] 359 | | [put_regex_set, put_regexes, put_priorities, put_handlers, put_strs, Method::Put, add_put, add_put_with_priority], [INFO] [stderr] ... | [INFO] [stderr] 362 | | [head_regex_set, head_regexes, head_priorities, head_handlers, head_strs, Method::Head, add_head, add_head_with_priority] [INFO] [stderr] 363 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:253:28 [INFO] [stderr] | [INFO] [stderr] 253 | not_found: Box [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 356 | / impls!{ [INFO] [stderr] 357 | | [get_regex_set, get_regexes, get_priorities, get_handlers, get_strs, Method::Get, add_get, add_get_with_priority], [INFO] [stderr] 358 | | [post_regex_set, post_regexes, post_priorities, post_handlers, post_strs, Method::Post, add_post, add_post_with_priority], [INFO] [stderr] 359 | | [put_regex_set, put_regexes, put_priorities, put_handlers, put_strs, Method::Put, add_put, add_put_with_priority], [INFO] [stderr] ... | [INFO] [stderr] 362 | | [head_regex_set, head_regexes, head_priorities, head_handlers, head_strs, Method::Head, add_head, add_head_with_priority] [INFO] [stderr] 363 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:289:50 [INFO] [stderr] | [INFO] [stderr] 289 | $prefix_handlers: Option>>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 356 | / impls!{ [INFO] [stderr] 357 | | [get_regex_set, get_regexes, get_priorities, get_handlers, get_strs, Method::Get, add_get, add_get_with_priority], [INFO] [stderr] 358 | | [post_regex_set, post_regexes, post_priorities, post_handlers, post_strs, Method::Post, add_post, add_post_with_priority], [INFO] [stderr] 359 | | [put_regex_set, put_regexes, put_priorities, put_handlers, put_strs, Method::Put, add_put, add_put_with_priority], [INFO] [stderr] ... | [INFO] [stderr] 362 | | [head_regex_set, head_regexes, head_priorities, head_handlers, head_strs, Method::Head, add_head, add_head_with_priority] [INFO] [stderr] 363 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:291:35 [INFO] [stderr] | [INFO] [stderr] 291 | not_found: Option> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 356 | / impls!{ [INFO] [stderr] 357 | | [get_regex_set, get_regexes, get_priorities, get_handlers, get_strs, Method::Get, add_get, add_get_with_priority], [INFO] [stderr] 358 | | [post_regex_set, post_regexes, post_priorities, post_handlers, post_strs, Method::Post, add_post, add_post_with_priority], [INFO] [stderr] 359 | | [put_regex_set, put_regexes, put_priorities, put_handlers, put_strs, Method::Put, add_put, add_put_with_priority], [INFO] [stderr] ... | [INFO] [stderr] 362 | | [head_regex_set, head_regexes, head_priorities, head_handlers, head_strs, Method::Head, add_head, add_head_with_priority] [INFO] [stderr] 363 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:136:40 [INFO] [stderr] | [INFO] [stderr] 136 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 136 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:146:40 [INFO] [stderr] | [INFO] [stderr] 146 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 146 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:158:40 [INFO] [stderr] | [INFO] [stderr] 158 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 158 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:140:40 [INFO] [stderr] | [INFO] [stderr] 140 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 140 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:152:40 [INFO] [stderr] | [INFO] [stderr] 152 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 152 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:164:40 [INFO] [stderr] | [INFO] [stderr] 164 | fn write_body(&mut self, res: &mut Write) -> ::std::io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 164 | fn write_body(&mut self, res: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:187:71 [INFO] [stderr] | [INFO] [stderr] 187 | fn write_body(mut res: HyperResponse, body: Option>) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 187 | fn write_body(mut res: HyperResponse, body: Option>) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:128:21 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn captures(&self) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 128 | pub fn captures(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rs-router` (lib) generated 15 warnings (run `cargo fix --lib -p rs-router` to apply 11 suggestions) [INFO] [stderr] warning: `rs-router` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/simple.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> examples/simple.rs:50:18 [INFO] [stderr] | [INFO] [stderr] 50 | fn maybe_handler(req: Request) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rs-router` (example "simple") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rs_router-aa9f41908b52818e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rs_router [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b22fa1554668255917995bb4dc1409b31d2b776f0b4720afc0609c3c9383863d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b22fa1554668255917995bb4dc1409b31d2b776f0b4720afc0609c3c9383863d", kill_on_drop: false }` [INFO] [stdout] b22fa1554668255917995bb4dc1409b31d2b776f0b4720afc0609c3c9383863d