[INFO] cloning repository https://github.com/vroland/mwlint
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vroland/mwlint" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvroland%2Fmwlint", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvroland%2Fmwlint'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 69a4252eb5b22669d12c72c2c3ae580d559337a9
[INFO] testing vroland/mwlint against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvroland%2Fmwlint" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/vroland/mwlint on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/vroland/mwlint
[INFO] finished tweaking git repo https://github.com/vroland/mwlint
[INFO] tweaked toml for git repo https://github.com/vroland/mwlint written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/vroland/mwlint already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/vroland/mfnf-template-spec.git`
[INFO] [stderr]     Updating git repository `https://github.com/serlo/mediawiki-parser-utils`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 89b7bf5f00fd479f26d679bc7e26e88bc1a04bf90587977a0b7df88e8539f23e
[INFO] running `Command { std: "docker" "start" "-a" "89b7bf5f00fd479f26d679bc7e26e88bc1a04bf90587977a0b7df88e8539f23e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "89b7bf5f00fd479f26d679bc7e26e88bc1a04bf90587977a0b7df88e8539f23e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89b7bf5f00fd479f26d679bc7e26e88bc1a04bf90587977a0b7df88e8539f23e", kill_on_drop: false }`
[INFO] [stdout] 89b7bf5f00fd479f26d679bc7e26e88bc1a04bf90587977a0b7df88e8539f23e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e602f0f680c9ab22261c87b1b8d2fa41d06aeed4cd081ea4c0c4c29d5262bf0b
[INFO] running `Command { std: "docker" "start" "-a" "e602f0f680c9ab22261c87b1b8d2fa41d06aeed4cd081ea4c0c4c29d5262bf0b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling syn v1.0.64
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling dtoa v0.4.7
[INFO] [stderr]    Compiling libc v0.2.91
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling peg v0.5.7
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]    Compiling structopt-derive v0.2.18
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling colored v1.9.3
[INFO] [stderr]    Compiling structopt v0.2.18
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling serde_yaml v0.8.17
[INFO] [stderr]    Compiling serde_yaml v0.7.5
[INFO] [stderr]    Compiling mediawiki_parser v0.4.2
[INFO] [stderr]    Compiling mwparser_utils_derive v0.1.0 (https://github.com/serlo/mediawiki-parser-utils#67c63573)
[INFO] [stderr]    Compiling mwparser_utils_derive v0.1.0 (https://github.com/vroland/mediawiki-parser-utils.git#67c63573)
[INFO] [stderr]    Compiling mwparser_utils v0.1.0 (https://github.com/serlo/mediawiki-parser-utils#67c63573)
[INFO] [stderr]    Compiling mwparser_utils v0.1.0 (https://github.com/vroland/mediawiki-parser-utils.git#67c63573)
[INFO] [stderr]    Compiling mfnf_template_spec v0.1.0 (https://github.com/vroland/mfnf-template-spec.git#cb85aa90)
[INFO] [stderr]    Compiling mwlint v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rule.rs:127:20
[INFO] [stdout]     |
[INFO] [stdout] 127 |         rule: &mut Rule<'e, 's>,
[INFO] [stdout]     |                    ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 127 -         rule: &mut Rule<'e, 's>,
[INFO] [stdout] 127 +         rule: &mut dyn Rule<'e, 's>,
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rule.rs:135:20
[INFO] [stdout]     |
[INFO] [stdout] 135 |         rule: &mut Rule<'e, 's>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 135 -         rule: &mut Rule<'e, 's>,
[INFO] [stdout] 135 +         rule: &mut dyn Rule<'e, 's>,
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/mod.rs:23:43
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn get_rules<'e, 's: 'e>() -> Vec<Box<Rule<'e, 's>>> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 23 - pub fn get_rules<'e, 's: 'e>() -> Vec<Box<Rule<'e, 's>>> {
[INFO] [stdout] 23 + pub fn get_rules<'e, 's: 'e>() -> Vec<Box<dyn Rule<'e, 's>>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/mod.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |     rules: &'r [Box<Rule<'e, 's>>],
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 -     rules: &'r [Box<Rule<'e, 's>>],
[INFO] [stdout] 35 +     rules: &'r [Box<dyn Rule<'e, 's>>],
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/check_formulas.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |         _: &mut io::Write,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 -         _: &mut io::Write,
[INFO] [stdout] 52 +         _: &mut dyn io::Write,
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/check_headings.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |         _: &mut io::Write,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 70 -         _: &mut io::Write,
[INFO] [stdout] 70 +         _: &mut dyn io::Write,
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/check_html.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |         _: &mut io::Write,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 -         _: &mut io::Write,
[INFO] [stdout] 21 +         _: &mut dyn io::Write,
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rules/check_lists.rs:199:65
[INFO] [stdout]     |
[INFO] [stdout] 199 |     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut io::Write) -> io::Result<bool> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 199 -     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut io::Write) -> io::Result<bool> {
[INFO] [stdout] 199 +     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut dyn io::Write) -> io::Result<bool> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rules/check_templates.rs:280:32
[INFO] [stdout]     |
[INFO] [stdout] 280 |                     rule: &mut Rule<'e, 's>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 280 -                     rule: &mut Rule<'e, 's>,
[INFO] [stdout] 280 +                     rule: &mut dyn Rule<'e, 's>,
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rules/check_templates.rs:233:65
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut io::Write) -> io::Result<bool> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 233 -     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut io::Write) -> io::Result<bool> {
[INFO] [stdout] 233 +     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut dyn io::Write) -> io::Result<bool> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/rules/check_templates.rs:252:50
[INFO] [stdout]     |
[INFO] [stdout] 252 |                 let article_name = template_name.trim_left_matches("#lst:").trim();
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/mod.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut rules: Vec<Box<Rule<'e, 's>>> = vec![];
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 -     let mut rules: Vec<Box<Rule<'e, 's>>> = vec![];
[INFO] [stdout] 24 +     let mut rules: Vec<Box<dyn Rule<'e, 's>>> = vec![];
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rules/check_lists.rs:216:29
[INFO] [stdout]     |
[INFO] [stdout] 216 |                         let mut position = if is_last {
[INFO] [stdout]     |                             ----^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/mwlint.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/mwlint.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |     for mut rule in &mut rules {
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 20.03s
[INFO] running `Command { std: "docker" "inspect" "e602f0f680c9ab22261c87b1b8d2fa41d06aeed4cd081ea4c0c4c29d5262bf0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e602f0f680c9ab22261c87b1b8d2fa41d06aeed4cd081ea4c0c4c29d5262bf0b", kill_on_drop: false }`
[INFO] [stdout] e602f0f680c9ab22261c87b1b8d2fa41d06aeed4cd081ea4c0c4c29d5262bf0b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1deea16719ef414c85bc4be342400153255cefe05ed1e4c19a8c9a5aee3fda11
[INFO] running `Command { std: "docker" "start" "-a" "1deea16719ef414c85bc4be342400153255cefe05ed1e4c19a8c9a5aee3fda11", kill_on_drop: false }`
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rule.rs:127:20
[INFO] [stdout]     |
[INFO] [stdout] 127 |         rule: &mut Rule<'e, 's>,
[INFO] [stdout]     |                    ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 127 -         rule: &mut Rule<'e, 's>,
[INFO] [stdout] 127 +         rule: &mut dyn Rule<'e, 's>,
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rule.rs:135:20
[INFO] [stdout]     |
[INFO] [stdout] 135 |         rule: &mut Rule<'e, 's>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 135 -         rule: &mut Rule<'e, 's>,
[INFO] [stdout] 135 +         rule: &mut dyn Rule<'e, 's>,
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/mod.rs:23:43
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn get_rules<'e, 's: 'e>() -> Vec<Box<Rule<'e, 's>>> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 23 - pub fn get_rules<'e, 's: 'e>() -> Vec<Box<Rule<'e, 's>>> {
[INFO] [stdout] 23 + pub fn get_rules<'e, 's: 'e>() -> Vec<Box<dyn Rule<'e, 's>>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/mod.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |     rules: &'r [Box<Rule<'e, 's>>],
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 -     rules: &'r [Box<Rule<'e, 's>>],
[INFO] [stdout] 35 +     rules: &'r [Box<dyn Rule<'e, 's>>],
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/check_formulas.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |         _: &mut io::Write,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 -         _: &mut io::Write,
[INFO] [stdout] 52 +         _: &mut dyn io::Write,
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/check_headings.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |         _: &mut io::Write,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 70 -         _: &mut io::Write,
[INFO] [stdout] 70 +         _: &mut dyn io::Write,
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/check_html.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |         _: &mut io::Write,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 -         _: &mut io::Write,
[INFO] [stdout] 21 +         _: &mut dyn io::Write,
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rules/check_lists.rs:199:65
[INFO] [stdout]     |
[INFO] [stdout] 199 |     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut io::Write) -> io::Result<bool> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 199 -     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut io::Write) -> io::Result<bool> {
[INFO] [stdout] 199 +     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut dyn io::Write) -> io::Result<bool> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rules/check_templates.rs:280:32
[INFO] [stdout]     |
[INFO] [stdout] 280 |                     rule: &mut Rule<'e, 's>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 280 -                     rule: &mut Rule<'e, 's>,
[INFO] [stdout] 280 +                     rule: &mut dyn Rule<'e, 's>,
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rules/check_templates.rs:233:65
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut io::Write) -> io::Result<bool> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 233 -     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut io::Write) -> io::Result<bool> {
[INFO] [stdout] 233 +     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut dyn io::Write) -> io::Result<bool> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/rules/check_templates.rs:252:50
[INFO] [stdout]     |
[INFO] [stdout] 252 |                 let article_name = template_name.trim_left_matches("#lst:").trim();
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/mod.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut rules: Vec<Box<Rule<'e, 's>>> = vec![];
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 -     let mut rules: Vec<Box<Rule<'e, 's>>> = vec![];
[INFO] [stdout] 24 +     let mut rules: Vec<Box<dyn Rule<'e, 's>>> = vec![];
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rules/check_lists.rs:216:29
[INFO] [stdout]     |
[INFO] [stdout] 216 |                         let mut position = if is_last {
[INFO] [stdout]     |                             ----^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling mwlint v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/mwlint.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/mwlint.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |     for mut rule in &mut rules {
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rule.rs:127:20
[INFO] [stdout]     |
[INFO] [stdout] 127 |         rule: &mut Rule<'e, 's>,
[INFO] [stdout]     |                    ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 127 -         rule: &mut Rule<'e, 's>,
[INFO] [stdout] 127 +         rule: &mut dyn Rule<'e, 's>,
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rule.rs:135:20
[INFO] [stdout]     |
[INFO] [stdout] 135 |         rule: &mut Rule<'e, 's>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 135 -         rule: &mut Rule<'e, 's>,
[INFO] [stdout] 135 +         rule: &mut dyn Rule<'e, 's>,
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/mod.rs:23:43
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn get_rules<'e, 's: 'e>() -> Vec<Box<Rule<'e, 's>>> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 23 - pub fn get_rules<'e, 's: 'e>() -> Vec<Box<Rule<'e, 's>>> {
[INFO] [stdout] 23 + pub fn get_rules<'e, 's: 'e>() -> Vec<Box<dyn Rule<'e, 's>>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/mod.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |     rules: &'r [Box<Rule<'e, 's>>],
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 -     rules: &'r [Box<Rule<'e, 's>>],
[INFO] [stdout] 35 +     rules: &'r [Box<dyn Rule<'e, 's>>],
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/check_formulas.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |         _: &mut io::Write,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 -         _: &mut io::Write,
[INFO] [stdout] 52 +         _: &mut dyn io::Write,
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/check_headings.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |         _: &mut io::Write,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 70 -         _: &mut io::Write,
[INFO] [stdout] 70 +         _: &mut dyn io::Write,
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/check_html.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |         _: &mut io::Write,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 -         _: &mut io::Write,
[INFO] [stdout] 21 +         _: &mut dyn io::Write,
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rules/check_lists.rs:199:65
[INFO] [stdout]     |
[INFO] [stdout] 199 |     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut io::Write) -> io::Result<bool> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 199 -     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut io::Write) -> io::Result<bool> {
[INFO] [stdout] 199 +     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut dyn io::Write) -> io::Result<bool> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rules/check_templates.rs:280:32
[INFO] [stdout]     |
[INFO] [stdout] 280 |                     rule: &mut Rule<'e, 's>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 280 -                     rule: &mut Rule<'e, 's>,
[INFO] [stdout] 280 +                     rule: &mut dyn Rule<'e, 's>,
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rules/check_templates.rs:233:65
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut io::Write) -> io::Result<bool> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 233 -     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut io::Write) -> io::Result<bool> {
[INFO] [stdout] 233 +     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut dyn io::Write) -> io::Result<bool> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/rules/check_templates.rs:252:50
[INFO] [stdout]     |
[INFO] [stdout] 252 |                 let article_name = template_name.trim_left_matches("#lst:").trim();
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rules/mod.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut rules: Vec<Box<Rule<'e, 's>>> = vec![];
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 -     let mut rules: Vec<Box<Rule<'e, 's>>> = vec![];
[INFO] [stdout] 24 +     let mut rules: Vec<Box<dyn Rule<'e, 's>>> = vec![];
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rules/check_lists.rs:216:29
[INFO] [stdout]     |
[INFO] [stdout] 216 |                         let mut position = if is_last {
[INFO] [stdout]     |                             ----^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.90s
[INFO] [stderr]   Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/mwlint-0bdb772cdb48b24b)
[INFO] [stderr]   Executable unittests src/mwlint.rs (/opt/rustwide/target/debug/deps/mwlint-d21b704e414e8ee0)
[INFO] running `Command { std: "docker" "inspect" "1deea16719ef414c85bc4be342400153255cefe05ed1e4c19a8c9a5aee3fda11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1deea16719ef414c85bc4be342400153255cefe05ed1e4c19a8c9a5aee3fda11", kill_on_drop: false }`
[INFO] [stdout] 1deea16719ef414c85bc4be342400153255cefe05ed1e4c19a8c9a5aee3fda11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 895522cd15f5bc02305ccdfddf390810adb204c4099f89205546314199685889
[INFO] running `Command { std: "docker" "start" "-a" "895522cd15f5bc02305ccdfddf390810adb204c4099f89205546314199685889", kill_on_drop: false }`
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/rule.rs:127:20
[INFO] [stderr]     |
[INFO] [stderr] 127 |         rule: &mut Rule<'e, 's>,
[INFO] [stderr]     |                    ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 127 -         rule: &mut Rule<'e, 's>,
[INFO] [stderr] 127 +         rule: &mut dyn Rule<'e, 's>,
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/rule.rs:135:20
[INFO] [stderr]     |
[INFO] [stderr] 135 |         rule: &mut Rule<'e, 's>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 135 -         rule: &mut Rule<'e, 's>,
[INFO] [stderr] 135 +         rule: &mut dyn Rule<'e, 's>,
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/rules/mod.rs:23:43
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub fn get_rules<'e, 's: 'e>() -> Vec<Box<Rule<'e, 's>>> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 23 - pub fn get_rules<'e, 's: 'e>() -> Vec<Box<Rule<'e, 's>>> {
[INFO] [stderr] 23 + pub fn get_rules<'e, 's: 'e>() -> Vec<Box<dyn Rule<'e, 's>>> {
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/rules/mod.rs:35:21
[INFO] [stderr]    |
[INFO] [stderr] 35 |     rules: &'r [Box<Rule<'e, 's>>],
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 35 -     rules: &'r [Box<Rule<'e, 's>>],
[INFO] [stderr] 35 +     rules: &'r [Box<dyn Rule<'e, 's>>],
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/rules/check_formulas.rs:52:17
[INFO] [stderr]    |
[INFO] [stderr] 52 |         _: &mut io::Write,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 52 -         _: &mut io::Write,
[INFO] [stderr] 52 +         _: &mut dyn io::Write,
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/rules/check_headings.rs:70:17
[INFO] [stderr]    |
[INFO] [stderr] 70 |         _: &mut io::Write,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 70 -         _: &mut io::Write,
[INFO] [stderr] 70 +         _: &mut dyn io::Write,
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/rules/check_html.rs:21:17
[INFO] [stderr]    |
[INFO] [stderr] 21 |         _: &mut io::Write,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 21 -         _: &mut io::Write,
[INFO] [stderr] 21 +         _: &mut dyn io::Write,
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/rules/check_lists.rs:199:65
[INFO] [stderr]     |
[INFO] [stderr] 199 |     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut io::Write) -> io::Result<bool> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 199 -     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut io::Write) -> io::Result<bool> {
[INFO] [stderr] 199 +     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut dyn io::Write) -> io::Result<bool> {
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/rules/check_templates.rs:280:32
[INFO] [stderr]     |
[INFO] [stderr] 280 |                     rule: &mut Rule<'e, 's>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 280 -                     rule: &mut Rule<'e, 's>,
[INFO] [stderr] 280 +                     rule: &mut dyn Rule<'e, 's>,
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/rules/check_templates.rs:233:65
[INFO] [stderr]     |
[INFO] [stderr] 233 |     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut io::Write) -> io::Result<bool> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 233 -     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut io::Write) -> io::Result<bool> {
[INFO] [stderr] 233 +     fn work(&mut self, root: &'e Element, _: &Settings, _: &mut dyn io::Write) -> io::Result<bool> {
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stderr]    --> src/rules/check_templates.rs:252:50
[INFO] [stderr]     |
[INFO] [stderr] 252 |                 let article_name = template_name.trim_left_matches("#lst:").trim();
[INFO] [stderr]     |                                                  ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/rules/mod.rs:24:28
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let mut rules: Vec<Box<Rule<'e, 's>>> = vec![];
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 24 -     let mut rules: Vec<Box<Rule<'e, 's>>> = vec![];
[INFO] [stderr] 24 +     let mut rules: Vec<Box<dyn Rule<'e, 's>>> = vec![];
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/rules/check_lists.rs:216:29
[INFO] [stderr]     |
[INFO] [stderr] 216 |                         let mut position = if is_last {
[INFO] [stderr]     |                             ----^^^^^^^^
[INFO] [stderr]     |                             |
[INFO] [stderr]     |                             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `mwlint` (lib) generated 13 warnings
[INFO] [stderr] warning: `mwlint` (lib test) generated 13 warnings (13 duplicates)
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/mwlint.rs:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/mwlint.rs:91:9
[INFO] [stderr]    |
[INFO] [stderr] 91 |     for mut rule in &mut rules {
[INFO] [stderr]    |         ----^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `mwlint` (bin "mwlint" test) generated 2 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mwlint-0bdb772cdb48b24b)
[INFO] [stdout] 
[INFO] [stdout] running 25 tests
[INFO] [stdout] test rules::check_lists::definition_term_single ... ok
[INFO] [stdout] test rules::check_headings::deep_heading ... ok
[INFO] [stdout] test rules::check_lists::definition_without_term ... ok
[INFO] [stdout] test rules::check_html::illegal_span ... ok
[INFO] [stdout] test rules::check_formulas::leftrightarrow_to_iff ... ok
[INFO] [stdout] test rules::check_lists::definition_term_without_def ... ok
[INFO] [stdout] test rules::check_formulas::math_lexing_error ... ok
[INFO] [stdout] test rules::check_headings::inconsistent_heading ... ok
[INFO] [stdout] test rules::check_formulas::math_unknown_function ... ok
[INFO] [stdout] test rules::check_formulas::righarrow_to_implies ... ok
[INFO] [stdout] test rules::check_lists::mixed_list ... ok
[INFO] [stdout] test rules::check_lists::math_usage_definition_term ... ok
[INFO] [stdout] test rules::check_lists::list_one_item_important_paragraph ... ok
[INFO] [stdout] test rules::check_lists::list_one_item_split_lists ... ok
[INFO] [stdout] test rules::check_lists::mixed_sublist ... ok
[INFO] [stdout] test rules::check_lists::multiple_defs_without_term ... ok
[INFO] [stdout] test rules::check_templates::illegal_section_name ... ok
[INFO] [stdout] test rules::check_templates::formatted_template_name ... ok
[INFO] [stdout] test rules::check_formulas::math_syntax_error ... ok
[INFO] [stdout] test rules::check_templates::missing_arg ... ok
[INFO] [stdout] test rules::check_templates::deprecated_template_name ... ok
[INFO] [stdout] test rules::check_templates::illegal_formula_content ... ok
[INFO] [stdout] test rules::check_templates::deprecated_arg_name ... ok
[INFO] [stdout] test rules::check_templates::unknown_template ... ok
[INFO] [stdout] test rules::check_templates::illegal_argument_greeting ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/mwlint.rs (/opt/rustwide/target/debug/deps/mwlint-d21b704e414e8ee0)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests mwlint
[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" "895522cd15f5bc02305ccdfddf390810adb204c4099f89205546314199685889", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "895522cd15f5bc02305ccdfddf390810adb204c4099f89205546314199685889", kill_on_drop: false }`
[INFO] [stdout] 895522cd15f5bc02305ccdfddf390810adb204c4099f89205546314199685889
