[INFO] cloning repository https://github.com/richardbrodie/aristotle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/richardbrodie/aristotle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichardbrodie%2Faristotle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichardbrodie%2Faristotle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95299ed144cea292364d8c88f46503d406576f6e [INFO] checking richardbrodie/aristotle/95299ed144cea292364d8c88f46503d406576f6e against master#3b1b0ef4d80d3117924d91352c8b6ca528708b3c for pr-152996 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichardbrodie%2Faristotle" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/richardbrodie/aristotle [INFO] finished tweaking git repo https://github.com/richardbrodie/aristotle [INFO] tweaked toml for git repo https://github.com/richardbrodie/aristotle written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/richardbrodie/aristotle on toolchain 3b1b0ef4d80d3117924d91352c8b6ca528708b3c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3b1b0ef4d80d3117924d91352c8b6ca528708b3c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/richardbrodie/aristotle 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" "+3b1b0ef4d80d3117924d91352c8b6ca528708b3c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zip v2.6.1 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3b1b0ef4d80d3117924d91352c8b6ca528708b3c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9203f4aeb181c681537ee245b744ea7972563c9e6458320a39281d42f49e810 [INFO] running `Command { std: "docker" "start" "-a" "d9203f4aeb181c681537ee245b744ea7972563c9e6458320a39281d42f49e810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9203f4aeb181c681537ee245b744ea7972563c9e6458320a39281d42f49e810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9203f4aeb181c681537ee245b744ea7972563c9e6458320a39281d42f49e810", kill_on_drop: false }` [INFO] [stdout] d9203f4aeb181c681537ee245b744ea7972563c9e6458320a39281d42f49e810 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3b1b0ef4d80d3117924d91352c8b6ca528708b3c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37e92a7abdb1eb63074f72cd7a9a647eb3ab78f0fa6ba20e881ea326727a498c [INFO] running `Command { std: "docker" "start" "-a" "37e92a7abdb1eb63074f72cd7a9a647eb3ab78f0fa6ba20e881ea326727a498c", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling wayland-client v0.31.8 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling quick-xml v0.37.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling wayland-backend v0.3.8 [INFO] [stderr] Compiling drm-sys v0.7.0 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking linux-raw-sys v0.6.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling softbuffer v0.4.6 [INFO] [stderr] Compiling winit v0.30.9 [INFO] [stderr] Compiling zip v2.6.1 [INFO] [stderr] Checking bumpalo v3.17.0 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking drm-ffi v0.8.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking drm v0.12.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking wayland-protocols v0.32.6 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.8 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.6 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.6 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking aristotle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/epub/content.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Content { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `text` and `element` are never used [INFO] [stdout] --> src/epub/html.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn text(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn element(&self) -> Option<&Element> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `element` is never used [INFO] [stdout] --> src/epub/index.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Index { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn element(&self, id: &str) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PageOverflow` is never constructed [INFO] [stdout] --> src/text/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TextError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | PageOverflow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/text/fonts/family.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Family { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 9 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Family` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/epub/content.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Content { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_font` and `face_styles` are never used [INFO] [stdout] --> src/text/fonts/family.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Family { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn from_font

(p: P) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn face_styles(&self) -> impl Iterator + use<'_> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/text/fonts/index.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct IndexedFont { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 15 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `families` is never used [INFO] [stdout] --> src/text/fonts/index.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl FontIndexer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn families(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `element` is never used [INFO] [stdout] --> src/epub/index.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Index { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn element(&self, id: &str) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kern` is never used [INFO] [stdout] --> src/text/typeset.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn kern(face: &Face, left: Option, right: GlyphId) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PageOverflow` is never constructed [INFO] [stdout] --> src/text/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TextError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | PageOverflow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/text/fonts/family.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Family { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 9 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Family` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_font` and `face_styles` are never used [INFO] [stdout] --> src/text/fonts/family.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Family { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn from_font

(p: P) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn face_styles(&self) -> impl Iterator + use<'_> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/text/fonts/index.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct IndexedFont { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 15 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `families` is never used [INFO] [stdout] --> src/text/fonts/index.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl FontIndexer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn families(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kern` is never used [INFO] [stdout] --> src/text/typeset.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn kern(face: &Face, left: Option, right: GlyphId) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/fonts/face.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn as_ttf_face(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 48 | pub fn as_ttf_face(&self) -> Result, TextError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/fonts/face.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn as_ttf_face(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 48 | pub fn as_ttf_face(&self) -> Result, TextError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.12s [INFO] running `Command { std: "docker" "inspect" "37e92a7abdb1eb63074f72cd7a9a647eb3ab78f0fa6ba20e881ea326727a498c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37e92a7abdb1eb63074f72cd7a9a647eb3ab78f0fa6ba20e881ea326727a498c", kill_on_drop: false }` [INFO] [stdout] 37e92a7abdb1eb63074f72cd7a9a647eb3ab78f0fa6ba20e881ea326727a498c