[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvroland%2Fmwlint" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vroland/mwlint on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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/vroland/mediawiki-parser-utils.git` [INFO] [stderr] Updating git repository `https://github.com/serlo/mediawiki-parser-utils` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded peg v0.5.7 [INFO] [stderr] Downloaded mediawiki_parser v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e26f5023a4f12ed1ab67b3f43db96b79ce8b4fe7f9f74a29dad0cd6dee943331 [INFO] running `Command { std: "docker" "start" "-a" "e26f5023a4f12ed1ab67b3f43db96b79ce8b4fe7f9f74a29dad0cd6dee943331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e26f5023a4f12ed1ab67b3f43db96b79ce8b4fe7f9f74a29dad0cd6dee943331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e26f5023a4f12ed1ab67b3f43db96b79ce8b4fe7f9f74a29dad0cd6dee943331", kill_on_drop: false }` [INFO] [stdout] e26f5023a4f12ed1ab67b3f43db96b79ce8b4fe7f9f74a29dad0cd6dee943331 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81a2736121833e9532ae58a9c496951b4e332ec16702b85c9471de5735406a23 [INFO] running `Command { std: "docker" "start" "-a" "81a2736121833e9532ae58a9c496951b4e332ec16702b85c9471de5735406a23", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling peg v0.5.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling syn v0.14.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 quote v1.0.9 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling 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] 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/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: 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 49.98s [INFO] running `Command { std: "docker" "inspect" "81a2736121833e9532ae58a9c496951b4e332ec16702b85c9471de5735406a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81a2736121833e9532ae58a9c496951b4e332ec16702b85c9471de5735406a23", kill_on_drop: false }` [INFO] [stdout] 81a2736121833e9532ae58a9c496951b4e332ec16702b85c9471de5735406a23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab84aa4edeaf049b40330c7d1f382e29992a46b392e1f6525a6ef74ecd847ab7 [INFO] running `Command { std: "docker" "start" "-a" "ab84aa4edeaf049b40330c7d1f382e29992a46b392e1f6525a6ef74ecd847ab7", 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mwlint v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/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: 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: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/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: 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 2.49s [INFO] running `Command { std: "docker" "inspect" "ab84aa4edeaf049b40330c7d1f382e29992a46b392e1f6525a6ef74ecd847ab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab84aa4edeaf049b40330c7d1f382e29992a46b392e1f6525a6ef74ecd847ab7", kill_on_drop: false }` [INFO] [stdout] ab84aa4edeaf049b40330c7d1f382e29992a46b392e1f6525a6ef74ecd847ab7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7c99f4dfbd99506a15c345531b08ac01057ea6c492075063be545354626aef27 [INFO] running `Command { std: "docker" "start" "-a" "7c99f4dfbd99506a15c345531b08ac01057ea6c492075063be545354626aef27", 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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>> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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>> = vec![]; [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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>], [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::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: 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: 13 warnings emitted [INFO] [stderr] [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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>> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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>> = vec![]; [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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>], [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Rule<'e, 's>` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::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: 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: 13 warnings emitted [INFO] [stderr] [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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mwlint-9300299e8ec69d97) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test rules::check_headings::inconsistent_heading ... ok [INFO] [stdout] test rules::check_templates::illegal_formula_content ... ok [INFO] [stdout] test rules::check_html::illegal_span ... ok [INFO] [stdout] test rules::check_templates::missing_arg ... ok [INFO] [stdout] test rules::check_lists::definition_term_single ... ok [INFO] [stdout] test rules::check_templates::deprecated_template_name ... ok [INFO] [stdout] test rules::check_templates::formatted_template_name ... ok [INFO] [stdout] test rules::check_lists::list_one_item_split_lists ... ok [INFO] [stdout] test rules::check_lists::mixed_list ... 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_argument_greeting ... ok [INFO] [stdout] test rules::check_formulas::righarrow_to_implies ... ok [INFO] [stdout] test rules::check_templates::unknown_template ... ok [INFO] [stdout] test rules::check_templates::illegal_section_name ... ok [INFO] [stdout] test rules::check_formulas::math_unknown_function ... ok [INFO] [stdout] test rules::check_headings::deep_heading ... ok [INFO] [stdout] test rules::check_lists::math_usage_definition_term ... ok [INFO] [stdout] test rules::check_formulas::leftrightarrow_to_iff ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mwlint-0ca49dd88cd3a15e) [INFO] [stdout] test rules::check_lists::list_one_item_important_paragraph ... ok [INFO] [stdout] test rules::check_templates::deprecated_arg_name ... ok [INFO] [stdout] test rules::check_formulas::math_syntax_error ... ok [INFO] [stdout] test rules::check_lists::definition_term_without_def ... ok [INFO] [stdout] test rules::check_lists::definition_without_term ... ok [INFO] [stdout] test rules::check_formulas::math_lexing_error ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] 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" "7c99f4dfbd99506a15c345531b08ac01057ea6c492075063be545354626aef27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c99f4dfbd99506a15c345531b08ac01057ea6c492075063be545354626aef27", kill_on_drop: false }` [INFO] [stdout] 7c99f4dfbd99506a15c345531b08ac01057ea6c492075063be545354626aef27