[INFO] fetching crate diagnostic 0.6.4... [INFO] testing diagnostic-0.6.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate diagnostic 0.6.4 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate diagnostic 0.6.4 [INFO] finished tweaking crates.io crate diagnostic 0.6.4 [INFO] tweaked toml for crates.io crate diagnostic 0.6.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate diagnostic 0.6.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c8efa5abd5bf902319a18f60358539c4ee02e72f11a8cbfa6b11bcb98050599 [INFO] running `Command { std: "docker" "start" "-a" "5c8efa5abd5bf902319a18f60358539c4ee02e72f11a8cbfa6b11bcb98050599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c8efa5abd5bf902319a18f60358539c4ee02e72f11a8cbfa6b11bcb98050599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c8efa5abd5bf902319a18f60358539c4ee02e72f11a8cbfa6b11bcb98050599", kill_on_drop: false }` [INFO] [stdout] 5c8efa5abd5bf902319a18f60358539c4ee02e72f11a8cbfa6b11bcb98050599 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9788899b761e4222bd21e85c1a9785696aa83b1c8241e291c9cead9c3c06033 [INFO] running `Command { std: "docker" "start" "-a" "f9788899b761e4222bd21e85c1a9785696aa83b1c8241e291c9cead9c3c06033", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling source-cache v0.2.3 [INFO] [stderr] Compiling diagnostic v0.6.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `concolor` [INFO] [stdout] --> src/draw.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(not(feature = "concolor"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `serde` [INFO] [stdout] = help: consider adding `concolor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `concolor` [INFO] [stdout] --> src/draw.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | if cfg!(feature = "concolor") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `serde` [INFO] [stdout] = help: consider adding `concolor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `concolor` [INFO] [stdout] --> src/draw.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | if cfg!(feature = "concolor") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `serde` [INFO] [stdout] = help: consider adding `concolor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/write.rs:566:59 [INFO] [stdout] | [INFO] [stdout] 566 | ... get_vbar(col, row).filter(|_| (col != line_label.column || line_label.label.msg.is_some())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 566 - get_vbar(col, row).filter(|_| (col != line_label.column || line_label.label.msg.is_some())) [INFO] [stdout] 566 + get_vbar(col, row).filter(|_| col != line_label.column || line_label.label.msg.is_some()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/write.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_source_groups(&self, cache: &SourceCache) -> Vec { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn get_source_groups(&self, cache: &SourceCache) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.21s [INFO] running `Command { std: "docker" "inspect" "f9788899b761e4222bd21e85c1a9785696aa83b1c8241e291c9cead9c3c06033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9788899b761e4222bd21e85c1a9785696aa83b1c8241e291c9cead9c3c06033", kill_on_drop: false }` [INFO] [stdout] f9788899b761e4222bd21e85c1a9785696aa83b1c8241e291c9cead9c3c06033 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53365c2201b9438e9975c3d68c57b6965ab5b9e25c0002074e588506922a2965 [INFO] running `Command { std: "docker" "start" "-a" "53365c2201b9438e9975c3d68c57b6965ab5b9e25c0002074e588506922a2965", kill_on_drop: false }` [INFO] [stderr] Compiling diagnostic v0.6.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `concolor` [INFO] [stdout] --> src/draw.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(not(feature = "concolor"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `serde` [INFO] [stdout] = help: consider adding `concolor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `concolor` [INFO] [stdout] --> src/draw.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | if cfg!(feature = "concolor") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `serde` [INFO] [stdout] = help: consider adding `concolor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `concolor` [INFO] [stdout] --> src/draw.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | if cfg!(feature = "concolor") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `serde` [INFO] [stdout] = help: consider adding `concolor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/write.rs:566:59 [INFO] [stdout] | [INFO] [stdout] 566 | ... get_vbar(col, row).filter(|_| (col != line_label.column || line_label.label.msg.is_some())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 566 - get_vbar(col, row).filter(|_| (col != line_label.column || line_label.label.msg.is_some())) [INFO] [stdout] 566 + get_vbar(col, row).filter(|_| col != line_label.column || line_label.label.msg.is_some()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/write.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_source_groups(&self, cache: &SourceCache) -> Vec { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn get_source_groups(&self, cache: &SourceCache) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `concolor` [INFO] [stdout] --> src/draw.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(not(feature = "concolor"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `serde` [INFO] [stdout] = help: consider adding `concolor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `concolor` [INFO] [stdout] --> src/draw.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | if cfg!(feature = "concolor") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `serde` [INFO] [stdout] = help: consider adding `concolor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `concolor` [INFO] [stdout] --> src/draw.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | if cfg!(feature = "concolor") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `serde` [INFO] [stdout] = help: consider adding `concolor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/write.rs:566:59 [INFO] [stdout] | [INFO] [stdout] 566 | ... get_vbar(col, row).filter(|_| (col != line_label.column || line_label.label.msg.is_some())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 566 - get_vbar(col, row).filter(|_| (col != line_label.column || line_label.label.msg.is_some())) [INFO] [stdout] 566 + get_vbar(col, row).filter(|_| col != line_label.column || line_label.label.msg.is_some()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/write.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_source_groups(&self, cache: &SourceCache) -> Vec { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn get_source_groups(&self, cache: &SourceCache) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "53365c2201b9438e9975c3d68c57b6965ab5b9e25c0002074e588506922a2965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53365c2201b9438e9975c3d68c57b6965ab5b9e25c0002074e588506922a2965", kill_on_drop: false }` [INFO] [stdout] 53365c2201b9438e9975c3d68c57b6965ab5b9e25c0002074e588506922a2965 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7199422c02a965594764337f11ddb9cce849670dc2a6c8fabe687c0fff0bf40f [INFO] running `Command { std: "docker" "start" "-a" "7199422c02a965594764337f11ddb9cce849670dc2a6c8fabe687c0fff0bf40f", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `concolor` [INFO] [stderr] --> src/draw.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | #[cfg(not(feature = "concolor"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default` and `serde` [INFO] [stderr] = help: consider adding `concolor` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `concolor` [INFO] [stderr] --> src/draw.rs:50:17 [INFO] [stderr] | [INFO] [stderr] 50 | if cfg!(feature = "concolor") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default` and `serde` [INFO] [stderr] = help: consider adding `concolor` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `concolor` [INFO] [stderr] --> src/draw.rs:63:17 [INFO] [stderr] | [INFO] [stderr] 63 | if cfg!(feature = "concolor") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default` and `serde` [INFO] [stderr] = help: consider adding `concolor` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/write.rs:566:59 [INFO] [stderr] | [INFO] [stderr] 566 | ... get_vbar(col, row).filter(|_| (col != line_label.column || line_label.label.msg.is_some())) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 566 - get_vbar(col, row).filter(|_| (col != line_label.column || line_label.label.msg.is_some())) [INFO] [stderr] 566 + get_vbar(col, row).filter(|_| col != line_label.column || line_label.label.msg.is_some()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/write.rs:35:26 [INFO] [stderr] | [INFO] [stderr] 35 | fn get_source_groups(&self, cache: &SourceCache) -> Vec { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 35 | fn get_source_groups(&self, cache: &SourceCache) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `diagnostic` (lib) generated 5 warnings (run `cargo fix --lib -p diagnostic` to apply 2 suggestions) [INFO] [stderr] warning: `diagnostic` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/diagnostic-c2267dd5418a0e88) [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 diagnostic [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/write.rs:566:59 [INFO] [stderr] | [INFO] [stderr] 566 | ... get_vbar(col, row).filter(|_| (col != line_label.column || line_label.label.msg.is_some())) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 566 - get_vbar(col, row).filter(|_| (col != line_label.column || line_label.label.msg.is_some())) [INFO] [stderr] 566 + get_vbar(col, row).filter(|_| col != line_label.column || line_label.label.msg.is_some()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] running 65 tests [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::bg (line 319) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::blue (line 204) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::bold (line 331) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::fg (line 306) ... ok [INFO] [stdout] test src/style/color.rs - style::color::Color::style (line 49) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::cyan (line 204) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::blink (line 331) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint<()>::disable (line 379) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint (line 62) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::dimmed (line 331) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::fixed (line 192) ... ok [INFO] [stdout] test src/style/color.rs - style::color::Color::paint (line 36) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::black (line 204) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::hidden (line 331) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::default (line 118) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint<()>::is_enabled (line 422) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::green (line 204) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint<()>::enable (line 398) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::inner (line 222) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::italic (line 331) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::invert (line 331) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::wrap (line 288) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::new (line 105) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::masked (line 135) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::strikethrough (line 331) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::mask (line 262) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::style (line 207) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::red (line 204) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::magenta (line 204) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::underline (line 331) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::with_style (line 239) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::rgb (line 179) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::bg (line 226) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::dimmed (line 287) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::bg_color (line 323) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::fg (line 213) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::white (line 204) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::wrapping (line 161) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::is_blink (line 370) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::bold (line 287) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::fmt_prefix (line 397) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::is_bold (line 370) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::invert (line 287) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::fg_color (line 307) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::is_masked (line 339) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::is_hidden (line 370) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::is_dimmed (line 370) ... ok [INFO] [stdout] test src/style/paint.rs - style::paint::Paint::yellow (line 204) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::fmt_suffix (line 459) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style (line 102) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::is_italic (line 370) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::blink (line 287) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::is_invert (line 370) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::is_underline (line 370) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::hidden (line 287) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::is_wrapping (line 355) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::new (line 200) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::is_strikethrough (line 370) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::mask (line 243) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::underline (line 287) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::paint (line 294) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::italic (line 287) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::strikethrough (line 287) ... ok [INFO] [stdout] test src/style/style.rs - style::style::Style::wrap (line 269) ... ok [INFO] [stdout] test src/windows.rs - windows::enable_ansi_color (line 84) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 65 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.68s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7199422c02a965594764337f11ddb9cce849670dc2a6c8fabe687c0fff0bf40f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7199422c02a965594764337f11ddb9cce849670dc2a6c8fabe687c0fff0bf40f", kill_on_drop: false }` [INFO] [stdout] 7199422c02a965594764337f11ddb9cce849670dc2a6c8fabe687c0fff0bf40f