[INFO] fetching crate nickel 0.11.0... [INFO] testing nickel-0.11.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate nickel 0.11.0 into /workspace/builds/worker-47/source [INFO] validating manifest of crates.io crate nickel 0.11.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nickel 0.11.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate nickel 0.11.0 [INFO] tweaked toml for crates.io crate nickel 0.11.0 written to /workspace/builds/worker-47/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56c6ea851d5cbb1c387be47f6fa87021c5811c2d12ad32e4d0ca9748f7536071 [INFO] running `Command { std: "docker" "start" "-a" "56c6ea851d5cbb1c387be47f6fa87021c5811c2d12ad32e4d0ca9748f7536071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56c6ea851d5cbb1c387be47f6fa87021c5811c2d12ad32e4d0ca9748f7536071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56c6ea851d5cbb1c387be47f6fa87021c5811c2d12ad32e4d0ca9748f7536071", kill_on_drop: false }` [INFO] [stdout] 56c6ea851d5cbb1c387be47f6fa87021c5811c2d12ad32e4d0ca9748f7536071 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3b1e839f77bf54003917149a1f99673f4e126026513e1f3ed2ad1c69120aa25 [INFO] running `Command { std: "docker" "start" "-a" "c3b1e839f77bf54003917149a1f99673f4e126026513e1f3ed2ad1c69120aa25", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling nickel v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/router/http_router.rs:39:65 [INFO] [stdout] | [INFO] [stdout] 39 | fn add_route, H: Middleware>(&mut self, Method, M, H) -> &mut Self; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Method` [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/router/http_router.rs:39:73 [INFO] [stdout] | [INFO] [stdout] 39 | fn add_route, H: Middleware>(&mut self, Method, M, H) -> &mut Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: M` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/router/http_router.rs:39:76 [INFO] [stdout] | [INFO] [stdout] 39 | fn add_route, H: Middleware>(&mut self, Method, M, H) -> &mut Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: H` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/router.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | pub handler: Box + Send + Sync + 'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Middleware + Send + Sync + 'static` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | let mut server = try!(HyperServer::http(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | let mut server = try!(HyperServer::https(addr, ssl)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nickel.rs:228:87 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn listen(mut self, addr: T) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nickel.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | try!(server.serve("localhost:0", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nickel.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | try!(server.serve(addr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nickel.rs:300:88 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn listen_https(mut self, addr: T, ssl: S) -> Result> [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nickel.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | try!(server.serve_https("localhost:0", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nickel.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | try!(server.serve_https(addr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | on_send: Vec)>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Response<'a, D, Fresh>)` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/response.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | let mut stream = try!(self.start()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/middleware.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | fn handle_error(&self, &mut NickelError, &mut Request) -> Action; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut NickelError` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/middleware.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | fn handle_error(&self, &mut NickelError, &mut Request) -> Action; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Request` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | handlers: Vec + Send + Sync>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Middleware + Send + Sync` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | error_handlers: Vec + Send + Sync>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ErrorHandler + Send + Sync` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/responder.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn respond<'a>(self, Response<'a, D>) -> MiddlewareResult<'a, D>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Response<'a, D>` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/responder.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | let mut stream = try!(res.start()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/responder.rs:114:34 [INFO] [stdout] | [INFO] [stdout] 114 | let mut stream = try!(res.start()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/body_parser.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(req.origin.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/body_parser.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | let body = try!(req.get_ref::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/body_parser.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nickel_error.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | where T: Into> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Error + 'static` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/body_parser.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | BodyError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/body_parser.rs:125:32 [INFO] [stdout] | [INFO] [stdout] 125 | write!(out, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/nickel_error.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | NickelError::new(res, err.description().to_string(), errorcode) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.99s [INFO] running `Command { std: "docker" "inspect" "c3b1e839f77bf54003917149a1f99673f4e126026513e1f3ed2ad1c69120aa25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3b1e839f77bf54003917149a1f99673f4e126026513e1f3ed2ad1c69120aa25", kill_on_drop: false }` [INFO] [stdout] c3b1e839f77bf54003917149a1f99673f4e126026513e1f3ed2ad1c69120aa25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a20df8a8e006bb7b3fe50c45cf0f169807d49d95f96f46eb7cfc1f244059e1b5 [INFO] running `Command { std: "docker" "start" "-a" "a20df8a8e006bb7b3fe50c45cf0f169807d49d95f96f46eb7cfc1f244059e1b5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/router/http_router.rs:39:65 [INFO] [stdout] | [INFO] [stdout] 39 | fn add_route, H: Middleware>(&mut self, Method, M, H) -> &mut Self; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Method` [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/router/http_router.rs:39:73 [INFO] [stdout] | [INFO] [stdout] 39 | fn add_route, H: Middleware>(&mut self, Method, M, H) -> &mut Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: M` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/router/http_router.rs:39:76 [INFO] [stdout] | [INFO] [stdout] 39 | fn add_route, H: Middleware>(&mut self, Method, M, H) -> &mut Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: H` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/router.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | pub handler: Box + Send + Sync + 'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Middleware + Send + Sync + 'static` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | let mut server = try!(HyperServer::http(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | let mut server = try!(HyperServer::https(addr, ssl)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nickel.rs:228:87 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn listen(mut self, addr: T) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nickel.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | try!(server.serve("localhost:0", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nickel.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | try!(server.serve(addr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nickel.rs:300:88 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn listen_https(mut self, addr: T, ssl: S) -> Result> [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nickel.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | try!(server.serve_https("localhost:0", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nickel.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | try!(server.serve_https(addr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | on_send: Vec)>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Response<'a, D, Fresh>)` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/response.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | let mut stream = try!(self.start()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/middleware.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | fn handle_error(&self, &mut NickelError, &mut Request) -> Action; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut NickelError` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/middleware.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | fn handle_error(&self, &mut NickelError, &mut Request) -> Action; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Request` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | handlers: Vec + Send + Sync>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Middleware + Send + Sync` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | error_handlers: Vec + Send + Sync>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ErrorHandler + Send + Sync` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/responder.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn respond<'a>(self, Response<'a, D>) -> MiddlewareResult<'a, D>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Response<'a, D>` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/responder.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | let mut stream = try!(res.start()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/responder.rs:114:34 [INFO] [stdout] | [INFO] [stdout] 114 | let mut stream = try!(res.start()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/body_parser.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(req.origin.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/body_parser.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | let body = try!(req.get_ref::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/body_parser.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nickel_error.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | where T: Into> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Error + 'static` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/body_parser.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | BodyError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/body_parser.rs:125:32 [INFO] [stdout] | [INFO] [stdout] 125 | write!(out, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/nickel_error.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | NickelError::new(res, err.description().to_string(), errorcode) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling nickel v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/https.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate nickel; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/integration_testing.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | database: Box [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Database` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/integration_testing.rs:68:79 [INFO] [stdout] | [INFO] [stdout] 68 | fn start_server(address: &str, database: D) -> Result> [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/example_tests.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/examples/../../examples/integration_testing.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | database: Box [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Database` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/examples/../../examples/integration_testing.rs:68:79 [INFO] [stdout] | [INFO] [stdout] 68 | fn start_server(address: &str, database: D) -> Result> [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/router/http_router.rs:39:65 [INFO] [stdout] | [INFO] [stdout] 39 | fn add_route, H: Middleware>(&mut self, Method, M, H) -> &mut Self; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Method` [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/router/http_router.rs:39:73 [INFO] [stdout] | [INFO] [stdout] 39 | fn add_route, H: Middleware>(&mut self, Method, M, H) -> &mut Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: M` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/router/http_router.rs:39:76 [INFO] [stdout] | [INFO] [stdout] 39 | fn add_route, H: Middleware>(&mut self, Method, M, H) -> &mut Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: H` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/router.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | pub handler: Box + Send + Sync + 'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Middleware + Send + Sync + 'static` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | let mut server = try!(HyperServer::http(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | let mut server = try!(HyperServer::https(addr, ssl)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nickel.rs:228:87 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn listen(mut self, addr: T) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nickel.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | try!(server.serve("localhost:0", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nickel.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | try!(server.serve(addr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nickel.rs:300:88 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn listen_https(mut self, addr: T, ssl: S) -> Result> [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nickel.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | try!(server.serve_https("localhost:0", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nickel.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | try!(server.serve_https(addr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | on_send: Vec)>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Response<'a, D, Fresh>)` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/response.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | let mut stream = try!(self.start()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/middleware.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | fn handle_error(&self, &mut NickelError, &mut Request) -> Action; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut NickelError` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/middleware.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | fn handle_error(&self, &mut NickelError, &mut Request) -> Action; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Request` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | handlers: Vec + Send + Sync>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Middleware + Send + Sync` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | error_handlers: Vec + Send + Sync>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ErrorHandler + Send + Sync` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/responder.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn respond<'a>(self, Response<'a, D>) -> MiddlewareResult<'a, D>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Response<'a, D>` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/responder.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | let mut stream = try!(res.start()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/responder.rs:114:34 [INFO] [stdout] | [INFO] [stdout] 114 | let mut stream = try!(res.start()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/body_parser.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(req.origin.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/body_parser.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | let body = try!(req.get_ref::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/body_parser.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nickel_error.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | where T: Into> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Error + 'static` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/body_parser.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | BodyError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/body_parser.rs:125:32 [INFO] [stdout] | [INFO] [stdout] 125 | write!(out, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/nickel_error.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | NickelError::new(res, err.description().to_string(), errorcode) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nickel`; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name example_tests tests/example_tests.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test -C metadata=b520b3d9f340585c -C extra-filename=-b520b3d9f340585c --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern groupable=/opt/rustwide/target/debug/deps/libgroupable-235beb13ed75939f.rlib --extern hyper=/opt/rustwide/target/debug/deps/libhyper-ef7d8e1ad9965f84.rlib --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-b33cd6b8ee13db74.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-4a62e8d4372f90e0.rlib --extern modifier=/opt/rustwide/target/debug/deps/libmodifier-907cce70b008a0be.rlib --extern mustache=/opt/rustwide/target/debug/deps/libmustache-ef4f4b1c69995560.rlib --extern nickel=/opt/rustwide/target/debug/deps/libnickel-476341d7c71eb229.rlib --extern plugin=/opt/rustwide/target/debug/deps/libplugin-d99fc0276983df96.rlib --extern regex=/opt/rustwide/target/debug/deps/libregex-dd9363dd410b6a25.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-e57a462b4d27402b.rlib --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-48c194fce46377df.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-e9b4c2af0204d1f1.rlib --extern time=/opt/rustwide/target/debug/deps/libtime-2e4941ff6544b56b.rlib --extern typemap=/opt/rustwide/target/debug/deps/libtypemap-93bee5629b94f36c.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-1cdcc246a8925053.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a20df8a8e006bb7b3fe50c45cf0f169807d49d95f96f46eb7cfc1f244059e1b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a20df8a8e006bb7b3fe50c45cf0f169807d49d95f96f46eb7cfc1f244059e1b5", kill_on_drop: false }` [INFO] [stdout] a20df8a8e006bb7b3fe50c45cf0f169807d49d95f96f46eb7cfc1f244059e1b5