[INFO] fetching crate silver-rs 0.2.0-dev... [INFO] testing silver-rs-0.2.0-dev against 1.59.0 for beta-1.60-1 [INFO] extracting crate silver-rs 0.2.0-dev into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate silver-rs 0.2.0-dev on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate silver-rs 0.2.0-dev [INFO] finished tweaking crates.io crate silver-rs 0.2.0-dev [INFO] tweaked toml for crates.io crate silver-rs 0.2.0-dev written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b7c324d4889d2af05747e4dfc19177cf20ef4e3b58ebfd802c54219b96be46a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0b7c324d4889d2af05747e4dfc19177cf20ef4e3b58ebfd802c54219b96be46a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b7c324d4889d2af05747e4dfc19177cf20ef4e3b58ebfd802c54219b96be46a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b7c324d4889d2af05747e4dfc19177cf20ef4e3b58ebfd802c54219b96be46a", kill_on_drop: false }` [INFO] [stdout] 0b7c324d4889d2af05747e4dfc19177cf20ef4e3b58ebfd802c54219b96be46a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4c7ab1f55371273083751a18ec2c2785885434b828dfff0889f857c6b2f66f50 [INFO] running `Command { std: "docker" "start" "-a" "4c7ab1f55371273083751a18ec2c2785885434b828dfff0889f857c6b2f66f50", kill_on_drop: false }` [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [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 silver-rs v0.2.0-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/router/recognizer.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | 'walk: while pos < path.len() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app/service.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | in_flight: Box + Send>, [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] 77 - in_flight: Box + Send>, [INFO] [stdout] 77 + in_flight: Box + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/route.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / Fn(&Context, &mut RouterContext) -> Box + Send> [INFO] [stdout] 17 | | + Send [INFO] [stdout] 18 | | + Sync [INFO] [stdout] 19 | | + 'static, [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] 16 ~ dyn Fn(&Context, &mut RouterContext) -> Box + Send> [INFO] [stdout] 17 | + Send [INFO] [stdout] 18 | + Sync [INFO] [stdout] 19 ~ + 'static, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/route.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | Fn(&Context, &mut RouterContext) -> Box + Send> [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] 16 - Fn(&Context, &mut RouterContext) -> Box + Send> [INFO] [stdout] 16 + Fn(&Context, &mut RouterContext) -> Box + Send> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub type CritError = 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] 7 - pub type CritError = Box; [INFO] [stdout] 7 + pub type CritError = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output/body.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | S::Error: Into>, [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] 52 - S::Error: Into>, [INFO] [stdout] 52 + S::Error: Into>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/route.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | ) -> Box + Send> { [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] 60 - ) -> Box + Send> { [INFO] [stdout] 60 + ) -> Box + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/router.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn handle(&self, cx: &Context) -> Box + Send> { [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] 28 - pub fn handle(&self, cx: &Context) -> Box + Send> { [INFO] [stdout] 28 + pub fn handle(&self, cx: &Context) -> Box + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.63s [INFO] running `Command { std: "docker" "inspect" "4c7ab1f55371273083751a18ec2c2785885434b828dfff0889f857c6b2f66f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c7ab1f55371273083751a18ec2c2785885434b828dfff0889f857c6b2f66f50", kill_on_drop: false }` [INFO] [stdout] 4c7ab1f55371273083751a18ec2c2785885434b828dfff0889f857c6b2f66f50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8cbd63879906923a42e7e121dc0ee0b16e7065f8dcc9e5088e7de2d7e44a35c3 [INFO] running `Command { std: "docker" "start" "-a" "8cbd63879906923a42e7e121dc0ee0b16e7065f8dcc9e5088e7de2d7e44a35c3", kill_on_drop: false }` [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/router/recognizer.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | 'walk: while pos < path.len() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app/service.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | in_flight: Box + Send>, [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] 77 - in_flight: Box + Send>, [INFO] [stdout] 77 + in_flight: Box + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/route.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / Fn(&Context, &mut RouterContext) -> Box + Send> [INFO] [stdout] 17 | | + Send [INFO] [stdout] 18 | | + Sync [INFO] [stdout] 19 | | + 'static, [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] 16 ~ dyn Fn(&Context, &mut RouterContext) -> Box + Send> [INFO] [stdout] 17 | + Send [INFO] [stdout] 18 | + Sync [INFO] [stdout] 19 ~ + 'static, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/route.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | Fn(&Context, &mut RouterContext) -> Box + Send> [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] 16 - Fn(&Context, &mut RouterContext) -> Box + Send> [INFO] [stdout] 16 + Fn(&Context, &mut RouterContext) -> Box + Send> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub type CritError = 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] 7 - pub type CritError = Box; [INFO] [stdout] 7 + pub type CritError = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output/body.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | S::Error: Into>, [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] 52 - S::Error: Into>, [INFO] [stdout] 52 + S::Error: Into>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/route.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | ) -> Box + Send> { [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] 60 - ) -> Box + Send> { [INFO] [stdout] 60 + ) -> Box + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/router.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn handle(&self, cx: &Context) -> Box + Send> { [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] 28 - pub fn handle(&self, cx: &Context) -> Box + Send> { [INFO] [stdout] 28 + pub fn handle(&self, cx: &Context) -> Box + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling silver-rs v0.2.0-dev (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `silver_rs::transport` [INFO] [stdout] --> examples/upgrade.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use silver_rs::transport::Io; [INFO] [stdout] | ^^^^^^^^^ could not find `transport` in `silver_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `silver_rs::upgrade` [INFO] [stdout] --> examples/upgrade.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use silver_rs::upgrade::UpgradeContext; [INFO] [stdout] | ^^^^^^^ could not find `upgrade` in `silver_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `silver_rs::App`, `silver_rs::Context`, `silver_rs::Error` [INFO] [stdout] --> examples/upgrade.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use silver_rs::{App, Context, Error}; [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^ no `Error` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `Context` in the root [INFO] [stdout] | no `App` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 | use silver_rs::{app, Context, Error}; [INFO] [stdout] | ~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 | use silver_rs::{App, context, Error}; [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 | use silver_rs::{App, Context, error}; [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in module `silver_rs::app` [INFO] [stdout] --> examples/upgrade.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn main() -> silver_rs::app::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `silver_rs::app` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use http::Result; [INFO] [stdout] | [INFO] [stdout] 8 | use silver_rs::rt::Result; [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Result; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> examples/upgrade.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_io::codec::{Framed, FramedParts, LinesCodec}; [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::LinesCodec`: Moved to tokio-codec [INFO] [stdout] --> examples/upgrade.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_io::codec::{Framed, FramedParts, LinesCodec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> examples/upgrade.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | let (sink, stream) = Framed::from_parts(parts, LinesCodec::new()).split(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::LinesCodec`: Moved to tokio-codec [INFO] [stdout] --> examples/upgrade.rs:27:60 [INFO] [stdout] | [INFO] [stdout] 27 | let (sink, stream) = Framed::from_parts(parts, LinesCodec::new()).split(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/router/recognizer.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | 'walk: while pos < path.len() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app/service.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | in_flight: Box + Send>, [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] 77 - in_flight: Box + Send>, [INFO] [stdout] 77 + in_flight: Box + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/route.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / Fn(&Context, &mut RouterContext) -> Box + Send> [INFO] [stdout] 17 | | + Send [INFO] [stdout] 18 | | + Sync [INFO] [stdout] 19 | | + 'static, [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] 16 ~ dyn Fn(&Context, &mut RouterContext) -> Box + Send> [INFO] [stdout] 17 | + Send [INFO] [stdout] 18 | + Sync [INFO] [stdout] 19 ~ + 'static, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/route.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | Fn(&Context, &mut RouterContext) -> Box + Send> [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] 16 - Fn(&Context, &mut RouterContext) -> Box + Send> [INFO] [stdout] 16 + Fn(&Context, &mut RouterContext) -> Box + Send> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub type CritError = 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] 7 - pub type CritError = Box; [INFO] [stdout] 7 + pub type CritError = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output/body.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | S::Error: Into>, [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] 52 - S::Error: Into>, [INFO] [stdout] 52 + S::Error: Into>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/route.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | ) -> Box + Send> { [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] 60 - ) -> Box + Send> { [INFO] [stdout] 60 + ) -> Box + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/router.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn handle(&self, cx: &Context) -> Box + Send> { [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] 28 - pub fn handle(&self, cx: &Context) -> Box + Send> { [INFO] [stdout] 28 + pub fn handle(&self, cx: &Context) -> Box + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `silver-rs` due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/router/recognizer.rs:347:51 [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in [$($path),*].into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / t!( [INFO] [stdout] 366 | | case1, [INFO] [stdout] 367 | | ["/foo"], [INFO] [stdout] 368 | | Node { [INFO] [stdout] ... | [INFO] [stdout] 372 | | } [INFO] [stdout] 373 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in [$($path),*].iter().enumerate() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in IntoIterator::into_iter([$($path),*]).enumerate() { [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/router/recognizer.rs:347:51 [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in [$($path),*].into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | / t!( [INFO] [stdout] 376 | | case2, [INFO] [stdout] 377 | | ["/foo", "/bar"], [INFO] [stdout] 378 | | Node { [INFO] [stdout] ... | [INFO] [stdout] 393 | | } [INFO] [stdout] 394 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in [$($path),*].iter().enumerate() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in IntoIterator::into_iter([$($path),*]).enumerate() { [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/router/recognizer.rs:347:51 [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in [$($path),*].into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | / t!( [INFO] [stdout] 397 | | case3, [INFO] [stdout] 398 | | ["/foo", "/foobar"], [INFO] [stdout] 399 | | Node { [INFO] [stdout] ... | [INFO] [stdout] 407 | | } [INFO] [stdout] 408 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in [$($path),*].iter().enumerate() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in IntoIterator::into_iter([$($path),*]).enumerate() { [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/router/recognizer.rs:347:51 [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in [$($path),*].into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | / t!( [INFO] [stdout] 411 | | param_case1, [INFO] [stdout] 412 | | ["/:id"], [INFO] [stdout] 413 | | Node { [INFO] [stdout] ... | [INFO] [stdout] 421 | | } [INFO] [stdout] 422 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in [$($path),*].iter().enumerate() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in IntoIterator::into_iter([$($path),*]).enumerate() { [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/router/recognizer.rs:347:51 [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in [$($path),*].into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | / t!( [INFO] [stdout] 425 | | param_case2, [INFO] [stdout] 426 | | [ [INFO] [stdout] 427 | | "/files", [INFO] [stdout] ... | [INFO] [stdout] 457 | | } [INFO] [stdout] 458 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in [$($path),*].iter().enumerate() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in IntoIterator::into_iter([$($path),*]).enumerate() { [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/router/recognizer.rs:347:51 [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in [$($path),*].into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | / t!( [INFO] [stdout] 461 | | catch_all_case1, [INFO] [stdout] 462 | | ["/*path"], [INFO] [stdout] 463 | | Node { [INFO] [stdout] ... | [INFO] [stdout] 471 | | } [INFO] [stdout] 472 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in [$($path),*].iter().enumerate() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in IntoIterator::into_iter([$($path),*]).enumerate() { [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/router/recognizer.rs:347:51 [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in [$($path),*].into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | / t!( [INFO] [stdout] 475 | | catch_all_case2, [INFO] [stdout] 476 | | ["/files", "/files/*path"], [INFO] [stdout] 477 | | Node { [INFO] [stdout] ... | [INFO] [stdout] 489 | | } [INFO] [stdout] 490 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in [$($path),*].iter().enumerate() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 347 | for (i, path) in IntoIterator::into_iter([$($path),*]).enumerate() { [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8cbd63879906923a42e7e121dc0ee0b16e7065f8dcc9e5088e7de2d7e44a35c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cbd63879906923a42e7e121dc0ee0b16e7065f8dcc9e5088e7de2d7e44a35c3", kill_on_drop: false }` [INFO] [stdout] 8cbd63879906923a42e7e121dc0ee0b16e7065f8dcc9e5088e7de2d7e44a35c3