[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvroland%2Fmwlint" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vroland/mwlint on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 mediawiki_parser v0.4.2 [INFO] [stderr] Downloaded peg v0.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fe27ad44a9f7498dd43e1ff7f4e1e5c1101a9311e89852a0cabffb425f1e932 [INFO] running `Command { std: "docker" "start" "-a" "7fe27ad44a9f7498dd43e1ff7f4e1e5c1101a9311e89852a0cabffb425f1e932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fe27ad44a9f7498dd43e1ff7f4e1e5c1101a9311e89852a0cabffb425f1e932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fe27ad44a9f7498dd43e1ff7f4e1e5c1101a9311e89852a0cabffb425f1e932", kill_on_drop: false }` [INFO] [stdout] 7fe27ad44a9f7498dd43e1ff7f4e1e5c1101a9311e89852a0cabffb425f1e932 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cce573247f8feef912c3036b3b0c2bd9220de85f028fc95a46aabc6e3a21f352 [INFO] running `Command { std: "docker" "start" "-a" "cce573247f8feef912c3036b3b0c2bd9220de85f028fc95a46aabc6e3a21f352", kill_on_drop: false }` [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 serde_derive v1.0.125 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling peg v0.5.7 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Checking structopt v0.2.18 [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] 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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Example` is imported redundantly [INFO] [stdout] --> src/rules/check_formulas.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lint::{Example, Lint}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2 | use crate::preamble::*; [INFO] [stdout] | ------------------ the item `Example` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Lint` is imported redundantly [INFO] [stdout] --> src/rules/check_formulas.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lint::{Example, Lint}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | use crate::preamble::*; [INFO] [stdout] | ------------------ the item `Lint` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TexResult` is imported redundantly [INFO] [stdout] --> src/rules/check_formulas.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::preamble::*; [INFO] [stdout] | ------------------ the item `TexResult` is already imported here [INFO] [stdout] 3 | use mwparser_utils::TexResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Example` is imported redundantly [INFO] [stdout] --> src/rules/check_html.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lint::{Example, Lint}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2 | use crate::preamble::*; [INFO] [stdout] | ------------------ the item `Example` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Lint` is imported redundantly [INFO] [stdout] --> src/rules/check_html.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lint::{Example, Lint}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | use crate::preamble::*; [INFO] [stdout] | ------------------ the item `Lint` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Example` is imported redundantly [INFO] [stdout] --> src/rules/check_formulas.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lint::{Example, Lint}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2 | use crate::preamble::*; [INFO] [stdout] | ------------------ the item `Example` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe 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>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_rules<'e, 's: 'e>() -> Vec>> { [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>], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | rules: &'r [Box>], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Lint` is imported redundantly [INFO] [stdout] --> src/rules/check_formulas.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lint::{Example, Lint}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | use crate::preamble::*; [INFO] [stdout] | ------------------ the item `Lint` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TexResult` is imported redundantly [INFO] [stdout] --> src/rules/check_formulas.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::preamble::*; [INFO] [stdout] | ------------------ the item `TexResult` is already imported here [INFO] [stdout] 3 | use mwparser_utils::TexResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Example` is imported redundantly [INFO] [stdout] --> src/rules/check_html.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lint::{Example, Lint}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2 | use crate::preamble::*; [INFO] [stdout] | ------------------ the item `Example` is already imported here [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 | rule: &mut dyn Rule<'e, 's>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Lint` is imported redundantly [INFO] [stdout] --> src/rules/check_html.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lint::{Example, Lint}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | use crate::preamble::*; [INFO] [stdout] | ------------------ the item `Lint` is already imported here [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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 | fn work(&mut self, root: &'e Element, _: &Settings, _: &mut dyn io::Write) -> io::Result { [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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 | fn work(&mut self, root: &'e Element, _: &Settings, _: &mut dyn io::Write) -> io::Result { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe 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>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_rules<'e, 's: 'e>() -> Vec>> { [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>], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | rules: &'r [Box>], [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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 | fn work(&mut self, root: &'e Element, _: &Settings, _: &mut dyn io::Write) -> io::Result { [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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 | fn work(&mut self, root: &'e Element, _: &Settings, _: &mut dyn io::Write) -> io::Result { [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 [INFO] [stdout] help: if this is an object-safe 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::::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_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>> = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | let mut rules: Vec>> = vec![]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/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_start_matches("#lst:").trim(); [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: 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>> = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | let mut rules: Vec>> = vec![]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [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: 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: 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] [stdout] warning: 18 warnings emitted [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` profile [unoptimized + debuginfo] target(s) in 18.55s [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 3` [INFO] running `Command { std: "docker" "inspect" "cce573247f8feef912c3036b3b0c2bd9220de85f028fc95a46aabc6e3a21f352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce573247f8feef912c3036b3b0c2bd9220de85f028fc95a46aabc6e3a21f352", kill_on_drop: false }` [INFO] [stdout] cce573247f8feef912c3036b3b0c2bd9220de85f028fc95a46aabc6e3a21f352