Compiling inlay v0.1.0 (D:\tools\inlay) warning: unused `#[macro_use]` import --> src\main.rs:6:1 | 6 | #[macro_use] extern crate structopt; | ^^^^^^^^^^^^ | = note: #[warn(unused_imports)] on by default warning: unused import: `std::fs::File` --> src\encode.rs:1:5 | 1 | use std::fs::File; | ^^^^^^^^^^^^^ warning: unused import: `std::fs::File` --> src\decode.rs:1:5 | 1 | use std::fs::File; | ^^^^^^^^^^^^^ warning: unused import: `BufReader` --> src\decode.rs:2:36 | 2 | use std::io::{Write, Read, Cursor, BufReader}; | ^^^^^^^^^ warning: unused imports: `Cursor`, `Read`, `Write` --> src\main.rs:18:15 | 18 | use std::io::{Write, Read, Cursor, BufReader}; | ^^^^^ ^^^^ ^^^^^^ warning: unused variable: `val` --> src\types.rs:360:26 | 360 | Value::Uint8(val) => 8, | ^^^ help: consider using `_val` instead | = note: #[warn(unused_variables)] on by default warning: unused variable: `val` --> src\types.rs:361:25 | 361 | Value::Int8(val) => 8, | ^^^ help: consider using `_val` instead warning: unused variable: `val` --> src\types.rs:362:27 | 362 | Value::Uint16(val) => 16, | ^^^ help: consider using `_val` instead warning: unused variable: `val` --> src\types.rs:363:26 | 363 | Value::Int16(val) => 16, | ^^^ help: consider using `_val` instead warning: unused variable: `val` --> src\types.rs:364:27 | 364 | Value::Uint32(val) => 32, | ^^^ help: consider using `_val` instead warning: unused variable: `val` --> src\types.rs:365:26 | 365 | Value::Int32(val) => 32, | ^^^ help: consider using `_val` instead warning: unused variable: `val` --> src\types.rs:366:27 | 366 | Value::Uint64(val) => 64, | ^^^ help: consider using `_val` instead warning: unused variable: `val` --> src\types.rs:367:26 | 367 | Value::Int64(val) => 64, | ^^^ help: consider using `_val` instead warning: unused variable: `val` --> src\types.rs:368:26 | 368 | Value::Float(val) => 32, | ^^^ help: consider using `_val` instead warning: unused variable: `val` --> src\types.rs:369:27 | 369 | Value::Double(val) => 64, | ^^^ help: consider using `_val` instead warning: method is never used: `u8` --> src\types.rs:67:5 | 67 | pub fn u8(endianness: Endianness) -> FieldType { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: #[warn(dead_code)] on by default warning: method is never used: `u16` --> src\types.rs:71:5 | 71 | pub fn u16(endianness: Endianness) -> FieldType { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `u32` --> src\types.rs:75:5 | 75 | pub fn u32(endianness: Endianness) -> FieldType { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `u64` --> src\types.rs:79:5 | 79 | pub fn u64(endianness: Endianness) -> FieldType { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `i8` --> src\types.rs:83:5 | 83 | pub fn i8(endianness: Endianness) -> FieldType { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `i16` --> src\types.rs:87:5 | 87 | pub fn i16(endianness: Endianness) -> FieldType { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `i32` --> src\types.rs:91:5 | 91 | pub fn i32(endianness: Endianness) -> FieldType { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `i64` --> src\types.rs:95:5 | 95 | pub fn i64(endianness: Endianness) -> FieldType { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `float` --> src\types.rs:99:5 | 99 | pub fn float(endianness: Endianness) -> FieldType { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `double` --> src\types.rs:103:5 | 103 | pub fn double(endianness: Endianness) -> FieldType { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `u8` --> src\types.rs:411:5 | 411 | pub fn u8(val: u8, endianness: Endianness, descr: String) -> Field { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `u16` --> src\types.rs:415:5 | 415 | pub fn u16(val: u16, endianness: Endianness, descr: String) -> Field { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `u32` --> src\types.rs:419:5 | 419 | pub fn u32(val: u32, endianness: Endianness, descr: String) -> Field { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `u64` --> src\types.rs:423:5 | 423 | pub fn u64(val: u64, endianness: Endianness, descr: String) -> Field { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `i8` --> src\types.rs:427:5 | 427 | pub fn i8(val: i8, endianness: Endianness, descr: String) -> Field { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `i16` --> src\types.rs:431:5 | 431 | pub fn i16(val: i16, endianness: Endianness, descr: String) -> Field { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `i32` --> src\types.rs:435:5 | 435 | pub fn i32(val: i32, endianness: Endianness, descr: String) -> Field { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `i64` --> src\types.rs:439:5 | 439 | pub fn i64(val: i64, endianness: Endianness, descr: String) -> Field { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `float` --> src\types.rs:443:5 | 443 | pub fn float(val: f32, endianness: Endianness, descr: String) -> Field { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `double` --> src\types.rs:447:5 | 447 | pub fn double(val: f64, endianness: Endianness, descr: String) -> Field { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: function is never used: `to_field` --> src\encode.rs:107:1 | 107 | fn to_field(typ: FieldType, value_str: &str, description: String) -> Field { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method is never used: `new` --> src\template.rs:23:5 | 23 | pub fn new(typ: FieldType, descr: String) -> Template { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Finished dev [unoptimized + debuginfo] target(s) in 2.42s Running `D:\tools\inlay\target\debug\inlay.exe encode ccsds_row_based.csv -r -l trace 2` inlay: Encoding inlay: Expanding globs inlay: Template file is input file inlay::template: Opened Template File ccsds_row_based.csv inlay: Template file open inlay: Multiple output files inlay: 1 input files to process inlay: Outputting to ccsds_row_based.csv.bin inlay: Processing input file ccsds_row_based.csv inlay::encode: Starting encoding inlay::encode: Row based inlay::encode: Processing record [src\encode.rs:64] value_str = " 1" inlay::encode: uint11_be:16, apid,1 inlay::encode: Processing record [src\encode.rs:64] value_str = " 0" inlay::encode: uint1_be:16, secHeaderFlag,0 inlay::encode: Processing record [src\encode.rs:64] value_str = " 0" inlay::encode: uint1_be:16, type,0 inlay::encode: Processing record [src\encode.rs:64] value_str = " 0" inlay::encode: uint3_be:16, version,0 inlay::encode: Processing record [src\encode.rs:64] value_str = " 1" inlay::encode: uint14_be:16, seqCount,1 inlay::encode: Processing record [src\encode.rs:64] value_str = " 3" inlay::encode: uint2_be:16, seqFlag,3 inlay::encode: Processing record [src\encode.rs:64] value_str = " 0" inlay::encode: uint16_be, packetLen,0 inlay: File processed