[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 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcheme%2Fservice-pre" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cheme/service-pre on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-1-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Downloading crates ... [INFO] [stderr] Downloaded parking_lot_core v0.2.14 [INFO] [stderr] Downloaded smallvec v0.6.3 [INFO] [stderr] Downloaded lock_api v0.1.3 [INFO] [stderr] Downloaded coroutine v0.8.0 [INFO] [stderr] Downloaded stable_deref_trait v1.1.0 [INFO] [stderr] Downloaded gcc v0.3.54 [INFO] [stderr] Downloaded cc v1.0.18 [INFO] [stderr] Downloaded futures v0.1.23 [INFO] [stderr] Downloaded backtrace-sys v0.1.23 [INFO] [stderr] Downloaded parking_lot v0.6.3 [INFO] [stderr] Downloaded owning_ref v0.3.3 [INFO] [stderr] Downloaded context v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50a1f5e3c5bd41a68ec58b4d34f530ed9e35f9a3c24cef52312cd2b25446bab9 [INFO] running `Command { std: "docker" "start" "-a" "50a1f5e3c5bd41a68ec58b4d34f530ed9e35f9a3c24cef52312cd2b25446bab9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50a1f5e3c5bd41a68ec58b4d34f530ed9e35f9a3c24cef52312cd2b25446bab9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50a1f5e3c5bd41a68ec58b4d34f530ed9e35f9a3c24cef52312cd2b25446bab9", kill_on_drop: false }` [INFO] [stdout] 50a1f5e3c5bd41a68ec58b4d34f530ed9e35f9a3c24cef52312cd2b25446bab9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 411090d95d59a7919bac88b336ce8d6b7c24c78b3ef80710a596e5a950188a94 [INFO] running `Command { std: "docker" "start" "-a" "411090d95d59a7919bac88b336ce8d6b7c24c78b3ef80710a596e5a950188a94", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking stable_deref_trait v1.1.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking futures v0.1.23 [INFO] [stderr] Checking smallvec v0.6.3 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking rust-proto v0.1.0 (https://github.com/cheme/rust-proto.git#04df6d11) [INFO] [stderr] Checking immut-send v0.0.1 (https://github.com/cheme/immut-send.git#e3197f3a) [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Checking log v0.3.9 [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: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: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: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: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/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/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: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: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: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/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: 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 6.06s [INFO] running `Command { std: "docker" "inspect" "411090d95d59a7919bac88b336ce8d6b7c24c78b3ef80710a596e5a950188a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "411090d95d59a7919bac88b336ce8d6b7c24c78b3ef80710a596e5a950188a94", kill_on_drop: false }` [INFO] [stdout] 411090d95d59a7919bac88b336ce8d6b7c24c78b3ef80710a596e5a950188a94 [INFO] checking cheme/service-pre against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcheme%2Fservice-pre" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cheme/service-pre on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-1-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c3ce77d895f438dd2add867864665a259bb075642bf7e527ce30a53e61c2f41 [INFO] running `Command { std: "docker" "start" "-a" "8c3ce77d895f438dd2add867864665a259bb075642bf7e527ce30a53e61c2f41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c3ce77d895f438dd2add867864665a259bb075642bf7e527ce30a53e61c2f41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c3ce77d895f438dd2add867864665a259bb075642bf7e527ce30a53e61c2f41", kill_on_drop: false }` [INFO] [stdout] 8c3ce77d895f438dd2add867864665a259bb075642bf7e527ce30a53e61c2f41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dee2b390eb90466cf65e7dfa7099dbd0d9a71760d2dd8cb0921984e306900fe [INFO] running `Command { std: "docker" "start" "-a" "0dee2b390eb90466cf65e7dfa7099dbd0d9a71760d2dd8cb0921984e306900fe", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking stable_deref_trait v1.1.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking smallvec v0.6.3 [INFO] [stderr] Checking futures v0.1.23 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking rust-proto v0.1.0 (https://github.com/cheme/rust-proto.git#04df6d11) [INFO] [stderr] Checking immut-send v0.0.1 (https://github.com/cheme/immut-send.git#e3197f3a) [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [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: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: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: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: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/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: 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: 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: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: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: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/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: 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: 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: 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: 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 6.22s [INFO] running `Command { std: "docker" "inspect" "0dee2b390eb90466cf65e7dfa7099dbd0d9a71760d2dd8cb0921984e306900fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dee2b390eb90466cf65e7dfa7099dbd0d9a71760d2dd8cb0921984e306900fe", kill_on_drop: false }` [INFO] [stdout] 0dee2b390eb90466cf65e7dfa7099dbd0d9a71760d2dd8cb0921984e306900fe