[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] checking vroland/mwlint against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvroland%2Fmwlint" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vroland/mwlint on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/vroland/mwlint already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/vroland/mfnf-template-spec.git`
[INFO] [stderr]     Updating git repository `https://github.com/vroland/mediawiki-parser-utils.git`
[INFO] [stderr]     Updating git repository `https://github.com/serlo/mediawiki-parser-utils`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_yaml v0.8.17
[INFO] [stderr]   Downloaded peg v0.5.7
[INFO] [stderr]   Downloaded serde_yaml v0.7.5
[INFO] [stderr]   Downloaded syn v0.14.9
[INFO] [stderr]   Downloaded mediawiki_parser v0.4.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1488a701c8ddf0204d163b12c4222d2d80edefad03328e34bb52ab0ca56908d8
[INFO] running `Command { std: "docker" "start" "-a" "1488a701c8ddf0204d163b12c4222d2d80edefad03328e34bb52ab0ca56908d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1488a701c8ddf0204d163b12c4222d2d80edefad03328e34bb52ab0ca56908d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1488a701c8ddf0204d163b12c4222d2d80edefad03328e34bb52ab0ca56908d8", kill_on_drop: false }`
[INFO] [stdout] 1488a701c8ddf0204d163b12c4222d2d80edefad03328e34bb52ab0ca56908d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 36aea870595868636fb77b06cd01d9b8a2713f92fe459e0e69cf10b5a571b566
[INFO] running `Command { std: "docker" "start" "-a" "36aea870595868636fb77b06cd01d9b8a2713f92fe459e0e69cf10b5a571b566", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[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 libc v0.2.91
[INFO] [stderr]    Compiling dtoa v0.4.7
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]    Compiling peg v0.5.7
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking colored v1.9.3
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling structopt-derive v0.2.18
[INFO] [stderr]     Checking structopt v0.2.18
[INFO] [stderr]     Checking serde_json v1.0.64
[INFO] [stderr]     Checking serde_yaml v0.8.17
[INFO] [stderr]    Compiling serde_yaml v0.7.5
[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 mediawiki_parser v0.4.2
[INFO] [stderr]     Checking mwparser_utils v0.1.0 (https://github.com/serlo/mediawiki-parser-utils#67c63573)
[INFO] [stderr]     Checking mwparser_utils v0.1.0 (https://github.com/vroland/mediawiki-parser-utils.git#67c63573)
[INFO] [stderr]     Checking mfnf_template_spec v0.1.0 (https://github.com/vroland/mfnf-template-spec.git#cb85aa90)
[INFO] [stderr]     Checking mwlint v0.1.0 (/opt/rustwide/workdir)
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[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/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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/rule.rs:127:20
[INFO] [stdout]     |
[INFO] [stdout] 127 |         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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[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/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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[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: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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[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: 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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 135 |         rule: &mut dyn Rule<'e, 's>,
[INFO] [stdout]     |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]   --> src/lib.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub use std::path::PathBuf;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[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/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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/rule.rs:127:20
[INFO] [stdout]     |
[INFO] [stdout] 127 |         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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[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/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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[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: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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[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: 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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 135 |         rule: &mut dyn Rule<'e, 's>,
[INFO] [stdout]     |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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]     |                                                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 252 -                 let article_name = template_name.trim_left_matches("#lst:").trim();
[INFO] [stdout] 252 +                 let article_name = template_name.trim_start_matches("#lst:").trim();
[INFO] [stdout]     |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut rules: Vec<Box<dyn Rule<'e, 's>>> = vec![];
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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]     |                                                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 252 -                 let article_name = template_name.trim_left_matches("#lst:").trim();
[INFO] [stdout] 252 +                 let article_name = template_name.trim_start_matches("#lst:").trim();
[INFO] [stdout]     |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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)]` (part of `#[warn(unused)]`) on by default
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/rule.rs:129:21
[INFO] [stdout]     |
[INFO] [stdout] 126 |         &'e self,
[INFO] [stdout]     |          -- the lifetime is named here
[INFO] [stdout] 127 |         rule: &mut Rule<'e, 's>,
[INFO] [stdout]     |                         -- the lifetime is named here
[INFO] [stdout] 128 |         settings: &'s Settings,
[INFO] [stdout] 129 |     ) -> io::Result<&Vec<Lint>>;
[INFO] [stdout]     |                     ^^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'e`
[INFO] [stdout]     |
[INFO] [stdout] 129 |     ) -> io::Result<&'e Vec<Lint>>;
[INFO] [stdout]     |                      ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/rule.rs:137:21
[INFO] [stdout]     |
[INFO] [stdout] 134 |         &'e self,
[INFO] [stdout]     |          -- the lifetime is named here
[INFO] [stdout] 135 |         rule: &mut Rule<'e, 's>,
[INFO] [stdout]     |                         -- the lifetime is named here
[INFO] [stdout] 136 |         settings: &'s Settings,
[INFO] [stdout] 137 |     ) -> io::Result<&Vec<Lint>> {
[INFO] [stdout]     |                     ^^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'e`
[INFO] [stdout]     |
[INFO] [stdout] 137 |     ) -> io::Result<&'e Vec<Lint>> {
[INFO] [stdout]     |                      ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/rule.rs:129:21
[INFO] [stdout]     |
[INFO] [stdout] 126 |         &'e self,
[INFO] [stdout]     |          -- the lifetime is named here
[INFO] [stdout] 127 |         rule: &mut Rule<'e, 's>,
[INFO] [stdout]     |                         -- the lifetime is named here
[INFO] [stdout] 128 |         settings: &'s Settings,
[INFO] [stdout] 129 |     ) -> io::Result<&Vec<Lint>>;
[INFO] [stdout]     |                     ^^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'e`
[INFO] [stdout]     |
[INFO] [stdout] 129 |     ) -> io::Result<&'e Vec<Lint>>;
[INFO] [stdout]     |                      ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/rule.rs:137:21
[INFO] [stdout]     |
[INFO] [stdout] 134 |         &'e self,
[INFO] [stdout]     |          -- the lifetime is named here
[INFO] [stdout] 135 |         rule: &mut Rule<'e, 's>,
[INFO] [stdout]     |                         -- the lifetime is named here
[INFO] [stdout] 136 |         settings: &'s Settings,
[INFO] [stdout] 137 |     ) -> io::Result<&Vec<Lint>> {
[INFO] [stdout]     |                     ^^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'e`
[INFO] [stdout]     |
[INFO] [stdout] 137 |     ) -> io::Result<&'e Vec<Lint>> {
[INFO] [stdout]     |                      ++
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.84s
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7`
[INFO] running `Command { std: "docker" "inspect" "36aea870595868636fb77b06cd01d9b8a2713f92fe459e0e69cf10b5a571b566", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36aea870595868636fb77b06cd01d9b8a2713f92fe459e0e69cf10b5a571b566", kill_on_drop: false }`
[INFO] [stdout] 36aea870595868636fb77b06cd01d9b8a2713f92fe459e0e69cf10b5a571b566
