[INFO] cloning repository https://github.com/mith-mmk/FontReader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mith-mmk/FontReader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmith-mmk%2FFontReader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmith-mmk%2FFontReader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9df7079e3800abb58d973131404de27b574e86ac [INFO] checking mith-mmk/FontReader against try#6db1a6a7ebb2ad243051f3ff949f987dd70cde2b+rustflags=-Dreturn-local-variable-ptr for pr-134218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmith-mmk%2FFontReader" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mith-mmk/FontReader on toolchain 6db1a6a7ebb2ad243051f3ff949f987dd70cde2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mith-mmk/FontReader [INFO] finished tweaking git repo https://github.com/mith-mmk/FontReader [INFO] tweaked toml for git repo https://github.com/mith-mmk/FontReader written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mith-mmk/FontReader 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" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 346ce9af0dcda2025247a5511b2b4868c291acc9ed629ad2f21ba85bb406b23c [INFO] running `Command { std: "docker" "start" "-a" "346ce9af0dcda2025247a5511b2b4868c291acc9ed629ad2f21ba85bb406b23c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "346ce9af0dcda2025247a5511b2b4868c291acc9ed629ad2f21ba85bb406b23c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "346ce9af0dcda2025247a5511b2b4868c291acc9ed629ad2f21ba85bb406b23c", kill_on_drop: false }` [INFO] [stdout] 346ce9af0dcda2025247a5511b2b4868c291acc9ed629ad2f21ba85bb406b23c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dreturn-local-variable-ptr" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b50cd22aeea118b5795cc2001fa4eeac28a0e7f1886b2511c7ddca9a2987a36a [INFO] running `Command { std: "docker" "start" "-a" "b50cd22aeea118b5795cc2001fa4eeac28a0e7f1886b2511c7ddca9a2987a36a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bin-rs v0.0.9 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Compiling num-derive v0.4.0 [INFO] [stderr] Checking fontloader v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `impl` [INFO] [stdout] --> src/fontheader.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(target_feature = "impl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-int8`, `amx-tile`, `atomics`, `avx`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, `avx512dq`, `avx512f`, `avx512fp16`, `avx512ifma`, `avx512vbmi`, `avx512vbmi2`, `avx512vl`, `avx512vnni`, `avx512vp2intersect`, and `avx512vpopcntdq` and 253 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `impl` [INFO] [stdout] --> src/fontheader.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(target_feature = "impl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-int8`, `amx-tile`, `atomics`, `avx`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, `avx512dq`, `avx512f`, `avx512fp16`, `avx512ifma`, `avx512vbmi`, `avx512vbmi2`, `avx512vl`, `avx512vnni`, `avx512vp2intersect`, and `avx512vpopcntdq` and 253 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::opentype::extentions::gdef` [INFO] [stdout] --> src/fontreader.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::opentype::extentions::gdef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `impl` [INFO] [stdout] --> src/test.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_feature = "impl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-int8`, `amx-tile`, `atomics`, `avx`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, `avx512dq`, `avx512f`, `avx512fp16`, `avx512ifma`, `avx512vbmi`, `avx512vbmi2`, `avx512vl`, `avx512vnni`, `avx512vp2intersect`, and `avx512vpopcntdq` and 253 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `impl` [INFO] [stdout] --> src/fontheader.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(target_feature = "impl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-int8`, `amx-tile`, `atomics`, `avx`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, `avx512dq`, `avx512f`, `avx512fp16`, `avx512ifma`, `avx512vbmi`, `avx512vbmi2`, `avx512vl`, `avx512vnni`, `avx512vp2intersect`, and `avx512vpopcntdq` and 253 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `impl` [INFO] [stdout] --> src/fontheader.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(target_feature = "impl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-int8`, `amx-tile`, `atomics`, `avx`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, `avx512dq`, `avx512f`, `avx512fp16`, `avx512ifma`, `avx512vbmi`, `avx512vbmi2`, `avx512vl`, `avx512vnni`, `avx512vp2intersect`, and `avx512vpopcntdq` and 253 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::opentype::extentions::gdef` [INFO] [stdout] --> src/fontreader.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::opentype::extentions::gdef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subtable` [INFO] [stdout] --> src/opentype/extentions/gsub.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | for subtable in lookup.subtables.iter() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subtable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph_id` [INFO] [stdout] --> src/opentype/extentions/gsub.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn lookup_ccmp(&self, glyph_id: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hhea` is never read [INFO] [stdout] --> src/fontreader.rs:1015:16 [INFO] [stdout] | [INFO] [stdout] 1009 | pub struct HorizontalLayout { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1015 | pub(crate) hhea: HHEA, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HorizontalLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vhea` is never read [INFO] [stdout] --> src/fontreader.rs:1025:16 [INFO] [stdout] | [INFO] [stdout] 1019 | pub struct VerticalLayout { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1025 | pub(crate) vhea: VHEA, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerticalLayout` 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: function `font_debug` is never used [INFO] [stdout] --> src/fontreader.rs:1042:4 [INFO] [stdout] | [INFO] [stdout] 1042 | fn font_debug(_font: &Font) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opentype/requires/cmap.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl CMAP { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 21 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cmap` is never read [INFO] [stdout] --> src/opentype/requires/cmap.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 157 | pub(crate) struct CmapEncodings { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 158 | pub(crate) cmap: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CmapEncodings` 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 `get_encoding_engine` is never used [INFO] [stdout] --> src/opentype/requires/cmap.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 162 | impl CmapEncodings { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub(crate) fn get_encoding_engine(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FormatUnknown` is never constructed [INFO] [stdout] --> src/opentype/requires/cmap.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 358 | pub(crate) enum CmapSubtable { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 368 | FormatUnknown, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CmapSubtable` 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: fields `sub_headers` and `glyph_id_array` are never read [INFO] [stdout] --> src/opentype/requires/cmap.rs:620:16 [INFO] [stdout] | [INFO] [stdout] 615 | pub(crate) struct CmapHighByteEncoding { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 620 | pub(crate) sub_headers: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 621 | pub(crate) glyph_id_array: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CmapHighByteEncoding` 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: fields `first_code`, `entry_count`, `id_delta`, and `id_range_offset` are never read [INFO] [stdout] --> src/opentype/requires/cmap.rs:626:16 [INFO] [stdout] | [INFO] [stdout] 625 | pub(crate) struct CmapSubheader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 626 | pub(crate) first_code: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 627 | pub(crate) entry_count: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 628 | pub(crate) id_delta: i16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 629 | pub(crate) id_range_offset: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CmapSubheader` 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: struct `EncodingRecordPriority` is never constructed [INFO] [stdout] --> src/opentype/requires/cmap.rs:870:19 [INFO] [stdout] | [INFO] [stdout] 870 | pub(crate) struct EncodingRecordPriority { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_encoding` is never used [INFO] [stdout] --> src/opentype/requires/cmap.rs:876:15 [INFO] [stdout] | [INFO] [stdout] 876 | pub(crate) fn select_encoding(encoding_records: &Vec) -> EncodingRecordPriority { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WindowsLegcy` is never constructed [INFO] [stdout] --> src/opentype/requires/name.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 81 | enum EncodingEngine { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 85 | WindowsLegcy, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `storage_offset` and `lang_tag_records` are never read [INFO] [stdout] --> src/opentype/requires/name.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 206 | pub(crate) struct NAME { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 209 | pub(crate) storage_offset: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub(crate) lang_tag_records: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NAME` 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: struct `GDEF` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct GDEF { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/opentype/extentions/gdef.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl GDEF { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 21 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AttachPointList` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | pub(crate) struct AttachPointList { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/opentype/extentions/gdef.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 131 | impl AttachPointList { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 132 | fn new(reader: &mut R, offset: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AttachPoint` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | pub(crate) struct AttachPoint { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/opentype/extentions/gdef.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 166 | impl AttachPoint { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 167 | fn new(reader: &mut R, offset: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LigatureCaretList` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | pub(crate) struct LigatureCaretList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/opentype/extentions/gdef.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 190 | impl LigatureCaretList { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 191 | fn new(reader: &mut R, offset: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LigatureGlyph` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | pub(crate) struct LigatureGlyph { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opentype/extentions/gdef.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 226 | impl LigatureGlyph { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 227 | fn new(reader: &mut R, offset: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CaretValue` is never used [INFO] [stdout] --> src/opentype/extentions/gdef.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | pub(crate) enum CaretValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CaretValueFormat1` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 285 | pub(crate) struct CaretValueFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CaretValueFormat2` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:290:19 [INFO] [stdout] | [INFO] [stdout] 290 | pub(crate) struct CaretValueFormat2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CaretValueFormat3` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | pub(crate) struct CaretValueFormat3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariationStore` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:300:19 [INFO] [stdout] | [INFO] [stdout] 300 | pub(crate) struct VariationStore {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarkGlyphSetsDef` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:303:19 [INFO] [stdout] | [INFO] [stdout] 303 | pub(crate) struct MarkGlyphSetsDef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/opentype/extentions/gdef.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 309 | impl MarkGlyphSetsDef { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 310 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GSUB` is never constructed [INFO] [stdout] --> src/opentype/extentions/gsub.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct GSUB { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/opentype/extentions/gsub.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl GSUB { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 22 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_script(&self, tag: &[u8; 4]) -> Option<&ParsedScript> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_features(&self, tag: &[u8; 4], script: &ParsedScript) -> Vec<&Feature> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_lookups(&self, feature: &Feature) -> Vec<&Lookup> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn lookup_ccmp(&self, glyph_id: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn lookup_vertical(&self, glyph_id: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn lookup_locale(&self, _griph_ids: usize, _locale: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn lookup_liga(&self, _griph_ids: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn lookup_width(&self, _griph_ids: usize, _tag: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn lookup_number(&self, _griph_ids: Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ClassDef` is never used [INFO] [stdout] --> src/opentype/layouts/classdef.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum ClassDef { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/opentype/layouts/classdef.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl ClassDef { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 12 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassDefFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/classdef.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) struct ClassDefFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassDefFormat2` is never constructed [INFO] [stdout] --> src/opentype/layouts/classdef.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) struct ClassDefFormat2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassRangeRecord` is never constructed [INFO] [stdout] --> src/opentype/layouts/classdef.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | pub(crate) struct ClassRangeRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConditionTable` is never constructed [INFO] [stdout] --> src/opentype/layouts/condition.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct ConditionTable { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConditionSet` is never constructed [INFO] [stdout] --> src/opentype/layouts/condition.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct ConditionSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Coverage` is never used [INFO] [stdout] --> src/opentype/layouts/coverage.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum Coverage { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `contains`, `to_string`, and `new` are never used [INFO] [stdout] --> src/opentype/layouts/coverage.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl Coverage { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 13 | pub(crate) fn contains(&self, glyph_id: usize) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoverageFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/coverage.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) struct CoverageFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoverageFormat2` is never constructed [INFO] [stdout] --> src/opentype/layouts/coverage.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) struct CoverageFormat2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeRecord` is never constructed [INFO] [stdout] --> src/opentype/layouts/coverage.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | pub(crate) struct RangeRecord { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeviceTable` is never constructed [INFO] [stdout] --> src/opentype/layouts/device.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct DeviceTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opentype/layouts/device.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl DeviceTable { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 14 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Feature` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Feature { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/opentype/layouts/feature.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl Feature { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 14 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureParams` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) struct FeatureParams { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/opentype/layouts/feature.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl FeatureParams { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 36 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureList` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) struct FeatureList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/opentype/layouts/feature.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 51 | impl FeatureList { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 52 | pub(crate) fn new(reader: &mut R, offset: u64, length: u32) -> FeatureList { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureVariation` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) struct FeatureVariation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureVariationRecord` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) struct FeatureVariationRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureVariations` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) struct FeatureVariations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opentype/layouts/feature.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 123 | impl FeatureVariations { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 124 | pub(crate) fn new(reader: &mut R, offset: u64, _length: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureTableSubstitution` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | pub(crate) struct FeatureTableSubstitution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureVariationRecordList` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | pub(crate) struct FeatureVariationRecordList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureVariationList` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | pub(crate) struct FeatureVariationList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opentype/layouts/feature.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 184 | impl FeatureVariationList { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 185 | pub(crate) fn new(reader: &mut R, offset: u64, _length: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LanguageSystem` is never constructed [INFO] [stdout] --> src/opentype/layouts/language.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct LanguageSystem { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/opentype/layouts/language.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 8 | impl LanguageSystem { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 9 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LanguageSystemRecord` is never constructed [INFO] [stdout] --> src/opentype/layouts/language.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct LanguageSystemRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/opentype/layouts/language.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl LanguageSystemRecord { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 26 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LookupList` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct LookupList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/opentype/layouts/lookup.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl LookupList { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 14 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lookup` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct Lookup { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_string` and `new` are never used [INFO] [stdout] --> src/opentype/layouts/lookup.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Lookup { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 31 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LookupRaw` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) struct LookupRaw { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opentype/layouts/lookup.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl LookupRaw { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 91 | fn new(reader: &mut R, offset: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LookupFlag` is never used [INFO] [stdout] --> src/opentype/layouts/lookup.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum LookupFlag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LookupFlag` 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: multiple associated functions are never used [INFO] [stdout] --> src/opentype/layouts/lookup.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 133 | impl LookupList { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 134 | pub(crate) fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | fn get_single( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | fn get_multiple( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | fn get_alternate( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | fn get_ligature( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | fn get_context( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn get_context_format1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | fn get_class_def( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | fn get_context_format2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | fn get_class_seq_rule_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | fn get_class_seq_rule( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | fn get_seq_rule_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | fn get_seq_rule( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | fn get_context_format3( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 572 | fn get_chaining_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 741 | fn get_coverage( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 748 | fn get_extension( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 778 | fn get_reverse_chaining_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LookupSubstitution` is never used [INFO] [stdout] --> src/opentype/layouts/lookup.rs:818:17 [INFO] [stdout] | [INFO] [stdout] 818 | pub(crate) enum LookupSubstitution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LookupResult` is never used [INFO] [stdout] --> src/opentype/layouts/lookup.rs:846:17 [INFO] [stdout] | [INFO] [stdout] 846 | pub(crate) enum LookupResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string`, `get_coverage`, `get_single_glyph_id`, and `get_lookup` are never used [INFO] [stdout] --> src/opentype/layouts/lookup.rs:857:19 [INFO] [stdout] | [INFO] [stdout] 856 | impl LookupSubstitution { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 857 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 861 | pub(crate) fn get_coverage( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | pub(crate) fn get_single_glyph_id(&self, glyph_id: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 912 | pub(crate) fn get_lookup(&self, gliph_id: usize) -> LookupResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SingleSubstitutionFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1019:19 [INFO] [stdout] | [INFO] [stdout] 1019 | pub(crate) struct SingleSubstitutionFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SingleSubstitutionFormat2` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1026:19 [INFO] [stdout] | [INFO] [stdout] 1026 | pub(crate) struct SingleSubstitutionFormat2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultipleSubstitutionFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1034:19 [INFO] [stdout] | [INFO] [stdout] 1034 | pub(crate) struct MultipleSubstitutionFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SequenceTable` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1042:19 [INFO] [stdout] | [INFO] [stdout] 1042 | pub(crate) struct SequenceTable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlternateSubstitutionFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1048:19 [INFO] [stdout] | [INFO] [stdout] 1048 | pub(crate) struct AlternateSubstitutionFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlternateSet` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1056:19 [INFO] [stdout] | [INFO] [stdout] 1056 | pub(crate) struct AlternateSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LigatureSubstitutionFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1062:19 [INFO] [stdout] | [INFO] [stdout] 1062 | pub(crate) struct LigatureSubstitutionFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LigatureSet` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1070:19 [INFO] [stdout] | [INFO] [stdout] 1070 | pub(crate) struct LigatureSet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LigatureTable` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1076:19 [INFO] [stdout] | [INFO] [stdout] 1076 | pub(crate) struct LigatureTable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextSubstitutionFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1083:19 [INFO] [stdout] | [INFO] [stdout] 1083 | pub(crate) struct ContextSubstitutionFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SequenceRuleSet` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1091:19 [INFO] [stdout] | [INFO] [stdout] 1091 | pub(crate) struct SequenceRuleSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SequenceRule` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1097:19 [INFO] [stdout] | [INFO] [stdout] 1097 | pub(crate) struct SequenceRule { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextSubstitutionFormat2` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1105:19 [INFO] [stdout] | [INFO] [stdout] 1105 | pub(crate) struct ContextSubstitutionFormat2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassSequenceRuleSet` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1114:19 [INFO] [stdout] | [INFO] [stdout] 1114 | pub(crate) struct ClassSequenceRuleSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassSequenceRule` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1120:19 [INFO] [stdout] | [INFO] [stdout] 1120 | pub(crate) struct ClassSequenceRule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChaineClassSequenceRuleSet` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1128:19 [INFO] [stdout] | [INFO] [stdout] 1128 | pub(crate) struct ChaineClassSequenceRuleSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChaineClassSequenceRule` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1134:19 [INFO] [stdout] | [INFO] [stdout] 1134 | pub(crate) struct ChaineClassSequenceRule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextSubstitutionFormat3` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1146:19 [INFO] [stdout] | [INFO] [stdout] 1146 | pub(crate) struct ContextSubstitutionFormat3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChainingContextSubstitutionFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1156:19 [INFO] [stdout] | [INFO] [stdout] 1156 | pub(crate) struct ChainingContextSubstitutionFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChainSubRuleSet` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1164:19 [INFO] [stdout] | [INFO] [stdout] 1164 | pub(crate) struct ChainSubRuleSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChainSubRule` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1170:19 [INFO] [stdout] | [INFO] [stdout] 1170 | pub(crate) struct ChainSubRule { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChainingContextSubstitutionFormat2` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1183:19 [INFO] [stdout] | [INFO] [stdout] 1183 | pub(crate) struct ChainingContextSubstitutionFormat2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChainingContextSubstitutionFormat3` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1192:19 [INFO] [stdout] | [INFO] [stdout] 1192 | pub(crate) struct ChainingContextSubstitutionFormat3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SequenceLookupRecords` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1205:19 [INFO] [stdout] | [INFO] [stdout] 1205 | pub(crate) struct SequenceLookupRecords { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LookupRecord` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1210:12 [INFO] [stdout] | [INFO] [stdout] 1210 | pub struct LookupRecord { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LookupRecord` 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: struct `ExtensionSubstitutionFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1217:19 [INFO] [stdout] | [INFO] [stdout] 1217 | pub(crate) struct ExtensionSubstitutionFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReverseChainSingleSubstitutionFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1225:19 [INFO] [stdout] | [INFO] [stdout] 1225 | pub(crate) struct ReverseChainSingleSubstitutionFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Script` is never constructed [INFO] [stdout] --> src/opentype/layouts/script.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Script { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParsedScript` is never constructed [INFO] [stdout] --> src/opentype/layouts/script.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct ParsedScript { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `to_string` are never used [INFO] [stdout] --> src/opentype/layouts/script.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl ParsedScript { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 18 | pub(crate) fn parse( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptList` is never constructed [INFO] [stdout] --> src/opentype/layouts/script.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) struct ScriptList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_script`, and `to_string` are never used [INFO] [stdout] --> src/opentype/layouts/script.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 87 | impl ScriptList { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 88 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub(crate) fn get_script(&self, script_tag: &[u8; 4]) -> Option<&ParsedScript> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_sum` is never used [INFO] [stdout] --> src/util.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn check_sum(table: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `table_records`, `metadata`, and `private_data` are never read [INFO] [stdout] --> src/woff/woff.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 93 | pub(crate) struct WOFF { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 94 | pub(crate) header: WOFFHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | pub(crate) table_records: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 96 | pub(crate) metadata: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 97 | pub(crate) private_data: Box>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WOFF` 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: methods `get_metadata` and `get_private_data` are never used [INFO] [stdout] --> src/woff/woff.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl WOFF { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn get_metadata(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_private_data(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subtable` [INFO] [stdout] --> src/opentype/extentions/gsub.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | for subtable in lookup.subtables.iter() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subtable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph_id` [INFO] [stdout] --> src/opentype/extentions/gsub.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn lookup_ccmp(&self, glyph_id: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opentype/platforms.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(FromPrimitive, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PlatformID` [INFO] [stdout] 4 | #[repr(u16)] [INFO] [stdout] 5 | pub enum PlatformID { [INFO] [stdout] | ---------- `PlatformID` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opentype/platforms.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(FromPrimitive, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UnicodeEncordingId` [INFO] [stdout] 30 | #[repr(u16)] [INFO] [stdout] 31 | pub enum UnicodeEncordingId { [INFO] [stdout] | ------------------ `UnicodeEncordingId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opentype/platforms.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(FromPrimitive, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WindowsEndoridingId` [INFO] [stdout] 40 | #[repr(u16)] [INFO] [stdout] 41 | pub enum WindowsEndoridingId { [INFO] [stdout] | ------------------- `WindowsEndoridingId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opentype/platforms.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(FromPrimitive, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MacintoshEncordingID` [INFO] [stdout] 53 | #[repr(u16)] [INFO] [stdout] 54 | pub enum MacintoshEncordingID { [INFO] [stdout] | -------------------- `MacintoshEncordingID` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opentype/platforms.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(FromPrimitive, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MacintoshLanguageID` [INFO] [stdout] 91 | #[repr(u16)] [INFO] [stdout] 92 | pub enum MacintoshLanguageID { [INFO] [stdout] | ------------------- `MacintoshLanguageID` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opentype/platforms.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(FromPrimitive, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WindowsLanguageID` [INFO] [stdout] 214 | #[repr(u16)] [INFO] [stdout] 215 | pub enum WindowsLanguageID { [INFO] [stdout] | ----------------- `WindowsLanguageID` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opentype/layouts/lookup.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(FromPrimitive, ToPrimitive, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_LookupType` [INFO] [stdout] 111 | #[repr(u16)] [INFO] [stdout] 112 | pub enum LookupType { [INFO] [stdout] | ---------- `LookupType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opentype/layouts/lookup.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(FromPrimitive, ToPrimitive, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_LookupType` [INFO] [stdout] 111 | #[repr(u16)] [INFO] [stdout] 112 | pub enum LookupType { [INFO] [stdout] | ---------- `LookupType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hhea` is never read [INFO] [stdout] --> src/fontreader.rs:1015:16 [INFO] [stdout] | [INFO] [stdout] 1009 | pub struct HorizontalLayout { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1015 | pub(crate) hhea: HHEA, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HorizontalLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vhea` is never read [INFO] [stdout] --> src/fontreader.rs:1025:16 [INFO] [stdout] | [INFO] [stdout] 1019 | pub struct VerticalLayout { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1025 | pub(crate) vhea: VHEA, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerticalLayout` 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: function `font_debug` is never used [INFO] [stdout] --> src/fontreader.rs:1042:4 [INFO] [stdout] | [INFO] [stdout] 1042 | fn font_debug(_font: &Font) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opentype/requires/cmap.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl CMAP { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 21 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cmap` is never read [INFO] [stdout] --> src/opentype/requires/cmap.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 157 | pub(crate) struct CmapEncodings { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 158 | pub(crate) cmap: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CmapEncodings` 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 `get_encoding_engine` is never used [INFO] [stdout] --> src/opentype/requires/cmap.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 162 | impl CmapEncodings { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub(crate) fn get_encoding_engine(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FormatUnknown` is never constructed [INFO] [stdout] --> src/opentype/requires/cmap.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 358 | pub(crate) enum CmapSubtable { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 368 | FormatUnknown, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CmapSubtable` 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: fields `sub_headers` and `glyph_id_array` are never read [INFO] [stdout] --> src/opentype/requires/cmap.rs:620:16 [INFO] [stdout] | [INFO] [stdout] 615 | pub(crate) struct CmapHighByteEncoding { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 620 | pub(crate) sub_headers: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 621 | pub(crate) glyph_id_array: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CmapHighByteEncoding` 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: fields `first_code`, `entry_count`, `id_delta`, and `id_range_offset` are never read [INFO] [stdout] --> src/opentype/requires/cmap.rs:626:16 [INFO] [stdout] | [INFO] [stdout] 625 | pub(crate) struct CmapSubheader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 626 | pub(crate) first_code: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 627 | pub(crate) entry_count: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 628 | pub(crate) id_delta: i16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 629 | pub(crate) id_range_offset: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CmapSubheader` 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: struct `EncodingRecordPriority` is never constructed [INFO] [stdout] --> src/opentype/requires/cmap.rs:870:19 [INFO] [stdout] | [INFO] [stdout] 870 | pub(crate) struct EncodingRecordPriority { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_encoding` is never used [INFO] [stdout] --> src/opentype/requires/cmap.rs:876:15 [INFO] [stdout] | [INFO] [stdout] 876 | pub(crate) fn select_encoding(encoding_records: &Vec) -> EncodingRecordPriority { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WindowsLegcy` is never constructed [INFO] [stdout] --> src/opentype/requires/name.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 81 | enum EncodingEngine { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 85 | WindowsLegcy, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `storage_offset` and `lang_tag_records` are never read [INFO] [stdout] --> src/opentype/requires/name.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 206 | pub(crate) struct NAME { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 209 | pub(crate) storage_offset: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub(crate) lang_tag_records: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NAME` 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: struct `GDEF` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct GDEF { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/opentype/extentions/gdef.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl GDEF { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 21 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AttachPointList` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | pub(crate) struct AttachPointList { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/opentype/extentions/gdef.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 131 | impl AttachPointList { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 132 | fn new(reader: &mut R, offset: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AttachPoint` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | pub(crate) struct AttachPoint { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/opentype/extentions/gdef.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 166 | impl AttachPoint { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 167 | fn new(reader: &mut R, offset: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LigatureCaretList` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | pub(crate) struct LigatureCaretList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/opentype/extentions/gdef.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 190 | impl LigatureCaretList { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 191 | fn new(reader: &mut R, offset: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LigatureGlyph` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | pub(crate) struct LigatureGlyph { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opentype/extentions/gdef.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 226 | impl LigatureGlyph { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 227 | fn new(reader: &mut R, offset: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CaretValue` is never used [INFO] [stdout] --> src/opentype/extentions/gdef.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | pub(crate) enum CaretValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CaretValueFormat1` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 285 | pub(crate) struct CaretValueFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CaretValueFormat2` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:290:19 [INFO] [stdout] | [INFO] [stdout] 290 | pub(crate) struct CaretValueFormat2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CaretValueFormat3` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | pub(crate) struct CaretValueFormat3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariationStore` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:300:19 [INFO] [stdout] | [INFO] [stdout] 300 | pub(crate) struct VariationStore {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarkGlyphSetsDef` is never constructed [INFO] [stdout] --> src/opentype/extentions/gdef.rs:303:19 [INFO] [stdout] | [INFO] [stdout] 303 | pub(crate) struct MarkGlyphSetsDef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/opentype/extentions/gdef.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 309 | impl MarkGlyphSetsDef { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 310 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GSUB` is never constructed [INFO] [stdout] --> src/opentype/extentions/gsub.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct GSUB { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/opentype/extentions/gsub.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl GSUB { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 22 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_script(&self, tag: &[u8; 4]) -> Option<&ParsedScript> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_features(&self, tag: &[u8; 4], script: &ParsedScript) -> Vec<&Feature> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_lookups(&self, feature: &Feature) -> Vec<&Lookup> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn lookup_ccmp(&self, glyph_id: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn lookup_vertical(&self, glyph_id: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn lookup_locale(&self, _griph_ids: usize, _locale: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn lookup_liga(&self, _griph_ids: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn lookup_width(&self, _griph_ids: usize, _tag: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn lookup_number(&self, _griph_ids: Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ClassDef` is never used [INFO] [stdout] --> src/opentype/layouts/classdef.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum ClassDef { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/opentype/layouts/classdef.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl ClassDef { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 12 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassDefFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/classdef.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) struct ClassDefFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassDefFormat2` is never constructed [INFO] [stdout] --> src/opentype/layouts/classdef.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) struct ClassDefFormat2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassRangeRecord` is never constructed [INFO] [stdout] --> src/opentype/layouts/classdef.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | pub(crate) struct ClassRangeRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConditionTable` is never constructed [INFO] [stdout] --> src/opentype/layouts/condition.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct ConditionTable { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConditionSet` is never constructed [INFO] [stdout] --> src/opentype/layouts/condition.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct ConditionSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Coverage` is never used [INFO] [stdout] --> src/opentype/layouts/coverage.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum Coverage { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `contains`, `to_string`, and `new` are never used [INFO] [stdout] --> src/opentype/layouts/coverage.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl Coverage { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 13 | pub(crate) fn contains(&self, glyph_id: usize) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoverageFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/coverage.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) struct CoverageFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoverageFormat2` is never constructed [INFO] [stdout] --> src/opentype/layouts/coverage.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) struct CoverageFormat2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeRecord` is never constructed [INFO] [stdout] --> src/opentype/layouts/coverage.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | pub(crate) struct RangeRecord { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeviceTable` is never constructed [INFO] [stdout] --> src/opentype/layouts/device.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct DeviceTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opentype/layouts/device.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl DeviceTable { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 14 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Feature` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Feature { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/opentype/layouts/feature.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl Feature { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 14 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureParams` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) struct FeatureParams { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/opentype/layouts/feature.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl FeatureParams { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 36 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureList` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) struct FeatureList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/opentype/layouts/feature.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 51 | impl FeatureList { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 52 | pub(crate) fn new(reader: &mut R, offset: u64, length: u32) -> FeatureList { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureVariation` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) struct FeatureVariation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureVariationRecord` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) struct FeatureVariationRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureVariations` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) struct FeatureVariations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opentype/layouts/feature.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 123 | impl FeatureVariations { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 124 | pub(crate) fn new(reader: &mut R, offset: u64, _length: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureTableSubstitution` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | pub(crate) struct FeatureTableSubstitution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureVariationRecordList` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | pub(crate) struct FeatureVariationRecordList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureVariationList` is never constructed [INFO] [stdout] --> src/opentype/layouts/feature.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | pub(crate) struct FeatureVariationList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opentype/layouts/feature.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 184 | impl FeatureVariationList { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 185 | pub(crate) fn new(reader: &mut R, offset: u64, _length: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LanguageSystem` is never constructed [INFO] [stdout] --> src/opentype/layouts/language.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct LanguageSystem { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/opentype/layouts/language.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 8 | impl LanguageSystem { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 9 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LanguageSystemRecord` is never constructed [INFO] [stdout] --> src/opentype/layouts/language.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct LanguageSystemRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/opentype/layouts/language.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl LanguageSystemRecord { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 26 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LookupList` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct LookupList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/opentype/layouts/lookup.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl LookupList { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 14 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lookup` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct Lookup { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_string` and `new` are never used [INFO] [stdout] --> src/opentype/layouts/lookup.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Lookup { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 31 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LookupRaw` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) struct LookupRaw { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opentype/layouts/lookup.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl LookupRaw { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 91 | fn new(reader: &mut R, offset: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LookupFlag` is never used [INFO] [stdout] --> src/opentype/layouts/lookup.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum LookupFlag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LookupFlag` 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: multiple associated functions are never used [INFO] [stdout] --> src/opentype/layouts/lookup.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 133 | impl LookupList { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 134 | pub(crate) fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | fn get_single( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | fn get_multiple( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | fn get_alternate( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | fn get_ligature( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | fn get_context( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn get_context_format1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | fn get_class_def( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | fn get_context_format2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | fn get_class_seq_rule_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | fn get_class_seq_rule( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | fn get_seq_rule_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | fn get_seq_rule( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | fn get_context_format3( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 572 | fn get_chaining_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 741 | fn get_coverage( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 748 | fn get_extension( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 778 | fn get_reverse_chaining_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LookupSubstitution` is never used [INFO] [stdout] --> src/opentype/layouts/lookup.rs:818:17 [INFO] [stdout] | [INFO] [stdout] 818 | pub(crate) enum LookupSubstitution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LookupResult` is never used [INFO] [stdout] --> src/opentype/layouts/lookup.rs:846:17 [INFO] [stdout] | [INFO] [stdout] 846 | pub(crate) enum LookupResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string`, `get_coverage`, `get_single_glyph_id`, and `get_lookup` are never used [INFO] [stdout] --> src/opentype/layouts/lookup.rs:857:19 [INFO] [stdout] | [INFO] [stdout] 856 | impl LookupSubstitution { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 857 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 861 | pub(crate) fn get_coverage( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | pub(crate) fn get_single_glyph_id(&self, glyph_id: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 912 | pub(crate) fn get_lookup(&self, gliph_id: usize) -> LookupResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SingleSubstitutionFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1019:19 [INFO] [stdout] | [INFO] [stdout] 1019 | pub(crate) struct SingleSubstitutionFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SingleSubstitutionFormat2` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1026:19 [INFO] [stdout] | [INFO] [stdout] 1026 | pub(crate) struct SingleSubstitutionFormat2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultipleSubstitutionFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1034:19 [INFO] [stdout] | [INFO] [stdout] 1034 | pub(crate) struct MultipleSubstitutionFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SequenceTable` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1042:19 [INFO] [stdout] | [INFO] [stdout] 1042 | pub(crate) struct SequenceTable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlternateSubstitutionFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1048:19 [INFO] [stdout] | [INFO] [stdout] 1048 | pub(crate) struct AlternateSubstitutionFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlternateSet` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1056:19 [INFO] [stdout] | [INFO] [stdout] 1056 | pub(crate) struct AlternateSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LigatureSubstitutionFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1062:19 [INFO] [stdout] | [INFO] [stdout] 1062 | pub(crate) struct LigatureSubstitutionFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LigatureSet` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1070:19 [INFO] [stdout] | [INFO] [stdout] 1070 | pub(crate) struct LigatureSet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LigatureTable` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1076:19 [INFO] [stdout] | [INFO] [stdout] 1076 | pub(crate) struct LigatureTable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextSubstitutionFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1083:19 [INFO] [stdout] | [INFO] [stdout] 1083 | pub(crate) struct ContextSubstitutionFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SequenceRuleSet` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1091:19 [INFO] [stdout] | [INFO] [stdout] 1091 | pub(crate) struct SequenceRuleSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SequenceRule` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1097:19 [INFO] [stdout] | [INFO] [stdout] 1097 | pub(crate) struct SequenceRule { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextSubstitutionFormat2` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1105:19 [INFO] [stdout] | [INFO] [stdout] 1105 | pub(crate) struct ContextSubstitutionFormat2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassSequenceRuleSet` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1114:19 [INFO] [stdout] | [INFO] [stdout] 1114 | pub(crate) struct ClassSequenceRuleSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassSequenceRule` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1120:19 [INFO] [stdout] | [INFO] [stdout] 1120 | pub(crate) struct ClassSequenceRule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChaineClassSequenceRuleSet` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1128:19 [INFO] [stdout] | [INFO] [stdout] 1128 | pub(crate) struct ChaineClassSequenceRuleSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChaineClassSequenceRule` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1134:19 [INFO] [stdout] | [INFO] [stdout] 1134 | pub(crate) struct ChaineClassSequenceRule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextSubstitutionFormat3` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1146:19 [INFO] [stdout] | [INFO] [stdout] 1146 | pub(crate) struct ContextSubstitutionFormat3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChainingContextSubstitutionFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1156:19 [INFO] [stdout] | [INFO] [stdout] 1156 | pub(crate) struct ChainingContextSubstitutionFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChainSubRuleSet` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1164:19 [INFO] [stdout] | [INFO] [stdout] 1164 | pub(crate) struct ChainSubRuleSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChainSubRule` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1170:19 [INFO] [stdout] | [INFO] [stdout] 1170 | pub(crate) struct ChainSubRule { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChainingContextSubstitutionFormat2` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1183:19 [INFO] [stdout] | [INFO] [stdout] 1183 | pub(crate) struct ChainingContextSubstitutionFormat2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChainingContextSubstitutionFormat3` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1192:19 [INFO] [stdout] | [INFO] [stdout] 1192 | pub(crate) struct ChainingContextSubstitutionFormat3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SequenceLookupRecords` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1205:19 [INFO] [stdout] | [INFO] [stdout] 1205 | pub(crate) struct SequenceLookupRecords { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LookupRecord` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1210:12 [INFO] [stdout] | [INFO] [stdout] 1210 | pub struct LookupRecord { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LookupRecord` 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: struct `ExtensionSubstitutionFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1217:19 [INFO] [stdout] | [INFO] [stdout] 1217 | pub(crate) struct ExtensionSubstitutionFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReverseChainSingleSubstitutionFormat1` is never constructed [INFO] [stdout] --> src/opentype/layouts/lookup.rs:1225:19 [INFO] [stdout] | [INFO] [stdout] 1225 | pub(crate) struct ReverseChainSingleSubstitutionFormat1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Script` is never constructed [INFO] [stdout] --> src/opentype/layouts/script.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Script { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParsedScript` is never constructed [INFO] [stdout] --> src/opentype/layouts/script.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct ParsedScript { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `to_string` are never used [INFO] [stdout] --> src/opentype/layouts/script.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl ParsedScript { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 18 | pub(crate) fn parse( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptList` is never constructed [INFO] [stdout] --> src/opentype/layouts/script.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) struct ScriptList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_script`, and `to_string` are never used [INFO] [stdout] --> src/opentype/layouts/script.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 87 | impl ScriptList { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 88 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub(crate) fn get_script(&self, script_tag: &[u8; 4]) -> Option<&ParsedScript> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub(crate) fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_sum` is never used [INFO] [stdout] --> src/util.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn check_sum(table: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `table_records`, `metadata`, and `private_data` are never read [INFO] [stdout] --> src/woff/woff.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 93 | pub(crate) struct WOFF { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 94 | pub(crate) header: WOFFHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | pub(crate) table_records: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 96 | pub(crate) metadata: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 97 | pub(crate) private_data: Box>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WOFF` 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: methods `get_metadata` and `get_private_data` are never used [INFO] [stdout] --> src/woff/woff.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl WOFF { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn get_metadata(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_private_data(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opentype/platforms.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(FromPrimitive, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PlatformID` [INFO] [stdout] 4 | #[repr(u16)] [INFO] [stdout] 5 | pub enum PlatformID { [INFO] [stdout] | ---------- `PlatformID` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opentype/platforms.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(FromPrimitive, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UnicodeEncordingId` [INFO] [stdout] 30 | #[repr(u16)] [INFO] [stdout] 31 | pub enum UnicodeEncordingId { [INFO] [stdout] | ------------------ `UnicodeEncordingId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opentype/platforms.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(FromPrimitive, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WindowsEndoridingId` [INFO] [stdout] 40 | #[repr(u16)] [INFO] [stdout] 41 | pub enum WindowsEndoridingId { [INFO] [stdout] | ------------------- `WindowsEndoridingId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opentype/platforms.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(FromPrimitive, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MacintoshEncordingID` [INFO] [stdout] 53 | #[repr(u16)] [INFO] [stdout] 54 | pub enum MacintoshEncordingID { [INFO] [stdout] | -------------------- `MacintoshEncordingID` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opentype/platforms.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(FromPrimitive, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MacintoshLanguageID` [INFO] [stdout] 91 | #[repr(u16)] [INFO] [stdout] 92 | pub enum MacintoshLanguageID { [INFO] [stdout] | ------------------- `MacintoshLanguageID` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opentype/platforms.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(FromPrimitive, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WindowsLanguageID` [INFO] [stdout] 214 | #[repr(u16)] [INFO] [stdout] 215 | pub enum WindowsLanguageID { [INFO] [stdout] | ----------------- `WindowsLanguageID` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opentype/layouts/lookup.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(FromPrimitive, ToPrimitive, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_LookupType` [INFO] [stdout] 111 | #[repr(u16)] [INFO] [stdout] 112 | pub enum LookupType { [INFO] [stdout] | ---------- `LookupType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opentype/layouts/lookup.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(FromPrimitive, ToPrimitive, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_LookupType` [INFO] [stdout] 111 | #[repr(u16)] [INFO] [stdout] 112 | pub enum LookupType { [INFO] [stdout] | ---------- `LookupType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> examples/fonttype.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, path::Path}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> examples/tategaki.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{env, path::PathBuf}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> examples/fontloader.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{env, path::PathBuf}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> examples/fontload.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{env, path::PathBuf}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> examples/fonttest.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{env, path::PathBuf}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.90s [INFO] running `Command { std: "docker" "inspect" "b50cd22aeea118b5795cc2001fa4eeac28a0e7f1886b2511c7ddca9a2987a36a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b50cd22aeea118b5795cc2001fa4eeac28a0e7f1886b2511c7ddca9a2987a36a", kill_on_drop: false }` [INFO] [stdout] b50cd22aeea118b5795cc2001fa4eeac28a0e7f1886b2511c7ddca9a2987a36a