[INFO] fetching crate fl 0.0.1... [INFO] testing fl-0.0.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate fl 0.0.1 into /workspace/builds/worker-31/source [INFO] validating manifest of crates.io crate fl 0.0.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fl 0.0.1 [INFO] finished tweaking crates.io crate fl 0.0.1 [INFO] tweaked toml for crates.io crate fl 0.0.1 written to /workspace/builds/worker-31/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b25b24db97d50fd1e3124c497213f84b08104a3ca8683edfe4f255207a07a92 [INFO] running `Command { std: "docker" "start" "-a" "2b25b24db97d50fd1e3124c497213f84b08104a3ca8683edfe4f255207a07a92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b25b24db97d50fd1e3124c497213f84b08104a3ca8683edfe4f255207a07a92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b25b24db97d50fd1e3124c497213f84b08104a3ca8683edfe4f255207a07a92", kill_on_drop: false }` [INFO] [stdout] 2b25b24db97d50fd1e3124c497213f84b08104a3ca8683edfe4f255207a07a92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03a3b92c0d9bd1c54413b30c6a3d34479c2fb48376f3f6699de4284acd17f69d [INFO] running `Command { std: "docker" "start" "-a" "03a3b92c0d9bd1c54413b30c6a3d34479c2fb48376f3f6699de4284acd17f69d", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fl v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::output::OutputOpts` [INFO] [stdout] --> src/font.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::output::OutputOpts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/font.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/font.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font::Font` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use font::Font; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txt1` [INFO] [stdout] --> src/font.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | fn can_vertical_smush(&self, txt1: &str, txt2: &str) -> SmushStatus { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txt1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txt2` [INFO] [stdout] --> src/font.rs:160:46 [INFO] [stdout] | [INFO] [stdout] 160 | fn can_vertical_smush(&self, txt1: &str, txt2: &str) -> SmushStatus { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txt2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hrules` [INFO] [stdout] --> src/font.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | let mut hrules = [false; 6]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hrules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vrules` [INFO] [stdout] --> src/font.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | let mut vrules = [false; 5]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vrules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/font.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | let mut hlayout: Layout; [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: variable does not need to be mutable [INFO] [stdout] --> src/font.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let mut vlayout: Layout; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/font.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let mut hrules = [false; 6]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/font.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let mut vrules = [false; 5]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/font.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let mut flags: RuleFlags; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opts` [INFO] [stdout] --> src/font.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | opts: FontOpts, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Font` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `comment` [INFO] [stdout] --> src/font.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | comment: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Font` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `alphabet` [INFO] [stdout] --> src/font.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | alphabet: Alphabet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Font` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `SmushStatus` [INFO] [stdout] --> src/font.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum SmushStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_vertical_smush` [INFO] [stdout] --> src/font.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | fn can_vertical_smush(&self, txt1: &str, txt2: &str) -> SmushStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hlayout` [INFO] [stdout] --> src/font.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | hlayout: Layout, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FittingRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vlayout` [INFO] [stdout] --> src/font.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | vlayout: Layout, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FittingRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hrules` [INFO] [stdout] --> src/font.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | hrules: [bool; 6], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FittingRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vrules` [INFO] [stdout] --> src/font.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | vrules: [bool; 5], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FittingRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `fittingRules` should have a snake case name [INFO] [stdout] --> src/output.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub fittingRules: FittingRules, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fitting_rules` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hardBlank` should have a snake case name [INFO] [stdout] --> src/smush.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn hrule1_smush(ch1: u8, ch2: u8, hardBlank: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hard_blank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "03a3b92c0d9bd1c54413b30c6a3d34479c2fb48376f3f6699de4284acd17f69d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a3b92c0d9bd1c54413b30c6a3d34479c2fb48376f3f6699de4284acd17f69d", kill_on_drop: false }` [INFO] [stdout] 03a3b92c0d9bd1c54413b30c6a3d34479c2fb48376f3f6699de4284acd17f69d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0031efcfc7335263bff0739dcffadaf235869fe6257b489aec44ab9e9c49de2 [INFO] running `Command { std: "docker" "start" "-a" "e0031efcfc7335263bff0739dcffadaf235869fe6257b489aec44ab9e9c49de2", kill_on_drop: false }` [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::output::OutputOpts` [INFO] [stdout] --> src/font.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::output::OutputOpts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/font.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/font.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font::Font` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use font::Font; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txt1` [INFO] [stdout] --> src/font.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | fn can_vertical_smush(&self, txt1: &str, txt2: &str) -> SmushStatus { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txt1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txt2` [INFO] [stdout] --> src/font.rs:160:46 [INFO] [stdout] | [INFO] [stdout] 160 | fn can_vertical_smush(&self, txt1: &str, txt2: &str) -> SmushStatus { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txt2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hrules` [INFO] [stdout] --> src/font.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | let mut hrules = [false; 6]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hrules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vrules` [INFO] [stdout] --> src/font.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | let mut vrules = [false; 5]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vrules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/font.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | let mut hlayout: Layout; [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: variable does not need to be mutable [INFO] [stdout] --> src/font.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let mut vlayout: Layout; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/font.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let mut hrules = [false; 6]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/font.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let mut vrules = [false; 5]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/font.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let mut flags: RuleFlags; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opts` [INFO] [stdout] --> src/font.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | opts: FontOpts, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Font` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `comment` [INFO] [stdout] --> src/font.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | comment: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Font` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `alphabet` [INFO] [stdout] --> src/font.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | alphabet: Alphabet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Font` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fl v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum is never used: `SmushStatus` [INFO] [stdout] --> src/font.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum SmushStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_vertical_smush` [INFO] [stdout] --> src/font.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | fn can_vertical_smush(&self, txt1: &str, txt2: &str) -> SmushStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hlayout` [INFO] [stdout] --> src/font.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | hlayout: Layout, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FittingRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vlayout` [INFO] [stdout] --> src/font.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | vlayout: Layout, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FittingRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hrules` [INFO] [stdout] --> src/font.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | hrules: [bool; 6], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FittingRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vrules` [INFO] [stdout] --> src/font.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | vrules: [bool; 5], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FittingRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `fittingRules` should have a snake case name [INFO] [stdout] --> src/output.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub fittingRules: FittingRules, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fitting_rules` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hardBlank` should have a snake case name [INFO] [stdout] --> src/smush.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn hrule1_smush(ch1: u8, ch2: u8, hardBlank: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hard_blank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::output::OutputOpts` [INFO] [stdout] --> src/font.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::output::OutputOpts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/font.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/font.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font::Font` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use font::Font; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txt1` [INFO] [stdout] --> src/font.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | fn can_vertical_smush(&self, txt1: &str, txt2: &str) -> SmushStatus { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txt1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txt2` [INFO] [stdout] --> src/font.rs:160:46 [INFO] [stdout] | [INFO] [stdout] 160 | fn can_vertical_smush(&self, txt1: &str, txt2: &str) -> SmushStatus { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txt2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hrules` [INFO] [stdout] --> src/font.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | let mut hrules = [false; 6]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hrules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vrules` [INFO] [stdout] --> src/font.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | let mut vrules = [false; 5]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vrules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/font.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | let mut hlayout: Layout; [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: variable does not need to be mutable [INFO] [stdout] --> src/font.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let mut vlayout: Layout; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/font.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let mut hrules = [false; 6]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/font.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let mut vrules = [false; 5]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/font.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let mut flags: RuleFlags; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opts` [INFO] [stdout] --> src/font.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | opts: FontOpts, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Font` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `comment` [INFO] [stdout] --> src/font.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | comment: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Font` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `alphabet` [INFO] [stdout] --> src/font.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | alphabet: Alphabet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Font` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `SmushStatus` [INFO] [stdout] --> src/font.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum SmushStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_vertical_smush` [INFO] [stdout] --> src/font.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | fn can_vertical_smush(&self, txt1: &str, txt2: &str) -> SmushStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hlayout` [INFO] [stdout] --> src/font.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | hlayout: Layout, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FittingRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vlayout` [INFO] [stdout] --> src/font.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | vlayout: Layout, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FittingRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hrules` [INFO] [stdout] --> src/font.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | hrules: [bool; 6], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FittingRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vrules` [INFO] [stdout] --> src/font.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | vrules: [bool; 5], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FittingRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/font.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `fittingRules` should have a snake case name [INFO] [stdout] --> src/output.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub fittingRules: FittingRules, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fitting_rules` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hardBlank` should have a snake case name [INFO] [stdout] --> src/smush.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn hrule1_smush(ch1: u8, ch2: u8, hardBlank: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hard_blank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "e0031efcfc7335263bff0739dcffadaf235869fe6257b489aec44ab9e9c49de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0031efcfc7335263bff0739dcffadaf235869fe6257b489aec44ab9e9c49de2", kill_on_drop: false }` [INFO] [stdout] e0031efcfc7335263bff0739dcffadaf235869fe6257b489aec44ab9e9c49de2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc40979e4c675ac5a8acce3b60c7ed733ed0ec954a3c24176713e22e81abca96 [INFO] running `Command { std: "docker" "start" "-a" "fc40979e4c675ac5a8acce3b60c7ed733ed0ec954a3c24176713e22e81abca96", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::output::OutputOpts` [INFO] [stderr] --> src/font.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::output::OutputOpts; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp::min` [INFO] [stderr] --> src/font.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::cmp::min; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/font.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `font::Font` [INFO] [stderr] --> src/lib.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use font::Font; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp::max` [INFO] [stderr] --> src/lib.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::cmp::max; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `txt1` [INFO] [stderr] --> src/font.rs:160:34 [INFO] [stderr] | [INFO] [stderr] 160 | fn can_vertical_smush(&self, txt1: &str, txt2: &str) -> SmushStatus { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txt1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `txt2` [INFO] [stderr] --> src/font.rs:160:46 [INFO] [stderr] | [INFO] [stderr] 160 | fn can_vertical_smush(&self, txt1: &str, txt2: &str) -> SmushStatus { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txt2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hrules` [INFO] [stderr] --> src/font.rs:274:17 [INFO] [stderr] | [INFO] [stderr] 274 | let mut hrules = [false; 6]; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hrules` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vrules` [INFO] [stderr] --> src/font.rs:275:17 [INFO] [stderr] | [INFO] [stderr] 275 | let mut vrules = [false; 5]; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vrules` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/font.rs:272:13 [INFO] [stderr] | [INFO] [stderr] 272 | let mut hlayout: Layout; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/font.rs:273:13 [INFO] [stderr] | [INFO] [stderr] 273 | let mut vlayout: Layout; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/font.rs:274:13 [INFO] [stderr] | [INFO] [stderr] 274 | let mut hrules = [false; 6]; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/font.rs:275:13 [INFO] [stderr] | [INFO] [stderr] 275 | let mut vrules = [false; 5]; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/font.rs:276:13 [INFO] [stderr] | [INFO] [stderr] 276 | let mut flags: RuleFlags; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `opts` [INFO] [stderr] --> src/font.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | opts: FontOpts, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Font` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/font.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `comment` [INFO] [stderr] --> src/font.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | comment: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Font` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/font.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `alphabet` [INFO] [stderr] --> src/font.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | alphabet: Alphabet, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Font` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/font.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `SmushStatus` [INFO] [stderr] --> src/font.rs:15:6 [INFO] [stderr] | [INFO] [stderr] 15 | enum SmushStatus { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `can_vertical_smush` [INFO] [stderr] --> src/font.rs:160:8 [INFO] [stderr] | [INFO] [stderr] 160 | fn can_vertical_smush(&self, txt1: &str, txt2: &str) -> SmushStatus { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `hlayout` [INFO] [stderr] --> src/font.rs:224:5 [INFO] [stderr] | [INFO] [stderr] 224 | hlayout: Layout, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FittingRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/font.rs:222:19 [INFO] [stderr] | [INFO] [stderr] 222 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `vlayout` [INFO] [stderr] --> src/font.rs:225:5 [INFO] [stderr] | [INFO] [stderr] 225 | vlayout: Layout, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FittingRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/font.rs:222:19 [INFO] [stderr] | [INFO] [stderr] 222 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `hrules` [INFO] [stderr] --> src/font.rs:226:5 [INFO] [stderr] | [INFO] [stderr] 226 | hrules: [bool; 6], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FittingRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/font.rs:222:19 [INFO] [stderr] | [INFO] [stderr] 222 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `vrules` [INFO] [stderr] --> src/font.rs:227:5 [INFO] [stderr] | [INFO] [stderr] 227 | vrules: [bool; 5], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FittingRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/font.rs:222:19 [INFO] [stderr] | [INFO] [stderr] 222 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: structure field `fittingRules` should have a snake case name [INFO] [stderr] --> src/output.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub fittingRules: FittingRules, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fitting_rules` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `hardBlank` should have a snake case name [INFO] [stderr] --> src/smush.rs:11:39 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn hrule1_smush(ch1: u8, ch2: u8, hardBlank: u8) -> Option { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `hard_blank` [INFO] [stderr] [INFO] [stderr] warning: `fl` (lib) generated 26 warnings [INFO] [stderr] warning: `fl` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fl-121bb80a605a2cad) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test smush::tests::test_hrule3_smush ... ok [INFO] [stdout] test smush::tests::test_hrule5_smush ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests fl [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fc40979e4c675ac5a8acce3b60c7ed733ed0ec954a3c24176713e22e81abca96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc40979e4c675ac5a8acce3b60c7ed733ed0ec954a3c24176713e22e81abca96", kill_on_drop: false }` [INFO] [stdout] fc40979e4c675ac5a8acce3b60c7ed733ed0ec954a3c24176713e22e81abca96