[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#d97bb195bf7b84815622b235cb51171c1b8f7e51 for pr-117905 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftobyjsullivan%2Ffonts" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tobyjsullivan/fonts on toolchain d97bb195bf7b84815622b235cb51171c1b8f7e51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d97bb195bf7b84815622b235cb51171c1b8f7e51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+d97bb195bf7b84815622b235cb51171c1b8f7e51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking tobyjsullivan/fonts against try#1930f260edd7e614aa013a0665aa5cfd0ada0501 for pr-117905 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftobyjsullivan%2Ffonts" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tobyjsullivan/fonts on toolchain 1930f260edd7e614aa013a0665aa5cfd0ada0501 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cfc3d015aa965892c14b2711e593a09e1aac0c6de2eea99bf1ec7cb224fd2de [INFO] running `Command { std: "docker" "start" "-a" "8cfc3d015aa965892c14b2711e593a09e1aac0c6de2eea99bf1ec7cb224fd2de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cfc3d015aa965892c14b2711e593a09e1aac0c6de2eea99bf1ec7cb224fd2de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cfc3d015aa965892c14b2711e593a09e1aac0c6de2eea99bf1ec7cb224fd2de", kill_on_drop: false }` [INFO] [stdout] 8cfc3d015aa965892c14b2711e593a09e1aac0c6de2eea99bf1ec7cb224fd2de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a85297c8bd0f354e4d041818777f467c547b2da1d2be9e073cc239e743a0a04 [INFO] running `Command { std: "docker" "start" "-a" "1a85297c8bd0f354e4d041818777f467c547b2da1d2be9e073cc239e743a0a04", kill_on_drop: false }` [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 bitflags v1.0.4 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking strsim v0.7.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: 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] = note: `#[warn(dead_code)]` on by default [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: 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:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct MaxpTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [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: 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: 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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking about v0.1.0 (/opt/rustwide/workdir/about) [INFO] [stderr] Checking fonts v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(dead_code)]` on by default [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: 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:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct MaxpTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [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 `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: 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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.08s [INFO] running `Command { std: "docker" "inspect" "1a85297c8bd0f354e4d041818777f467c547b2da1d2be9e073cc239e743a0a04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a85297c8bd0f354e4d041818777f467c547b2da1d2be9e073cc239e743a0a04", kill_on_drop: false }` [INFO] [stdout] 1a85297c8bd0f354e4d041818777f467c547b2da1d2be9e073cc239e743a0a04