[INFO] fetching crate shio 0.3.0... [INFO] testing shio-0.3.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate shio 0.3.0 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate shio 0.3.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate shio 0.3.0 [INFO] finished tweaking crates.io crate shio 0.3.0 [INFO] tweaked toml for crates.io crate shio 0.3.0 written to /workspace/builds/worker-20/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09ceca4c639e900debf96ba8048c61cd5f7d4ba77293ee6d4f4653248d186042 [INFO] running `Command { std: "docker" "start" "-a" "09ceca4c639e900debf96ba8048c61cd5f7d4ba77293ee6d4f4653248d186042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09ceca4c639e900debf96ba8048c61cd5f7d4ba77293ee6d4f4653248d186042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09ceca4c639e900debf96ba8048c61cd5f7d4ba77293ee6d4f4653248d186042", kill_on_drop: false }` [INFO] [stdout] 09ceca4c639e900debf96ba8048c61cd5f7d4ba77293ee6d4f4653248d186042 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c01092d0ae14daca32d5a561998fd164dbbfbee2aae8d46994ae57c1f74bc52b [INFO] running `Command { std: "docker" "start" "-a" "c01092d0ae14daca32d5a561998fd164dbbfbee2aae8d46994ae57c1f74bc52b", kill_on_drop: false }` [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling try-lock v0.1.0 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling shio v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TypeMap [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] 45 - pub struct TypeMap [INFO] [stdout] 45 + pub struct TypeMap [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | shared: Arc>, [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] 13 - shared: Arc>, [INFO] [stdout] 13 + shared: Arc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shio.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | shared_state: Arc>, [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] 30 - shared_state: Arc>, [INFO] [stdout] 30 + shared_state: Arc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | shared_state: Arc>, [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 - shared_state: Arc>, [INFO] [stdout] 28 + shared_state: Arc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | pub type BoxHandler = 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] 50 - pub type BoxHandler = Box>>; [INFO] [stdout] 50 + pub type BoxHandler = Box>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ext/futures.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | pub type BoxFuture = 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] 9 - pub type BoxFuture = Box>; [INFO] [stdout] 9 + pub type BoxFuture = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn new(shared: Arc>) -> Self { [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] 26 - pub(crate) fn new(shared: Arc>) -> Self { [INFO] [stdout] 26 + pub(crate) fn new(shared: Arc>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn shared(&self) -> &TypeMap { [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] 57 - pub fn shared(&self) -> &TypeMap { [INFO] [stdout] 57 + pub fn shared(&self) -> &TypeMap { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn shared(&self) -> &TypeMap { [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] 74 - pub fn shared(&self) -> &TypeMap { [INFO] [stdout] 74 + pub fn shared(&self) -> &TypeMap { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | shared_state: Arc>, [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] 38 - shared_state: Arc>, [INFO] [stdout] 38 + shared_state: Arc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - type Future = Box>; [INFO] [stdout] 76 + type Future = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/mod.rs:95:52 [INFO] [stdout] | [INFO] [stdout] 95 | pub type BoxFutureResponse = 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] 95 - pub type BoxFutureResponse = Box>; [INFO] [stdout] 95 + pub type BoxFutureResponse = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn cause(&self) -> Option<&StdError> { [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] 30 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 30 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | fn cause(&self) -> Option<&StdError> { [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] 93 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 93 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/responder.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | impl Responder for 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] 89 - impl Responder for Box> [INFO] [stdout] 89 + impl Responder for Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/responder.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | type Result = 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] 96 - type Result = Box>; [INFO] [stdout] 96 + type Result = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe impl Implements for T { [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] 32 - unsafe impl Implements for T { [INFO] [stdout] 32 + unsafe impl Implements for T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:38:53 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe impl Implements<(UnsafeAny + Send + Sync)> for T { [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] 38 - unsafe impl Implements<(UnsafeAny + Send + Sync)> for T { [INFO] [stdout] 38 + unsafe impl Implements<(dyn UnsafeAny + Send + Sync)> for T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | pub type ShareMap = TypeMap; [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] 117 - pub type ShareMap = TypeMap; [INFO] [stdout] 117 + pub type ShareMap = TypeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | fn into_object(self) -> 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] 33 - fn into_object(self) -> Box { [INFO] [stdout] 33 + fn into_object(self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | fn into_object(self) -> 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] 39 - fn into_object(self) -> Box { [INFO] [stdout] 39 + fn into_object(self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `hyper::server::server_proto::>::bind_connection`: All usage of the tokio-proto crate is going away. [INFO] [stdout] --> src/shio.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | protocol.bind_connection(&handle, socket, addr, service.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/errors.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | ListenErrorKind::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | ListenErrorKind::Io(ref err) => err.cause(), [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/errors.rs:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | ErrorKind::Hyper(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/errors.rs:89:47 [INFO] [stdout] | [INFO] [stdout] 89 | ErrorKind::Listen(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:95:46 [INFO] [stdout] | [INFO] [stdout] 95 | ErrorKind::Hyper(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:96:47 [INFO] [stdout] | [INFO] [stdout] 96 | ErrorKind::Listen(ref err) => err.cause(), [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 11.73s [INFO] running `Command { std: "docker" "inspect" "c01092d0ae14daca32d5a561998fd164dbbfbee2aae8d46994ae57c1f74bc52b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c01092d0ae14daca32d5a561998fd164dbbfbee2aae8d46994ae57c1f74bc52b", kill_on_drop: false }` [INFO] [stdout] c01092d0ae14daca32d5a561998fd164dbbfbee2aae8d46994ae57c1f74bc52b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6698bb67028981b59be92fa4911fdb4a4d532a057796f31fcbfb93197d84ed5e [INFO] running `Command { std: "docker" "start" "-a" "6698bb67028981b59be92fa4911fdb4a4d532a057796f31fcbfb93197d84ed5e", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TypeMap [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] 45 - pub struct TypeMap [INFO] [stdout] 45 + pub struct TypeMap [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | shared: Arc>, [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] 13 - shared: Arc>, [INFO] [stdout] 13 + shared: Arc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shio.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | shared_state: Arc>, [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] 30 - shared_state: Arc>, [INFO] [stdout] 30 + shared_state: Arc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | shared_state: Arc>, [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 - shared_state: Arc>, [INFO] [stdout] 28 + shared_state: Arc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | pub type BoxHandler = 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] 50 - pub type BoxHandler = Box>>; [INFO] [stdout] 50 + pub type BoxHandler = Box>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ext/futures.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | pub type BoxFuture = 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] 9 - pub type BoxFuture = Box>; [INFO] [stdout] 9 + pub type BoxFuture = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn new(shared: Arc>) -> Self { [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] 26 - pub(crate) fn new(shared: Arc>) -> Self { [INFO] [stdout] 26 + pub(crate) fn new(shared: Arc>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn shared(&self) -> &TypeMap { [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] 57 - pub fn shared(&self) -> &TypeMap { [INFO] [stdout] 57 + pub fn shared(&self) -> &TypeMap { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn shared(&self) -> &TypeMap { [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] 74 - pub fn shared(&self) -> &TypeMap { [INFO] [stdout] 74 + pub fn shared(&self) -> &TypeMap { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | shared_state: Arc>, [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] 38 - shared_state: Arc>, [INFO] [stdout] 38 + shared_state: Arc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - type Future = Box>; [INFO] [stdout] 76 + type Future = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/mod.rs:95:52 [INFO] [stdout] | [INFO] [stdout] 95 | pub type BoxFutureResponse = 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] 95 - pub type BoxFutureResponse = Box>; [INFO] [stdout] 95 + pub type BoxFutureResponse = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn cause(&self) -> Option<&StdError> { [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] 30 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 30 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | fn cause(&self) -> Option<&StdError> { [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] 93 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 93 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/responder.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | impl Responder for 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] 89 - impl Responder for Box> [INFO] [stdout] 89 + impl Responder for Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/responder.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | type Result = 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] 96 - type Result = Box>; [INFO] [stdout] 96 + type Result = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe impl Implements for T { [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] 32 - unsafe impl Implements for T { [INFO] [stdout] 32 + unsafe impl Implements for T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:38:53 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe impl Implements<(UnsafeAny + Send + Sync)> for T { [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] 38 - unsafe impl Implements<(UnsafeAny + Send + Sync)> for T { [INFO] [stdout] 38 + unsafe impl Implements<(dyn UnsafeAny + Send + Sync)> for T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | pub type ShareMap = TypeMap; [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] 117 - pub type ShareMap = TypeMap; [INFO] [stdout] 117 + pub type ShareMap = TypeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | fn into_object(self) -> 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] 33 - fn into_object(self) -> Box { [INFO] [stdout] 33 + fn into_object(self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | fn into_object(self) -> 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] 39 - fn into_object(self) -> Box { [INFO] [stdout] 39 + fn into_object(self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `hyper::server::server_proto::>::bind_connection`: All usage of the tokio-proto crate is going away. [INFO] [stdout] --> src/shio.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | protocol.bind_connection(&handle, socket, addr, service.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/errors.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | ListenErrorKind::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | ListenErrorKind::Io(ref err) => err.cause(), [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/errors.rs:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | ErrorKind::Hyper(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/errors.rs:89:47 [INFO] [stdout] | [INFO] [stdout] 89 | ErrorKind::Listen(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:95:46 [INFO] [stdout] | [INFO] [stdout] 95 | ErrorKind::Hyper(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:96:47 [INFO] [stdout] | [INFO] [stdout] 96 | ErrorKind::Listen(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling shio v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TypeMap [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] 45 - pub struct TypeMap [INFO] [stdout] 45 + pub struct TypeMap [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | shared: Arc>, [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] 13 - shared: Arc>, [INFO] [stdout] 13 + shared: Arc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shio.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | shared_state: Arc>, [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] 30 - shared_state: Arc>, [INFO] [stdout] 30 + shared_state: Arc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | shared_state: Arc>, [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 - shared_state: Arc>, [INFO] [stdout] 28 + shared_state: Arc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | pub type BoxHandler = 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] 50 - pub type BoxHandler = Box>>; [INFO] [stdout] 50 + pub type BoxHandler = Box>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ext/futures.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | pub type BoxFuture = 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] 9 - pub type BoxFuture = Box>; [INFO] [stdout] 9 + pub type BoxFuture = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn new(shared: Arc>) -> Self { [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] 26 - pub(crate) fn new(shared: Arc>) -> Self { [INFO] [stdout] 26 + pub(crate) fn new(shared: Arc>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn shared(&self) -> &TypeMap { [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] 57 - pub fn shared(&self) -> &TypeMap { [INFO] [stdout] 57 + pub fn shared(&self) -> &TypeMap { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn shared(&self) -> &TypeMap { [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] 74 - pub fn shared(&self) -> &TypeMap { [INFO] [stdout] 74 + pub fn shared(&self) -> &TypeMap { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | shared_state: Arc>, [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] 38 - shared_state: Arc>, [INFO] [stdout] 38 + shared_state: Arc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - type Future = Box>; [INFO] [stdout] 76 + type Future = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/mod.rs:95:52 [INFO] [stdout] | [INFO] [stdout] 95 | pub type BoxFutureResponse = 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] 95 - pub type BoxFutureResponse = Box>; [INFO] [stdout] 95 + pub type BoxFutureResponse = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn cause(&self) -> Option<&StdError> { [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] 30 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 30 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | fn cause(&self) -> Option<&StdError> { [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] 93 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 93 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/responder.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | impl Responder for 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] 89 - impl Responder for Box> [INFO] [stdout] 89 + impl Responder for Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/responder.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | type Result = 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] 96 - type Result = Box>; [INFO] [stdout] 96 + type Result = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe impl Implements for T { [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] 32 - unsafe impl Implements for T { [INFO] [stdout] 32 + unsafe impl Implements for T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:38:53 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe impl Implements<(UnsafeAny + Send + Sync)> for T { [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] 38 - unsafe impl Implements<(UnsafeAny + Send + Sync)> for T { [INFO] [stdout] 38 + unsafe impl Implements<(dyn UnsafeAny + Send + Sync)> for T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | pub type ShareMap = TypeMap; [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] 117 - pub type ShareMap = TypeMap; [INFO] [stdout] 117 + pub type ShareMap = TypeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | fn into_object(self) -> 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] 33 - fn into_object(self) -> Box { [INFO] [stdout] 33 + fn into_object(self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/typemap.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | fn into_object(self) -> 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] 39 - fn into_object(self) -> Box { [INFO] [stdout] 39 + fn into_object(self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `hyper::server::server_proto::>::bind_connection`: All usage of the tokio-proto crate is going away. [INFO] [stdout] --> src/shio.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | protocol.bind_connection(&handle, socket, addr, service.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/errors.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | ListenErrorKind::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | ListenErrorKind::Io(ref err) => err.cause(), [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/errors.rs:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | ErrorKind::Hyper(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/errors.rs:89:47 [INFO] [stdout] | [INFO] [stdout] 89 | ErrorKind::Listen(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:95:46 [INFO] [stdout] | [INFO] [stdout] 95 | ErrorKind::Hyper(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:96:47 [INFO] [stdout] | [INFO] [stdout] 96 | ErrorKind::Listen(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.09s [INFO] running `Command { std: "docker" "inspect" "6698bb67028981b59be92fa4911fdb4a4d532a057796f31fcbfb93197d84ed5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6698bb67028981b59be92fa4911fdb4a4d532a057796f31fcbfb93197d84ed5e", kill_on_drop: false }` [INFO] [stdout] 6698bb67028981b59be92fa4911fdb4a4d532a057796f31fcbfb93197d84ed5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f7133564c37b8dd7cfdde99f87c07085d3a8a75c04e4fea868ed8c406fa6e53b [INFO] running `Command { std: "docker" "start" "-a" "f7133564c37b8dd7cfdde99f87c07085d3a8a75c04e4fea868ed8c406fa6e53b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util/typemap.rs:45:32 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct TypeMap [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 45 - pub struct TypeMap [INFO] [stderr] 45 + pub struct TypeMap [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/state.rs:13:25 [INFO] [stderr] | [INFO] [stderr] 13 | shared: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 - shared: Arc>, [INFO] [stderr] 13 + shared: Arc>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/shio.rs:30:31 [INFO] [stderr] | [INFO] [stderr] 30 | shared_state: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 30 - shared_state: Arc>, [INFO] [stderr] 30 + shared_state: Arc>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/service.rs:28:31 [INFO] [stderr] | [INFO] [stderr] 28 | shared_state: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 28 - shared_state: Arc>, [INFO] [stderr] 28 + shared_state: Arc>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handler.rs:50:27 [INFO] [stderr] | [INFO] [stderr] 50 | pub type BoxHandler = Box>>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 50 - pub type BoxHandler = Box>>; [INFO] [stderr] 50 + pub type BoxHandler = Box>>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ext/futures.rs:9:32 [INFO] [stderr] | [INFO] [stderr] 9 | pub type BoxFuture = Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 - pub type BoxFuture = Box>; [INFO] [stderr] 9 + pub type BoxFuture = Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/state.rs:26:43 [INFO] [stderr] | [INFO] [stderr] 26 | pub(crate) fn new(shared: Arc>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 - pub(crate) fn new(shared: Arc>) -> Self { [INFO] [stderr] 26 + pub(crate) fn new(shared: Arc>) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/state.rs:57:38 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn shared(&self) -> &TypeMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 57 - pub fn shared(&self) -> &TypeMap { [INFO] [stderr] 57 + pub fn shared(&self) -> &TypeMap { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/context.rs:74:38 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn shared(&self) -> &TypeMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 74 - pub fn shared(&self) -> &TypeMap { [INFO] [stderr] 74 + pub fn shared(&self) -> &TypeMap { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/service.rs:38:35 [INFO] [stderr] | [INFO] [stderr] 38 | shared_state: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 - shared_state: Arc>, [INFO] [stderr] 38 + shared_state: Arc>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/service.rs:76:23 [INFO] [stderr] | [INFO] [stderr] 76 | type Future = Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 76 - type Future = Box>; [INFO] [stderr] 76 + type Future = Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/response/mod.rs:95:52 [INFO] [stderr] | [INFO] [stderr] 95 | pub type BoxFutureResponse = Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 95 - pub type BoxFutureResponse = Box>; [INFO] [stderr] 95 + pub type BoxFutureResponse = Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/errors.rs:30:32 [INFO] [stderr] | [INFO] [stderr] 30 | fn cause(&self) -> Option<&StdError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 30 - fn cause(&self) -> Option<&StdError> { [INFO] [stderr] 30 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/errors.rs:93:32 [INFO] [stderr] | [INFO] [stderr] 93 | fn cause(&self) -> Option<&StdError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 93 - fn cause(&self) -> Option<&StdError> { [INFO] [stderr] 93 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/response/responder.rs:89:30 [INFO] [stderr] | [INFO] [stderr] 89 | impl Responder for Box> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 89 - impl Responder for Box> [INFO] [stderr] 89 + impl Responder for Box> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/response/responder.rs:96:23 [INFO] [stderr] | [INFO] [stderr] 96 | type Result = Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 96 - type Result = Box>; [INFO] [stderr] 96 + type Result = Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util/typemap.rs:32:38 [INFO] [stderr] | [INFO] [stderr] 32 | unsafe impl Implements for T { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 32 - unsafe impl Implements for T { [INFO] [stderr] 32 + unsafe impl Implements for T { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util/typemap.rs:38:53 [INFO] [stderr] | [INFO] [stderr] 38 | unsafe impl Implements<(UnsafeAny + Send + Sync)> for T { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 - unsafe impl Implements<(UnsafeAny + Send + Sync)> for T { [INFO] [stderr] 38 + unsafe impl Implements<(dyn UnsafeAny + Send + Sync)> for T { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util/typemap.rs:117:29 [INFO] [stderr] | [INFO] [stderr] 117 | pub type ShareMap = TypeMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 117 - pub type ShareMap = TypeMap; [INFO] [stderr] 117 + pub type ShareMap = TypeMap; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util/typemap.rs:33:33 [INFO] [stderr] | [INFO] [stderr] 33 | fn into_object(self) -> Box { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 - fn into_object(self) -> Box { [INFO] [stderr] 33 + fn into_object(self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util/typemap.rs:39:33 [INFO] [stderr] | [INFO] [stderr] 39 | fn into_object(self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 39 - fn into_object(self) -> Box { [INFO] [stderr] 39 + fn into_object(self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `hyper::server::server_proto::>::bind_connection`: All usage of the tokio-proto crate is going away. [INFO] [stderr] --> src/shio.rs:102:34 [INFO] [stderr] | [INFO] [stderr] 102 | protocol.bind_connection(&handle, socket, addr, service.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:26:49 [INFO] [stderr] | [INFO] [stderr] 26 | ListenErrorKind::Io(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/errors.rs:32:49 [INFO] [stderr] | [INFO] [stderr] 32 | ListenErrorKind::Io(ref err) => err.cause(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:88:46 [INFO] [stderr] | [INFO] [stderr] 88 | ErrorKind::Hyper(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:89:47 [INFO] [stderr] | [INFO] [stderr] 89 | ErrorKind::Listen(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/errors.rs:95:46 [INFO] [stderr] | [INFO] [stderr] 95 | ErrorKind::Hyper(ref err) => err.cause(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/errors.rs:96:47 [INFO] [stderr] | [INFO] [stderr] 96 | ErrorKind::Listen(ref err) => err.cause(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `shio` (lib) generated 28 warnings [INFO] [stderr] warning: `shio` (lib test) generated 28 warnings (28 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/shio-b17b233f2030e7e0) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test ext::net::tests::to_socket_addrs_ext_str ... ok [INFO] [stdout] test ext::net::tests::to_socket_addrs_ext_string ... ok [INFO] [stdout] test state::tests::test_state_request ... ok [INFO] [stdout] test util::typemap::tests::test_type_id_hasher ... ok [INFO] [stdout] test state::tests::test_state_request_non_sync ... ok [INFO] [stdout] test util::typemap::tests::test_pair_key_to_value ... ok [INFO] [stdout] test router::tests::test_static_get ... ok [INFO] [stdout] test router::pattern::tests::test_parse_static ... ok [INFO] [stdout] test router::tests::test_param_get ... ok [INFO] [stdout] test router::tests::test_param_custom_get ... ok [INFO] [stdout] test router::pattern::tests::test_parse_param ... ok [INFO] [stdout] test router::tests::test_static_find ... ok [INFO] [stdout] test router::tests::test_static_put_post_del ... ok [INFO] [stdout] test response::responder::tests::status_to_response ... ok [INFO] [stdout] test router::tests::test_param_get_value ... ok [INFO] [stdout] test router::tests::test_param_get_custom ... ok [INFO] [stdout] test response::responder::tests::string_to_response ... ok [INFO] [stdout] test response::responder::tests::pair_to_response ... ok [INFO] [stdout] test response::responder::tests::str_to_response ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] Doc-tests shio [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/router/route.rs - router::route::Route::new (line 23) ... ok [INFO] [stdout] test src/response/builder.rs - response::builder::Builder::status (line 40) ... ok [INFO] [stdout] test src/response/builder.rs - response::builder::Builder::body (line 75) ... ok [INFO] [stdout] test src/response/builder.rs - response::builder::Builder::header (line 53) ... ok [INFO] [stdout] test src/router/mod.rs - router::Router::new (line 39) ... ok [INFO] [stdout] test src/response/builder.rs - response::builder::Builder (line 14) ... ok [INFO] [stdout] test src/router/mod.rs - router::Router::add (line 54) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f7133564c37b8dd7cfdde99f87c07085d3a8a75c04e4fea868ed8c406fa6e53b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7133564c37b8dd7cfdde99f87c07085d3a8a75c04e4fea868ed8c406fa6e53b", kill_on_drop: false }` [INFO] [stdout] f7133564c37b8dd7cfdde99f87c07085d3a8a75c04e4fea868ed8c406fa6e53b