[INFO] fetching crate irc-bot 0.2.1... [INFO] testing irc-bot-0.2.1 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate irc-bot 0.2.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate irc-bot 0.2.1 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate irc-bot 0.2.1 [INFO] finished tweaking crates.io crate irc-bot 0.2.1 [INFO] tweaked toml for crates.io crate irc-bot 0.2.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot v0.5.5 [INFO] [stderr] Downloaded crossbeam-epoch v0.4.3 [INFO] [stderr] Downloaded get-trait v0.1.0 [INFO] [stderr] Downloaded foreman v0.4.0 [INFO] [stderr] Downloaded crossbeam-utils v0.4.1 [INFO] [stderr] Downloaded len-trait v0.6.1 [INFO] [stderr] Downloaded crossbeam-utils v0.3.2 [INFO] [stderr] Downloaded crossbeam-channel v0.1.3 [INFO] [stderr] Downloaded rando v0.2.0 [INFO] [stderr] Downloaded iter-trait v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64783e73bf1b797fcea546e967a8ab764d64e202a533cea7a08b217fcdd55c57 [INFO] running `Command { std: "docker" "start" "-a" "64783e73bf1b797fcea546e967a8ab764d64e202a533cea7a08b217fcdd55c57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64783e73bf1b797fcea546e967a8ab764d64e202a533cea7a08b217fcdd55c57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64783e73bf1b797fcea546e967a8ab764d64e202a533cea7a08b217fcdd55c57", kill_on_drop: false }` [INFO] [stdout] 64783e73bf1b797fcea546e967a8ab764d64e202a533cea7a08b217fcdd55c57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef8b19e48d94c25c7a2a55179ac6429edb66b83b436043c9c2b36a86b8ec811f [INFO] running `Command { std: "docker" "start" "-a" "ef8b19e48d94c25c7a2a55179ac6429edb66b83b436043c9c2b36a86b8ec811f", kill_on_drop: false }` [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling strum v0.8.0 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.3.2 [INFO] [stderr] Compiling iter-trait v0.3.1 [INFO] [stderr] Compiling len-trait v0.6.1 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling get-trait v0.1.0 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling parking_lot v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.4.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.1.3 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-mockstream v1.1.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling rando v0.2.0 [INFO] [stderr] Compiling strum_macros v0.8.0 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling foreman v0.4.0 [INFO] [stderr] Compiling irc-bot v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] warning: Error running `git describe`: fatal: not a git repository (or any parent up to mount point /opt/rustwide) [INFO] [stderr] Compiling irc v0.13.6 [INFO] [stdout] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(unused_doc_comment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct FmtAny<'a>(pub(crate) &'a Any); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/core/bot_cmd.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) handler: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BotCmdHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/err.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | payload: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/err.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | Any(inner: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/core/handler.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | fn run(&self, Error) -> ErrorReaction; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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/core/handler.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | fn run(&self, &State, &MsgMetadata, &Yaml) -> BotCmdResult; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &State` [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/core/handler.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | fn run(&self, &State, &MsgMetadata, &Yaml) -> BotCmdResult; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &MsgMetadata` [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/core/handler.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | fn run(&self, &State, &MsgMetadata, &Yaml) -> BotCmdResult; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Yaml` [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/core/handler.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(&self, &State, &MsgMetadata, Captures) -> BotCmdResult; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &State` [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/core/handler.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(&self, &State, &MsgMetadata, Captures) -> BotCmdResult; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &MsgMetadata` [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/core/handler.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(&self, &State, &MsgMetadata, Captures) -> BotCmdResult; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Captures` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/modl_sys.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BotCmdHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/modl_sys.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TriggerHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/modl_sys.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | handler: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BotCmdHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/modl_sys.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | handler: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TriggerHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/trigger.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | pub(super) handler: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TriggerHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/mod.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | error_handler: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn ErrorHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/yaml.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stdout] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [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` (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/util/yaml.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stdout] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (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/core/err.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | Io(io::Error); [INFO] [stdout] 15 | | [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/core/irc_comm.rs:295:31 [INFO] [stdout] | [INFO] [stdout] 295 | input_msg.to_string().trim_right_matches("\r\n") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/core/irc_msgs.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | text.trim_left_matches(nick) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/core/irc_msgs.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | .trim_left_matches(|c: char| [':', ','].contains(&c)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/util/yaml.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stdout] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (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::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/core/err.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | Io(io::Error); [INFO] [stdout] 15 | | [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TemporaryTrigger` [INFO] [stdout] --> src/core/trigger.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | pub(super) struct TemporaryTrigger { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.73s [INFO] running `Command { std: "docker" "inspect" "ef8b19e48d94c25c7a2a55179ac6429edb66b83b436043c9c2b36a86b8ec811f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef8b19e48d94c25c7a2a55179ac6429edb66b83b436043c9c2b36a86b8ec811f", kill_on_drop: false }` [INFO] [stdout] ef8b19e48d94c25c7a2a55179ac6429edb66b83b436043c9c2b36a86b8ec811f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21138269f7eddc5dfbcb48ec0ddd3408c240ceca1314a287e22992e82759762a [INFO] running `Command { std: "docker" "start" "-a" "21138269f7eddc5dfbcb48ec0ddd3408c240ceca1314a287e22992e82759762a", kill_on_drop: false }` [INFO] [stderr] warning: Error running `git describe`: fatal: not a git repository (or any parent up to mount point /opt/rustwide) [INFO] [stdout] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(unused_doc_comment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct FmtAny<'a>(pub(crate) &'a Any); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/core/bot_cmd.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) handler: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BotCmdHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/err.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | payload: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/err.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | Any(inner: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/core/handler.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | fn run(&self, Error) -> ErrorReaction; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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/core/handler.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | fn run(&self, &State, &MsgMetadata, &Yaml) -> BotCmdResult; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &State` [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/core/handler.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | fn run(&self, &State, &MsgMetadata, &Yaml) -> BotCmdResult; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &MsgMetadata` [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/core/handler.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | fn run(&self, &State, &MsgMetadata, &Yaml) -> BotCmdResult; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Yaml` [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/core/handler.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(&self, &State, &MsgMetadata, Captures) -> BotCmdResult; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &State` [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/core/handler.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(&self, &State, &MsgMetadata, Captures) -> BotCmdResult; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &MsgMetadata` [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/core/handler.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(&self, &State, &MsgMetadata, Captures) -> BotCmdResult; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Captures` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/modl_sys.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BotCmdHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/modl_sys.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TriggerHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/modl_sys.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | handler: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BotCmdHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/modl_sys.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | handler: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TriggerHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/trigger.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | pub(super) handler: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TriggerHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/mod.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | error_handler: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn ErrorHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/yaml.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stdout] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [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` (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/util/yaml.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stdout] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (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/core/err.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | Io(io::Error); [INFO] [stdout] 15 | | [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/core/irc_comm.rs:295:31 [INFO] [stdout] | [INFO] [stdout] 295 | input_msg.to_string().trim_right_matches("\r\n") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/core/irc_msgs.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | text.trim_left_matches(nick) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/core/irc_msgs.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | .trim_left_matches(|c: char| [':', ','].contains(&c)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/util/yaml.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stdout] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling irc-bot v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/core/err.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | Io(io::Error); [INFO] [stdout] 15 | | [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TemporaryTrigger` [INFO] [stdout] --> src/core/trigger.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | pub(super) struct TemporaryTrigger { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(unused_doc_comment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct FmtAny<'a>(pub(crate) &'a Any); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |___- in this macro invocation [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: this warning originates in the macro `impl_fmt` (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/core/bot_cmd.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) handler: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BotCmdHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/err.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | payload: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/err.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | Any(inner: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/core/handler.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | fn run(&self, Error) -> ErrorReaction; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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/core/handler.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | fn run(&self, &State, &MsgMetadata, &Yaml) -> BotCmdResult; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &State` [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/core/handler.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | fn run(&self, &State, &MsgMetadata, &Yaml) -> BotCmdResult; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &MsgMetadata` [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/core/handler.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | fn run(&self, &State, &MsgMetadata, &Yaml) -> BotCmdResult; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Yaml` [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/core/handler.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(&self, &State, &MsgMetadata, Captures) -> BotCmdResult; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &State` [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/core/handler.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(&self, &State, &MsgMetadata, Captures) -> BotCmdResult; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &MsgMetadata` [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/core/handler.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(&self, &State, &MsgMetadata, Captures) -> BotCmdResult; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Captures` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/modl_sys.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BotCmdHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/modl_sys.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TriggerHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/modl_sys.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | handler: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BotCmdHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/modl_sys.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | handler: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TriggerHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/trigger.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | pub(super) handler: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TriggerHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/mod.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | error_handler: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn ErrorHandler` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/yaml.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stdout] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [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` (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/util/yaml.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stdout] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (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/core/err.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | Io(io::Error); [INFO] [stdout] 15 | | [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/core/irc_comm.rs:295:31 [INFO] [stdout] | [INFO] [stdout] 295 | input_msg.to_string().trim_right_matches("\r\n") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/core/irc_msgs.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | text.trim_left_matches(nick) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/core/irc_msgs.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | .trim_left_matches(|c: char| [':', ','].contains(&c)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/util/yaml.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stdout] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (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::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/core/err.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | Io(io::Error); [INFO] [stdout] 15 | | [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TemporaryTrigger` [INFO] [stdout] --> src/core/trigger.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | pub(super) struct TemporaryTrigger { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.04s [INFO] running `Command { std: "docker" "inspect" "21138269f7eddc5dfbcb48ec0ddd3408c240ceca1314a287e22992e82759762a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21138269f7eddc5dfbcb48ec0ddd3408c240ceca1314a287e22992e82759762a", kill_on_drop: false }` [INFO] [stdout] 21138269f7eddc5dfbcb48ec0ddd3408c240ceca1314a287e22992e82759762a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 721d8d8a7dff0551850da048d8af06e5f5347cb966a85e959e7084ce8529f7ca [INFO] running `Command { std: "docker" "start" "-a" "721d8d8a7dff0551850da048d8af06e5f5347cb966a85e959e7084ce8529f7ca", kill_on_drop: false }` [INFO] [stderr] warning: Error running `git describe`: fatal: not a git repository (or any parent up to mount point /opt/rustwide) [INFO] [stderr] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stderr] --> src/lib.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #![allow(unused_doc_comment)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util/fmt.rs:6:45 [INFO] [stderr] | [INFO] [stderr] 6 | pub(crate) struct FmtAny<'a>(pub(crate) &'a Any); [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [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] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util/fmt.rs:14:32 [INFO] [stderr] | [INFO] [stderr] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stderr] ... [INFO] [stderr] 29 | / impl_fmt!(fmt::Display { [INFO] [stderr] 30 | | &str; [INFO] [stderr] 31 | | String; [INFO] [stderr] 32 | | Cow<'static, str>; [INFO] [stderr] 33 | | core::Error; [INFO] [stderr] 34 | | }); [INFO] [stderr] | |___- in this macro invocation [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] = note: this warning originates in the macro `impl_fmt` (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] --> src/util/fmt.rs:14:32 [INFO] [stderr] | [INFO] [stderr] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn $trait` [INFO] [stderr] ... [INFO] [stderr] 36 | / impl_fmt!(fmt::Debug { [INFO] [stderr] 37 | | &str; [INFO] [stderr] 38 | | String; [INFO] [stderr] 39 | | Cow<'static, str>; [INFO] [stderr] 40 | | core::Error; [INFO] [stderr] 41 | | }); [INFO] [stderr] | |___- in this macro invocation [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] = note: this warning originates in the macro `impl_fmt` (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] --> src/core/bot_cmd.rs:18:29 [INFO] [stderr] | [INFO] [stderr] 18 | pub(super) handler: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BotCmdHandler` [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] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/err.rs:69:26 [INFO] [stderr] | [INFO] [stderr] 69 | payload: Box [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [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] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/err.rs:96:24 [INFO] [stderr] | [INFO] [stderr] 96 | Any(inner: Box) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [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] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/core/handler.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | fn run(&self, Error) -> ErrorReaction; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/core/handler.rs:29:19 [INFO] [stderr] | [INFO] [stderr] 29 | fn run(&self, &State, &MsgMetadata, &Yaml) -> BotCmdResult; [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &State` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/core/handler.rs:29:27 [INFO] [stderr] | [INFO] [stderr] 29 | fn run(&self, &State, &MsgMetadata, &Yaml) -> BotCmdResult; [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &MsgMetadata` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/core/handler.rs:29:41 [INFO] [stderr] | [INFO] [stderr] 29 | fn run(&self, &State, &MsgMetadata, &Yaml) -> BotCmdResult; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Yaml` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/core/handler.rs:43:19 [INFO] [stderr] | [INFO] [stderr] 43 | fn run(&self, &State, &MsgMetadata, Captures) -> BotCmdResult; [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &State` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/core/handler.rs:43:27 [INFO] [stderr] | [INFO] [stderr] 43 | fn run(&self, &State, &MsgMetadata, Captures) -> BotCmdResult; [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &MsgMetadata` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/core/handler.rs:43:41 [INFO] [stderr] | [INFO] [stderr] 43 | fn run(&self, &State, &MsgMetadata, Captures) -> BotCmdResult; [INFO] [stderr] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Captures` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/modl_sys.rs:75:22 [INFO] [stderr] | [INFO] [stderr] 75 | handler: Box, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BotCmdHandler` [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] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/modl_sys.rs:123:22 [INFO] [stderr] | [INFO] [stderr] 123 | handler: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TriggerHandler` [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] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/modl_sys.rs:181:22 [INFO] [stderr] | [INFO] [stderr] 181 | handler: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BotCmdHandler` [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] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/modl_sys.rs:187:22 [INFO] [stderr] | [INFO] [stderr] 187 | handler: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TriggerHandler` [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] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/trigger.rs:23:29 [INFO] [stderr] | [INFO] [stderr] 23 | pub(super) handler: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TriggerHandler` [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] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/mod.rs:75:24 [INFO] [stderr] | [INFO] [stderr] 75 | error_handler: Arc, [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn ErrorHandler` [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] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/util/yaml.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / error_chain! { [INFO] [stderr] 10 | | foreign_links { [INFO] [stderr] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stderr] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stderr] ... | [INFO] [stderr] 45 | | } [INFO] [stderr] 46 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (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/util/yaml.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / error_chain! { [INFO] [stderr] 10 | | foreign_links { [INFO] [stderr] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stderr] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stderr] ... | [INFO] [stderr] 45 | | } [INFO] [stderr] 46 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (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/core/err.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / error_chain! { [INFO] [stderr] 13 | | foreign_links { [INFO] [stderr] 14 | | Io(io::Error); [INFO] [stderr] 15 | | [INFO] [stderr] ... | [INFO] [stderr] 106 | | } [INFO] [stderr] 107 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/core/irc_comm.rs:295:31 [INFO] [stderr] | [INFO] [stderr] 295 | input_msg.to_string().trim_right_matches("\r\n") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/core/irc_msgs.rs:58:18 [INFO] [stderr] | [INFO] [stderr] 58 | text.trim_left_matches(nick) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/core/irc_msgs.rs:59:18 [INFO] [stderr] | [INFO] [stderr] 59 | .trim_left_matches(|c: char| [':', ','].contains(&c)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/util/yaml.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / error_chain! { [INFO] [stderr] 10 | | foreign_links { [INFO] [stderr] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stderr] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stderr] ... | [INFO] [stderr] 45 | | } [INFO] [stderr] 46 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/core/err.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / error_chain! { [INFO] [stderr] 13 | | foreign_links { [INFO] [stderr] 14 | | Io(io::Error); [INFO] [stderr] 15 | | [INFO] [stderr] ... | [INFO] [stderr] 106 | | } [INFO] [stderr] 107 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `TemporaryTrigger` [INFO] [stderr] --> src/core/trigger.rs:28:19 [INFO] [stderr] | [INFO] [stderr] 28 | pub(super) struct TemporaryTrigger { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `irc-bot` (lib) generated 35 warnings (6 duplicates) [INFO] [stderr] warning: `irc-bot` (lib test) generated 35 warnings (35 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/irc_bot-12dc48b6fcb35cbe) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/egbot-a543a4e4d28af178) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests irc-bot [INFO] [stderr] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #![allow(unused_doc_comment)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "721d8d8a7dff0551850da048d8af06e5f5347cb966a85e959e7084ce8529f7ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "721d8d8a7dff0551850da048d8af06e5f5347cb966a85e959e7084ce8529f7ca", kill_on_drop: false }` [INFO] [stdout] 721d8d8a7dff0551850da048d8af06e5f5347cb966a85e959e7084ce8529f7ca