[INFO] crate anterofit 0.2.0 is already in cache [INFO] checking anterofit-0.2.0 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate anterofit 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate anterofit 0.2.0 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate anterofit 0.2.0 [INFO] finished tweaking crates.io crate anterofit 0.2.0 [INFO] tweaked toml for crates.io crate anterofit 0.2.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2d6754a263f259202514decb6ca3d5b2dd4ee0ca4b19e39765a2cb077071cbc9 [INFO] running `"docker" "start" "-a" "2d6754a263f259202514decb6ca3d5b2dd4ee0ca4b19e39765a2cb077071cbc9"` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking owning_ref v0.2.4 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking xml-rs v0.3.6 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking parking_lot v0.3.8 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking multipart v0.15.4 [INFO] [stderr] Checking serde-xml-rs v0.2.1 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking anterofit v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/body.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | try!(ser.serialize(&self, &mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/body.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | try!(ser.serialize(val, &mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/body.rs:306:24 [INFO] [stderr] | [INFO] [stderr] 306 | let prepared = try!(multipart.prepare()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/call.rs:190:21 [INFO] [stderr] | [INFO] [stderr] 190 | let ret = match try!(poll) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/call.rs:191:43 [INFO] [stderr] | [INFO] [stderr] 191 | Async::Ready(val) => Async::Ready(try!(val)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/request.rs:164:13 [INFO] [stderr] | [INFO] [stderr] 164 | try!(base_url.join(&self.url)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/request.rs:166:13 [INFO] [stderr] | [INFO] [stderr] 166 | try!(Url::parse(&self.url)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/request.rs:291:20 [INFO] [stderr] | [INFO] [stderr] 291 | let body = try!(body.into_readable(&self.adapter.ref_consts().serializer)).into(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/request.rs:467:24 [INFO] [stderr] | [INFO] [stderr] 467 | let mut readable = try!(body.into_readable(&consts.serializer)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/response.rs:77:19 [INFO] [stderr] | [INFO] [stderr] 77 | let val = try!(des.deserialize(&mut response)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/error.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | try!(res) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/adapter.rs:217:50 [INFO] [stderr] | [INFO] [stderr] 217 | pub struct InterceptorMut<'a>(&'a mut Option>); [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/adapter.rs:280:29 [INFO] [stderr] | [INFO] [stderr] 280 | interceptor: Option>, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/adapter.rs:315:41 [INFO] [stderr] | [INFO] [stderr] 315 | fn interceptor(&self) -> Option>; [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/adapter.rs:332:41 [INFO] [stderr] | [INFO] [stderr] 332 | fn interceptor(&self) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/adapter.rs:351:41 [INFO] [stderr] | [INFO] [stderr] 351 | fn interceptor(&self) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mpmc.rs:34:25 [INFO] [stderr] | [INFO] [stderr] 34 | queue: SegQueue>, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mpmc.rs:41:34 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn send(&self, exec: Box) { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mpmc.rs:63:38 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn recv(&self) -> Option> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mpmc.rs:96:21 [INFO] [stderr] | [INFO] [stderr] 96 | type Item = Box; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mpmc.rs:105:21 [INFO] [stderr] | [INFO] [stderr] 105 | type Item = Box; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mpmc.rs:117:21 [INFO] [stderr] | [INFO] [stderr] 117 | type Item = Box; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mpmc.rs:128:21 [INFO] [stderr] | [INFO] [stderr] 128 | type Item = Box; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/body.rs:352:21 [INFO] [stderr] | [INFO] [stderr] 352 | stream: Box, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn StreamField` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/intercept.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | impl fmt::Debug for Interceptor { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/intercept.rs:57:41 [INFO] [stderr] | [INFO] [stderr] 57 | fn into_opt_obj(self) -> Option> where Self: Sized { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/intercept.rs:84:34 [INFO] [stderr] | [INFO] [stderr] 84 | .field(&(&self.0 as &Interceptor)) [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/intercept.rs:85:34 [INFO] [stderr] | [INFO] [stderr] 85 | .field(&(&self.1 as &Interceptor)) [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/intercept.rs:103:34 [INFO] [stderr] | [INFO] [stderr] 103 | .field(&(&self.0 as &Interceptor)) [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/intercept.rs:104:34 [INFO] [stderr] | [INFO] [stderr] 104 | .field(&(&self.1 as &Interceptor)) [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/intercept.rs:105:34 [INFO] [stderr] | [INFO] [stderr] 105 | .field(&(&self.2 as &Interceptor)) [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/intercept.rs:121:41 [INFO] [stderr] | [INFO] [stderr] 121 | fn into_opt_obj(self) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/request.rs:332:15 [INFO] [stderr] | [INFO] [stderr] 332 | exec: Box, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/request.rs:461:77 [INFO] [stderr] | [INFO] [stderr] 461 | fn exec_request(consts: &AdapterConsts, interceptor: Option<&Interceptor>, head: &mut RequestHead, body: B) -> Result [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/serialize/mod.rs:124:24 [INFO] [stderr] | [INFO] [stderr] 124 | let error: Box = msg.to_string().into(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Send + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/executor/mod.rs:28:6 [INFO] [stderr] | [INFO] [stderr] 28 | impl ExecBox { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:48:26 [INFO] [stderr] | [INFO] [stderr] 48 | Serialize(e: Box) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Send + 'static` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:54:28 [INFO] [stderr] | [INFO] [stderr] 54 | Deserialize(e: Box) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Send + 'static` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:83:22 [INFO] [stderr] | [INFO] [stderr] 83 | Other(e: Box){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Send + 'static` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:120:36 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn deserialize>>(err: E) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Send + Sync + 'static` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'futures::task::Unpark': recommended to use `Notify` instead [INFO] [stderr] --> src/net/call.rs:2:31 [INFO] [stderr] | [INFO] [stderr] 2 | use futures::executor::{self, Unpark, Spawn}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'futures::task::Unpark': recommended to use `Notify` instead [INFO] [stderr] --> src/net/call.rs:132:6 [INFO] [stderr] | [INFO] [stderr] 132 | impl Unpark for Notify { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/body.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | try!(ser.serialize(&self, &mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/body.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | try!(ser.serialize(val, &mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/body.rs:306:24 [INFO] [stderr] | [INFO] [stderr] 306 | let prepared = try!(multipart.prepare()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/call.rs:190:21 [INFO] [stderr] | [INFO] [stderr] 190 | let ret = match try!(poll) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/call.rs:191:43 [INFO] [stderr] | [INFO] [stderr] 191 | Async::Ready(val) => Async::Ready(try!(val)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/request.rs:164:13 [INFO] [stderr] | [INFO] [stderr] 164 | try!(base_url.join(&self.url)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/request.rs:166:13 [INFO] [stderr] | [INFO] [stderr] 166 | try!(Url::parse(&self.url)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/request.rs:291:20 [INFO] [stderr] | [INFO] [stderr] 291 | let body = try!(body.into_readable(&self.adapter.ref_consts().serializer)).into(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/request.rs:467:24 [INFO] [stderr] | [INFO] [stderr] 467 | let mut readable = try!(body.into_readable(&consts.serializer)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/net/response.rs:77:19 [INFO] [stderr] | [INFO] [stderr] 77 | let val = try!(des.deserialize(&mut response)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/error.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | try!(res) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/adapter.rs:217:50 [INFO] [stderr] | [INFO] [stderr] 217 | pub struct InterceptorMut<'a>(&'a mut Option>); [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/adapter.rs:280:29 [INFO] [stderr] | [INFO] [stderr] 280 | interceptor: Option>, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/adapter.rs:315:41 [INFO] [stderr] | [INFO] [stderr] 315 | fn interceptor(&self) -> Option>; [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/adapter.rs:332:41 [INFO] [stderr] | [INFO] [stderr] 332 | fn interceptor(&self) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/adapter.rs:351:41 [INFO] [stderr] | [INFO] [stderr] 351 | fn interceptor(&self) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mpmc.rs:34:25 [INFO] [stderr] | [INFO] [stderr] 34 | queue: SegQueue>, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mpmc.rs:41:34 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn send(&self, exec: Box) { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mpmc.rs:63:38 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn recv(&self) -> Option> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mpmc.rs:96:21 [INFO] [stderr] | [INFO] [stderr] 96 | type Item = Box; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mpmc.rs:105:21 [INFO] [stderr] | [INFO] [stderr] 105 | type Item = Box; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mpmc.rs:117:21 [INFO] [stderr] | [INFO] [stderr] 117 | type Item = Box; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mpmc.rs:128:21 [INFO] [stderr] | [INFO] [stderr] 128 | type Item = Box; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/body.rs:352:21 [INFO] [stderr] | [INFO] [stderr] 352 | stream: Box, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn StreamField` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/intercept.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | impl fmt::Debug for Interceptor { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/intercept.rs:57:41 [INFO] [stderr] | [INFO] [stderr] 57 | fn into_opt_obj(self) -> Option> where Self: Sized { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/intercept.rs:84:34 [INFO] [stderr] | [INFO] [stderr] 84 | .field(&(&self.0 as &Interceptor)) [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/intercept.rs:85:34 [INFO] [stderr] | [INFO] [stderr] 85 | .field(&(&self.1 as &Interceptor)) [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/intercept.rs:103:34 [INFO] [stderr] | [INFO] [stderr] 103 | .field(&(&self.0 as &Interceptor)) [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/intercept.rs:104:34 [INFO] [stderr] | [INFO] [stderr] 104 | .field(&(&self.1 as &Interceptor)) [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/intercept.rs:105:34 [INFO] [stderr] | [INFO] [stderr] 105 | .field(&(&self.2 as &Interceptor)) [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/intercept.rs:121:41 [INFO] [stderr] | [INFO] [stderr] 121 | fn into_opt_obj(self) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/request.rs:332:15 [INFO] [stderr] | [INFO] [stderr] 332 | exec: Box, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/request.rs:461:77 [INFO] [stderr] | [INFO] [stderr] 461 | fn exec_request(consts: &AdapterConsts, interceptor: Option<&Interceptor>, head: &mut RequestHead, body: B) -> Result [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Interceptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/serialize/mod.rs:124:24 [INFO] [stderr] | [INFO] [stderr] 124 | let error: Box = msg.to_string().into(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Send + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/executor/mod.rs:28:6 [INFO] [stderr] | [INFO] [stderr] 28 | impl ExecBox { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn ExecBox` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:48:26 [INFO] [stderr] | [INFO] [stderr] 48 | Serialize(e: Box) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Send + 'static` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:54:28 [INFO] [stderr] | [INFO] [stderr] 54 | Deserialize(e: Box) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Send + 'static` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:83:22 [INFO] [stderr] | [INFO] [stderr] 83 | Other(e: Box){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Send + 'static` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:120:36 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn deserialize>>(err: E) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Send + Sync + 'static` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'futures::task::Unpark': recommended to use `Notify` instead [INFO] [stderr] --> src/net/call.rs:2:31 [INFO] [stderr] | [INFO] [stderr] 2 | use futures::executor::{self, Unpark, Spawn}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'futures::task::Unpark': recommended to use `Notify` instead [INFO] [stderr] --> src/net/call.rs:132:6 [INFO] [stderr] | [INFO] [stderr] 132 | impl Unpark for Notify { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'futures::task_impl::std::>::poll_future': recommended to use `poll_future_notify` instead [INFO] [stderr] --> src/net/call.rs:91:37 [INFO] [stderr] | [INFO] [stderr] 91 | self.poll_by(move |fut| fut.poll_future(notify)) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'futures::task_impl::std::>::poll_future': recommended to use `poll_future_notify` instead [INFO] [stderr] --> src/net/call.rs:91:37 [INFO] [stderr] | [INFO] [stderr] 91 | self.poll_by(move |fut| fut.poll_future(notify)) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 43 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 43 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/post_service.rs:66:13 [INFO] [stderr] | [INFO] [stderr] 66 | unsizeable!(PostService); [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn PostService` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/post_service.rs:79:41 [INFO] [stderr] | [INFO] [stderr] 79 | let service = adapter.arc_service::(); [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn PostService` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/post_service.rs:103:31 [INFO] [stderr] | [INFO] [stderr] 103 | fn fetch_posts(post_service: &PostService) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn PostService` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/post_service.rs:114:30 [INFO] [stderr] | [INFO] [stderr] 114 | fn user_posts(post_service: &PostService) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn PostService` [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.37s [INFO] running `"docker" "inspect" "2d6754a263f259202514decb6ca3d5b2dd4ee0ca4b19e39765a2cb077071cbc9"` [INFO] running `"docker" "rm" "-f" "2d6754a263f259202514decb6ca3d5b2dd4ee0ca4b19e39765a2cb077071cbc9"` [INFO] [stdout] 2d6754a263f259202514decb6ca3d5b2dd4ee0ca4b19e39765a2cb077071cbc9