[INFO] fetching crate rs-router 0.1.1... [INFO] checking rs-router-0.1.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate rs-router 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate rs-router 0.1.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.6.10 (latest: v1.1.3) [INFO] [stderr] Adding base64 v0.9.3 (latest: v0.22.1) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding hyper v0.10.16 (latest: v1.4.1) [INFO] [stderr] Adding idna v0.1.5 (latest: v1.0.2) [INFO] [stderr] Adding language-tags v0.2.2 (latest: v0.3.2) [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.5.0) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.22) [INFO] [stderr] Adding mime v0.2.6 (latest: v0.3.17) [INFO] [stderr] Adding percent-encoding v1.0.1 (latest: v2.3.1) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding regex v0.2.11 (latest: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.5.6 (latest: v0.8.4) [INFO] [stderr] Adding thread_local v0.3.6 (latest: v1.1.8) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [INFO] [stderr] Adding ucd-util v0.1.10 (latest: v0.2.1) [INFO] [stderr] Adding unicase v1.4.2 (latest: v2.7.0) [INFO] [stderr] Adding url v1.7.2 (latest: v2.5.2) [INFO] [stderr] Adding version_check v0.1.5 (latest: v0.9.5) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e576178f53aaa6166412ef955e5e95c463a0b2e052c8db4d8e49bd27a19c3911 [INFO] running `Command { std: "docker" "start" "-a" "e576178f53aaa6166412ef955e5e95c463a0b2e052c8db4d8e49bd27a19c3911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e576178f53aaa6166412ef955e5e95c463a0b2e052c8db4d8e49bd27a19c3911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e576178f53aaa6166412ef955e5e95c463a0b2e052c8db4d8e49bd27a19c3911", kill_on_drop: false }` [INFO] [stdout] e576178f53aaa6166412ef955e5e95c463a0b2e052c8db4d8e49bd27a19c3911 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb102fb01a032e608604f74300d80c7171a6a64d9631978965039827314df1b6 [INFO] running `Command { std: "docker" "start" "-a" "bb102fb01a032e608604f74300d80c7171a6a64d9631978965039827314df1b6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking 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)]` 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)]` on by default [INFO] [stdout] help: if this is an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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: 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)]` 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)]` on by default [INFO] [stdout] help: if this is an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "bb102fb01a032e608604f74300d80c7171a6a64d9631978965039827314df1b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb102fb01a032e608604f74300d80c7171a6a64d9631978965039827314df1b6", kill_on_drop: false }` [INFO] [stdout] bb102fb01a032e608604f74300d80c7171a6a64d9631978965039827314df1b6