[INFO] fetching crate tokio-jsonrpc 0.9.1... [INFO] testing tokio-jsonrpc-0.9.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate tokio-jsonrpc 0.9.1 into /workspace/builds/worker-27/source [INFO] validating manifest of crates.io crate tokio-jsonrpc 0.9.1 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 tokio-jsonrpc 0.9.1 [INFO] finished tweaking crates.io crate tokio-jsonrpc 0.9.1 [INFO] tweaked toml for crates.io crate tokio-jsonrpc 0.9.1 written to /workspace/builds/worker-27/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded synom v0.11.3 [INFO] [stderr] Downloaded uuid v0.6.5 [INFO] [stderr] Downloaded bitflags v0.9.1 [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded version-sync v0.5.0 [INFO] [stderr] Downloaded syn v0.11.11 [INFO] [stderr] Downloaded pulldown-cmark v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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] 513a8cd2f2820f929bbca2cac14b235b58349d9ac69f7c6545bcde649d91ee50 [INFO] running `Command { std: "docker" "start" "-a" "513a8cd2f2820f929bbca2cac14b235b58349d9ac69f7c6545bcde649d91ee50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "513a8cd2f2820f929bbca2cac14b235b58349d9ac69f7c6545bcde649d91ee50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "513a8cd2f2820f929bbca2cac14b235b58349d9ac69f7c6545bcde649d91ee50", kill_on_drop: false }` [INFO] [stdout] 513a8cd2f2820f929bbca2cac14b235b58349d9ac69f7c6545bcde649d91ee50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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] e8773957ee8fad42bbd8ea9de76f3323f92d5d225946f59c7e1f7233957587da [INFO] running `Command { std: "docker" "start" "-a" "e8773957ee8fad42bbd8ea9de76f3323f92d5d225946f59c7e1f7233957587da", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [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-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [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 serde_derive v1.0.136 [INFO] [stderr] Compiling tokio-jsonrpc v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / Server< [INFO] [stdout] 158 | | Success = Value, [INFO] [stdout] 159 | | RpcCallResult = Box>, [INFO] [stdout] 160 | | NotificationResult = Box>, [INFO] [stdout] 161 | | >, [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] 157 ~ dyn Server< [INFO] [stdout] 158 | Success = Value, [INFO] [stdout] 159 | RpcCallResult = Box>, [INFO] [stdout] 160 | NotificationResult = Box>, [INFO] [stdout] 161 ~ >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | RpcCallResult = 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] 159 - RpcCallResult = Box>, [INFO] [stdout] 159 + RpcCallResult = Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | NotificationResult = 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] 160 - NotificationResult = Box>, [INFO] [stdout] 160 + NotificationResult = Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/endpoint.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | 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] 179 - type BoxFuture = Box>; [INFO] [stdout] 179 + type BoxFuture = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/endpoint.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | type BoxStream = 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] 181 - type BoxStream = Box>; [INFO] [stdout] 181 + type BoxStream = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/endpoint.rs:598:57 [INFO] [stdout] | [INFO] [stdout] 598 | pub fn start(self, handle: &Handle) -> (Client, 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] 598 - pub fn start(self, handle: &Handle) -> (Client, Box>) { [INFO] [stdout] 598 + pub fn start(self, handle: &Handle) -> (Client, Box>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | pub type BoxRpcCallResult = 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] 117 - pub type BoxRpcCallResult = Box>; [INFO] [stdout] 117 + pub type BoxRpcCallResult = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | pub type BoxNotificationResult = 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] 119 - pub type BoxNotificationResult = Box>; [INFO] [stdout] 119 + pub type BoxNotificationResult = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | .map(|f| -> 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] 130 - .map(|f| -> Box> { [INFO] [stdout] 130 + .map(|f| -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | .map(|f| -> Box> { Box::new(f.into_future()) }) [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] 145 - .map(|f| -> Box> { Box::new(f.into_future()) }) [INFO] [stdout] 145 + .map(|f| -> Box> { Box::new(f.into_future()) }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused boxed `Stream` trait object that must be used [INFO] [stdout] --> src/endpoint.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | do_response(idmap, logger, response); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: streams do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.73s [INFO] running `Command { std: "docker" "inspect" "e8773957ee8fad42bbd8ea9de76f3323f92d5d225946f59c7e1f7233957587da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8773957ee8fad42bbd8ea9de76f3323f92d5d225946f59c7e1f7233957587da", kill_on_drop: false }` [INFO] [stdout] e8773957ee8fad42bbd8ea9de76f3323f92d5d225946f59c7e1f7233957587da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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] 5268248f94cacf5541429c1c0a98bef5d1464fc0f8c9e211700a41c14180a324 [INFO] running `Command { std: "docker" "start" "-a" "5268248f94cacf5541429c1c0a98bef5d1464fc0f8c9e211700a41c14180a324", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling slog-async v2.7.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / Server< [INFO] [stdout] 158 | | Success = Value, [INFO] [stdout] 159 | | RpcCallResult = Box>, [INFO] [stdout] 160 | | NotificationResult = Box>, [INFO] [stdout] 161 | | >, [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] 157 ~ dyn Server< [INFO] [stdout] 158 | Success = Value, [INFO] [stdout] 159 | RpcCallResult = Box>, [INFO] [stdout] 160 | NotificationResult = Box>, [INFO] [stdout] 161 ~ >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | RpcCallResult = 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] 159 - RpcCallResult = Box>, [INFO] [stdout] 159 + RpcCallResult = Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | NotificationResult = 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] 160 - NotificationResult = Box>, [INFO] [stdout] 160 + NotificationResult = Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/endpoint.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | 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] 179 - type BoxFuture = Box>; [INFO] [stdout] 179 + type BoxFuture = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/endpoint.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | type BoxStream = 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] 181 - type BoxStream = Box>; [INFO] [stdout] 181 + type BoxStream = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/endpoint.rs:598:57 [INFO] [stdout] | [INFO] [stdout] 598 | pub fn start(self, handle: &Handle) -> (Client, 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] 598 - pub fn start(self, handle: &Handle) -> (Client, Box>) { [INFO] [stdout] 598 + pub fn start(self, handle: &Handle) -> (Client, Box>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | pub type BoxRpcCallResult = 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] 117 - pub type BoxRpcCallResult = Box>; [INFO] [stdout] 117 + pub type BoxRpcCallResult = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | pub type BoxNotificationResult = 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] 119 - pub type BoxNotificationResult = Box>; [INFO] [stdout] 119 + pub type BoxNotificationResult = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | .map(|f| -> 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] 130 - .map(|f| -> Box> { [INFO] [stdout] 130 + .map(|f| -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | .map(|f| -> Box> { Box::new(f.into_future()) }) [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] 145 - .map(|f| -> Box> { Box::new(f.into_future()) }) [INFO] [stdout] 145 + .map(|f| -> Box> { Box::new(f.into_future()) }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused boxed `Stream` trait object that must be used [INFO] [stdout] --> src/endpoint.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | do_response(idmap, logger, response); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: streams do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling version-sync v0.5.0 [INFO] [stderr] Compiling slog-term v2.9.0 [INFO] [stderr] Compiling tokio-jsonrpc v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> tests/endpoint.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio_io::codec::Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> examples/echo_params.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | let jsonized = stream.framed(LineCodec::new()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> examples/time_client.rs:52:56 [INFO] [stdout] | [INFO] [stdout] 52 | let (client, _) = Endpoint::client_only(socket.framed(LineCodec::new())) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> tests/endpoint.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | Framed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> tests/endpoint.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | Framed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/endpoint.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> (Client, Box>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 - ) -> (Client, Box>) { [INFO] [stdout] 100 + ) -> (Client, Box>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/endpoint.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | params: (Client, 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] 99 - params: (Client, Box>) [INFO] [stdout] 99 + params: (Client, Box>) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/endpoint.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | type RpcCallResult = 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] 159 - type RpcCallResult = Box>; [INFO] [stdout] 159 + type RpcCallResult = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/endpoint.rs:464:30 [INFO] [stdout] | [INFO] [stdout] 464 | type RpcCallResult = 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] 464 - type RpcCallResult = Box>; [INFO] [stdout] 464 + type RpcCallResult = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> tests/endpoint.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | s1.framed(LineCodec::new()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> tests/endpoint.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | s2.framed(LineCodec::new()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> examples/time_server.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | connection.framed(LineCodec::new()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / Server< [INFO] [stdout] 158 | | Success = Value, [INFO] [stdout] 159 | | RpcCallResult = Box>, [INFO] [stdout] 160 | | NotificationResult = Box>, [INFO] [stdout] 161 | | >, [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] 157 ~ dyn Server< [INFO] [stdout] 158 | Success = Value, [INFO] [stdout] 159 | RpcCallResult = Box>, [INFO] [stdout] 160 | NotificationResult = Box>, [INFO] [stdout] 161 ~ >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | RpcCallResult = 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] 159 - RpcCallResult = Box>, [INFO] [stdout] 159 + RpcCallResult = Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | NotificationResult = 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] 160 - NotificationResult = Box>, [INFO] [stdout] 160 + NotificationResult = Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/endpoint.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | 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] 179 - type BoxFuture = Box>; [INFO] [stdout] 179 + type BoxFuture = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/endpoint.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | type BoxStream = 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] 181 - type BoxStream = Box>; [INFO] [stdout] 181 + type BoxStream = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/endpoint.rs:598:57 [INFO] [stdout] | [INFO] [stdout] 598 | pub fn start(self, handle: &Handle) -> (Client, 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] 598 - pub fn start(self, handle: &Handle) -> (Client, Box>) { [INFO] [stdout] 598 + pub fn start(self, handle: &Handle) -> (Client, Box>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | pub type BoxRpcCallResult = 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] 117 - pub type BoxRpcCallResult = Box>; [INFO] [stdout] 117 + pub type BoxRpcCallResult = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | pub type BoxNotificationResult = 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] 119 - pub type BoxNotificationResult = Box>; [INFO] [stdout] 119 + pub type BoxNotificationResult = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused boxed `futures::Future` trait object in tuple element 1 that must be used [INFO] [stdout] --> tests/endpoint.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | Endpoint::new(s1, AnotherServer(handle.clone(), Cell::new(2))).start(&handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | .map(|f| -> 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] 130 - .map(|f| -> Box> { [INFO] [stdout] 130 + .map(|f| -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | .map(|f| -> Box> { Box::new(f.into_future()) }) [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] 145 - .map(|f| -> Box> { Box::new(f.into_future()) }) [INFO] [stdout] 145 + .map(|f| -> Box> { Box::new(f.into_future()) }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused boxed `Stream` trait object that must be used [INFO] [stdout] --> src/endpoint.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | do_response(idmap, logger, response); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: streams do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.53s [INFO] running `Command { std: "docker" "inspect" "5268248f94cacf5541429c1c0a98bef5d1464fc0f8c9e211700a41c14180a324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5268248f94cacf5541429c1c0a98bef5d1464fc0f8c9e211700a41c14180a324", kill_on_drop: false }` [INFO] [stdout] 5268248f94cacf5541429c1c0a98bef5d1464fc0f8c9e211700a41c14180a324 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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] 45e70b51af2283d8512814371a559fc062ffb347389058ee64e255759532441a [INFO] running `Command { std: "docker" "start" "-a" "45e70b51af2283d8512814371a559fc062ffb347389058ee64e255759532441a", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | / Server< [INFO] [stderr] 158 | | Success = Value, [INFO] [stderr] 159 | | RpcCallResult = Box>, [INFO] [stderr] 160 | | NotificationResult = Box>, [INFO] [stderr] 161 | | >, [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] 157 ~ dyn Server< [INFO] [stderr] 158 | Success = Value, [INFO] [stderr] 159 | RpcCallResult = Box>, [INFO] [stderr] 160 | NotificationResult = Box>, [INFO] [stderr] 161 ~ >, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:159:29 [INFO] [stderr] | [INFO] [stderr] 159 | RpcCallResult = 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] 159 - RpcCallResult = Box>, [INFO] [stderr] 159 + RpcCallResult = Box>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:160:34 [INFO] [stderr] | [INFO] [stderr] 160 | NotificationResult = 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] 160 - NotificationResult = Box>, [INFO] [stderr] 160 + NotificationResult = Box>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/endpoint.rs:179:28 [INFO] [stderr] | [INFO] [stderr] 179 | 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] 179 - type BoxFuture = Box>; [INFO] [stderr] 179 + type BoxFuture = Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/endpoint.rs:181:28 [INFO] [stderr] | [INFO] [stderr] 181 | type BoxStream = 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] 181 - type BoxStream = Box>; [INFO] [stderr] 181 + type BoxStream = Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/endpoint.rs:598:57 [INFO] [stderr] | [INFO] [stderr] 598 | pub fn start(self, handle: &Handle) -> (Client, 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] 598 - pub fn start(self, handle: &Handle) -> (Client, Box>) { [INFO] [stderr] 598 + pub fn start(self, handle: &Handle) -> (Client, Box>) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:117:33 [INFO] [stderr] | [INFO] [stderr] 117 | pub type BoxRpcCallResult = 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] 117 - pub type BoxRpcCallResult = Box>; [INFO] [stderr] 117 + pub type BoxRpcCallResult = Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:119:38 [INFO] [stderr] | [INFO] [stderr] 119 | pub type BoxNotificationResult = 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] 119 - pub type BoxNotificationResult = Box>; [INFO] [stderr] 119 + pub type BoxNotificationResult = Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:130:29 [INFO] [stderr] | [INFO] [stderr] 130 | .map(|f| -> 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] 130 - .map(|f| -> Box> { [INFO] [stderr] 130 + .map(|f| -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:145:29 [INFO] [stderr] | [INFO] [stderr] 145 | .map(|f| -> Box> { Box::new(f.into_future()) }) [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] 145 - .map(|f| -> Box> { Box::new(f.into_future()) }) [INFO] [stderr] 145 + .map(|f| -> Box> { Box::new(f.into_future()) }) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused boxed `Stream` trait object that must be used [INFO] [stderr] --> src/endpoint.rs:327:13 [INFO] [stderr] | [INFO] [stderr] 327 | do_response(idmap, logger, response); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: streams do nothing unless polled [INFO] [stderr] [INFO] [stderr] warning: `tokio-jsonrpc` (lib) generated 11 warnings [INFO] [stderr] warning: `tokio-jsonrpc` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stderr] --> tests/endpoint.rs:23:22 [INFO] [stderr] | [INFO] [stderr] 23 | use tokio_io::codec::Framed; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stderr] --> tests/endpoint.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | Framed, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stderr] --> tests/endpoint.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | Framed, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/endpoint.rs:100:19 [INFO] [stderr] | [INFO] [stderr] 100 | ) -> (Client, Box>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 100 - ) -> (Client, Box>) { [INFO] [stderr] 100 + ) -> (Client, Box>) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/endpoint.rs:99:26 [INFO] [stderr] | [INFO] [stderr] 99 | params: (Client, 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] 99 - params: (Client, Box>) [INFO] [stderr] 99 + params: (Client, Box>) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/endpoint.rs:159:30 [INFO] [stderr] | [INFO] [stderr] 159 | type RpcCallResult = 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] 159 - type RpcCallResult = Box>; [INFO] [stderr] 159 + type RpcCallResult = Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/endpoint.rs:464:30 [INFO] [stderr] | [INFO] [stderr] 464 | type RpcCallResult = 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] 464 - type RpcCallResult = Box>; [INFO] [stderr] 464 + type RpcCallResult = Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stderr] --> tests/endpoint.rs:90:12 [INFO] [stderr] | [INFO] [stderr] 90 | s1.framed(LineCodec::new()), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stderr] --> tests/endpoint.rs:91:12 [INFO] [stderr] | [INFO] [stderr] 91 | s2.framed(LineCodec::new()), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused boxed `futures::Future` trait object in tuple element 1 that must be used [INFO] [stderr] --> tests/endpoint.rs:276:9 [INFO] [stderr] | [INFO] [stderr] 276 | Endpoint::new(s1, AnotherServer(handle.clone(), Cell::new(2))).start(&handle); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: futures do nothing unless polled [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stderr] --> examples/time_server.rs:133:28 [INFO] [stderr] | [INFO] [stderr] 133 | connection.framed(LineCodec::new()), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stderr] --> examples/echo_params.rs:32:31 [INFO] [stderr] | [INFO] [stderr] 32 | let jsonized = stream.framed(LineCodec::new()); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stderr] --> examples/time_client.rs:52:56 [INFO] [stderr] | [INFO] [stderr] 52 | let (client, _) = Endpoint::client_only(socket.framed(LineCodec::new())) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tokio-jsonrpc` (test "endpoint") generated 10 warnings [INFO] [stderr] warning: `tokio-jsonrpc` (example "time_server") generated 1 warning [INFO] [stderr] warning: `tokio-jsonrpc` (example "echo_params") generated 1 warning [INFO] [stderr] warning: `tokio-jsonrpc` (example "time_client") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tokio_jsonrpc-8cdd852dad3ccfab) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test codec::tests::decode_boundary_short ... ok [INFO] [stdout] test codec::tests::decode_boundary_prefix ... ok [INFO] [stdout] test codec::tests::decode ... ok [INFO] [stdout] test codec::tests::encode ... ok [INFO] [stdout] test codec::tests::decode_nonunicode ... ok [INFO] [stdout] test message::tests::broken ... ok [INFO] [stdout] test message::tests::constructors ... ok [INFO] [stdout] test server::tests::decide ... ok [INFO] [stdout] test server::tests::decide_direct ... ok [INFO] [stdout] test message::tests::message_serde ... ok [INFO] [stdout] test server::tests::decide_single ... ok [INFO] [stdout] test server::tests::named ... ok [INFO] [stdout] test server::tests::params_macro_none ... ok [INFO] [stdout] test server::tests::positional_direct ... ok [INFO] [stdout] test server::tests::positional ... ok [INFO] [stdout] test server::tests::named_direct ... ok [INFO] [stdout] test server::tests::single_param ... ok [INFO] [stdout] test server::tests::panic_guard - should panic ... ok [INFO] [stdout] test server::tests::chain ... ok [INFO] [stdout] test server::tests::empty ... ok [INFO] [stdout] test server::tests::abstract_server ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] Running tests/endpoint.rs (/opt/rustwide/target/debug/deps/endpoint-e03939d14d902d32) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test wrong_method ... ok [INFO] [stdout] test kill ... ok [INFO] [stdout] test notification ... ok [INFO] [stdout] test mutual ... ok [INFO] [stdout] test rpc_answer ... ok [INFO] [stdout] test conn_terminate ... ok [INFO] [stdout] test seq ... ok [INFO] [stdout] test parallel ... ok [INFO] [stdout] test kill_client ... ok [INFO] [stdout] test client_only ... ok [INFO] [stdout] test delayed ... ok [INFO] [stdout] test timeout ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.26s [INFO] [stdout] [INFO] [stderr] Running tests/version.rs (/opt/rustwide/target/debug/deps/version-a4a1814773ffb66d) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_readme_deps ... ok [INFO] [stdout] test test_html_root_url ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tokio-jsonrpc [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/endpoint.rs - endpoint::Endpoint (line 499) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 57) - compile ... ok [INFO] [stdout] test src/server.rs - server::jsonrpc_params (line 309) ... ok [INFO] [stdout] test src/server.rs - server::jsonrpc_params (line 288) ... ok [INFO] [stdout] test src/server.rs - server::jsonrpc_params (line 264) ... ok [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] test src/server.rs - server::jsonrpc_params (line 325) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "45e70b51af2283d8512814371a559fc062ffb347389058ee64e255759532441a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45e70b51af2283d8512814371a559fc062ffb347389058ee64e255759532441a", kill_on_drop: false }` [INFO] [stdout] 45e70b51af2283d8512814371a559fc062ffb347389058ee64e255759532441a