[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] 087460afad86faa11efed89f8e6df5f543c77070 [INFO] testing richardbrodie/aristotle against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichardbrodie%2Faristotle" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/richardbrodie/aristotle on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive_arbitrary v1.4.0 [INFO] [stderr] Downloaded quick-xml v0.37.0 [INFO] [stderr] Downloaded arbitrary v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91d255460a5d16ecef9268951da9dd1f6b216192be55b66dfb507abb3dfabbae [INFO] running `Command { std: "docker" "start" "-a" "91d255460a5d16ecef9268951da9dd1f6b216192be55b66dfb507abb3dfabbae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91d255460a5d16ecef9268951da9dd1f6b216192be55b66dfb507abb3dfabbae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91d255460a5d16ecef9268951da9dd1f6b216192be55b66dfb507abb3dfabbae", kill_on_drop: false }` [INFO] [stdout] 91d255460a5d16ecef9268951da9dd1f6b216192be55b66dfb507abb3dfabbae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd2028c670f9fb4aaf039a7384f7de903a9ee681df89bca6ad1309e56336efde [INFO] running `Command { std: "docker" "start" "-a" "dd2028c670f9fb4aaf039a7384f7de903a9ee681df89bca6ad1309e56336efde", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling wayland-client v0.31.7 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling drm-sys v0.7.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cc v1.1.34 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Compiling ttf-parser v0.25.0 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.6.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling tiny-xlib v0.2.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling softbuffer v0.4.6 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling zip v2.2.0 [INFO] [stderr] Compiling ctor-lite v0.1.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling dpi v0.1.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling quick-xml v0.37.0 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling drm-ffi v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling drm v0.12.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling wayland-protocols v0.32.5 [INFO] [stderr] Compiling wayland-cursor v0.31.7 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.5 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.5 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling aristotle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/epub.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | XmlDocument(quick_xml::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EpubError` 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] 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] 19 | XmlDocument(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/epub.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | XmlField(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EpubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 20 | XmlField(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Content` is never constructed [INFO] [stdout] --> src/epub.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum EpubError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Content, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EpubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Heading` is never constructed [INFO] [stdout] --> src/epub.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum ContentElement { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 63 | Heading(TextElement), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContentElement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `element` is never used [INFO] [stdout] --> src/epub/book.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Book { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn element(&self, id: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/epub/element.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Element { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn path(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/font.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | NoGlyph(char), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FontError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 20 | NoGlyph(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Raster` is never constructed [INFO] [stdout] --> src/font.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum FontError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 16 | MissingFace, [INFO] [stdout] 17 | Raster, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ContentElement` is never used [INFO] [stdout] --> src/font.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum ContentElement { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContentElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `weight` is never read [INFO] [stdout] --> src/font.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TextObject { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | pub weight: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextObject` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `styles` is never used [INFO] [stdout] --> src/font/fonts.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Faces { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 34 | fn get_face(&self, style: FontStyle) -> Option<&Face>; [INFO] [stdout] 35 | fn styles(&self) -> impl Iterator; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/font/fonts.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Family { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 40 | 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 function `from_font` is never used [INFO] [stdout] --> src/font/fonts.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Family { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 44 | pub fn from_font

(p: P) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/font/fonts/index.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct IndexedFont { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `families` is never used [INFO] [stdout] --> src/font/fonts/index.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Indexer { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 34 | fn get_family(&self, family: &str) -> Option; [INFO] [stdout] 35 | fn families(&self) -> impl Iterator; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `kern` is never used [INFO] [stdout] --> src/font/typeset.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Typesetter { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | fn kern(face: &Face, left: Option, right: GlyphId) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.23s [INFO] running `Command { std: "docker" "inspect" "dd2028c670f9fb4aaf039a7384f7de903a9ee681df89bca6ad1309e56336efde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd2028c670f9fb4aaf039a7384f7de903a9ee681df89bca6ad1309e56336efde", kill_on_drop: false }` [INFO] [stdout] dd2028c670f9fb4aaf039a7384f7de903a9ee681df89bca6ad1309e56336efde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 583bfa858b219e696370b466264614b3bab3dfdb1601a19059518a58f5838bf8 [INFO] running `Command { std: "docker" "start" "-a" "583bfa858b219e696370b466264614b3bab3dfdb1601a19059518a58f5838bf8", kill_on_drop: false }` [INFO] [stderr] Compiling aristotle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/epub.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | XmlDocument(quick_xml::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EpubError` 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] 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] 19 | XmlDocument(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/epub.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | XmlField(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EpubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 20 | XmlField(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Content` is never constructed [INFO] [stdout] --> src/epub.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum EpubError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Content, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EpubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Heading` is never constructed [INFO] [stdout] --> src/epub.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum ContentElement { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 63 | Heading(TextElement), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContentElement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `element` is never used [INFO] [stdout] --> src/epub/book.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Book { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn element(&self, id: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/epub/element.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Element { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn path(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/font.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | NoGlyph(char), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FontError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 20 | NoGlyph(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Raster` is never constructed [INFO] [stdout] --> src/font.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum FontError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 16 | MissingFace, [INFO] [stdout] 17 | Raster, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ContentElement` is never used [INFO] [stdout] --> src/font.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum ContentElement { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContentElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `weight` is never read [INFO] [stdout] --> src/font.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TextObject { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | pub weight: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextObject` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `styles` is never used [INFO] [stdout] --> src/font/fonts.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Faces { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 34 | fn get_face(&self, style: FontStyle) -> Option<&Face>; [INFO] [stdout] 35 | fn styles(&self) -> impl Iterator; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/font/fonts.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Family { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 40 | 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: field `path` is never read [INFO] [stdout] --> src/font/fonts/index.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct IndexedFont { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `families` is never used [INFO] [stdout] --> src/font/fonts/index.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Indexer { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 34 | fn get_family(&self, family: &str) -> Option; [INFO] [stdout] 35 | fn families(&self) -> impl Iterator; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `kern` is never used [INFO] [stdout] --> src/font/typeset.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Typesetter { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | fn kern(face: &Face, left: Option, right: GlyphId) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.53s [INFO] running `Command { std: "docker" "inspect" "583bfa858b219e696370b466264614b3bab3dfdb1601a19059518a58f5838bf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "583bfa858b219e696370b466264614b3bab3dfdb1601a19059518a58f5838bf8", kill_on_drop: false }` [INFO] [stdout] 583bfa858b219e696370b466264614b3bab3dfdb1601a19059518a58f5838bf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f9a8b40d128dc5af74fcd7543aadf9ad62404464f017ca9230aceb3c6650912c [INFO] running `Command { std: "docker" "start" "-a" "f9a8b40d128dc5af74fcd7543aadf9ad62404464f017ca9230aceb3c6650912c", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/epub.rs:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | XmlDocument(quick_xml::Error), [INFO] [stderr] | ----------- ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `EpubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` 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] 19 | XmlDocument(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/epub.rs:20:14 [INFO] [stderr] | [INFO] [stderr] 20 | XmlField(String), [INFO] [stderr] | -------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `EpubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 20 | XmlField(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: variant `Content` is never constructed [INFO] [stderr] --> src/epub.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 18 | pub enum EpubError { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 25 | Content, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EpubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `Heading` is never constructed [INFO] [stderr] --> src/epub.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 62 | pub enum ContentElement { [INFO] [stderr] | -------------- variant in this enum [INFO] [stderr] 63 | Heading(TextElement), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ContentElement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `element` is never used [INFO] [stderr] --> src/epub/book.rs:101:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl Book { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 101 | pub fn element(&self, id: &str) -> Option { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `path` is never used [INFO] [stderr] --> src/epub/element.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 36 | impl Element { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn path(&self) -> Option<&str> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/font.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | NoGlyph(char), [INFO] [stderr] | ------- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `FontError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 20 | NoGlyph(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: variant `Raster` is never constructed [INFO] [stderr] --> src/font.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub enum FontError { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] 16 | MissingFace, [INFO] [stderr] 17 | Raster, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FontError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `ContentElement` is never used [INFO] [stderr] --> src/font.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | pub enum ContentElement { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ContentElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `weight` is never read [INFO] [stderr] --> src/font.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct TextObject { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 49 | pub weight: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TextObject` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `styles` is never used [INFO] [stderr] --> src/font/fonts.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub trait Faces { [INFO] [stderr] | ----- method in this trait [INFO] [stderr] 34 | fn get_face(&self, style: FontStyle) -> Option<&Face>; [INFO] [stderr] 35 | fn styles(&self) -> impl Iterator; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/font/fonts.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct Family { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 40 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Family` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `path` is never read [INFO] [stderr] --> src/font/fonts/index.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct IndexedFont { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 12 | pub path: PathBuf, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `families` is never used [INFO] [stderr] --> src/font/fonts/index.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub trait Indexer { [INFO] [stderr] | ------- method in this trait [INFO] [stderr] 34 | fn get_family(&self, family: &str) -> Option; [INFO] [stderr] 35 | fn families(&self) -> impl Iterator; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `kern` is never used [INFO] [stderr] --> src/font/typeset.rs:189:8 [INFO] [stderr] | [INFO] [stderr] 26 | impl Typesetter { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 189 | fn kern(face: &Face, left: Option, right: GlyphId) -> f32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `aristotle` (bin "aristotle" test) generated 15 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/aristotle-00a39e52f49f6e60) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test epub::guide::tests::reference_correct ... ok [INFO] [stdout] test epub::book::tests::get_rootfile_path ... ok [INFO] [stdout] test epub::manifest::tests::happy_path ... ok [INFO] [stdout] test epub::metadata::tests::happy_path ... ok [INFO] [stdout] test epub::metadata::tests::missing_title ... ok [INFO] [stdout] test epub::metadata::tests::no_metadata_node ... ok [INFO] [stdout] test epub::spine::tests::happy_path ... ok [INFO] [stdout] test epub::spine::tests::missing_itemref ... ok [INFO] [stdout] test epub::spine::tests::missing_toc ... ok [INFO] [stdout] test epub::content::tests::parse_paragraph ... ok [INFO] [stdout] test epub::guide::tests::reference_missing_field ... ok [INFO] [stdout] test font::raster::draw::tests::italic_y ... ok [INFO] [stdout] test font::raster::draw::tests::regular_y ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f9a8b40d128dc5af74fcd7543aadf9ad62404464f017ca9230aceb3c6650912c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9a8b40d128dc5af74fcd7543aadf9ad62404464f017ca9230aceb3c6650912c", kill_on_drop: false }` [INFO] [stdout] f9a8b40d128dc5af74fcd7543aadf9ad62404464f017ca9230aceb3c6650912c