[INFO] fetching crate fanta 0.2.0... [INFO] testing fanta-0.2.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate fanta 0.2.0 into /workspace/builds/worker-26/source [INFO] validating manifest of crates.io crate fanta 0.2.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fanta 0.2.0 [INFO] finished tweaking crates.io crate fanta 0.2.0 [INFO] tweaked toml for crates.io crate fanta 0.2.0 written to /workspace/builds/worker-26/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded templatify v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c2597481bea611c9e3633b361b8f4181ff6968c228c358f154868de995a7fcb [INFO] running `Command { std: "docker" "start" "-a" "7c2597481bea611c9e3633b361b8f4181ff6968c228c358f154868de995a7fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c2597481bea611c9e3633b361b8f4181ff6968c228c358f154868de995a7fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c2597481bea611c9e3633b361b8f4181ff6968c228c358f154868de995a7fcb", kill_on_drop: false }` [INFO] [stdout] 7c2597481bea611c9e3633b361b8f4181ff6968c228c358f154868de995a7fcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e805c557716c4073cf33db637c0978d944b8325c7415a36ff0e6c942d57cf079 [INFO] running `Command { std: "docker" "start" "-a" "e805c557716c4073cf33db637c0978d944b8325c7415a36ff0e6c942d57cf079", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling templatify v0.1.0 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling fanta v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/context.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | fn set_body(&mut self, String); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/request.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | let status = try!(r.parse(buf).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/http.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_io::codec::{Encoder, Decoder, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/http.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | type Transport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/http.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | type BindTransport = io::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/http.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | fn bind_transport(&self, io: T) -> io::Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | pub type MiddlewareReturnValue = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - pub type MiddlewareReturnValue = Box>; [INFO] [stdout] 9 + pub type MiddlewareReturnValue = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | fn resolve(&self, mut request: Request) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 203 - fn resolve(&self, mut request: Request) -> Box> { [INFO] [stdout] 203 + fn resolve(&self, mut request: Request) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | type Future = Box>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 256 - type Future = Box>; [INFO] [stdout] 256 + type Future = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:258:44 [INFO] [stdout] | [INFO] [stdout] 258 | fn call(&self, _request: Request) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 258 - fn call(&self, _request: Request) -> Box> { [INFO] [stdout] 258 + fn call(&self, _request: Request) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/http.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | Ok(io.framed(HttpCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | let mut context = (sub_app.context_generator)(&request); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut context = (self.context_generator)(&request); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.02s [INFO] running `Command { std: "docker" "inspect" "e805c557716c4073cf33db637c0978d944b8325c7415a36ff0e6c942d57cf079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e805c557716c4073cf33db637c0978d944b8325c7415a36ff0e6c942d57cf079", kill_on_drop: false }` [INFO] [stdout] e805c557716c4073cf33db637c0978d944b8325c7415a36ff0e6c942d57cf079 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72de8d849d7067f9435c83977a5062eb69de2b4ce7ad146c044b794e6eddc17a [INFO] running `Command { std: "docker" "start" "-a" "72de8d849d7067f9435c83977a5062eb69de2b4ce7ad146c044b794e6eddc17a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/context.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | fn set_body(&mut self, String); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/request.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | let status = try!(r.parse(buf).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/http.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_io::codec::{Encoder, Decoder, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/http.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | type Transport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/http.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | type BindTransport = io::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/http.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | fn bind_transport(&self, io: T) -> io::Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | pub type MiddlewareReturnValue = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - pub type MiddlewareReturnValue = Box>; [INFO] [stdout] 9 + pub type MiddlewareReturnValue = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | fn resolve(&self, mut request: Request) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 203 - fn resolve(&self, mut request: Request) -> Box> { [INFO] [stdout] 203 + fn resolve(&self, mut request: Request) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | type Future = Box>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 256 - type Future = Box>; [INFO] [stdout] 256 + type Future = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:258:44 [INFO] [stdout] | [INFO] [stdout] 258 | fn call(&self, _request: Request) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 258 - fn call(&self, _request: Request) -> Box> { [INFO] [stdout] 258 + fn call(&self, _request: Request) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/http.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | Ok(io.framed(HttpCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | let mut context = (sub_app.context_generator)(&request); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut context = (self.context_generator)(&request); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fanta v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/most_basic.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | static ref APP: App = { [INFO] [stdout] 18 | | let mut _app = App::::create(generate_context); [INFO] [stdout] 19 | | [INFO] [stdout] ... | [INFO] [stdout] 23 | | }; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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] --> examples/most_basic.rs:33:70 [INFO] [stdout] | [INFO] [stdout] 33 | fn plaintext(mut context: Ctx, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - fn plaintext(mut context: Ctx, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 33 + fn plaintext(mut context: Ctx, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/hello_world/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref APP: App = { [INFO] [stdout] 20 | | let mut _app = App::::create(generate_context); [INFO] [stdout] 21 | | [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/app.rs:318:6 [INFO] [stdout] | [INFO] [stdout] 318 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/app.rs:340:6 [INFO] [stdout] | [INFO] [stdout] 340 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/app.rs:362:6 [INFO] [stdout] | [INFO] [stdout] 362 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/app.rs:389:6 [INFO] [stdout] | [INFO] [stdout] 389 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/app.rs:397:6 [INFO] [stdout] | [INFO] [stdout] 397 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/app.rs:419:6 [INFO] [stdout] | [INFO] [stdout] 419 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/app.rs:426:6 [INFO] [stdout] | [INFO] [stdout] 426 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/app.rs:449:6 [INFO] [stdout] | [INFO] [stdout] 449 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/app.rs:464:6 [INFO] [stdout] | [INFO] [stdout] 464 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/app.rs:486:6 [INFO] [stdout] | [INFO] [stdout] 486 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/app.rs:525:6 [INFO] [stdout] | [INFO] [stdout] 525 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/app.rs:548:6 [INFO] [stdout] | [INFO] [stdout] 548 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/app.rs:573:6 [INFO] [stdout] | [INFO] [stdout] 573 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/app.rs:598:6 [INFO] [stdout] | [INFO] [stdout] 598 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/app.rs:623:6 [INFO] [stdout] | [INFO] [stdout] 623 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/app.rs:630:6 [INFO] [stdout] | [INFO] [stdout] 630 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/context.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | fn set_body(&mut self, String); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/request.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | let status = try!(r.parse(buf).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/http.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_io::codec::{Encoder, Decoder, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/http.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | type Transport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/http.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | type BindTransport = io::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/http.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | fn bind_transport(&self, io: T) -> io::Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | pub type MiddlewareReturnValue = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - pub type MiddlewareReturnValue = Box>; [INFO] [stdout] 9 + pub type MiddlewareReturnValue = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | fn resolve(&self, mut request: Request) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 203 - fn resolve(&self, mut request: Request) -> Box> { [INFO] [stdout] 203 + fn resolve(&self, mut request: Request) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | type Future = Box>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 256 - type Future = Box>; [INFO] [stdout] 256 + type Future = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:258:44 [INFO] [stdout] | [INFO] [stdout] 258 | fn call(&self, _request: Request) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 258 - fn call(&self, _request: Request) -> Box> { [INFO] [stdout] 258 + fn call(&self, _request: Request) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:313:89 [INFO] [stdout] | [INFO] [stdout] 313 | fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 313 - fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 313 + fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:335:88 [INFO] [stdout] | [INFO] [stdout] 335 | fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 335 - fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 335 + fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:357:88 [INFO] [stdout] | [INFO] [stdout] 357 | fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 357 - fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 357 + fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:391:116 [INFO] [stdout] | [INFO] [stdout] 391 | ...Chain>) -> Box, Error=io::Error>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 391 - fn test_fn_1(mut context: TypedContext, _chain: &MiddlewareChain>) -> Box, Error=io::Error>> { [INFO] [stdout] 391 + fn test_fn_1(mut context: TypedContext, _chain: &MiddlewareChain>) -> Box, Error=io::Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:414:88 [INFO] [stdout] | [INFO] [stdout] 414 | fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 414 - fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 414 + fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:421:88 [INFO] [stdout] | [INFO] [stdout] 421 | fn test_fn_2(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 421 - fn test_fn_2(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 421 + fn test_fn_2(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:444:88 [INFO] [stdout] | [INFO] [stdout] 444 | fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 444 - fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 444 + fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:451:87 [INFO] [stdout] | [INFO] [stdout] 451 | fn test_fn_2(context: BasicContext, chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 451 - fn test_fn_2(context: BasicContext, chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 451 + fn test_fn_2(context: BasicContext, chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:481:89 [INFO] [stdout] | [INFO] [stdout] 481 | fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 481 - fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 481 + fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:503:94 [INFO] [stdout] | [INFO] [stdout] 503 | fn method_agnostic(_context: BasicContext, chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 503 - fn method_agnostic(_context: BasicContext, chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 503 + fn method_agnostic(_context: BasicContext, chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:520:88 [INFO] [stdout] | [INFO] [stdout] 520 | fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 520 - fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 520 + fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:543:89 [INFO] [stdout] | [INFO] [stdout] 543 | fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 543 - fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 543 + fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:568:89 [INFO] [stdout] | [INFO] [stdout] 568 | fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 568 - fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 568 + fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:593:89 [INFO] [stdout] | [INFO] [stdout] 593 | fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 593 - fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 593 + fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:618:89 [INFO] [stdout] | [INFO] [stdout] 618 | fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 618 - fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 618 + fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:625:88 [INFO] [stdout] | [INFO] [stdout] 625 | fn test_404(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 625 - fn test_404(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 625 + fn test_404(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route_parser.rs:335:92 [INFO] [stdout] | [INFO] [stdout] 335 | fn test_function(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 335 - fn test_function(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 335 + fn test_function(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route_parser.rs:349:94 [INFO] [stdout] | [INFO] [stdout] 349 | fn method_agnostic(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 349 - fn method_agnostic(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 349 + fn method_agnostic(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route_parser.rs:353:92 [INFO] [stdout] | [INFO] [stdout] 353 | fn test_function(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 353 - fn test_function(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] 353 + fn test_function(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/http.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | Ok(io.framed(HttpCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | let mut context = (sub_app.context_generator)(&request); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut context = (self.context_generator)(&request); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.87s [INFO] running `Command { std: "docker" "inspect" "72de8d849d7067f9435c83977a5062eb69de2b4ce7ad146c044b794e6eddc17a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72de8d849d7067f9435c83977a5062eb69de2b4ce7ad146c044b794e6eddc17a", kill_on_drop: false }` [INFO] [stdout] 72de8d849d7067f9435c83977a5062eb69de2b4ce7ad146c044b794e6eddc17a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a9ec972ebe6de93764f41f0f1b888edd2dc0069a080d2f04668e65072991cc9e [INFO] running `Command { std: "docker" "start" "-a" "a9ec972ebe6de93764f41f0f1b888edd2dc0069a080d2f04668e65072991cc9e", kill_on_drop: false }` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/context.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | fn set_body(&mut self, String); [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [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] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/request.rs:83:22 [INFO] [stderr] | [INFO] [stderr] 83 | let status = try!(r.parse(buf).map_err(|e| { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stderr] --> src/http.rs:2:41 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio_io::codec::{Encoder, Decoder, Framed}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stderr] --> src/http.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | type Transport = Framed; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stderr] --> src/http.rs:15:37 [INFO] [stderr] | [INFO] [stderr] 15 | type BindTransport = io::Result>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stderr] --> src/http.rs:17:51 [INFO] [stderr] | [INFO] [stderr] 17 | fn bind_transport(&self, io: T) -> io::Result> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/middleware.rs:9:41 [INFO] [stderr] | [INFO] [stderr] 9 | pub type MiddlewareReturnValue = Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 - pub type MiddlewareReturnValue = Box>; [INFO] [stderr] 9 + pub type MiddlewareReturnValue = Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:203:50 [INFO] [stderr] | [INFO] [stderr] 203 | fn resolve(&self, mut request: Request) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 203 - fn resolve(&self, mut request: Request) -> Box> { [INFO] [stderr] 203 + fn resolve(&self, mut request: Request) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:256:21 [INFO] [stderr] | [INFO] [stderr] 256 | type Future = Box>; [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 256 - type Future = Box>; [INFO] [stderr] 256 + type Future = Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:258:44 [INFO] [stderr] | [INFO] [stderr] 258 | fn call(&self, _request: Request) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 258 - fn call(&self, _request: Request) -> Box> { [INFO] [stderr] 258 + fn call(&self, _request: Request) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stderr] --> src/http.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | Ok(io.framed(HttpCodec)) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/app.rs:209:13 [INFO] [stderr] | [INFO] [stderr] 209 | let mut context = (sub_app.context_generator)(&request); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/app.rs:223:13 [INFO] [stderr] | [INFO] [stderr] 223 | let mut context = (self.context_generator)(&request); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/app.rs:318:6 [INFO] [stderr] | [INFO] [stderr] 318 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/app.rs:340:6 [INFO] [stderr] | [INFO] [stderr] 340 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/app.rs:362:6 [INFO] [stderr] | [INFO] [stderr] 362 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/app.rs:389:6 [INFO] [stderr] | [INFO] [stderr] 389 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/app.rs:397:6 [INFO] [stderr] | [INFO] [stderr] 397 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/app.rs:419:6 [INFO] [stderr] | [INFO] [stderr] 419 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/app.rs:426:6 [INFO] [stderr] | [INFO] [stderr] 426 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/app.rs:449:6 [INFO] [stderr] | [INFO] [stderr] 449 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/app.rs:464:6 [INFO] [stderr] | [INFO] [stderr] 464 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/app.rs:486:6 [INFO] [stderr] | [INFO] [stderr] 486 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/app.rs:525:6 [INFO] [stderr] | [INFO] [stderr] 525 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/app.rs:548:6 [INFO] [stderr] | [INFO] [stderr] 548 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/app.rs:573:6 [INFO] [stderr] | [INFO] [stderr] 573 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/app.rs:598:6 [INFO] [stderr] | [INFO] [stderr] 598 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/app.rs:623:6 [INFO] [stderr] | [INFO] [stderr] 623 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/app.rs:630:6 [INFO] [stderr] | [INFO] [stderr] 630 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:313:89 [INFO] [stderr] | [INFO] [stderr] 313 | fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 313 - fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 313 + fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:335:88 [INFO] [stderr] | [INFO] [stderr] 335 | fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 335 - fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 335 + fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:357:88 [INFO] [stderr] | [INFO] [stderr] 357 | fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 357 - fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 357 + fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:391:116 [INFO] [stderr] | [INFO] [stderr] 391 | ...Chain>) -> Box, Error=io::Error>> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 391 - fn test_fn_1(mut context: TypedContext, _chain: &MiddlewareChain>) -> Box, Error=io::Error>> { [INFO] [stderr] 391 + fn test_fn_1(mut context: TypedContext, _chain: &MiddlewareChain>) -> Box, Error=io::Error>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:414:88 [INFO] [stderr] | [INFO] [stderr] 414 | fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 414 - fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 414 + fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:421:88 [INFO] [stderr] | [INFO] [stderr] 421 | fn test_fn_2(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 421 - fn test_fn_2(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 421 + fn test_fn_2(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:444:88 [INFO] [stderr] | [INFO] [stderr] 444 | fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 444 - fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 444 + fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:451:87 [INFO] [stderr] | [INFO] [stderr] 451 | fn test_fn_2(context: BasicContext, chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 451 - fn test_fn_2(context: BasicContext, chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 451 + fn test_fn_2(context: BasicContext, chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:481:89 [INFO] [stderr] | [INFO] [stderr] 481 | fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 481 - fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 481 + fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:503:94 [INFO] [stderr] | [INFO] [stderr] 503 | fn method_agnostic(_context: BasicContext, chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 503 - fn method_agnostic(_context: BasicContext, chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 503 + fn method_agnostic(_context: BasicContext, chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:520:88 [INFO] [stderr] | [INFO] [stderr] 520 | fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 520 - fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 520 + fn test_fn_1(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:543:89 [INFO] [stderr] | [INFO] [stderr] 543 | fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 543 - fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 543 + fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:568:89 [INFO] [stderr] | [INFO] [stderr] 568 | fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 568 - fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 568 + fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:593:89 [INFO] [stderr] | [INFO] [stderr] 593 | fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 593 - fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 593 + fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:618:89 [INFO] [stderr] | [INFO] [stderr] 618 | fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 618 - fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 618 + fn test_fn_1(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:625:88 [INFO] [stderr] | [INFO] [stderr] 625 | fn test_404(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 625 - fn test_404(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 625 + fn test_404(_context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route_parser.rs:335:92 [INFO] [stderr] | [INFO] [stderr] 335 | fn test_function(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 335 - fn test_function(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 335 + fn test_function(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route_parser.rs:349:94 [INFO] [stderr] | [INFO] [stderr] 349 | fn method_agnostic(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 349 - fn method_agnostic(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 349 + fn method_agnostic(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route_parser.rs:353:92 [INFO] [stderr] | [INFO] [stderr] 353 | fn test_function(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 353 - fn test_function(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 353 + fn test_function(context: BasicContext, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `fanta` (lib) generated 13 warnings [INFO] [stderr] warning: `fanta` (lib test) generated 48 warnings (13 duplicates) [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> examples/most_basic.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / lazy_static! { [INFO] [stderr] 17 | | static ref APP: App = { [INFO] [stderr] 18 | | let mut _app = App::::create(generate_context); [INFO] [stderr] 19 | | [INFO] [stderr] ... | [INFO] [stderr] 23 | | }; [INFO] [stderr] 24 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (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] --> examples/most_basic.rs:33:70 [INFO] [stderr] | [INFO] [stderr] 33 | fn plaintext(mut context: Ctx, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 - fn plaintext(mut context: Ctx, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] 33 + fn plaintext(mut context: Ctx, _chain: &MiddlewareChain) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> examples/hello_world/main.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / lazy_static! { [INFO] [stderr] 19 | | static ref APP: App = { [INFO] [stderr] 20 | | let mut _app = App::::create(generate_context); [INFO] [stderr] 21 | | [INFO] [stderr] ... | [INFO] [stderr] 28 | | }; [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `fanta` (example "most_basic") generated 2 warnings [INFO] [stderr] warning: `fanta` (example "hello_world") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fanta-dba49e9995a53fe9) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test app::tests::it_should_be_able_to_correctly_handle_not_found_routes ... ok [INFO] [stdout] test app::tests::it_should_execute_all_middlware_with_a_given_request ... ok [INFO] [stdout] test app::tests::it_should_execute_all_middlware_with_a_given_request_based_on_method ... ok [INFO] [stdout] test app::tests::it_should_be_able_to_parse_an_incoming_body ... ok [INFO] [stdout] test app::tests::it_should_execute_all_middlware_with_a_given_request_up_and_down ... ok [INFO] [stdout] test app::tests::it_should_execute_all_middlware_with_a_given_request_with_params ... ok [INFO] [stdout] test app::tests::it_should_be_able_to_correctly_route_sub_apps ... ok [INFO] [stdout] test app::tests::it_should_first_run_use_then_methods ... ok [INFO] [stdout] test app::tests::it_should_be_able_to_correctly_prefix_route_sub_apps ... ok [INFO] [stdout] test app::tests::it_should_return_whatever_was_set_as_the_body_of_the_context ... ok [INFO] [stdout] test route_parser::tests::it_should_appropriately_define_route_params ... ok [INFO] [stdout] test route_parser::tests::it_should_return_a_matched_path_for_a_good_route ... ok [INFO] [stdout] test route_parser::tests::it_should_return_a_matched_path_for_a_good_route_with_multiple_similar_routes ... ok [INFO] [stdout] test route_parser::tests::it_should_use_not_found_for_not_handled_routes ... ok [INFO] [stdout] test route_parser::tests::when_adding_a_route_it_should_return_a_struct_with_all_appropriate_middleware ... ok [INFO] [stdout] test route_parser::tests::when_adding_a_route_with_method_agnostic_middleware ... ok [INFO] [stdout] test app::tests::it_should_be_able_to_correctly_prefix_the_root_of_sub_apps ... ok [INFO] [stderr] Doc-tests fanta [INFO] [stdout] test app::tests::it_should_execute_all_middlware_with_a_given_request_with_params_in_a_subapp ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a9ec972ebe6de93764f41f0f1b888edd2dc0069a080d2f04668e65072991cc9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9ec972ebe6de93764f41f0f1b888edd2dc0069a080d2f04668e65072991cc9e", kill_on_drop: false }` [INFO] [stdout] a9ec972ebe6de93764f41f0f1b888edd2dc0069a080d2f04668e65072991cc9e