[INFO] cloning repository https://github.com/tobyjsullivan/fonts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tobyjsullivan/fonts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftobyjsullivan%2Ffonts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftobyjsullivan%2Ffonts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09eb867e068c02eee87447d178988302362aa21c [INFO] checking tobyjsullivan/fonts against master#9748d87dc70a9a6725c5dbd76ce29d04752b4f90 for pr-144156 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftobyjsullivan%2Ffonts" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tobyjsullivan/fonts [INFO] finished tweaking git repo https://github.com/tobyjsullivan/fonts [INFO] tweaked toml for git repo https://github.com/tobyjsullivan/fonts written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tobyjsullivan/fonts on toolchain 9748d87dc70a9a6725c5dbd76ce29d04752b4f90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tobyjsullivan/fonts 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" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-3-tc1/source/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-3-tc1/source/about/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-3-tc1/source/font/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-3-tc1/source/strings/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.1.42 [INFO] [stderr] Downloaded fixed v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f320a31b07ff8c369aa0c711f6b01d45b7642909520adf67f821990380a3f815 [INFO] running `Command { std: "docker" "start" "-a" "f320a31b07ff8c369aa0c711f6b01d45b7642909520adf67f821990380a3f815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f320a31b07ff8c369aa0c711f6b01d45b7642909520adf67f821990380a3f815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f320a31b07ff8c369aa0c711f6b01d45b7642909520adf67f821990380a3f815", kill_on_drop: false }` [INFO] [stdout] f320a31b07ff8c369aa0c711f6b01d45b7642909520adf67f821990380a3f815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8a528446d9a6a0c17b8aa5017d502f2f5027fbe69be82b8cf27c9aac8b882d4 [INFO] running `Command { std: "docker" "start" "-a" "d8a528446d9a6a0c17b8aa5017d502f2f5027fbe69be82b8cf27c9aac8b882d4", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/about/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/strings/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/font/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling fixed v0.1.3 [INFO] [stderr] Checking strings v0.1.0 (/opt/rustwide/workdir/strings) [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking font v0.1.0 (/opt/rustwide/workdir/font) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> font/src/opentype/tables/cmap.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | for i in 0..num_tables { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> font/src/opentype/tables/cmap.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | for i in 0..num_tables { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> font/src/font.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | TrueType(truetype::TrueTypeFile<'a>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsedFont` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - TrueType(truetype::TrueTypeFile<'a>), [INFO] [stdout] 10 + TrueType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sfnt`, `cmap`, `head`, and `maxp` are never read [INFO] [stdout] --> font/src/opentype/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct OpenTypeFile<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 18 | sfnt: SfntFile<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | cmap: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | glyf: Option, [INFO] [stdout] 21 | head: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | loca: Option, [INFO] [stdout] 23 | maxp: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenTypeFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table_version`, `num_tables`, `encoding_records`, and `subtables` are never read [INFO] [stdout] --> font/src/opentype/tables/cmap.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CmapTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | table_version: Version, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | num_tables: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | encoding_records: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | subtables: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CmapTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `platform` and `encoding` are never read [INFO] [stdout] --> font/src/opentype/tables/cmap.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct EncodingRecord { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 75 | platform: Platform, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | encoding: Encoding, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncodingRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> font/src/opentype/tables/glyf.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Glyph { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 34 | num_contours: i16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | min_x: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | min_y: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | max_x: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | max_y: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | simple_glyph: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 40 | compound_glyph: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Glyph` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `end_points_of_contours`, `instruction_length`, `instructions`, `flags`, `x_coordinates`, and `y_coordinates` are never read [INFO] [stdout] --> font/src/opentype/tables/glyf.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | struct SimpleGlyphTable { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 81 | end_points_of_contours: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | instruction_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | instructions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 84 | flags: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 85 | x_coordinates: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 86 | y_coordinates: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleGlyphTable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> font/src/opentype/tables/head.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct HeadTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 24 | major_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | minor_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | font_revision: Fixed, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | checksum_adjustment: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | magic_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | units_per_em: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | created: Datetime, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | modified: Datetime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | x_min: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | y_min: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | x_max: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | y_max: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | /// The lowest recommended size in pixels. [INFO] [stdout] 38 | lowest_rec_ppem: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | mac_style: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | font_dir_hint: FontDirectionHint, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub index_to_loc_fmt: IndexToLocFormat, [INFO] [stdout] 42 | glyph_data_fmt: GlyphDataFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeadTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> font/src/opentype/tables/head.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | Unknown(i16), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FontDirectionHint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 106 - Unknown(i16), [INFO] [stdout] 106 + Unknown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> font/src/opentype/tables/head.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Unknown(i16), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IndexToLocFormat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 113 - Unknown(i16), [INFO] [stdout] 113 + Unknown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> font/src/opentype/tables/head.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | Unknown(i16), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GlyphDataFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 119 - Unknown(i16), [INFO] [stdout] 119 + Unknown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index` is never used [INFO] [stdout] --> font/src/opentype/tables/loca.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl LocaTable { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn index(&self, idx: usize) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> font/src/opentype/tables/maxp.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct MaxpTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 25 | pub version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | pub num_glyphs: u16, [INFO] [stdout] 27 | max_points: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | max_contours: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | max_comp_pts: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | max_comp_contours: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | max_zones: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | max_twilight_points: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | max_storage: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | max_func_defs: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | max_instruction_defs: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | max_stack_elements: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | max_size_of_instructions: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | max_comp_elements: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | max_comp_depth: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaxpTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `format`, `count`, and `string_offset` are never read [INFO] [stdout] --> font/src/opentype/tables/name/table.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct NameTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub format: Format, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | /// The number of name records in the table. [INFO] [stdout] 15 | pub count: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | /// The offset of the string storage region (from the start of the table). [INFO] [stdout] 17 | pub string_offset: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NameTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_string_value` is never used [INFO] [stdout] --> font/src/opentype/tables/name/table.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl NameTable { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn read_string_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_tables`, `search_range`, `entry_selector`, and `range_shift` are never read [INFO] [stdout] --> font/src/sfnt/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct SfntFile<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 53 | num_tables: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 54 | search_range: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 55 | entry_selector: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 56 | range_shift: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SfntFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `checksum` and `offset` are never read [INFO] [stdout] --> font/src/sfnt/mod.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Table<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 106 | pub tag: [char; 4], [INFO] [stdout] 107 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 108 | offset: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sfnt` is never read [INFO] [stdout] --> font/src/truetype/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TrueTypeFile<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 5 | sfnt: SfntFile<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrueTypeFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> font/src/sfnt/mod.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | fn parse_table_records(content: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | fn parse_table_records(content: &[u8]) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> font/src/sfnt/mod.rs:96:40 [INFO] [stdout] | [INFO] [stdout] 96 | fn parse_nth_table_record(content: &[u8], n: usize) -> Table { [INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | fn parse_nth_table_record(content: &[u8], n: usize) -> Table<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> font/src/font.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | TrueType(truetype::TrueTypeFile<'a>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsedFont` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - TrueType(truetype::TrueTypeFile<'a>), [INFO] [stdout] 10 + TrueType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sfnt`, `cmap`, `head`, and `maxp` are never read [INFO] [stdout] --> font/src/opentype/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct OpenTypeFile<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 18 | sfnt: SfntFile<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | cmap: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | glyf: Option, [INFO] [stdout] 21 | head: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | loca: Option, [INFO] [stdout] 23 | maxp: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenTypeFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table_version`, `num_tables`, `encoding_records`, and `subtables` are never read [INFO] [stdout] --> font/src/opentype/tables/cmap.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CmapTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | table_version: Version, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | num_tables: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | encoding_records: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | subtables: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CmapTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `platform` and `encoding` are never read [INFO] [stdout] --> font/src/opentype/tables/cmap.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct EncodingRecord { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 75 | platform: Platform, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | encoding: Encoding, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncodingRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> font/src/opentype/tables/glyf.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Glyph { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 34 | num_contours: i16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | min_x: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | min_y: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | max_x: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | max_y: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | simple_glyph: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 40 | compound_glyph: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Glyph` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `end_points_of_contours`, `instruction_length`, `instructions`, `flags`, `x_coordinates`, and `y_coordinates` are never read [INFO] [stdout] --> font/src/opentype/tables/glyf.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | struct SimpleGlyphTable { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 81 | end_points_of_contours: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | instruction_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | instructions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 84 | flags: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 85 | x_coordinates: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 86 | y_coordinates: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleGlyphTable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> font/src/opentype/tables/head.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct HeadTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 24 | major_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | minor_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | font_revision: Fixed, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | checksum_adjustment: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | magic_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | units_per_em: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | created: Datetime, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | modified: Datetime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | x_min: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | y_min: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | x_max: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | y_max: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | /// The lowest recommended size in pixels. [INFO] [stdout] 38 | lowest_rec_ppem: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | mac_style: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | font_dir_hint: FontDirectionHint, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub index_to_loc_fmt: IndexToLocFormat, [INFO] [stdout] 42 | glyph_data_fmt: GlyphDataFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeadTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> font/src/opentype/tables/head.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | Unknown(i16), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FontDirectionHint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 106 - Unknown(i16), [INFO] [stdout] 106 + Unknown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> font/src/opentype/tables/head.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Unknown(i16), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IndexToLocFormat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 113 - Unknown(i16), [INFO] [stdout] 113 + Unknown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> font/src/opentype/tables/head.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | Unknown(i16), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GlyphDataFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 119 - Unknown(i16), [INFO] [stdout] 119 + Unknown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index` is never used [INFO] [stdout] --> font/src/opentype/tables/loca.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl LocaTable { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn index(&self, idx: usize) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> font/src/opentype/tables/maxp.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct MaxpTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 25 | pub version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | pub num_glyphs: u16, [INFO] [stdout] 27 | max_points: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | max_contours: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | max_comp_pts: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | max_comp_contours: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | max_zones: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | max_twilight_points: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | max_storage: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | max_func_defs: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | max_instruction_defs: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | max_stack_elements: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | max_size_of_instructions: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | max_comp_elements: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | max_comp_depth: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaxpTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `format`, `count`, and `string_offset` are never read [INFO] [stdout] --> font/src/opentype/tables/name/table.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct NameTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub format: Format, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | /// The number of name records in the table. [INFO] [stdout] 15 | pub count: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | /// The offset of the string storage region (from the start of the table). [INFO] [stdout] 17 | pub string_offset: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NameTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking about v0.1.0 (/opt/rustwide/workdir/about) [INFO] [stdout] warning: fields `num_tables`, `search_range`, `entry_selector`, and `range_shift` are never read [INFO] [stdout] --> font/src/sfnt/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct SfntFile<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 53 | num_tables: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 54 | search_range: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 55 | entry_selector: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 56 | range_shift: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SfntFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking fonts v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `sfnt` is never read [INFO] [stdout] --> font/src/truetype/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TrueTypeFile<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 5 | sfnt: SfntFile<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrueTypeFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> font/src/sfnt/mod.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | fn parse_table_records(content: &[u8]) -> Vec
{ [INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | fn parse_table_records(content: &[u8]) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> font/src/sfnt/mod.rs:96:40 [INFO] [stdout] | [INFO] [stdout] 96 | fn parse_nth_table_record(content: &[u8], n: usize) -> Table { [INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | fn parse_nth_table_record(content: &[u8], n: usize) -> Table<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.70s [INFO] running `Command { std: "docker" "inspect" "d8a528446d9a6a0c17b8aa5017d502f2f5027fbe69be82b8cf27c9aac8b882d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8a528446d9a6a0c17b8aa5017d502f2f5027fbe69be82b8cf27c9aac8b882d4", kill_on_drop: false }` [INFO] [stdout] d8a528446d9a6a0c17b8aa5017d502f2f5027fbe69be82b8cf27c9aac8b882d4