[INFO] fetching crate irc-bot 0.2.1... [INFO] testing irc-bot-0.2.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate irc-bot 0.2.1 into /workspace/builds/worker-6-tc2/source [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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate irc-bot 0.2.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 201 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.48) [INFO] [stderr] Adding crossbeam-channel v0.1.3 (available: v0.5.15) [INFO] [stderr] Adding crossbeam-utils v0.4.1 (available: v0.8.21) [INFO] [stderr] Adding env_logger v0.4.3 (available: v0.11.8) [INFO] [stderr] Adding error-chain v0.11.0 (available: v0.12.4) [INFO] [stderr] Adding foreman v0.4.0 (available: v1.6.3) [INFO] [stderr] Adding irc v0.13.6 (available: v1.1.0) [INFO] [stderr] Adding itertools v0.7.11 (available: v0.14.0) [INFO] [stderr] Adding rand v0.5.6 (available: v0.9.2) [INFO] [stderr] Adding serde_yaml v0.7.5 (available: v0.9.34+deprecated) [INFO] [stderr] Adding smallvec v0.6.14 (available: v1.15.1) [INFO] [stderr] Adding uuid v0.6.5 (available: v1.18.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4daf4e73dbd991cd6ca2c292c3fbd5fcd1dc94e10cbdac0e0df1d3a0c2295a7a [INFO] running `Command { std: "docker" "start" "-a" "4daf4e73dbd991cd6ca2c292c3fbd5fcd1dc94e10cbdac0e0df1d3a0c2295a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4daf4e73dbd991cd6ca2c292c3fbd5fcd1dc94e10cbdac0e0df1d3a0c2295a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4daf4e73dbd991cd6ca2c292c3fbd5fcd1dc94e10cbdac0e0df1d3a0c2295a7a", kill_on_drop: false }` [INFO] [stdout] 4daf4e73dbd991cd6ca2c292c3fbd5fcd1dc94e10cbdac0e0df1d3a0c2295a7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a70ab97146ec61617b4f3f42005f45b9eaf680abc3e4182c63d394c89741bb9 [INFO] running `Command { std: "docker" "start" "-a" "5a70ab97146ec61617b4f3f42005f45b9eaf680abc3e4182c63d394c89741bb9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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 crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling strum v0.8.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling iter-trait v0.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.3.2 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.4.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling strum_macros v0.8.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tokio-mockstream v1.1.0 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling foreman v0.4.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling parking_lot v0.5.5 [INFO] [stderr] Compiling get-trait v0.1.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling len-trait v0.6.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling irc-bot v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] warning: irc-bot@0.2.1: Error running `git describe`: fatal: not a git repository (or any parent up to mount point /opt/rustwide) [INFO] [stderr] Compiling crossbeam-channel v0.1.3 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.4.1 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling rando v0.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-tls v0.2.1 [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/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: unexpected `cfg` condition value: `pircolate` [INFO] [stdout] --> src/core/irc_msgs.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "pircolate")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `pircolate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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] 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` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 | handler: Box, [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/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] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 295 - input_msg.to_string().trim_right_matches("\r\n") [INFO] [stdout] 295 + input_msg.to_string().trim_end_matches("\r\n") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 58 - text.trim_left_matches(nick) [INFO] [stdout] 58 + text.trim_start_matches(nick) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 59 - .trim_left_matches(|c: char| [':', ','].contains(&c)) [INFO] [stdout] 59 + .trim_start_matches(|c: char| [':', ','].contains(&c)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RwLockExt` is never used [INFO] [stdout] --> src/util/lock.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) trait RwLockExt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MutexExt` is never used [INFO] [stdout] --> src/util/lock.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) trait MutexExt { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/core/mod.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 87 | id: ServerId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `realname` is never read [INFO] [stdout] --> src/core/config.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Config { [INFO] [stdout] | ------ field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: struct `TemporaryTrigger` is never constructed [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn read_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn read_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | fn write_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | fn write_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | fn read_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn read_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | fn write_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | fn write_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | fn lock_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | fn lock_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | fn lock_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | fn lock_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/yaml.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) fn of(node: &Yaml) -> AugmentedTy { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) fn of(node: &Yaml) -> AugmentedTy<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/irc_msgs.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | pub(super) fn parse_prefix(prefix: &str) -> MsgPrefix { [INFO] [stdout] | ^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | pub(super) fn parse_prefix(prefix: &str) -> MsgPrefix<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/state.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 60 | _server_id: ServerId, [INFO] [stdout] 61 | ) -> Result> { [INFO] [stdout] | -------------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/state.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 69 | server_id: ServerId, [INFO] [stdout] 70 | ) -> Result>> { [INFO] [stdout] | ----------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | ) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/state.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn rng(&self) -> Result> { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | pub fn rng(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/trigger.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | fn read_regex(&self) -> Result> { [INFO] [stdout] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | fn read_regex(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.48s [INFO] running `Command { std: "docker" "inspect" "5a70ab97146ec61617b4f3f42005f45b9eaf680abc3e4182c63d394c89741bb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a70ab97146ec61617b4f3f42005f45b9eaf680abc3e4182c63d394c89741bb9", kill_on_drop: false }` [INFO] [stdout] 5a70ab97146ec61617b4f3f42005f45b9eaf680abc3e4182c63d394c89741bb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f5b0185a59a9284e96de30efcca501a199efa1741cfebd1cead6c88aa2eca54 [INFO] running `Command { std: "docker" "start" "-a" "1f5b0185a59a9284e96de30efcca501a199efa1741cfebd1cead6c88aa2eca54", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: irc-bot@0.2.1: 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/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: unexpected `cfg` condition value: `pircolate` [INFO] [stdout] --> src/core/irc_msgs.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "pircolate")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `pircolate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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] 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` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 | handler: Box, [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/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] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 295 - input_msg.to_string().trim_right_matches("\r\n") [INFO] [stdout] 295 + input_msg.to_string().trim_end_matches("\r\n") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 58 - text.trim_left_matches(nick) [INFO] [stdout] 58 + text.trim_start_matches(nick) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 59 - .trim_left_matches(|c: char| [':', ','].contains(&c)) [INFO] [stdout] 59 + .trim_start_matches(|c: char| [':', ','].contains(&c)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RwLockExt` is never used [INFO] [stdout] --> src/util/lock.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) trait RwLockExt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MutexExt` is never used [INFO] [stdout] --> src/util/lock.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) trait MutexExt { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/core/mod.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 87 | id: ServerId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `realname` is never read [INFO] [stdout] --> src/core/config.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Config { [INFO] [stdout] | ------ field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: struct `TemporaryTrigger` is never constructed [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn read_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn read_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | fn write_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | fn write_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | fn read_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn read_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | fn write_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | fn write_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | fn lock_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | fn lock_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling irc-bot v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | fn lock_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | fn lock_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/yaml.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) fn of(node: &Yaml) -> AugmentedTy { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) fn of(node: &Yaml) -> AugmentedTy<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/irc_msgs.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | pub(super) fn parse_prefix(prefix: &str) -> MsgPrefix { [INFO] [stdout] | ^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | pub(super) fn parse_prefix(prefix: &str) -> MsgPrefix<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/state.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 60 | _server_id: ServerId, [INFO] [stdout] 61 | ) -> Result> { [INFO] [stdout] | -------------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/state.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 69 | server_id: ServerId, [INFO] [stdout] 70 | ) -> Result>> { [INFO] [stdout] | ----------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | ) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/state.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn rng(&self) -> Result> { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | pub fn rng(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/trigger.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | fn read_regex(&self) -> Result> { [INFO] [stdout] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | fn read_regex(&self) -> Result> { [INFO] [stdout] | +++ [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/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: unexpected `cfg` condition value: `pircolate` [INFO] [stdout] --> src/core/irc_msgs.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "pircolate")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `pircolate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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] 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` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 | handler: Box, [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/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] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 295 - input_msg.to_string().trim_right_matches("\r\n") [INFO] [stdout] 295 + input_msg.to_string().trim_end_matches("\r\n") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 58 - text.trim_left_matches(nick) [INFO] [stdout] 58 + text.trim_start_matches(nick) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 59 - .trim_left_matches(|c: char| [':', ','].contains(&c)) [INFO] [stdout] 59 + .trim_start_matches(|c: char| [':', ','].contains(&c)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RwLockExt` is never used [INFO] [stdout] --> src/util/lock.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) trait RwLockExt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MutexExt` is never used [INFO] [stdout] --> src/util/lock.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) trait MutexExt { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/core/mod.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 87 | id: ServerId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `realname` is never read [INFO] [stdout] --> src/core/config.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Config { [INFO] [stdout] | ------ field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: struct `TemporaryTrigger` is never constructed [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn read_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn read_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | fn write_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | fn write_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | fn read_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn read_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | fn write_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | fn write_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | fn lock_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | fn lock_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/lock.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | fn lock_clean(&self, description: Desc) -> Result> [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | fn lock_clean(&self, description: Desc) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/yaml.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) fn of(node: &Yaml) -> AugmentedTy { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) fn of(node: &Yaml) -> AugmentedTy<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/irc_msgs.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | pub(super) fn parse_prefix(prefix: &str) -> MsgPrefix { [INFO] [stdout] | ^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | pub(super) fn parse_prefix(prefix: &str) -> MsgPrefix<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/state.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 60 | _server_id: ServerId, [INFO] [stdout] 61 | ) -> Result> { [INFO] [stdout] | -------------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/state.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 69 | server_id: ServerId, [INFO] [stdout] 70 | ) -> Result>> { [INFO] [stdout] | ----------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | ) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/state.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn rng(&self) -> Result> { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | pub fn rng(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/trigger.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | fn read_regex(&self) -> Result> { [INFO] [stdout] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | fn read_regex(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "1f5b0185a59a9284e96de30efcca501a199efa1741cfebd1cead6c88aa2eca54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f5b0185a59a9284e96de30efcca501a199efa1741cfebd1cead6c88aa2eca54", kill_on_drop: false }` [INFO] [stdout] 1f5b0185a59a9284e96de30efcca501a199efa1741cfebd1cead6c88aa2eca54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a08c95ff7e6181ed79e4e50bfaf9c50d4961d13fdc9c5e8a9a284e964044971e [INFO] running `Command { std: "docker" "start" "-a" "a08c95ff7e6181ed79e4e50bfaf9c50d4961d13fdc9c5e8a9a284e964044971e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: irc-bot@0.2.1: 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] = 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] = note: `#[warn(anonymous_parameters)]` 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: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: unexpected `cfg` condition value: `pircolate` [INFO] [stderr] --> src/core/irc_msgs.rs:27:7 [INFO] [stderr] | [INFO] [stderr] 27 | #[cfg(feature = "pircolate")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `pircolate` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `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] 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` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `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] ... | [INFO] [stderr] 107 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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] = 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: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 123 | handler: Box, [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] 29 | / impl_fmt!(fmt::Display { [INFO] [stderr] 30 | | &str; [INFO] [stderr] 31 | | String; [INFO] [stderr] 32 | | Cow<'static, str>; [INFO] [stderr] 33 | | core::Error; [INFO] [stderr] 34 | | }); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util/fmt.rs:14:32 [INFO] [stderr] | [INFO] [stderr] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | / impl_fmt!(fmt::Debug { [INFO] [stderr] 37 | | &str; [INFO] [stderr] 38 | | String; [INFO] [stderr] 39 | | Cow<'static, str>; [INFO] [stderr] 40 | | core::Error; [INFO] [stderr] 41 | | }); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `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] 46 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `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] ... | [INFO] [stderr] 107 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 295 - input_msg.to_string().trim_right_matches("\r\n") [INFO] [stderr] 295 + input_msg.to_string().trim_end_matches("\r\n") [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 58 - text.trim_left_matches(nick) [INFO] [stderr] 58 + text.trim_start_matches(nick) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 59 - .trim_left_matches(|c: char| [':', ','].contains(&c)) [INFO] [stderr] 59 + .trim_start_matches(|c: char| [':', ','].contains(&c)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait `RwLockExt` is never used [INFO] [stderr] --> src/util/lock.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | pub(crate) trait RwLockExt { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `MutexExt` is never used [INFO] [stderr] --> src/util/lock.rs:47:18 [INFO] [stderr] | [INFO] [stderr] 47 | pub(crate) trait MutexExt { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/core/mod.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 86 | struct Server { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 87 | id: ServerId, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `realname` is never read [INFO] [stderr] --> src/core/config.rs:40:16 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct Config { [INFO] [stderr] | ------ field in this struct [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] [INFO] [stderr] warning: struct `TemporaryTrigger` is never constructed [INFO] [stderr] --> src/core/trigger.rs:28:19 [INFO] [stderr] | [INFO] [stderr] 28 | pub(super) struct TemporaryTrigger { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/util/lock.rs:16:25 [INFO] [stderr] | [INFO] [stderr] 16 | fn read_clean(&self, description: Desc) -> Result> [INFO] [stderr] | ^^^^^ the lifetime is elided here ------------------ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 16 | fn read_clean(&self, description: Desc) -> Result> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/util/lock.rs:24:26 [INFO] [stderr] | [INFO] [stderr] 24 | fn write_clean(&self, description: Desc) -> Result> [INFO] [stderr] | ^^^^^ the lifetime is elided here ------------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 24 | fn write_clean(&self, description: Desc) -> Result> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/util/lock.rs:30:25 [INFO] [stderr] | [INFO] [stderr] 30 | fn read_clean(&self, description: Desc) -> Result> [INFO] [stderr] | ^^^^^ the lifetime is elided here ------------------ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 30 | fn read_clean(&self, description: Desc) -> Result> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/util/lock.rs:38:26 [INFO] [stderr] | [INFO] [stderr] 38 | fn write_clean(&self, description: Desc) -> Result> [INFO] [stderr] | ^^^^^ the lifetime is elided here ------------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 38 | fn write_clean(&self, description: Desc) -> Result> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/util/lock.rs:52:25 [INFO] [stderr] | [INFO] [stderr] 52 | fn lock_clean(&self, description: Desc) -> Result> [INFO] [stderr] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 52 | fn lock_clean(&self, description: Desc) -> Result> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/util/lock.rs:58:25 [INFO] [stderr] | [INFO] [stderr] 58 | fn lock_clean(&self, description: Desc) -> Result> [INFO] [stderr] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 58 | fn lock_clean(&self, description: Desc) -> Result> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/util/yaml.rs:81:28 [INFO] [stderr] | [INFO] [stderr] 81 | pub(crate) fn of(node: &Yaml) -> AugmentedTy { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 81 | pub(crate) fn of(node: &Yaml) -> AugmentedTy<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/core/irc_msgs.rs:67:36 [INFO] [stderr] | [INFO] [stderr] 67 | pub(super) fn parse_prefix(prefix: &str) -> MsgPrefix { [INFO] [stderr] | ^^^^ --------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub(super) fn parse_prefix(prefix: &str) -> MsgPrefix<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/core/state.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 60 | _server_id: ServerId, [INFO] [stderr] 61 | ) -> Result> { [INFO] [stderr] | -------------------------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 61 | ) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/core/state.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 69 | server_id: ServerId, [INFO] [stderr] 70 | ) -> Result>> { [INFO] [stderr] | ----------------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 70 | ) -> Result>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/core/state.rs:84:16 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn rng(&self) -> Result> { [INFO] [stderr] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 84 | pub fn rng(&self) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/core/trigger.rs:64:19 [INFO] [stderr] | [INFO] [stderr] 64 | fn read_regex(&self) -> Result> { [INFO] [stderr] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 64 | fn read_regex(&self) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `irc-bot` (lib) generated 51 warnings (6 duplicates) (run `cargo fix --lib -p irc-bot` to apply 33 suggestions) [INFO] [stderr] warning: `irc-bot` (lib test) generated 51 warnings (51 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/irc_bot-2eb2981f0d62b7c0) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/egbot.rs (/opt/rustwide/target/debug/deps/egbot-fd42eac585079b7a) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests irc_bot [INFO] [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] --> 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" "a08c95ff7e6181ed79e4e50bfaf9c50d4961d13fdc9c5e8a9a284e964044971e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a08c95ff7e6181ed79e4e50bfaf9c50d4961d13fdc9c5e8a9a284e964044971e", kill_on_drop: false }` [INFO] [stdout] a08c95ff7e6181ed79e4e50bfaf9c50d4961d13fdc9c5e8a9a284e964044971e