[INFO] fetching crate silver-rs 0.2.0-dev... [INFO] checking silver-rs-0.2.0-dev against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate silver-rs 0.2.0-dev into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate silver-rs 0.2.0-dev on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 148 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.4.12 (available: v1.10.1) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding http v0.1.21 (available: v1.3.1) [INFO] [stderr] Adding hyper v0.12.36 (available: v1.7.0) [INFO] [stderr] Adding pretty_env_logger v0.3.1 (available: v0.5.0) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.47.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_env_logger v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4aacab86d2ef6559633aed626529bcb36979668a0c368eb28f9e5d0e791f4da [INFO] running `Command { std: "docker" "start" "-a" "e4aacab86d2ef6559633aed626529bcb36979668a0c368eb28f9e5d0e791f4da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4aacab86d2ef6559633aed626529bcb36979668a0c368eb28f9e5d0e791f4da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4aacab86d2ef6559633aed626529bcb36979668a0c368eb28f9e5d0e791f4da", kill_on_drop: false }` [INFO] [stdout] e4aacab86d2ef6559633aed626529bcb36979668a0c368eb28f9e5d0e791f4da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8429508e422a19ee4e514439a2422982923ec1c2ee96e1bd4625d5e726aad5fa [INFO] running `Command { std: "docker" "start" "-a" "8429508e422a19ee4e514439a2422982923ec1c2ee96e1bd4625d5e726aad5fa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking object v0.36.7 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | dyn 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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | Fn(&Context, &mut RouterContext) -> Box + Send> [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | dyn 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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn handle(&self, cx: &Context) -> Box + Send> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn handle(&self, cx: &Context) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/router/context.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn params(&self) -> Params { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn params(&self) -> Params<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [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: consider importing this struct instead: [INFO] [stdout] silver_rs::app::App [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] std::task::Context [INFO] [stdout] silver_rs::context::Context [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] std::error::Error [INFO] [stdout] std::fmt::Error [INFO] [stdout] std::fs::TryLockError::Error [INFO] [stdout] std::io::Error [INFO] [stdout] http::Error [INFO] [stdout] silver_rs::error::Error [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 - use silver_rs::{App, Context, Error}; [INFO] [stdout] 11 + use silver_rs::{app, Context, Error}; [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 11 - use silver_rs::{App, Context, Error}; [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] 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 std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 8 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 8 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 8 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - fn main() -> silver_rs::app::Result<()> { [INFO] [stdout] 39 + fn main() -> Result<()> { [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: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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/router/context.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn params(&self) -> Params { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn params(&self) -> Params<'_> { [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] 365 | / t!( [INFO] [stdout] 366 | | case1, [INFO] [stdout] 367 | | ["/foo"], [INFO] [stdout] 368 | | Node { [INFO] [stdout] ... | [INFO] [stdout] 373 | | ); [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: `#[warn(array_into_iter)]` on by default [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),*].into_iter().enumerate() { [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 [$($path),*].into_iter().enumerate() { [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] 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),*].into_iter().enumerate() { [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 [$($path),*].into_iter().enumerate() { [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] 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),*].into_iter().enumerate() { [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 [$($path),*].into_iter().enumerate() { [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] 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),*].into_iter().enumerate() { [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 [$($path),*].into_iter().enumerate() { [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] 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),*].into_iter().enumerate() { [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 [$($path),*].into_iter().enumerate() { [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] 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),*].into_iter().enumerate() { [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 [$($path),*].into_iter().enumerate() { [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] 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),*].into_iter().enumerate() { [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 [$($path),*].into_iter().enumerate() { [INFO] [stdout] 347 + for (i, path) in IntoIterator::into_iter([$($path),*]).enumerate() { [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` (example "upgrade") due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8429508e422a19ee4e514439a2422982923ec1c2ee96e1bd4625d5e726aad5fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8429508e422a19ee4e514439a2422982923ec1c2ee96e1bd4625d5e726aad5fa", kill_on_drop: false }` [INFO] [stdout] 8429508e422a19ee4e514439a2422982923ec1c2ee96e1bd4625d5e726aad5fa