[INFO] fetching crate irc-bot 0.2.1... [INFO] testing irc-bot-0.2.1 against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] extracting crate irc-bot 0.2.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate irc-bot 0.2.1 on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate irc-bot 0.2.1 [INFO] finished tweaking crates.io crate irc-bot 0.2.1 [INFO] tweaked toml for crates.io crate irc-bot 0.2.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-utils v0.3.2 [INFO] [stderr] Downloaded memoffset v0.2.1 [INFO] [stderr] Downloaded serde_yaml v0.7.5 [INFO] [stderr] Downloaded len-trait v0.6.1 [INFO] [stderr] Downloaded uuid v0.6.5 [INFO] [stderr] Downloaded crossbeam-epoch v0.4.3 [INFO] [stderr] Downloaded parking_lot v0.5.5 [INFO] [stderr] Downloaded strum v0.8.0 [INFO] [stderr] Downloaded strum_macros v0.8.0 [INFO] [stderr] Downloaded crossbeam-channel v0.1.3 [INFO] [stderr] Downloaded get-trait v0.1.0 [INFO] [stderr] Downloaded iter-trait v0.3.1 [INFO] [stderr] Downloaded irc v0.13.6 [INFO] [stderr] Downloaded tokio-mockstream v1.1.0 [INFO] [stderr] Downloaded rando v0.2.0 [INFO] [stderr] Downloaded crossbeam-utils v0.4.1 [INFO] [stderr] Downloaded foreman v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cdee6662b14e709bc151a8cdebdb48b3a8617e58fcc53091df23810a9635b83 [INFO] running `Command { std: "docker" "start" "-a" "7cdee6662b14e709bc151a8cdebdb48b3a8617e58fcc53091df23810a9635b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cdee6662b14e709bc151a8cdebdb48b3a8617e58fcc53091df23810a9635b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cdee6662b14e709bc151a8cdebdb48b3a8617e58fcc53091df23810a9635b83", kill_on_drop: false }` [INFO] [stdout] 7cdee6662b14e709bc151a8cdebdb48b3a8617e58fcc53091df23810a9635b83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56b77b5c77795e6b61621430ce55ef7ccef024a87a938fb23b2efd0088b98e1b [INFO] running `Command { std: "docker" "start" "-a" "56b77b5c77795e6b61621430ce55ef7ccef024a87a938fb23b2efd0088b98e1b", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling gimli v0.27.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling object v0.30.2 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling strum v0.8.0 [INFO] [stderr] Compiling ucd-util v0.1.9 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling iter-trait v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.3.2 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling crossbeam-epoch v0.4.3 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling get-trait v0.1.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling parking_lot v0.5.5 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling tokio-mockstream v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling len-trait v0.6.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling rando v0.2.0 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling crossbeam-channel v0.1.3 [INFO] [stderr] Compiling strum_macros v0.8.0 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.4.1 [INFO] [stderr] Compiling foreman v0.4.0 [INFO] [stderr] Compiling irc-bot v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: Error running `git describe`: fatal: not a git repository (or any parent up to mount point /opt/rustwide) [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling failure v0.1.8 [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: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/yaml.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stdout] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` 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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/core/err.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | Io(io::Error); [INFO] [stdout] 15 | | [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/util/yaml.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stdout] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` 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 associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/core/err.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | Io(io::Error); [INFO] [stdout] 15 | | [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` 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 associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/core/irc_comm.rs:295:31 [INFO] [stdout] | [INFO] [stdout] 295 | input_msg.to_string().trim_right_matches("\r\n") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 295 | input_msg.to_string().trim_end_matches("\r\n") [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/core/irc_msgs.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | text.trim_left_matches(nick) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 58 | text.trim_start_matches(nick) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/core/irc_msgs.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | .trim_left_matches(|c: char| [':', ','].contains(&c)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 59 | .trim_start_matches(|c: char| [':', ','].contains(&c)) [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] = note: `#[warn(dead_code)]` on by default [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: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 17s [INFO] running `Command { std: "docker" "inspect" "56b77b5c77795e6b61621430ce55ef7ccef024a87a938fb23b2efd0088b98e1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56b77b5c77795e6b61621430ce55ef7ccef024a87a938fb23b2efd0088b98e1b", kill_on_drop: false }` [INFO] [stdout] 56b77b5c77795e6b61621430ce55ef7ccef024a87a938fb23b2efd0088b98e1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5362bfd46d3d8a8a8fe9aa3ce4383537ad97d9eb8bfc4673da47d35002ce3864 [INFO] running `Command { std: "docker" "start" "-a" "5362bfd46d3d8a8a8fe9aa3ce4383537ad97d9eb8bfc4673da47d35002ce3864", kill_on_drop: false }` [INFO] [stderr] warning: Error running `git describe`: fatal: not a git repository (or any parent up to mount point /opt/rustwide) [INFO] [stdout] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(unused_doc_comment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/handler.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | fn run(&self, Error) -> ErrorReaction; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Error` [INFO] [stdout] | [INFO] [stdout] = 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: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/yaml.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stdout] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` 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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/core/err.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | Io(io::Error); [INFO] [stdout] 15 | | [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling irc-bot v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/util/yaml.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stdout] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` 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 associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/core/err.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | Io(io::Error); [INFO] [stdout] 15 | | [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` 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 associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/core/irc_comm.rs:295:31 [INFO] [stdout] | [INFO] [stdout] 295 | input_msg.to_string().trim_right_matches("\r\n") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 295 | input_msg.to_string().trim_end_matches("\r\n") [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/core/irc_msgs.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | text.trim_left_matches(nick) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 58 | text.trim_start_matches(nick) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/core/irc_msgs.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | .trim_left_matches(|c: char| [':', ','].contains(&c)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 59 | .trim_start_matches(|c: char| [':', ','].contains(&c)) [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] = note: `#[warn(dead_code)]` on by default [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: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(unused_doc_comment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/handler.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | fn run(&self, Error) -> ErrorReaction; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Error` [INFO] [stdout] | [INFO] [stdout] = 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: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/yaml.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stdout] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` 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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/core/err.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | Io(io::Error); [INFO] [stdout] 15 | | [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | / impl_fmt!(fmt::Display { [INFO] [stdout] 30 | | &str; [INFO] [stdout] 31 | | String; [INFO] [stdout] 32 | | Cow<'static, str>; [INFO] [stdout] 33 | | core::Error; [INFO] [stdout] 34 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/fmt.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | / impl_fmt!(fmt::Debug { [INFO] [stdout] 37 | | &str; [INFO] [stdout] 38 | | String; [INFO] [stdout] 39 | | Cow<'static, str>; [INFO] [stdout] 40 | | core::Error; [INFO] [stdout] 41 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/util/yaml.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stdout] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` 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 associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/core/err.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | Io(io::Error); [INFO] [stdout] 15 | | [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` 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 associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/core/irc_comm.rs:295:31 [INFO] [stdout] | [INFO] [stdout] 295 | input_msg.to_string().trim_right_matches("\r\n") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 295 | input_msg.to_string().trim_end_matches("\r\n") [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/core/irc_msgs.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | text.trim_left_matches(nick) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 58 | text.trim_start_matches(nick) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/core/irc_msgs.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | .trim_left_matches(|c: char| [':', ','].contains(&c)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 59 | .trim_start_matches(|c: char| [':', ','].contains(&c)) [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] = note: `#[warn(dead_code)]` on by default [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: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "5362bfd46d3d8a8a8fe9aa3ce4383537ad97d9eb8bfc4673da47d35002ce3864", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5362bfd46d3d8a8a8fe9aa3ce4383537ad97d9eb8bfc4673da47d35002ce3864", kill_on_drop: false }` [INFO] [stdout] 5362bfd46d3d8a8a8fe9aa3ce4383537ad97d9eb8bfc4673da47d35002ce3864 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 182eec6df043ae53f6ebf1c9ee4e01aca0ecd431e20d9cb62b696c5fe52ff6f6 [INFO] running `Command { std: "docker" "start" "-a" "182eec6df043ae53f6ebf1c9ee4e01aca0ecd431e20d9cb62b696c5fe52ff6f6", kill_on_drop: false }` [INFO] [stderr] warning: Error running `git describe`: fatal: not a git repository (or any parent up to mount point /opt/rustwide) [INFO] [stderr] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stderr] --> src/lib.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #![allow(unused_doc_comment)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 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: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/util/yaml.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / error_chain! { [INFO] [stderr] 10 | | foreign_links { [INFO] [stderr] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stderr] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stderr] ... | [INFO] [stderr] 45 | | } [INFO] [stderr] 46 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` 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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/core/err.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / error_chain! { [INFO] [stderr] 13 | | foreign_links { [INFO] [stderr] 14 | | Io(io::Error); [INFO] [stderr] 15 | | [INFO] [stderr] ... | [INFO] [stderr] 106 | | } [INFO] [stderr] 107 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util/fmt.rs:14:32 [INFO] [stderr] | [INFO] [stderr] 14 | Some(concrete) => <$trait>::fmt(concrete, $formatter), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | / impl_fmt!(fmt::Debug { [INFO] [stderr] 37 | | &str; [INFO] [stderr] 38 | | String; [INFO] [stderr] 39 | | Cow<'static, str>; [INFO] [stderr] 40 | | core::Error; [INFO] [stderr] 41 | | }); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `impl_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 | Some(concrete) => ::fmt(concrete, $formatter), [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/util/yaml.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / error_chain! { [INFO] [stderr] 10 | | foreign_links { [INFO] [stderr] 11 | | YamlEmit(yaml_rust::EmitError); [INFO] [stderr] 12 | | YamlScan(yaml_rust::ScanError); [INFO] [stderr] ... | [INFO] [stderr] 45 | | } [INFO] [stderr] 46 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` 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 associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/core/err.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / error_chain! { [INFO] [stderr] 13 | | foreign_links { [INFO] [stderr] 14 | | Io(io::Error); [INFO] [stderr] 15 | | [INFO] [stderr] ... | [INFO] [stderr] 106 | | } [INFO] [stderr] 107 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` 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 associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/core/irc_comm.rs:295:31 [INFO] [stderr] | [INFO] [stderr] 295 | input_msg.to_string().trim_right_matches("\r\n") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated associated function [INFO] [stderr] | [INFO] [stderr] 295 | input_msg.to_string().trim_end_matches("\r\n") [INFO] [stderr] | ~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/core/irc_msgs.rs:58:18 [INFO] [stderr] | [INFO] [stderr] 58 | text.trim_left_matches(nick) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated associated function [INFO] [stderr] | [INFO] [stderr] 58 | text.trim_start_matches(nick) [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/core/irc_msgs.rs:59:18 [INFO] [stderr] | [INFO] [stderr] 59 | .trim_left_matches(|c: char| [':', ','].contains(&c)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated associated function [INFO] [stderr] | [INFO] [stderr] 59 | .trim_start_matches(|c: char| [':', ','].contains(&c)) [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] = note: `#[warn(dead_code)]` on by default [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: `irc-bot` (lib) generated 36 warnings (6 duplicates) (run `cargo fix --lib -p irc-bot` to apply 23 suggestions) [INFO] [stderr] warning: `irc-bot` (lib test) generated 36 warnings (36 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/irc_bot-4f7a9fa2abda8580) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/egbot.rs (/opt/rustwide/target/debug/deps/egbot-1202e01196198cc9) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests irc-bot [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #![allow(unused_doc_comment)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "182eec6df043ae53f6ebf1c9ee4e01aca0ecd431e20d9cb62b696c5fe52ff6f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "182eec6df043ae53f6ebf1c9ee4e01aca0ecd431e20d9cb62b696c5fe52ff6f6", kill_on_drop: false }` [INFO] [stdout] 182eec6df043ae53f6ebf1c9ee4e01aca0ecd431e20d9cb62b696c5fe52ff6f6