[INFO] cloning repository https://github.com/sans-py/sfnt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sans-py/sfnt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsans-py%2Fsfnt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsans-py%2Fsfnt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2ad7a2a33b2372d79a920b1621ee7eff1356d1b [INFO] checking sans-py/sfnt against master#ac385a5af6d9fa8399a0cec799833cd28324abf8 for pr-125107 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsans-py%2Fsfnt" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sans-py/sfnt on toolchain ac385a5af6d9fa8399a0cec799833cd28324abf8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sans-py/sfnt [INFO] finished tweaking git repo https://github.com/sans-py/sfnt [INFO] tweaked toml for git repo https://github.com/sans-py/sfnt written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sans-py/sfnt 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" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3a58a44cc5f0f0466b7eed8b949e7b2afa635e0d4d8110d782430bc9d40955b [INFO] running `Command { std: "docker" "start" "-a" "d3a58a44cc5f0f0466b7eed8b949e7b2afa635e0d4d8110d782430bc9d40955b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3a58a44cc5f0f0466b7eed8b949e7b2afa635e0d4d8110d782430bc9d40955b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3a58a44cc5f0f0466b7eed8b949e7b2afa635e0d4d8110d782430bc9d40955b", kill_on_drop: false }` [INFO] [stdout] d3a58a44cc5f0f0466b7eed8b949e7b2afa635e0d4d8110d782430bc9d40955b [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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b5a0435c903b485ff8ed0e4a079e9a994708bb9d46d6374b1b1a5b94fe497ef [INFO] running `Command { std: "docker" "start" "-a" "1b5a0435c903b485ff8ed0e4a079e9a994708bb9d46d6374b1b1a5b94fe497ef", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking text-tools v0.1.0 (/opt/rustwide/workdir/packages/text-tools) [INFO] [stdout] warning: struct `Tag` is never constructed [INFO] [stdout] --> packages/text-tools/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Tag { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> packages/text-tools/src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Tag { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 9 | pub fn from(content: &[u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tag` is never constructed [INFO] [stdout] --> packages/text-tools/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Tag { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> packages/text-tools/src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Tag { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 9 | pub fn from(content: &[u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Checking regex-automata v0.3.9 [INFO] [stderr] Checking regex v1.9.6 [INFO] [stderr] Checking sfnt v0.1.0 (/opt/rustwide/workdir/packages/sfnt) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut file: std::fs::File = std::fs::File::create(file_or_path)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let lines = data.split("\n"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/sfnt/src/tt_lib/tt_font.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut file = std::fs::File::open(input_path)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_path` [INFO] [stdout] --> packages/sfnt/src/tt_lib/tt_font.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn save_xml(self, output_path: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut file: std::fs::File = std::fs::File::create(file_or_path)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fixed_point_mappings` is never used [INFO] [stdout] --> packages/sfnt/src/misc/sstruct.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | const fn fixed_point_mappings(point: u8) -> Result<&'static str, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SFNT_DIRECTORY_FORMAT` is never used [INFO] [stdout] --> packages/sfnt/src/misc/sstruct.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SFNT_DIRECTORY_FORMAT: &str = " [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SFNT_DIRECTORY_ENTRY_FORMAT` is never used [INFO] [stdout] --> packages/sfnt/src/misc/sstruct.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const SFNT_DIRECTORY_ENTRY_FORMAT: &str = " [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sfnt_directory_size` is never used [INFO] [stdout] --> packages/sfnt/src/misc/sstruct.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_sfnt_directory_size() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sfnt_directory_entry_size` is never used [INFO] [stdout] --> packages/sfnt/src/misc/sstruct.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_sfnt_directory_entry_size() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_element_regex` is never used [INFO] [stdout] --> packages/sfnt/src/misc/sstruct.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_element_regex() -> Regex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_extra_regex` is never used [INFO] [stdout] --> packages/sfnt/src/misc/sstruct.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_extra_regex() -> Regex { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_empty_regex` is never used [INFO] [stdout] --> packages/sfnt/src/misc/sstruct.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn get_empty_regex() -> Regex { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calcsize` is never used [INFO] [stdout] --> packages/sfnt/src/misc/sstruct.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn calcsize(format: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getformat` is never used [INFO] [stdout] --> packages/sfnt/src/misc/sstruct.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn getformat(fmt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FormatDef` is never constructed [INFO] [stdout] --> packages/sfnt/src/misc/sstruct.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | struct FormatDef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIL_ENDIAN_TABLE` is never used [INFO] [stdout] --> packages/sfnt/src/misc/sstruct.rs:171:7 [INFO] [stdout] | [INFO] [stdout] 171 | const LIL_ENDIAN_TABLE: [FormatDef; 18] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BIG_ENDIAN_TABLE` is never used [INFO] [stdout] --> packages/sfnt/src/misc/sstruct.rs:193:7 [INFO] [stdout] | [INFO] [stdout] 193 | const BIG_ENDIAN_TABLE: [FormatDef; 18] = LIL_ENDIAN_TABLE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDENT` is never used [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const INDENT: &str = " "; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `XMLWriter` is never constructed [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct XMLWriter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl XMLWriter { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn write(&mut self, string: &str, indent: bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn write_cdata(&mut self, string: &str){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn newline(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn indent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn dedent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn simpletag(&mut self, name: &str, value: &HashMap<&str, &str>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn begintag(&mut self, name: &str, value: &HashMap<&str, &str>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn endtag(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn escape(&mut self, string: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn comment(&mut self, data: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reader` is never read [INFO] [stdout] --> packages/sfnt/src/tt_lib/tt_font.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct TTFont { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 3 | reader: SFNTReader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> packages/sfnt/src/tt_lib/tt_font.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl TTFont { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn close(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `xmlWriter` should have a snake case name [INFO] [stdout] --> packages/sfnt/src/misc/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod xmlWriter; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `xml_writer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let lines = data.split("\n"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/sfnt/src/tt_lib/tt_font.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut file = std::fs::File::open(input_path)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_path` [INFO] [stdout] --> packages/sfnt/src/tt_lib/tt_font.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn save_xml(self, output_path: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alignment` is never read [INFO] [stdout] --> packages/sfnt/src/misc/sstruct.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 165 | struct FormatDef { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 168 | alignment: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDENT` is never used [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const INDENT: &str = " "; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `XMLWriter` is never constructed [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct XMLWriter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | self.file.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = self.file.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | self.file.write(self.indentwhite.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = self.file.write(self.indentwhite.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl XMLWriter { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn write(&mut self, string: &str, indent: bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn write_cdata(&mut self, string: &str){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn newline(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn indent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn dedent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn simpletag(&mut self, name: &str, value: &HashMap<&str, &str>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn begintag(&mut self, name: &str, value: &HashMap<&str, &str>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn endtag(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn escape(&mut self, string: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn comment(&mut self, data: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | self.file.write_all(data.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = self.file.write_all(data.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reader` is never read [INFO] [stdout] --> packages/sfnt/src/tt_lib/tt_font.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct TTFont { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 3 | reader: SFNTReader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | self.file.write(self.newlinestr.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = self.file.write(self.newlinestr.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> packages/sfnt/src/tt_lib/tt_font.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl TTFont { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn close(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `xmlWriter` should have a snake case name [INFO] [stdout] --> packages/sfnt/src/misc/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod xmlWriter; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `xml_writer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | self.file.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = self.file.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | self.file.write(self.indentwhite.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = self.file.write(self.indentwhite.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | self.file.write_all(data.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = self.file.write_all(data.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/sfnt/src/misc/xmlWriter.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | self.file.write(self.newlinestr.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = self.file.write(self.newlinestr.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.08s [INFO] running `Command { std: "docker" "inspect" "1b5a0435c903b485ff8ed0e4a079e9a994708bb9d46d6374b1b1a5b94fe497ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b5a0435c903b485ff8ed0e4a079e9a994708bb9d46d6374b1b1a5b94fe497ef", kill_on_drop: false }` [INFO] [stdout] 1b5a0435c903b485ff8ed0e4a079e9a994708bb9d46d6374b1b1a5b94fe497ef