[INFO] cloning repository https://github.com/cheme/service-pre [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cheme/service-pre" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcheme%2Fservice-pre", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcheme%2Fservice-pre'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce8e33baa75953bc18722e7f50023c20491b0a65 [INFO] checking cheme/service-pre/ce8e33baa75953bc18722e7f50023c20491b0a65 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcheme%2Fservice-pre" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cheme/service-pre on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cheme/service-pre [INFO] finished tweaking git repo https://github.com/cheme/service-pre [INFO] tweaked toml for git repo https://github.com/cheme/service-pre written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cheme/service-pre already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/cheme/immut-send.git` [INFO] [stderr] Updating git repository `https://github.com/cheme/rust-proto.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v0.6.3 [INFO] [stderr] Downloaded lazycell v0.6.0 [INFO] [stderr] Downloaded stable_deref_trait v1.1.0 [INFO] [stderr] Downloaded parking_lot v0.6.3 [INFO] [stderr] Downloaded gcc v0.3.54 [INFO] [stderr] Downloaded cc v1.0.18 [INFO] [stderr] Downloaded coroutine v0.8.0 [INFO] [stderr] Downloaded lock_api v0.1.3 [INFO] [stderr] Downloaded mio v0.6.15 [INFO] [stderr] Downloaded futures v0.1.23 [INFO] [stderr] Downloaded context v1.0.1 [INFO] [stderr] Downloaded backtrace-sys v0.1.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5191f27e2ca76c7b2ff83d6b36734f15a1bc68a732337c070a70676a91cc12d [INFO] running `Command { std: "docker" "start" "-a" "f5191f27e2ca76c7b2ff83d6b36734f15a1bc68a732337c070a70676a91cc12d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5191f27e2ca76c7b2ff83d6b36734f15a1bc68a732337c070a70676a91cc12d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5191f27e2ca76c7b2ff83d6b36734f15a1bc68a732337c070a70676a91cc12d", kill_on_drop: false }` [INFO] [stdout] f5191f27e2ca76c7b2ff83d6b36734f15a1bc68a732337c070a70676a91cc12d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc3f0aabcfbaf8a2c0dc7c22ed899f4758da3ee443297fb60860308bd69e5549 [INFO] running `Command { std: "docker" "start" "-a" "bc3f0aabcfbaf8a2c0dc7c22ed899f4758da3ee443297fb60860308bd69e5549", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking stable_deref_trait v1.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking futures v0.1.23 [INFO] [stderr] Checking immut-send v0.0.1 (https://github.com/cheme/immut-send.git#e3197f3a) [INFO] [stderr] Checking rust-proto v0.1.0 (https://github.com/cheme/rust-proto.git#04df6d11) [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking smallvec v0.6.3 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking parking_lot v0.6.3 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Checking service-pre v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/eventloop/mod.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | fn register(&self, &P, Token, Ready) -> Result; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &P` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/eventloop/mod.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | fn register(&self, &P, Token, Ready) -> Result; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &P` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/eventloop/mod.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn register(&self, &P, Token, Ready) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Token` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/eventloop/mod.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn register(&self, &P, Token, Ready) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Token` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/eventloop/mod.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | fn register(&self, &P, Token, Ready) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Ready` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/eventloop/mod.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | fn register(&self, &P, Token, Ready) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Ready` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/eventloop/mod.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | fn reregister(&self, &P, Token, Ready) -> Result; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &P` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/eventloop/mod.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | fn reregister(&self, &P, Token, Ready) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Token` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/eventloop/mod.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | fn reregister(&self, &P, Token, Ready) -> Result; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &P` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/eventloop/mod.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | fn reregister(&self, &P, Token, Ready) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Ready` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/eventloop/mod.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | fn reregister(&self, &P, Token, Ready) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Token` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/eventloop/mod.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | fn with_capacity(usize) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/eventloop/mod.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | fn reregister(&self, &P, Token, Ready) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Ready` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/channels/mod.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | fn send_with_handle(&mut self, C) -> Result>; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: C` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/eventloop/mod.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | fn with_capacity(usize) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | Option<::CommandIn>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Option<::CommandIn>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/channels/mod.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | fn send_with_handle(&mut self, C) -> Result>; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: C` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | Option<::CommandIn>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Option<::CommandIn>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | fn get_weak_send(&Self::Send) -> Option; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:230:22 [INFO] [stdout] | [INFO] [stdout] 230 | fn send(&mut self, Command) -> Result<()>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Command` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | fn get_weak_send(&Self::Send) -> Option; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:230:22 [INFO] [stdout] | [INFO] [stdout] 230 | fn send(&mut self, Command) -> Result<()>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Command` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / error_chain! { [INFO] [stdout] 21 | | // standard types [INFO] [stdout] 22 | | types { [INFO] [stdout] 23 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | description(::std::error::Error::description(err)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / error_chain! { [INFO] [stdout] 21 | | // standard types [INFO] [stdout] 22 | | types { [INFO] [stdout] 23 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | description(::std::error::Error::description(err)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/channels/mod.rs:102:32 [INFO] [stdout] | [INFO] [stdout] 102 | fn test_trait_item1(_i: 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | fn test_trait_item1(_i: Box>) {} [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/channels/mod.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | fn test_trait_item2(_i: &SpawnSendWithHandle) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 | fn test_trait_item2(_i: &dyn SpawnSendWithHandle) {} [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / error_chain! { [INFO] [stdout] 21 | | // standard types [INFO] [stdout] 22 | | types { [INFO] [stdout] 23 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / error_chain! { [INFO] [stdout] 21 | | // standard types [INFO] [stdout] 22 | | types { [INFO] [stdout] 23 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `th_join` is never read [INFO] [stdout] --> src/spawn/threadblock.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ThreadHandleBlock { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 45 | return_state: Arc)>>>, [INFO] [stdout] 46 | th_join: JoinHandle>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `th_join` is never read [INFO] [stdout] --> src/spawn/threadpark.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ThreadHandlePark { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 60 | return_state: Arc)>>>, [INFO] [stdout] 61 | th_join: JoinHandle>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `th_join` is never read [INFO] [stdout] --> src/spawn/threadpark.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ThreadHandleParkRef { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 67 | return_state: Arc)>>>, [INFO] [stdout] 68 | th_join: JoinHandle>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/spawn/restart.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | replace(self, rs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 128 | let _ = replace(self, rs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `th_join` is never read [INFO] [stdout] --> src/spawn/threadblock.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ThreadHandleBlock { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 45 | return_state: Arc)>>>, [INFO] [stdout] 46 | th_join: JoinHandle>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `th_join` is never read [INFO] [stdout] --> src/spawn/threadpark.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ThreadHandlePark { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 60 | return_state: Arc)>>>, [INFO] [stdout] 61 | th_join: JoinHandle>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `th_join` is never read [INFO] [stdout] --> src/spawn/threadpark.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ThreadHandleParkRef { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 67 | return_state: Arc)>>>, [INFO] [stdout] 68 | th_join: JoinHandle>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_trait_item1` is never used [INFO] [stdout] --> src/channels/mod.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn test_trait_item1(_i: Box>) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_trait_item2` is never used [INFO] [stdout] --> src/channels/mod.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn test_trait_item2(_i: &SpawnSendWithHandle) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/spawn/restart.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | replace(self, rs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 128 | let _ = replace(self, rs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "bc3f0aabcfbaf8a2c0dc7c22ed899f4758da3ee443297fb60860308bd69e5549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc3f0aabcfbaf8a2c0dc7c22ed899f4758da3ee443297fb60860308bd69e5549", kill_on_drop: false }` [INFO] [stdout] bc3f0aabcfbaf8a2c0dc7c22ed899f4758da3ee443297fb60860308bd69e5549