[INFO] fetching crate nmd-core 0.39.0... [INFO] checking nmd-core-0.39.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate nmd-core 0.39.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate nmd-core 0.39.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nmd-core 0.39.0 [INFO] finished tweaking crates.io crate nmd-core 0.39.0 [INFO] tweaked toml for crates.io crate nmd-core 0.39.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate nmd-core 0.39.0 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oxipng v9.1.1 [INFO] [stderr] Downloaded libdeflater v1.20.0 [INFO] [stderr] Downloaded build_html v2.5.0 [INFO] [stderr] Downloaded rgb v0.8.40 [INFO] [stderr] Downloaded clap_mangen v0.2.22 [INFO] [stderr] Downloaded libdeflate-sys v1.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 152582d15746ca951e20beb1652658b29dcfdf7736c7650b4ebc5a597c05b863 [INFO] running `Command { std: "docker" "start" "-a" "152582d15746ca951e20beb1652658b29dcfdf7736c7650b4ebc5a597c05b863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "152582d15746ca951e20beb1652658b29dcfdf7736c7650b4ebc5a597c05b863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "152582d15746ca951e20beb1652658b29dcfdf7736c7650b4ebc5a597c05b863", kill_on_drop: false }` [INFO] [stdout] 152582d15746ca951e20beb1652658b29dcfdf7736c7650b4ebc5a597c05b863 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f64ea02ef403b3ea5d6b1d44f2a93f3139f98bc667aed49f65635e19ad72168 [INFO] running `Command { std: "docker" "start" "-a" "8f64ea02ef403b3ea5d6b1d44f2a93f3139f98bc667aed49f65635e19ad72168", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v2.0.69 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling clap_builder v4.5.8 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libdeflate-sys v1.20.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking tinyvec v1.7.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling roff v0.2.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling clap v4.5.8 [INFO] [stderr] Compiling clap_mangen v0.2.22 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling oxipng v9.1.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking rgb v0.8.40 [INFO] [stderr] Checking libdeflater v1.20.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking simple_logger v4.3.3 [INFO] [stderr] Checking infer v0.16.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking build_html v2.5.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking nmd-core v0.39.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::compiler::compilation_rule::constants::ESCAPE_HTML` [INFO] [stdout] --> src/compiler/compilation_rule/html_image_rule.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::compiler::compilation_rule::constants::ESCAPE_HTML; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utility::text_utility` [INFO] [stdout] --> src/compiler/compilation_rule/html_image_rule.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::utility::text_utility; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompilableContent` [INFO] [stdout] --> src/compiler/compilation_rule.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | use super::{compilable::{Compilable, CompilableContent}, compilation_configuration::{compilation_configuration_overlay::CompilationConfig... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/compiler.rs:19:117 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{bibliography::{Bibliography, BIBLIOGRAPHY_FICTITIOUS_DOCUMENT}, dossier::{document::{chapter::heading::{self, Heading}, Chapt... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::format` and `hash::Hash` [INFO] [stdout] --> src/utility/nmd_unique_identifier.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::format, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `document::Paragraph` [INFO] [stdout] --> src/utility/nmd_unique_identifier.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::dossier::{document::Paragraph, Document}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `images`, `documents`, and `styles` are never read [INFO] [stdout] --> src/artifact/artifact_assets.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ArtifactAssets { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | // TODO [INFO] [stdout] 7 | images: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | documents: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | styles: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArtifactAssets` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CHAPTER_STYLE_PATTERN_REGEX` is never used [INFO] [stdout] --> src/loader.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | static CHAPTER_STYLE_PATTERN_REGEX: Lazy = Lazy::new(|| Regex::new(CHAPTER_STYLE_PATTERN).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load_chapter_style_from_str` is never used [INFO] [stdout] --> src/loader.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl Loader { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 339 | fn load_chapter_style_from_str(content: &str, _codex: &Codex, _configuration: &LoaderConfiguration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dossier` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let dossier = load_dossier(&dossier_path); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dossier` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `output_format::OutputFormat` [INFO] [stdout] --> benches/loading_dossier_benchmark.rs:4:134 [INFO] [stdout] | [INFO] [stdout] 4 | ...{loader_configuration::LoaderConfiguration, Loader}, output_format::OutputFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dossier` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let dossier = load_dossier(&dossier_path); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dossier` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::compilation_rule::constants::ESCAPE_HTML` [INFO] [stdout] --> src/compiler/compilation_rule/html_image_rule.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::compiler::compilation_rule::constants::ESCAPE_HTML; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utility::text_utility` [INFO] [stdout] --> src/compiler/compilation_rule/html_image_rule.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::utility::text_utility; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompilableContent` [INFO] [stdout] --> src/compiler/compilation_rule.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | use super::{compilable::{Compilable, CompilableContent}, compilation_configuration::{compilation_configuration_overlay::CompilationConfig... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/compiler.rs:19:117 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{bibliography::{Bibliography, BIBLIOGRAPHY_FICTITIOUS_DOCUMENT}, dossier::{document::{chapter::heading::{self, Heading}, Chapt... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::format` and `hash::Hash` [INFO] [stdout] --> src/utility/nmd_unique_identifier.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::format, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `document::Paragraph` [INFO] [stdout] --> src/utility/nmd_unique_identifier.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::dossier::{document::Paragraph, Document}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `images`, `documents`, and `styles` are never read [INFO] [stdout] --> src/artifact/artifact_assets.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ArtifactAssets { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | // TODO [INFO] [stdout] 7 | images: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | documents: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | styles: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArtifactAssets` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CHAPTER_STYLE_PATTERN_REGEX` is never used [INFO] [stdout] --> src/loader.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | static CHAPTER_STYLE_PATTERN_REGEX: Lazy = Lazy::new(|| Regex::new(CHAPTER_STYLE_PATTERN).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load_chapter_style_from_str` is never used [INFO] [stdout] --> src/loader.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl Loader { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 339 | fn load_chapter_style_from_str(content: &str, _codex: &Codex, _configuration: &LoaderConfiguration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "8f64ea02ef403b3ea5d6b1d44f2a93f3139f98bc667aed49f65635e19ad72168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f64ea02ef403b3ea5d6b1d44f2a93f3139f98bc667aed49f65635e19ad72168", kill_on_drop: false }` [INFO] [stdout] 8f64ea02ef403b3ea5d6b1d44f2a93f3139f98bc667aed49f65635e19ad72168