[INFO] fetching crate irc-bot 0.2.1... [INFO] testing irc-bot-0.2.1 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate irc-bot 0.2.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate irc-bot 0.2.1 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-utils v0.4.1 [INFO] [stderr] Downloaded crossbeam-utils v0.3.2 [INFO] [stderr] Downloaded crossbeam-channel v0.1.3 [INFO] [stderr] Downloaded crossbeam-epoch v0.4.3 [INFO] [stderr] Downloaded iter-trait v0.3.1 [INFO] [stderr] Downloaded foreman v0.4.0 [INFO] [stderr] Downloaded get-trait v0.1.0 [INFO] [stderr] Downloaded len-trait v0.6.1 [INFO] [stderr] Downloaded rando v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9766c14c944d0f6ec073682ae3487dc4583fa8ac3a71a9ffe185930c3f8588d0 [INFO] running `Command { std: "docker" "start" "-a" "9766c14c944d0f6ec073682ae3487dc4583fa8ac3a71a9ffe185930c3f8588d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9766c14c944d0f6ec073682ae3487dc4583fa8ac3a71a9ffe185930c3f8588d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9766c14c944d0f6ec073682ae3487dc4583fa8ac3a71a9ffe185930c3f8588d0", kill_on_drop: false }` [INFO] [stdout] 9766c14c944d0f6ec073682ae3487dc4583fa8ac3a71a9ffe185930c3f8588d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79376a6a1226b16ca4c8937cb15a286894a657ce33e24cdd6efe8ea0b2ae1d74 [INFO] running `Command { std: "docker" "start" "-a" "79376a6a1226b16ca4c8937cb15a286894a657ce33e24cdd6efe8ea0b2ae1d74", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling strum v0.8.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.3.2 [INFO] [stderr] Compiling thread_local v0.3.6 [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 object v0.27.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling get-trait v0.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling crossbeam-epoch v0.4.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-mockstream v1.1.0 [INFO] [stderr] Compiling parking_lot v0.5.5 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rando v0.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.1.3 [INFO] [stderr] Compiling strum_macros v0.8.0 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling tokio-tls v0.2.1 [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] 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: 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: 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/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: 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] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub(crate) struct FmtAny<'a>(pub(crate) &'a Any); [INFO] [stdout] 6 + pub(crate) struct FmtAny<'a>(pub(crate) &'a dyn Any); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - pub(super) handler: Arc, [INFO] [stdout] 18 + pub(super) handler: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 181 - handler: Arc, [INFO] [stdout] 181 + handler: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 - handler: Arc, [INFO] [stdout] 187 + handler: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - pub(super) handler: Arc, [INFO] [stdout] 23 + pub(super) handler: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - error_handler: Arc, [INFO] [stdout] 75 + error_handler: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - payload: Box [INFO] [stdout] 69 + payload: Box [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 - Any(inner: Box) { [INFO] [stdout] 96 + Any(inner: Box) { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - handler: Box, [INFO] [stdout] 75 + handler: Box, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - handler: Box, [INFO] [stdout] 123 + handler: Box, [INFO] [stdout] | [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: 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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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: field is never read: `id` [INFO] [stdout] --> src/core/mod.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | id: ServerId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/mod.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `realname` [INFO] [stdout] --> src/core/config.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) realname: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/config.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.70s [INFO] running `Command { std: "docker" "inspect" "79376a6a1226b16ca4c8937cb15a286894a657ce33e24cdd6efe8ea0b2ae1d74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79376a6a1226b16ca4c8937cb15a286894a657ce33e24cdd6efe8ea0b2ae1d74", kill_on_drop: false }` [INFO] [stdout] 79376a6a1226b16ca4c8937cb15a286894a657ce33e24cdd6efe8ea0b2ae1d74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc72c4a3bea88172bb4386be60a3b8f84bf3087d611887877108d948cd8c353b [INFO] running `Command { std: "docker" "start" "-a" "dc72c4a3bea88172bb4386be60a3b8f84bf3087d611887877108d948cd8c353b", 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: 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: 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/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: 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] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub(crate) struct FmtAny<'a>(pub(crate) &'a Any); [INFO] [stdout] 6 + pub(crate) struct FmtAny<'a>(pub(crate) &'a dyn Any); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - pub(super) handler: Arc, [INFO] [stdout] 18 + pub(super) handler: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 181 - handler: Arc, [INFO] [stdout] 181 + handler: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 - handler: Arc, [INFO] [stdout] 187 + handler: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - pub(super) handler: Arc, [INFO] [stdout] 23 + pub(super) handler: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - error_handler: Arc, [INFO] [stdout] 75 + error_handler: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - payload: Box [INFO] [stdout] 69 + payload: Box [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 - Any(inner: Box) { [INFO] [stdout] 96 + Any(inner: Box) { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - handler: Box, [INFO] [stdout] 75 + handler: Box, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - handler: Box, [INFO] [stdout] 123 + handler: Box, [INFO] [stdout] | [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: 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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] [stderr] Compiling irc-bot v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/core/mod.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | id: ServerId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/mod.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `realname` [INFO] [stdout] --> src/core/config.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) realname: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/config.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] [INFO] [stdout] warning: 36 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: 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: 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/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: 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] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub(crate) struct FmtAny<'a>(pub(crate) &'a Any); [INFO] [stdout] 6 + pub(crate) struct FmtAny<'a>(pub(crate) &'a dyn Any); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - pub(super) handler: Arc, [INFO] [stdout] 18 + pub(super) handler: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 181 - handler: Arc, [INFO] [stdout] 181 + handler: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 - handler: Arc, [INFO] [stdout] 187 + handler: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - pub(super) handler: Arc, [INFO] [stdout] 23 + pub(super) handler: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - error_handler: Arc, [INFO] [stdout] 75 + error_handler: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - payload: Box [INFO] [stdout] 69 + payload: Box [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 - Any(inner: Box) { [INFO] [stdout] 96 + Any(inner: Box) { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - handler: Box, [INFO] [stdout] 75 + handler: Box, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - handler: Box, [INFO] [stdout] 123 + handler: Box, [INFO] [stdout] | [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: 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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | [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: field is never read: `id` [INFO] [stdout] --> src/core/mod.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | id: ServerId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/mod.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `realname` [INFO] [stdout] --> src/core/config.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) realname: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/config.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.11s [INFO] running `Command { std: "docker" "inspect" "dc72c4a3bea88172bb4386be60a3b8f84bf3087d611887877108d948cd8c353b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc72c4a3bea88172bb4386be60a3b8f84bf3087d611887877108d948cd8c353b", kill_on_drop: false }` [INFO] [stdout] dc72c4a3bea88172bb4386be60a3b8f84bf3087d611887877108d948cd8c353b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b6338076712fb7aa44ffa319fadcf861418c108d347d579c7f86293b27517632 [INFO] running `Command { std: "docker" "start" "-a" "b6338076712fb7aa44ffa319fadcf861418c108d347d579c7f86293b27517632", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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: 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: 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/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: 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] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - pub(crate) struct FmtAny<'a>(pub(crate) &'a Any); [INFO] [stderr] 6 + pub(crate) struct FmtAny<'a>(pub(crate) &'a dyn Any); [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 18 - pub(super) handler: Arc, [INFO] [stderr] 18 + pub(super) handler: Arc, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 181 - handler: Arc, [INFO] [stderr] 181 + handler: Arc, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 187 - handler: Arc, [INFO] [stderr] 187 + handler: Arc, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 23 - pub(super) handler: Arc, [INFO] [stderr] 23 + pub(super) handler: Arc, [INFO] [stderr] | [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] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 75 - error_handler: Arc, [INFO] [stderr] 75 + error_handler: Arc, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 69 - payload: Box [INFO] [stderr] 69 + payload: Box [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 96 - Any(inner: Box) { [INFO] [stderr] 96 + Any(inner: Box) { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 75 - handler: Box, [INFO] [stderr] 75 + handler: Box, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 123 - handler: Box, [INFO] [stderr] 123 + handler: Box, [INFO] [stderr] | [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: 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] | ^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stderr] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stderr] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 - Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stderr] 14 + Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stderr] | [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: field is never read: `id` [INFO] [stderr] --> src/core/mod.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | id: ServerId, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/mod.rs:85:10 [INFO] [stderr] | [INFO] [stderr] 85 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `realname` [INFO] [stderr] --> src/core/config.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | pub(crate) realname: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/config.rs:34:10 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 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] warning: `irc-bot` (lib) generated 36 warnings (6 duplicates) [INFO] [stderr] warning: `irc-bot` (lib test) generated 36 warnings (36 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.64s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/irc_bot-e6884b8b567b214b) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/egbot-8e2034961172aee3) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests irc-bot [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] [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] 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" "b6338076712fb7aa44ffa319fadcf861418c108d347d579c7f86293b27517632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6338076712fb7aa44ffa319fadcf861418c108d347d579c7f86293b27517632", kill_on_drop: false }` [INFO] [stdout] b6338076712fb7aa44ffa319fadcf861418c108d347d579c7f86293b27517632