[INFO] fetching crate pdf-rs 0.1.7-dev... [INFO] checking pdf-rs-0.1.7-dev against master#8a703520e80d87d4423c01f9d4fbc9e5f6533a02 for pr-154205-1 [INFO] extracting crate pdf-rs 0.1.7-dev into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate pdf-rs 0.1.7-dev [INFO] finished tweaking crates.io crate pdf-rs 0.1.7-dev [INFO] tweaked toml for crates.io crate pdf-rs 0.1.7-dev written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pdf-rs 0.1.7-dev on toolchain 8a703520e80d87d4423c01f9d4fbc9e5f6533a02 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pdf-rs 0.1.7-dev 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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flate2 v1.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40dea923e85eac14b6a34c121bd9e757e2b94503b551d7a6800da46f1fe96223 [INFO] running `Command { std: "docker" "start" "-a" "40dea923e85eac14b6a34c121bd9e757e2b94503b551d7a6800da46f1fe96223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40dea923e85eac14b6a34c121bd9e757e2b94503b551d7a6800da46f1fe96223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40dea923e85eac14b6a34c121bd9e757e2b94503b551d7a6800da46f1fe96223", kill_on_drop: false }` [INFO] [stdout] 40dea923e85eac14b6a34c121bd9e757e2b94503b551d7a6800da46f1fe96223 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 059b1f2a05c0051578f96c22e3cfa60df3f25d6949163cfb8631ff805cb34404 [INFO] running `Command { std: "docker" "start" "-a" "059b1f2a05c0051578f96c22e3cfa60df3f25d6949163cfb8631ff805cb34404", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking flate2 v1.1.8 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking pdf-rs v0.1.7-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PDFError` [INFO] [stdout] --> src/parser.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{PDFError, Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hexdump` [INFO] [stdout] --> src/tokenizer.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::{hexdump, line_ending}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/catalog.rs:394:35 [INFO] [stdout] | [INFO] [stdout] 394 | let is_kid_last = (i == total - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 394 - let is_kid_last = (i == total - 1); [INFO] [stdout] 394 + let is_kid_last = i == total - 1 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PDFError` [INFO] [stdout] --> src/parser.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{PDFError, Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hexdump` [INFO] [stdout] --> src/tokenizer.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::{hexdump, line_ending}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/catalog.rs:394:35 [INFO] [stdout] | [INFO] [stdout] 394 | let is_kid_last = (i == total - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 394 - let is_kid_last = (i == total - 1); [INFO] [stdout] 394 + let is_kid_last = i == total - 1 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_node` [INFO] [stdout] --> src/catalog.rs:405:21 [INFO] [stdout] | [INFO] [stdout] 405 | if let Some(page_node) = self.nodes.get(&root_id) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/helper.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let text = decode_stream(&stream)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hexdump` is never used [INFO] [stdout] --> src/utils.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | pub(crate) fn hexdump(bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_kind` is never used [INFO] [stdout] --> src/objects.rs:502:19 [INFO] [stdout] | [INFO] [stdout] 473 | impl PDFString { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 502 | pub(crate) fn get_kind(&self) -> &PDFStrKind { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `producer`, `creator`, `creation_date`, `author`, `title`, and `mod_date` are never read [INFO] [stdout] --> src/document.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PDFDescribe { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | producer: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | creator: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | creation_date: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 34 | /// (Optional) The name of the person who created the document. [INFO] [stdout] 35 | author: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | /// (Optional; PDF 1.1) The document’s title. [INFO] [stdout] 37 | title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | mod_date: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `outline_tree_arean` and `describe` are never read [INFO] [stdout] --> src/document.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct PDFDocument { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 58 | outline_tree_arean: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | /// Document info [INFO] [stdout] 60 | describe: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIZE` is never used [INFO] [stdout] --> src/constants.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) const SIZE: &str = "Size"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CATALOG` is never used [INFO] [stdout] --> src/constants.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) const CATALOG: &str = "Catalog"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bool` is never constructed [INFO] [stdout] --> src/tokenizer.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 34 | Id(String), [INFO] [stdout] 35 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_numer`, `is_id`, `is_delimiter`, and `delimiter_was` are never used [INFO] [stdout] --> src/tokenizer.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 43 | pub(crate) fn is_numer(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub(crate) fn is_id(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) fn is_delimiter(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub(crate) fn delimiter_was(&self, str: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `root_id` and `nodes` are never read [INFO] [stdout] --> src/catalog.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) struct OutlineTreeArean { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 69 | /// The ID of the root node in the outline tree. [INFO] [stdout] 70 | root_id: NodeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 71 | /// A collection of all nodes in the outline tree, indexed by their IDs. [INFO] [stdout] 72 | nodes: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/catalog.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct OutlineNode { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 79 | count: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 80 | /// The title of the bookmark. [INFO] [stdout] 81 | title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | /// Optional ID of the previous sibling node. [INFO] [stdout] 83 | prev_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 84 | /// Optional ID of the next sibling node. [INFO] [stdout] 85 | next_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 86 | /// Optional ID of the first child node. [INFO] [stdout] 87 | first_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | /// Optional ID of the last child node. [INFO] [stdout] 89 | last_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 90 | /// Optional ID of the parent node. [INFO] [stdout] 91 | parent_id: Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_root_node` is never used [INFO] [stdout] --> src/catalog.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 290 | impl PageTreeArean { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn get_root_node(&self) -> Option<&PageNode> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MacRoman`, `Standard`, `WinAnsi`, and `MacExpert` are never constructed [INFO] [stdout] --> src/encoding.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) enum PreDefinedEncoding { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 3 | MacRoman, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | Standard, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | WinAnsi, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | PDFDoc, [INFO] [stdout] 7 | MacExpert, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_node` [INFO] [stdout] --> src/catalog.rs:405:21 [INFO] [stdout] | [INFO] [stdout] 405 | if let Some(page_node) = self.nodes.get(&root_id) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/helper.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let text = decode_stream(&stream)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hexdump` is never used [INFO] [stdout] --> src/utils.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | pub(crate) fn hexdump(bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_kind` is never used [INFO] [stdout] --> src/objects.rs:502:19 [INFO] [stdout] | [INFO] [stdout] 473 | impl PDFString { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 502 | pub(crate) fn get_kind(&self) -> &PDFStrKind { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `producer`, `creator`, `creation_date`, `author`, `title`, and `mod_date` are never read [INFO] [stdout] --> src/document.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PDFDescribe { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | producer: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | creator: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | creation_date: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 34 | /// (Optional) The name of the person who created the document. [INFO] [stdout] 35 | author: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | /// (Optional; PDF 1.1) The document’s title. [INFO] [stdout] 37 | title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | mod_date: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `outline_tree_arean` and `describe` are never read [INFO] [stdout] --> src/document.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct PDFDocument { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 58 | outline_tree_arean: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | /// Document info [INFO] [stdout] 60 | describe: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIZE` is never used [INFO] [stdout] --> src/constants.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) const SIZE: &str = "Size"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CATALOG` is never used [INFO] [stdout] --> src/constants.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) const CATALOG: &str = "Catalog"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bool` is never constructed [INFO] [stdout] --> src/tokenizer.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 34 | Id(String), [INFO] [stdout] 35 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_numer`, `is_id`, `is_delimiter`, and `delimiter_was` are never used [INFO] [stdout] --> src/tokenizer.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 43 | pub(crate) fn is_numer(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub(crate) fn is_id(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) fn is_delimiter(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub(crate) fn delimiter_was(&self, str: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `root_id` and `nodes` are never read [INFO] [stdout] --> src/catalog.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) struct OutlineTreeArean { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 69 | /// The ID of the root node in the outline tree. [INFO] [stdout] 70 | root_id: NodeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 71 | /// A collection of all nodes in the outline tree, indexed by their IDs. [INFO] [stdout] 72 | nodes: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/catalog.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct OutlineNode { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 79 | count: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 80 | /// The title of the bookmark. [INFO] [stdout] 81 | title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | /// Optional ID of the previous sibling node. [INFO] [stdout] 83 | prev_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 84 | /// Optional ID of the next sibling node. [INFO] [stdout] 85 | next_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 86 | /// Optional ID of the first child node. [INFO] [stdout] 87 | first_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | /// Optional ID of the last child node. [INFO] [stdout] 89 | last_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 90 | /// Optional ID of the parent node. [INFO] [stdout] 91 | parent_id: Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_root_node` is never used [INFO] [stdout] --> src/catalog.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 290 | impl PageTreeArean { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn get_root_node(&self) -> Option<&PageNode> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MacRoman`, `Standard`, `WinAnsi`, and `MacExpert` are never constructed [INFO] [stdout] --> src/encoding.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) enum PreDefinedEncoding { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 3 | MacRoman, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | Standard, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | WinAnsi, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | PDFDoc, [INFO] [stdout] 7 | MacExpert, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.99s [INFO] running `Command { std: "docker" "inspect" "059b1f2a05c0051578f96c22e3cfa60df3f25d6949163cfb8631ff805cb34404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "059b1f2a05c0051578f96c22e3cfa60df3f25d6949163cfb8631ff805cb34404", kill_on_drop: false }` [INFO] [stdout] 059b1f2a05c0051578f96c22e3cfa60df3f25d6949163cfb8631ff805cb34404