[INFO] fetching crate cocaine 0.9.2... [INFO] testing cocaine-0.9.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cocaine 0.9.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate cocaine 0.9.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cocaine 0.9.2 [INFO] finished tweaking crates.io crate cocaine 0.9.2 [INFO] tweaked toml for crates.io crate cocaine 0.9.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fd4d807b6aabb1f26377065dea99d3a74164756392e2569af9e94d3c02a5af23 [INFO] running `Command { std: "docker" "start" "-a" "fd4d807b6aabb1f26377065dea99d3a74164756392e2569af9e94d3c02a5af23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd4d807b6aabb1f26377065dea99d3a74164756392e2569af9e94d3c02a5af23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd4d807b6aabb1f26377065dea99d3a74164756392e2569af9e94d3c02a5af23", kill_on_drop: false }` [INFO] [stdout] fd4d807b6aabb1f26377065dea99d3a74164756392e2569af9e94d3c02a5af23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6b4618308f070865130f30d1acb2998b4c2e171501decdb1525bf0a53bed2d1c [INFO] running `Command { std: "docker" "start" "-a" "6b4618308f070865130f30d1acb2998b4c2e171501decdb1525bf0a53bed2d1c", kill_on_drop: false }` [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rmp v0.8.10 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rmpv v0.4.7 [INFO] [stderr] Compiling rmp-serde v0.13.7 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling cocaine v0.9.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | / bitflags! { [INFO] [stdout] 388 | | flags Shutdown: u8 { [INFO] [stdout] 389 | | const CLOSE_SEND = 0b0001, [INFO] [stdout] 390 | | const CLOSE_RECV = 0b0010, [INFO] [stdout] 391 | | const CLOSE_USER = 0b0100, [INFO] [stdout] 392 | | } [INFO] [stdout] 393 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | / bitflags! { [INFO] [stdout] 388 | | flags Shutdown: u8 { [INFO] [stdout] 389 | | const CLOSE_SEND = 0b0001, [INFO] [stdout] 390 | | const CLOSE_RECV = 0b0010, [INFO] [stdout] 391 | | const CLOSE_USER = 0b0100, [INFO] [stdout] 392 | | } [INFO] [stdout] 393 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:411:77 [INFO] [stdout] | [INFO] [stdout] 411 | MultiplexError::Io(io::Error::new(err.kind(), error::Error::description(err))) [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/lib.rs:414:90 [INFO] [stdout] | [INFO] [stdout] 414 | MultiplexError::InvalidProtocol(io::Error::new(err.kind(), error::Error::description(err))) [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/lib.rs:803:68 [INFO] [stdout] | [INFO] [stdout] 803 | Error::Io(io::Error::new(err.kind(), error::Error::description(err))) [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/lib.rs:806:81 [INFO] [stdout] | [INFO] [stdout] 806 | Error::InvalidProtocol(io::Error::new(err.kind(), error::Error::description(err))) [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/logging.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | fmt.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | dispatch: 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] 212 - dispatch: Box, [INFO] [stdout] 212 + dispatch: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:462:34 [INFO] [stdout] | [INFO] [stdout] 462 | dispatches: HashMap>, [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] 462 - dispatches: HashMap>, [INFO] [stdout] 462 + dispatches: HashMap>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:896:20 [INFO] [stdout] | [INFO] [stdout] 896 | Connecting(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] 896 - Connecting(Box>), [INFO] [stdout] 896 + Connecting(Box>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:188:68 [INFO] [stdout] | [INFO] [stdout] 188 | fn process(self: Box, response: &Response) -> Option>; [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] 188 - fn process(self: Box, response: &Response) -> Option>; [INFO] [stdout] 188 + fn process(self: Box, response: &Response) -> Option>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:875:32 [INFO] [stdout] | [INFO] [stdout] 875 | fn cause(&self) -> Option<&error::Error> { [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] 875 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 875 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatch.rs:42:68 [INFO] [stdout] | [INFO] [stdout] 42 | fn process(self: Box, response: &Response) -> Option> { [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] 42 - fn process(self: Box, response: &Response) -> Option> { [INFO] [stdout] 42 + fn process(self: Box, response: &Response) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatch.rs:68:70 [INFO] [stdout] | [INFO] [stdout] 68 | fn send(self: Box, result: Result) -> Option> [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] 68 - fn send(self: Box, result: Result) -> Option> [INFO] [stdout] 68 + fn send(self: Box, result: Result) -> Option> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatch.rs:80:68 [INFO] [stdout] | [INFO] [stdout] 80 | fn process(self: Box, response: &Response) -> Option> { [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] 80 - fn process(self: Box, response: &Response) -> Option> { [INFO] [stdout] 80 + fn process(self: Box, response: &Response) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frame.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn cause(&self) -> Option<&error::Error> { [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 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 28 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 145 | type Future = Box, Error = Error>>; [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 - type Future = Box, Error = Error>>; [INFO] [stdout] 145 + type Future = Box, Error = Error>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service/unicorn.rs:258:38 [INFO] [stdout] | [INFO] [stdout] 258 | impl Future, Version), Error=Error> + Send + 'a>), Error=Error> [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] 258 - impl Future, Version), Error=Error> + Send + 'a>), Error=Error> [INFO] [stdout] 258 + impl Future, Version), Error=Error> + Send + 'a>), Error=Error> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service/unicorn.rs:278:50 [INFO] [stdout] | [INFO] [stdout] 278 | let stream = Box::new(stream) as Box, Version), Error=Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 - let stream = Box::new(stream) as Box, Version), Error=Error> + Send>; [INFO] [stdout] 278 + let stream = Box::new(stream) as Box, Version), Error=Error> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service/unicorn.rs:290:38 [INFO] [stdout] | [INFO] [stdout] 290 | impl Future), Error=Error> + Send>), Error=Error> [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] 290 - impl Future), Error=Error> + Send>), Error=Error> [INFO] [stdout] 290 + impl Future), Error=Error> + Send>), Error=Error> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service/unicorn.rs:305:50 [INFO] [stdout] | [INFO] [stdout] 305 | let stream = Box::new(stream) as Box), Error=Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 - let stream = Box::new(stream) as Box), Error=Error> + Send>; [INFO] [stdout] 305 + let stream = Box::new(stream) as Box), Error=Error> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/logging.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | inner: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `LoggerContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/logging.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/logging.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | service.call_mute(Request::from_buf(0, buf)); [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: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/app.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | self.inner.send(Request::new(0, &[data]).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/app.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | self.inner.send(Request::new(1, &((0, id), description)).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/app.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | self.inner.send(Request::new(2, &[0; 0]).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/locator.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | self.service.call(Request::new(Method::Resolve.into(), &[name]).unwrap(), dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/locator.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | self.service.call(Request::new(Method::Routing.into(), &[uuid]).unwrap(), dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/tvm.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | self.service.call(Request::new(method, &(id, secret, ty, args)).unwrap(), dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/unicorn.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | self.sender.send(Request::new(0, &[0; 0]).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/unicorn.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | self.service.call(request, dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/unicorn.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | self.service.call(request, dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/unicorn.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | self.service.call(request, dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/unicorn.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | self.service.call(request, dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.56s [INFO] running `Command { std: "docker" "inspect" "6b4618308f070865130f30d1acb2998b4c2e171501decdb1525bf0a53bed2d1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b4618308f070865130f30d1acb2998b4c2e171501decdb1525bf0a53bed2d1c", kill_on_drop: false }` [INFO] [stdout] 6b4618308f070865130f30d1acb2998b4c2e171501decdb1525bf0a53bed2d1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 34b55c33572b993e8e1a7ef172f4c063c1d53cf1bae3f50a18e75b0b42b7f200 [INFO] running `Command { std: "docker" "start" "-a" "34b55c33572b993e8e1a7ef172f4c063c1d53cf1bae3f50a18e75b0b42b7f200", kill_on_drop: false }` [INFO] [stderr] Compiling slog v1.7.1 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | / bitflags! { [INFO] [stdout] 388 | | flags Shutdown: u8 { [INFO] [stdout] 389 | | const CLOSE_SEND = 0b0001, [INFO] [stdout] 390 | | const CLOSE_RECV = 0b0010, [INFO] [stdout] 391 | | const CLOSE_USER = 0b0100, [INFO] [stdout] 392 | | } [INFO] [stdout] 393 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | / bitflags! { [INFO] [stdout] 388 | | flags Shutdown: u8 { [INFO] [stdout] 389 | | const CLOSE_SEND = 0b0001, [INFO] [stdout] 390 | | const CLOSE_RECV = 0b0010, [INFO] [stdout] 391 | | const CLOSE_USER = 0b0100, [INFO] [stdout] 392 | | } [INFO] [stdout] 393 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:411:77 [INFO] [stdout] | [INFO] [stdout] 411 | MultiplexError::Io(io::Error::new(err.kind(), error::Error::description(err))) [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/lib.rs:414:90 [INFO] [stdout] | [INFO] [stdout] 414 | MultiplexError::InvalidProtocol(io::Error::new(err.kind(), error::Error::description(err))) [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/lib.rs:803:68 [INFO] [stdout] | [INFO] [stdout] 803 | Error::Io(io::Error::new(err.kind(), error::Error::description(err))) [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/lib.rs:806:81 [INFO] [stdout] | [INFO] [stdout] 806 | Error::InvalidProtocol(io::Error::new(err.kind(), error::Error::description(err))) [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/logging.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | fmt.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | dispatch: 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] 212 - dispatch: Box, [INFO] [stdout] 212 + dispatch: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:462:34 [INFO] [stdout] | [INFO] [stdout] 462 | dispatches: HashMap>, [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] 462 - dispatches: HashMap>, [INFO] [stdout] 462 + dispatches: HashMap>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:896:20 [INFO] [stdout] | [INFO] [stdout] 896 | Connecting(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] 896 - Connecting(Box>), [INFO] [stdout] 896 + Connecting(Box>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:188:68 [INFO] [stdout] | [INFO] [stdout] 188 | fn process(self: Box, response: &Response) -> Option>; [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] 188 - fn process(self: Box, response: &Response) -> Option>; [INFO] [stdout] 188 + fn process(self: Box, response: &Response) -> Option>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:875:32 [INFO] [stdout] | [INFO] [stdout] 875 | fn cause(&self) -> Option<&error::Error> { [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] 875 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 875 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatch.rs:42:68 [INFO] [stdout] | [INFO] [stdout] 42 | fn process(self: Box, response: &Response) -> Option> { [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] 42 - fn process(self: Box, response: &Response) -> Option> { [INFO] [stdout] 42 + fn process(self: Box, response: &Response) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatch.rs:68:70 [INFO] [stdout] | [INFO] [stdout] 68 | fn send(self: Box, result: Result) -> Option> [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] 68 - fn send(self: Box, result: Result) -> Option> [INFO] [stdout] 68 + fn send(self: Box, result: Result) -> Option> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatch.rs:80:68 [INFO] [stdout] | [INFO] [stdout] 80 | fn process(self: Box, response: &Response) -> Option> { [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] 80 - fn process(self: Box, response: &Response) -> Option> { [INFO] [stdout] 80 + fn process(self: Box, response: &Response) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frame.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn cause(&self) -> Option<&error::Error> { [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 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 28 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 145 | type Future = Box, Error = Error>>; [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 - type Future = Box, Error = Error>>; [INFO] [stdout] 145 + type Future = Box, Error = Error>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service/unicorn.rs:258:38 [INFO] [stdout] | [INFO] [stdout] 258 | impl Future, Version), Error=Error> + Send + 'a>), Error=Error> [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] 258 - impl Future, Version), Error=Error> + Send + 'a>), Error=Error> [INFO] [stdout] 258 + impl Future, Version), Error=Error> + Send + 'a>), Error=Error> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service/unicorn.rs:278:50 [INFO] [stdout] | [INFO] [stdout] 278 | let stream = Box::new(stream) as Box, Version), Error=Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 - let stream = Box::new(stream) as Box, Version), Error=Error> + Send>; [INFO] [stdout] 278 + let stream = Box::new(stream) as Box, Version), Error=Error> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service/unicorn.rs:290:38 [INFO] [stdout] | [INFO] [stdout] 290 | impl Future), Error=Error> + Send>), Error=Error> [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] 290 - impl Future), Error=Error> + Send>), Error=Error> [INFO] [stdout] 290 + impl Future), Error=Error> + Send>), Error=Error> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service/unicorn.rs:305:50 [INFO] [stdout] | [INFO] [stdout] 305 | let stream = Box::new(stream) as Box), Error=Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 - let stream = Box::new(stream) as Box), Error=Error> + Send>; [INFO] [stdout] 305 + let stream = Box::new(stream) as Box), Error=Error> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/logging.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | inner: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `LoggerContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/logging.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/logging.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | service.call_mute(Request::from_buf(0, buf)); [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: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/app.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | self.inner.send(Request::new(0, &[data]).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/app.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | self.inner.send(Request::new(1, &((0, id), description)).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/app.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | self.inner.send(Request::new(2, &[0; 0]).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/locator.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | self.service.call(Request::new(Method::Resolve.into(), &[name]).unwrap(), dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/locator.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | self.service.call(Request::new(Method::Routing.into(), &[uuid]).unwrap(), dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/tvm.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | self.service.call(Request::new(method, &(id, secret, ty, args)).unwrap(), dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/unicorn.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | self.sender.send(Request::new(0, &[0; 0]).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/unicorn.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | self.service.call(request, dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/unicorn.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | self.service.call(request, dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/unicorn.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | self.service.call(request, dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/unicorn.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | self.service.call(request, dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling slog-extra v0.1.2 [INFO] [stderr] Compiling slog-stream v1.2.1 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling slog-term v1.5.0 [INFO] [stderr] Compiling slog-stdlog v1.1.0 [INFO] [stderr] Compiling slog-envlogger v0.5.0 [INFO] [stderr] Compiling cocaine v0.9.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/service.rs:128:73 [INFO] [stdout] | [INFO] [stdout] 128 | fn process(self: Box, _response: &Response) -> Option> { [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] 128 - fn process(self: Box, _response: &Response) -> Option> { [INFO] [stdout] 128 + fn process(self: Box, _response: &Response) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> tests/service.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | sock.set_linger(None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `net2::TcpStreamExt::set_linger(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> tests/service.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | sock.set_linger(None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `net2::TcpStreamExt::set_linger(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/service.rs:24:68 [INFO] [stdout] | [INFO] [stdout] 24 | fn process(self: Box, response: &Response) -> Option> { [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] 24 - fn process(self: Box, response: &Response) -> Option> { [INFO] [stdout] 24 + fn process(self: Box, response: &Response) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cpu` [INFO] [stdout] --> examples/unicorn.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | cpu: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Resource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/unicorn.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mem` [INFO] [stdout] --> examples/unicorn.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mem: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Resource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/unicorn.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `net` [INFO] [stdout] --> examples/unicorn.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | net: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Resource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/unicorn.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | / bitflags! { [INFO] [stdout] 388 | | flags Shutdown: u8 { [INFO] [stdout] 389 | | const CLOSE_SEND = 0b0001, [INFO] [stdout] 390 | | const CLOSE_RECV = 0b0010, [INFO] [stdout] 391 | | const CLOSE_USER = 0b0100, [INFO] [stdout] 392 | | } [INFO] [stdout] 393 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | / bitflags! { [INFO] [stdout] 388 | | flags Shutdown: u8 { [INFO] [stdout] 389 | | const CLOSE_SEND = 0b0001, [INFO] [stdout] 390 | | const CLOSE_RECV = 0b0010, [INFO] [stdout] 391 | | const CLOSE_USER = 0b0100, [INFO] [stdout] 392 | | } [INFO] [stdout] 393 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:411:77 [INFO] [stdout] | [INFO] [stdout] 411 | MultiplexError::Io(io::Error::new(err.kind(), error::Error::description(err))) [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/lib.rs:414:90 [INFO] [stdout] | [INFO] [stdout] 414 | MultiplexError::InvalidProtocol(io::Error::new(err.kind(), error::Error::description(err))) [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/lib.rs:803:68 [INFO] [stdout] | [INFO] [stdout] 803 | Error::Io(io::Error::new(err.kind(), error::Error::description(err))) [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/lib.rs:806:81 [INFO] [stdout] | [INFO] [stdout] 806 | Error::InvalidProtocol(io::Error::new(err.kind(), error::Error::description(err))) [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/logging.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | fmt.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | dispatch: 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] 212 - dispatch: Box, [INFO] [stdout] 212 + dispatch: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:462:34 [INFO] [stdout] | [INFO] [stdout] 462 | dispatches: HashMap>, [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] 462 - dispatches: HashMap>, [INFO] [stdout] 462 + dispatches: HashMap>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:896:20 [INFO] [stdout] | [INFO] [stdout] 896 | Connecting(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] 896 - Connecting(Box>), [INFO] [stdout] 896 + Connecting(Box>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:188:68 [INFO] [stdout] | [INFO] [stdout] 188 | fn process(self: Box, response: &Response) -> Option>; [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] 188 - fn process(self: Box, response: &Response) -> Option>; [INFO] [stdout] 188 + fn process(self: Box, response: &Response) -> Option>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:875:32 [INFO] [stdout] | [INFO] [stdout] 875 | fn cause(&self) -> Option<&error::Error> { [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] 875 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 875 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatch.rs:42:68 [INFO] [stdout] | [INFO] [stdout] 42 | fn process(self: Box, response: &Response) -> Option> { [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] 42 - fn process(self: Box, response: &Response) -> Option> { [INFO] [stdout] 42 + fn process(self: Box, response: &Response) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatch.rs:68:70 [INFO] [stdout] | [INFO] [stdout] 68 | fn send(self: Box, result: Result) -> Option> [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] 68 - fn send(self: Box, result: Result) -> Option> [INFO] [stdout] 68 + fn send(self: Box, result: Result) -> Option> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatch.rs:80:68 [INFO] [stdout] | [INFO] [stdout] 80 | fn process(self: Box, response: &Response) -> Option> { [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] 80 - fn process(self: Box, response: &Response) -> Option> { [INFO] [stdout] 80 + fn process(self: Box, response: &Response) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frame.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn cause(&self) -> Option<&error::Error> { [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 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 28 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 145 | type Future = Box, Error = Error>>; [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 - type Future = Box, Error = Error>>; [INFO] [stdout] 145 + type Future = Box, Error = Error>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service/unicorn.rs:258:38 [INFO] [stdout] | [INFO] [stdout] 258 | impl Future, Version), Error=Error> + Send + 'a>), Error=Error> [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] 258 - impl Future, Version), Error=Error> + Send + 'a>), Error=Error> [INFO] [stdout] 258 + impl Future, Version), Error=Error> + Send + 'a>), Error=Error> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service/unicorn.rs:278:50 [INFO] [stdout] | [INFO] [stdout] 278 | let stream = Box::new(stream) as Box, Version), Error=Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 - let stream = Box::new(stream) as Box, Version), Error=Error> + Send>; [INFO] [stdout] 278 + let stream = Box::new(stream) as Box, Version), Error=Error> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service/unicorn.rs:290:38 [INFO] [stdout] | [INFO] [stdout] 290 | impl Future), Error=Error> + Send>), Error=Error> [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] 290 - impl Future), Error=Error> + Send>), Error=Error> [INFO] [stdout] 290 + impl Future), Error=Error> + Send>), Error=Error> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service/unicorn.rs:305:50 [INFO] [stdout] | [INFO] [stdout] 305 | let stream = Box::new(stream) as Box), Error=Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 - let stream = Box::new(stream) as Box), Error=Error> + Send>; [INFO] [stdout] 305 + let stream = Box::new(stream) as Box), Error=Error> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/logging.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | inner: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `LoggerContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/logging.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/logging.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | service.call_mute(Request::from_buf(0, buf)); [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: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/app.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | self.inner.send(Request::new(0, &[data]).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/app.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | self.inner.send(Request::new(1, &((0, id), description)).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/app.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | self.inner.send(Request::new(2, &[0; 0]).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/locator.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | self.service.call(Request::new(Method::Resolve.into(), &[name]).unwrap(), dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/locator.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | self.service.call(Request::new(Method::Routing.into(), &[uuid]).unwrap(), dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/tvm.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | self.service.call(Request::new(method, &(id, secret, ty, args)).unwrap(), dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/unicorn.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | self.sender.send(Request::new(0, &[0; 0]).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/unicorn.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | self.service.call(request, dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/unicorn.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | self.service.call(request, dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/unicorn.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | self.service.call(request, dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/service/unicorn.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | self.service.call(request, dispatch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 30.80s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cocaine-d33dda9dcfe7cdc5) [INFO] [stderr] Executable tests/service.rs (/opt/rustwide/target/debug/deps/service-f9f24346cf2fab58) [INFO] running `Command { std: "docker" "inspect" "34b55c33572b993e8e1a7ef172f4c063c1d53cf1bae3f50a18e75b0b42b7f200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34b55c33572b993e8e1a7ef172f4c063c1d53cf1bae3f50a18e75b0b42b7f200", kill_on_drop: false }` [INFO] [stdout] 34b55c33572b993e8e1a7ef172f4c063c1d53cf1bae3f50a18e75b0b42b7f200 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 50ef40552f4cf12c328e9461f3ee4dce766beeaa97850e241486d9f93c0984e0 [INFO] running `Command { std: "docker" "start" "-a" "50ef40552f4cf12c328e9461f3ee4dce766beeaa97850e241486d9f93c0984e0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:387:1 [INFO] [stderr] | [INFO] [stderr] 387 | / bitflags! { [INFO] [stderr] 388 | | flags Shutdown: u8 { [INFO] [stderr] 389 | | const CLOSE_SEND = 0b0001, [INFO] [stderr] 390 | | const CLOSE_RECV = 0b0010, [INFO] [stderr] 391 | | const CLOSE_USER = 0b0100, [INFO] [stderr] 392 | | } [INFO] [stderr] 393 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:387:1 [INFO] [stderr] | [INFO] [stderr] 387 | / bitflags! { [INFO] [stderr] 388 | | flags Shutdown: u8 { [INFO] [stderr] 389 | | const CLOSE_SEND = 0b0001, [INFO] [stderr] 390 | | const CLOSE_RECV = 0b0010, [INFO] [stderr] 391 | | const CLOSE_USER = 0b0100, [INFO] [stderr] 392 | | } [INFO] [stderr] 393 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:411:77 [INFO] [stderr] | [INFO] [stderr] 411 | MultiplexError::Io(io::Error::new(err.kind(), error::Error::description(err))) [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/lib.rs:414:90 [INFO] [stderr] | [INFO] [stderr] 414 | MultiplexError::InvalidProtocol(io::Error::new(err.kind(), error::Error::description(err))) [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/lib.rs:803:68 [INFO] [stderr] | [INFO] [stderr] 803 | Error::Io(io::Error::new(err.kind(), error::Error::description(err))) [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/lib.rs:806:81 [INFO] [stderr] | [INFO] [stderr] 806 | Error::InvalidProtocol(io::Error::new(err.kind(), error::Error::description(err))) [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/logging.rs:115:37 [INFO] [stderr] | [INFO] [stderr] 115 | fmt.write_str(error::Error::description(self)) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:212:19 [INFO] [stderr] | [INFO] [stderr] 212 | dispatch: 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] 212 - dispatch: Box, [INFO] [stderr] 212 + dispatch: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:462:34 [INFO] [stderr] | [INFO] [stderr] 462 | dispatches: HashMap>, [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] 462 - dispatches: HashMap>, [INFO] [stderr] 462 + dispatches: HashMap>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:896:20 [INFO] [stderr] | [INFO] [stderr] 896 | Connecting(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] 896 - Connecting(Box>), [INFO] [stderr] 896 + Connecting(Box>), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:188:68 [INFO] [stderr] | [INFO] [stderr] 188 | fn process(self: Box, response: &Response) -> Option>; [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] 188 - fn process(self: Box, response: &Response) -> Option>; [INFO] [stderr] 188 + fn process(self: Box, response: &Response) -> Option>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:875:32 [INFO] [stderr] | [INFO] [stderr] 875 | fn cause(&self) -> Option<&error::Error> { [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] 875 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 875 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dispatch.rs:42:68 [INFO] [stderr] | [INFO] [stderr] 42 | fn process(self: Box, response: &Response) -> Option> { [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] 42 - fn process(self: Box, response: &Response) -> Option> { [INFO] [stderr] 42 + fn process(self: Box, response: &Response) -> Option> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dispatch.rs:68:70 [INFO] [stderr] | [INFO] [stderr] 68 | fn send(self: Box, result: Result) -> Option> [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] 68 - fn send(self: Box, result: Result) -> Option> [INFO] [stderr] 68 + fn send(self: Box, result: Result) -> Option> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dispatch.rs:80:68 [INFO] [stderr] | [INFO] [stderr] 80 | fn process(self: Box, response: &Response) -> Option> { [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] 80 - fn process(self: Box, response: &Response) -> Option> { [INFO] [stderr] 80 + fn process(self: Box, response: &Response) -> Option> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/frame.rs:28:32 [INFO] [stderr] | [INFO] [stderr] 28 | fn cause(&self) -> Option<&error::Error> { [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 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 28 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolve.rs:145:23 [INFO] [stderr] | [INFO] [stderr] 145 | type Future = Box, Error = Error>>; [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 - type Future = Box, Error = Error>>; [INFO] [stderr] 145 + type Future = Box, Error = Error>>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/service/unicorn.rs:258:38 [INFO] [stderr] | [INFO] [stderr] 258 | impl Future, Version), Error=Error> + Send + 'a>), Error=Error> [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] 258 - impl Future, Version), Error=Error> + Send + 'a>), Error=Error> [INFO] [stderr] 258 + impl Future, Version), Error=Error> + Send + 'a>), Error=Error> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/service/unicorn.rs:278:50 [INFO] [stderr] | [INFO] [stderr] 278 | let stream = Box::new(stream) as Box, Version), Error=Error> + Send>; [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] 278 - let stream = Box::new(stream) as Box, Version), Error=Error> + Send>; [INFO] [stderr] 278 + let stream = Box::new(stream) as Box, Version), Error=Error> + Send>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/service/unicorn.rs:290:38 [INFO] [stderr] | [INFO] [stderr] 290 | impl Future), Error=Error> + Send>), Error=Error> [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] 290 - impl Future), Error=Error> + Send>), Error=Error> [INFO] [stderr] 290 + impl Future), Error=Error> + Send>), Error=Error> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/service/unicorn.rs:305:50 [INFO] [stderr] | [INFO] [stderr] 305 | let stream = Box::new(stream) as Box), Error=Error> + Send>; [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] 305 - let stream = Box::new(stream) as Box), Error=Error> + Send>; [INFO] [stderr] 305 + let stream = Box::new(stream) as Box), Error=Error> + Send>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `inner` [INFO] [stderr] --> src/logging.rs:162:5 [INFO] [stderr] | [INFO] [stderr] 162 | inner: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `LoggerContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/logging.rs:158:10 [INFO] [stderr] | [INFO] [stderr] 158 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `futures::Future` that must be used [INFO] [stderr] --> src/logging.rs:48:25 [INFO] [stderr] | [INFO] [stderr] 48 | service.call_mute(Request::from_buf(0, buf)); [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: unused implementer of `futures::Future` that must be used [INFO] [stderr] --> src/service/app.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | self.inner.send(Request::new(0, &[data]).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless polled [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `futures::Future` that must be used [INFO] [stderr] --> src/service/app.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | self.inner.send(Request::new(1, &((0, id), description)).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless polled [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `futures::Future` that must be used [INFO] [stderr] --> src/service/app.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | self.inner.send(Request::new(2, &[0; 0]).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless polled [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `futures::Future` that must be used [INFO] [stderr] --> src/service/locator.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | self.service.call(Request::new(Method::Resolve.into(), &[name]).unwrap(), dispatch); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless polled [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `futures::Future` that must be used [INFO] [stderr] --> src/service/locator.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | self.service.call(Request::new(Method::Routing.into(), &[uuid]).unwrap(), dispatch); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless polled [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `futures::Future` that must be used [INFO] [stderr] --> src/service/tvm.rs:67:17 [INFO] [stderr] | [INFO] [stderr] 67 | self.service.call(Request::new(method, &(id, secret, ty, args)).unwrap(), dispatch); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless polled [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `futures::Future` that must be used [INFO] [stderr] --> src/service/unicorn.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | self.sender.send(Request::new(0, &[0; 0]).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless polled [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `futures::Future` that must be used [INFO] [stderr] --> src/service/unicorn.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 123 | self.service.call(request, dispatch); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless polled [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `futures::Future` that must be used [INFO] [stderr] --> src/service/unicorn.rs:161:9 [INFO] [stderr] | [INFO] [stderr] 161 | self.service.call(request, dispatch); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless polled [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `futures::Future` that must be used [INFO] [stderr] --> src/service/unicorn.rs:197:9 [INFO] [stderr] | [INFO] [stderr] 197 | self.service.call(request, dispatch); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless polled [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `futures::Future` that must be used [INFO] [stderr] --> src/service/unicorn.rs:235:9 [INFO] [stderr] | [INFO] [stderr] 235 | self.service.call(request, dispatch); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless polled [INFO] [stderr] [INFO] [stderr] warning: `cocaine` (lib) generated 34 warnings [INFO] [stderr] warning: `cocaine` (lib test) generated 34 warnings (34 duplicates) [INFO] [stdout] [INFO] [stderr] warning: field is never read: `cpu` [INFO] [stdout] running 14 tests [INFO] [stderr] --> examples/unicorn.rs:13:5 [INFO] [stdout] test resolve::test::fixed_resolver_default_addrs ... ok [INFO] [stderr] | [INFO] [stdout] test logging::tests::test_macro_without_args ... ok [INFO] [stderr] 13 | cpu: i64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Resource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/unicorn.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mem` [INFO] [stderr] --> examples/unicorn.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | mem: i64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Resource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/unicorn.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `net` [INFO] [stderr] --> examples/unicorn.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | net: i64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Resource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/unicorn.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/service.rs:128:73 [INFO] [stderr] | [INFO] [stderr] 128 | fn process(self: Box, _response: &Response) -> Option> { [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] 128 - fn process(self: Box, _response: &Response) -> Option> { [INFO] [stderr] 128 + fn process(self: Box, _response: &Response) -> Option> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> tests/service.rs:73:14 [INFO] [stderr] | [INFO] [stderr] 73 | sock.set_linger(None).unwrap(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `net2::TcpStreamExt::set_linger(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> tests/service.rs:106:14 [INFO] [stderr] | [INFO] [stderr] 106 | sock.set_linger(None).unwrap(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `net2::TcpStreamExt::set_linger(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/service.rs:24:68 [INFO] [stderr] | [INFO] [stderr] 24 | fn process(self: Box, response: &Response) -> Option> { [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] 24 - fn process(self: Box, response: &Response) -> Option> { [INFO] [stderr] 24 + fn process(self: Box, response: &Response) -> Option> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `cocaine` (example "unicorn") generated 3 warnings [INFO] [stderr] warning: `cocaine` (test "service") generated 3 warnings [INFO] [stderr] warning: `cocaine` (example "service") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cocaine-d33dda9dcfe7cdc5) [INFO] [stdout] test resolve::test::fixed_resolver_saves_addrs ... ok [INFO] [stdout] test logging::tests::test_macro_with_attributes ... ok [INFO] [stdout] test logging::tests::test_macro_with_args ... ok [INFO] [stdout] test logging::tests::test_macro_with_attribute ... ok [INFO] [stdout] test logging::tests::test_macro_with_args_and_attributes ... ok [INFO] [stdout] test frame::test::pass ... ok [INFO] [stdout] test net::connect::tests::test_connect_multi ... ok [INFO] [stdout] test frame::test::fail_invalid_type_type - should panic ... ok [INFO] [stdout] test frame::test::fail_invalid_chan_type - should panic ... ok [INFO] [stdout] test frame::test::fail_invalid_frame_type - should panic ... ok [INFO] [stdout] test net::connect::tests::test_connection_refused ... ok [INFO] [stdout] test net::connect::tests::test_connect ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running tests/service.rs (/opt/rustwide/target/debug/deps/service-f9f24346cf2fab58) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test connect ... ok [INFO] [stdout] test connection_refused_because_invalid_framing ... ok [INFO] [stdout] test connection_refused ... ok [INFO] [stdout] test dispatch_receives_rst ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] Doc-tests cocaine [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/service/storage.rs - service::storage::Storage::write (line 60) - compile ... ok [INFO] [stdout] test src/service/locator.rs - service::locator::Locator::resolve (line 48) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 42) - compile ... ok [INFO] [stdout] test src/service/unicorn.rs - service::unicorn::Unicorn::create (line 101) - compile ... ok [INFO] [stdout] test src/logging.rs - logging::cocaine_log (line 354) - compile ... ok [INFO] [stdout] test src/service/storage.rs - service::storage::Storage::read (line 31) - compile ... ok [INFO] [stdout] test src/logging.rs - logging::cocaine_log (line 371) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 23) - compile ... ok [INFO] [stdout] test src/resolve.rs - resolve::Resolver (line 122) - compile ... ok [INFO] [stdout] test src/service/unicorn.rs - service::unicorn::Unicorn::del (line 176) - compile ... ok [INFO] [stdout] test src/service/unicorn.rs - service::unicorn::Unicorn::put (line 139) - compile ... ok [INFO] [stdout] test src/service/unicorn.rs - service::unicorn::Unicorn::get (line 212) - compile ... ok [INFO] [stdout] test src/response.rs - response::Response::deserialize (line 71) ... ok [INFO] [stdout] test src/request.rs - request::Request (line 16) ... ok [INFO] [stdout] test src/service/mod.rs - service::ServiceBuilder::resolver (line 176) ... ok [INFO] [stdout] test src/lib.rs - Service::new (line 1301) ... ok [INFO] [stdout] test src/service/mod.rs - service::ServiceBuilder::locator_addrs (line 124) ... ok [INFO] [stdout] test src/service/mod.rs - service::ServiceBuilder (line 82) ... ok [INFO] [stdout] test src/logging.rs - logging::LoggerContext::new (line 178) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.41s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "50ef40552f4cf12c328e9461f3ee4dce766beeaa97850e241486d9f93c0984e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50ef40552f4cf12c328e9461f3ee4dce766beeaa97850e241486d9f93c0984e0", kill_on_drop: false }` [INFO] [stdout] 50ef40552f4cf12c328e9461f3ee4dce766beeaa97850e241486d9f93c0984e0