[INFO] cloning repository https://github.com/bash/md [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bash/md" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbash%2Fmd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbash%2Fmd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b170cba5df5fed58106d6704cc5165cbeeba3951 [INFO] testing bash/md against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbash%2Fmd" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bash/md [INFO] finished tweaking git repo https://github.com/bash/md [INFO] tweaked toml for git repo https://github.com/bash/md written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bash/md on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bash/md 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3cc0dc773113a81b8505023d21ee69c719a9029ffca1258e7efe061d2e64658 [INFO] running `Command { std: "docker" "start" "-a" "a3cc0dc773113a81b8505023d21ee69c719a9029ffca1258e7efe061d2e64658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3cc0dc773113a81b8505023d21ee69c719a9029ffca1258e7efe061d2e64658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3cc0dc773113a81b8505023d21ee69c719a9029ffca1258e7efe061d2e64658", kill_on_drop: false }` [INFO] [stdout] a3cc0dc773113a81b8505023d21ee69c719a9029ffca1258e7efe061d2e64658 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a99240812717363cf884a76b3cf3b369ce7f5d0c0f2b7d66b66879630d39a73a [INFO] running `Command { std: "docker" "start" "-a" "a99240812717363cf884a76b3cf3b369ce7f5d0c0f2b7d66b66879630d39a73a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling bat v0.24.0 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling std_prelude v0.2.12 [INFO] [stderr] Compiling line-wrap v0.2.0 [INFO] [stderr] Compiling path_abs v0.5.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling ansi_colours v1.2.2 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling bytesize v1.3.0 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling nu-ansi-term v0.49.0 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling pulldown-cmark v0.11.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.35.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling pulldown-cmark-escape v0.11.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling backtrace v0.3.72 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling hostname v0.4.0 [INFO] [stderr] Compiling fmtastic v0.2.1 (https://github.com/bash/fmtastic.git#fb3ecc1f) [INFO] [stderr] Compiling unicode-linebreak-chunked v0.1.0 (https://github.com/bash/unicode-linebreak-chunked.git?branch=tables#e5fe4073) [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling trait-set v0.3.0 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling plist v1.6.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling clircle v0.4.0 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling os_info v3.8.2 [INFO] [stderr] Compiling toml_edit v0.22.14 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling toml v0.8.14 [INFO] [stderr] Compiling human-panic v2.0.0 [INFO] [stderr] Compiling matte-language-names v0.1.0 (/opt/rustwide/workdir/crates/matte-language-names) [INFO] [stderr] Compiling matte v0.1.0 (/opt/rustwide/workdir/crates/matte) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/matte/src/block/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Heading(HeadingLevel), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BlockKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Heading(HeadingLevel), [INFO] [stdout] 10 + Heading(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_block` is never used [INFO] [stdout] --> crates/matte/src/context.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 83 | impl<'a, 'e> Context<'a, 'e, '_> { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub(crate) fn current_block(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alignments` is never read [INFO] [stdout] --> crates/matte/src/render/table.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | pub(crate) alignments: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `margin_size` is never used [INFO] [stdout] --> crates/matte/src/themes/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) trait ThemeProvider: fmt::Debug { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 30 | fn margin_size(&self, a: &BlockKind, b: &BlockKind, ctx: &Context<'_, '_, '_>) -> usize; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling md v0.1.0 (/opt/rustwide/workdir/crates/md) [INFO] [stdout] warning: unused import: `pager::Pager` [INFO] [stdout] --> crates/md/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use pager::Pager; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_changelog` is never used [INFO] [stdout] --> crates/md/src/file_detection.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn is_changelog(path: &PathBuf) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_changelog_file` is never used [INFO] [stdout] --> crates/md/src/file_detection.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn is_changelog_file(file_stem: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Always` and `Never` are never constructed [INFO] [stdout] --> crates/md/src/paging.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum PagingChoice { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Always, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | /// Disables paging no matter if the output is going to a terminal/TTY, or not. [INFO] [stdout] 11 | Never, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PagingChoice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.60s [INFO] running `Command { std: "docker" "inspect" "a99240812717363cf884a76b3cf3b369ce7f5d0c0f2b7d66b66879630d39a73a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a99240812717363cf884a76b3cf3b369ce7f5d0c0f2b7d66b66879630d39a73a", kill_on_drop: false }` [INFO] [stdout] a99240812717363cf884a76b3cf3b369ce7f5d0c0f2b7d66b66879630d39a73a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb757139dd14ac66ccb9e909605e64f8448e1587f89ee972dbf903e04a1f7b05 [INFO] running `Command { std: "docker" "start" "-a" "bb757139dd14ac66ccb9e909605e64f8448e1587f89ee972dbf903e04a1f7b05", kill_on_drop: false }` [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling winnow v0.6.9 [INFO] [stderr] Compiling similar v2.5.0 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling insta v1.39.0 [INFO] [stderr] Compiling toml_edit v0.22.14 [INFO] [stderr] Compiling bat v0.24.0 [INFO] [stderr] Compiling matte-language-names v0.1.0 (/opt/rustwide/workdir/crates/matte-language-names) [INFO] [stderr] Compiling toml v0.8.14 [INFO] [stderr] Compiling human-panic v2.0.0 [INFO] [stderr] Compiling matte v0.1.0 (/opt/rustwide/workdir/crates/matte) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/matte/src/block/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Heading(HeadingLevel), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BlockKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Heading(HeadingLevel), [INFO] [stdout] 10 + Heading(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_block` is never used [INFO] [stdout] --> crates/matte/src/context.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 83 | impl<'a, 'e> Context<'a, 'e, '_> { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub(crate) fn current_block(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alignments` is never read [INFO] [stdout] --> crates/matte/src/render/table.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | pub(crate) alignments: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `margin_size` is never used [INFO] [stdout] --> crates/matte/src/themes/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) trait ThemeProvider: fmt::Debug { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 30 | fn margin_size(&self, a: &BlockKind, b: &BlockKind, ctx: &Context<'_, '_, '_>) -> usize; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/matte/src/block/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Heading(HeadingLevel), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BlockKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Heading(HeadingLevel), [INFO] [stdout] 10 + Heading(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_block` is never used [INFO] [stdout] --> crates/matte/src/context.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 83 | impl<'a, 'e> Context<'a, 'e, '_> { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub(crate) fn current_block(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alignments` is never read [INFO] [stdout] --> crates/matte/src/render/table.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | pub(crate) alignments: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `margin_size` is never used [INFO] [stdout] --> crates/matte/src/themes/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) trait ThemeProvider: fmt::Debug { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 30 | fn margin_size(&self, a: &BlockKind, b: &BlockKind, ctx: &Context<'_, '_, '_>) -> usize; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling md v0.1.0 (/opt/rustwide/workdir/crates/md) [INFO] [stdout] warning: unused import: `pager::Pager` [INFO] [stdout] --> crates/md/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use pager::Pager; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_changelog` is never used [INFO] [stdout] --> crates/md/src/file_detection.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn is_changelog(path: &PathBuf) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_changelog_file` is never used [INFO] [stdout] --> crates/md/src/file_detection.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn is_changelog_file(file_stem: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Always` and `Never` are never constructed [INFO] [stdout] --> crates/md/src/paging.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum PagingChoice { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Always, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | /// Disables paging no matter if the output is going to a terminal/TTY, or not. [INFO] [stdout] 11 | Never, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PagingChoice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.59s [INFO] running `Command { std: "docker" "inspect" "bb757139dd14ac66ccb9e909605e64f8448e1587f89ee972dbf903e04a1f7b05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb757139dd14ac66ccb9e909605e64f8448e1587f89ee972dbf903e04a1f7b05", kill_on_drop: false }` [INFO] [stdout] bb757139dd14ac66ccb9e909605e64f8448e1587f89ee972dbf903e04a1f7b05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0d4099aaf4c18880872efdc8f13f170f1869de0e618ebfde93bd1ca4747a5094 [INFO] running `Command { std: "docker" "start" "-a" "0d4099aaf4c18880872efdc8f13f170f1869de0e618ebfde93bd1ca4747a5094", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> crates/matte/src/block/mod.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | Heading(HeadingLevel), [INFO] [stderr] | ------- ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BlockKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 10 - Heading(HeadingLevel), [INFO] [stderr] 10 + Heading(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: method `current_block` is never used [INFO] [stderr] --> crates/matte/src/context.rs:100:19 [INFO] [stderr] | [INFO] [stderr] 83 | impl<'a, 'e> Context<'a, 'e, '_> { [INFO] [stderr] | -------------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 100 | pub(crate) fn current_block(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `alignments` is never read [INFO] [stderr] --> crates/matte/src/render/table.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 6 | pub(crate) struct Table { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 7 | pub(crate) alignments: Vec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `margin_size` is never used [INFO] [stderr] --> crates/matte/src/themes/mod.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub(crate) trait ThemeProvider: fmt::Debug { [INFO] [stderr] | ------------- method in this trait [INFO] [stderr] 30 | fn margin_size(&self, a: &BlockKind, b: &BlockKind, ctx: &Context<'_, '_, '_>) -> usize; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `matte` (lib) generated 4 warnings [INFO] [stderr] warning: unused import: `pager::Pager` [INFO] [stderr] --> crates/md/src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use pager::Pager; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `is_changelog` is never used [INFO] [stderr] --> crates/md/src/file_detection.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | pub(crate) fn is_changelog(path: &PathBuf) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `is_changelog_file` is never used [INFO] [stderr] --> crates/md/src/file_detection.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | fn is_changelog_file(file_stem: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Always` and `Never` are never constructed [INFO] [stderr] --> crates/md/src/paging.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) enum PagingChoice { [INFO] [stderr] | ------------ variants in this enum [INFO] [stderr] ... [INFO] [stderr] 9 | Always, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 10 | /// Disables paging no matter if the output is going to a terminal/TTY, or not. [INFO] [stderr] 11 | Never, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PagingChoice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `md` (bin "md" test) generated 4 warnings (run `cargo fix --bin "md" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `matte` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/matte-2182df804d0a364a) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test block_quote::classification::tests::after_hard_break ... ok [INFO] [stdout] test block_quote::classification::tests::counter_examples ... ok [INFO] [stdout] test block_quote::classification::tests::inside_emphasis ... ok [INFO] [stdout] test block_quote::classification::tests::leading_whitespace ... ok [INFO] [stdout] test textwrap::fragment::tests::fragments_do_not_include_trailing_newlines ... ok [INFO] [stdout] test block_quote::classification::tests::trailing_text ... ok [INFO] [stdout] test textwrap::tests::does_not_emit_line_start_for_passthrough_elements ... ok [INFO] [stdout] test textwrap::tests::breaks_long_lines_between_words ... ok [INFO] [stdout] test textwrap::tests::emits_line_start_and_end ... ok [INFO] [stdout] test textwrap::tests::breaks_at_newline_characters ... ok [INFO] [stdout] test textwrap::tests::emits_no_chunks_for_empty_raw_chunks ... ok [INFO] [stdout] test textwrap::tests::emits_no_chunks_if_only_passthrough ... ok [INFO] [stdout] test textwrap::tests::passthrough_and_chunks_does_not_break_words ... ok [INFO] [stdout] test block_quote::classification::tests::inside_strong ... ok [INFO] [stdout] test textwrap::tests::emits_no_chunks_for_one_or_more_empty_chunk ... ok [INFO] [stdout] test block_quote::classification::tests::minimal ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/snapshot.rs (/opt/rustwide/target/debug/deps/snapshot-480c5673ef1be803) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_snippets ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.79s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/matte_language_names-645272d4a8a02c62) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::finds_language_by_extension ... ok [INFO] [stdout] test tests::finds_language_with_modifier ... ok [INFO] [stdout] test tests::finds_linguist_language ... ok [INFO] [stdout] test tests::finds_bat_language ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/md-df3a10a12b537523) [INFO] [stdout] [INFO] [stderr] Doc-tests matte [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] [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 matte_language_names [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" "0d4099aaf4c18880872efdc8f13f170f1869de0e618ebfde93bd1ca4747a5094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d4099aaf4c18880872efdc8f13f170f1869de0e618ebfde93bd1ca4747a5094", kill_on_drop: false }` [INFO] [stdout] 0d4099aaf4c18880872efdc8f13f170f1869de0e618ebfde93bd1ca4747a5094