[INFO] cloning repository https://github.com/nsmryan/inlay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nsmryan/inlay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2Finlay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2Finlay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a68b792f299011bd4cf4db01b91097f1956727a0 [INFO] checking nsmryan/inlay against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2Finlay" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nsmryan/inlay on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nsmryan/inlay [INFO] finished tweaking git repo https://github.com/nsmryan/inlay [INFO] tweaked toml for git repo https://github.com/nsmryan/inlay written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nsmryan/inlay 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded loggerv v0.7.1 [INFO] [stderr] Downloaded csv v1.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 142677daf9107f7b06b44ba2cb48872d6a96babd901e69a79ca9bedb0ceb8837 [INFO] running `Command { std: "docker" "start" "-a" "142677daf9107f7b06b44ba2cb48872d6a96babd901e69a79ca9bedb0ceb8837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "142677daf9107f7b06b44ba2cb48872d6a96babd901e69a79ca9bedb0ceb8837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "142677daf9107f7b06b44ba2cb48872d6a96babd901e69a79ca9bedb0ceb8837", kill_on_drop: false }` [INFO] [stdout] 142677daf9107f7b06b44ba2cb48872d6a96babd901e69a79ca9bedb0ceb8837 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bff667d8c15f75fd2df229f42a810333c96a7c0d4ed2504b8b91dc91fa180497 [INFO] running `Command { std: "docker" "start" "-a" "bff667d8c15f75fd2df229f42a810333c96a7c0d4ed2504b8b91dc91fa180497", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking loggerv v0.7.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.88 [INFO] [stderr] Checking csv v1.0.5 [INFO] [stderr] Checking structopt v0.2.14 [INFO] [stderr] Checking inlay v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] extern crate structopt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/bit_buffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigEndian`, `LittleEndian`, `ReadBytesExt` [INFO] [stdout] --> src/bit_buffer.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::{ReadBytesExt, LittleEndian, BigEndian}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/encode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/decode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/decode.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Write, Read, Cursor, BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `Read`, `Write` [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{Write, Read, Cursor, BufReader, BufWriter}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] extern crate structopt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/bit_buffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigEndian`, `LittleEndian`, `ReadBytesExt` [INFO] [stdout] --> src/bit_buffer.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::{ReadBytesExt, LittleEndian, BigEndian}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/encode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/decode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/decode.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Write, Read, Cursor, BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `Read`, `Write` [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{Write, Read, Cursor, BufReader, BufWriter}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:360:26 [INFO] [stdout] | [INFO] [stdout] 360 | Value::Uint8(val) => 8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | Value::Int8(val) => 8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:362:27 [INFO] [stdout] | [INFO] [stdout] 362 | Value::Uint16(val) => 16, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:363:26 [INFO] [stdout] | [INFO] [stdout] 363 | Value::Int16(val) => 16, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:364:27 [INFO] [stdout] | [INFO] [stdout] 364 | Value::Uint32(val) => 32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:365:26 [INFO] [stdout] | [INFO] [stdout] 365 | Value::Int32(val) => 32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:366:27 [INFO] [stdout] | [INFO] [stdout] 366 | Value::Uint64(val) => 64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:367:26 [INFO] [stdout] | [INFO] [stdout] 367 | Value::Int64(val) => 64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:368:26 [INFO] [stdout] | [INFO] [stdout] 368 | Value::Float(val) => 32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:369:27 [INFO] [stdout] | [INFO] [stdout] 369 | Value::Double(val) => 64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bit_buffer.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | let mut ptr = mem::transmute::<&u64, &f32>(&value); [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/bit_buffer.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | let mut ptr = mem::transmute::<&u64, &f64>(&value); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:360:26 [INFO] [stdout] | [INFO] [stdout] 360 | Value::Uint8(val) => 8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | Value::Int8(val) => 8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:362:27 [INFO] [stdout] | [INFO] [stdout] 362 | Value::Uint16(val) => 16, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:363:26 [INFO] [stdout] | [INFO] [stdout] 363 | Value::Int16(val) => 16, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:364:27 [INFO] [stdout] | [INFO] [stdout] 364 | Value::Uint32(val) => 32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:365:26 [INFO] [stdout] | [INFO] [stdout] 365 | Value::Int32(val) => 32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:366:27 [INFO] [stdout] | [INFO] [stdout] 366 | Value::Uint64(val) => 64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:367:26 [INFO] [stdout] | [INFO] [stdout] 367 | Value::Int64(val) => 64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:368:26 [INFO] [stdout] | [INFO] [stdout] 368 | Value::Float(val) => 32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:369:27 [INFO] [stdout] | [INFO] [stdout] 369 | Value::Double(val) => 64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bit_buffer.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | let mut ptr = mem::transmute::<&u64, &f32>(&value); [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/bit_buffer.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | let mut ptr = mem::transmute::<&u64, &f64>(&value); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/decode.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let field = Field::float(3.14159, endianness, descr.clone()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/decode.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let field = Field::float(3.14159, endianness, descr.clone()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/decode.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let field = Field::double(3.141592541, endianness, descr.clone()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/decode.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let field = Field::double(3.1415926535, endianness, descr.clone()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let mut output_file = [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/main.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | let mut output_file = [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/types.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl FieldType { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 67 | pub fn u8(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn u16(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn u32(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn u64(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn i8(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn i16(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn i32(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn i64(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn float(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn double(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/types.rs:411:12 [INFO] [stdout] | [INFO] [stdout] 406 | impl Field { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn u8(val: u8, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn u16(val: u16, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn u32(val: u32, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | pub fn u64(val: u64, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn i8(val: i8, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 431 | pub fn i16(val: i16, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn i32(val: i32, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | pub fn i64(val: i64, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | pub fn float(val: f32, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | pub fn double(val: f64, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_field` is never used [INFO] [stdout] --> src/encode.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn to_field(typ: FieldType, value_str: &str, description: String) -> Field { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/template.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Template { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 44 | pub fn new(typ: FieldType, descr: String) -> Template { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/types.rs:289:29 [INFO] [stdout] | [INFO] [stdout] 289 | _ => panic!("{} chars not supports for BitSize"), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 289 | _ => panic!("{} chars not supports for BitSize", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 289 | _ => panic!("{}", "{} chars not supports for BitSize"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let mut output_file = [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/main.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | let mut output_file = [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `i8`, `i16`, `i32`, and `i64` are never used [INFO] [stdout] --> src/types.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 406 | impl Field { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn i8(val: i8, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 431 | pub fn i16(val: i16, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn i32(val: i32, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | pub fn i64(val: i64, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_field` is never used [INFO] [stdout] --> src/encode.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn to_field(typ: FieldType, value_str: &str, description: String) -> Field { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/types.rs:289:29 [INFO] [stdout] | [INFO] [stdout] 289 | _ => panic!("{} chars not supports for BitSize"), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 289 | _ => panic!("{} chars not supports for BitSize", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 289 | _ => panic!("{}", "{} chars not supports for BitSize"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.00s [INFO] running `Command { std: "docker" "inspect" "bff667d8c15f75fd2df229f42a810333c96a7c0d4ed2504b8b91dc91fa180497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bff667d8c15f75fd2df229f42a810333c96a7c0d4ed2504b8b91dc91fa180497", kill_on_drop: false }` [INFO] [stdout] bff667d8c15f75fd2df229f42a810333c96a7c0d4ed2504b8b91dc91fa180497 [INFO] checking nsmryan/inlay against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2Finlay" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nsmryan/inlay on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nsmryan/inlay [INFO] finished tweaking git repo https://github.com/nsmryan/inlay [INFO] tweaked toml for git repo https://github.com/nsmryan/inlay written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nsmryan/inlay 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88501c9a6fa197b78ade7d39d5d492c6737556ba6f4aa0a9e3d46cefab8c9698 [INFO] running `Command { std: "docker" "start" "-a" "88501c9a6fa197b78ade7d39d5d492c6737556ba6f4aa0a9e3d46cefab8c9698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88501c9a6fa197b78ade7d39d5d492c6737556ba6f4aa0a9e3d46cefab8c9698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88501c9a6fa197b78ade7d39d5d492c6737556ba6f4aa0a9e3d46cefab8c9698", kill_on_drop: false }` [INFO] [stdout] 88501c9a6fa197b78ade7d39d5d492c6737556ba6f4aa0a9e3d46cefab8c9698 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fc4756461cd5e2d401c36539e5d602960de4c99c9652d7d72980316fd915aab [INFO] running `Command { std: "docker" "start" "-a" "6fc4756461cd5e2d401c36539e5d602960de4c99c9652d7d72980316fd915aab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking loggerv v0.7.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.88 [INFO] [stderr] Checking csv v1.0.5 [INFO] [stderr] Checking structopt v0.2.14 [INFO] [stderr] Checking inlay v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] extern crate structopt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/bit_buffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigEndian`, `LittleEndian`, `ReadBytesExt` [INFO] [stdout] --> src/bit_buffer.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::{ReadBytesExt, LittleEndian, BigEndian}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/encode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/decode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/decode.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Write, Read, Cursor, BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `Read`, `Write` [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{Write, Read, Cursor, BufReader, BufWriter}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] extern crate structopt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/bit_buffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigEndian`, `LittleEndian`, `ReadBytesExt` [INFO] [stdout] --> src/bit_buffer.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::{ReadBytesExt, LittleEndian, BigEndian}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/encode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/decode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/decode.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Write, Read, Cursor, BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `Read`, `Write` [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{Write, Read, Cursor, BufReader, BufWriter}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:360:26 [INFO] [stdout] | [INFO] [stdout] 360 | Value::Uint8(val) => 8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | Value::Int8(val) => 8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:362:27 [INFO] [stdout] | [INFO] [stdout] 362 | Value::Uint16(val) => 16, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:363:26 [INFO] [stdout] | [INFO] [stdout] 363 | Value::Int16(val) => 16, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:364:27 [INFO] [stdout] | [INFO] [stdout] 364 | Value::Uint32(val) => 32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:365:26 [INFO] [stdout] | [INFO] [stdout] 365 | Value::Int32(val) => 32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:366:27 [INFO] [stdout] | [INFO] [stdout] 366 | Value::Uint64(val) => 64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:367:26 [INFO] [stdout] | [INFO] [stdout] 367 | Value::Int64(val) => 64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:368:26 [INFO] [stdout] | [INFO] [stdout] 368 | Value::Float(val) => 32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:369:27 [INFO] [stdout] | [INFO] [stdout] 369 | Value::Double(val) => 64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bit_buffer.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | let mut ptr = mem::transmute::<&u64, &f32>(&value); [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/bit_buffer.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | let mut ptr = mem::transmute::<&u64, &f64>(&value); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:360:26 [INFO] [stdout] | [INFO] [stdout] 360 | Value::Uint8(val) => 8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | Value::Int8(val) => 8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:362:27 [INFO] [stdout] | [INFO] [stdout] 362 | Value::Uint16(val) => 16, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:363:26 [INFO] [stdout] | [INFO] [stdout] 363 | Value::Int16(val) => 16, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:364:27 [INFO] [stdout] | [INFO] [stdout] 364 | Value::Uint32(val) => 32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:365:26 [INFO] [stdout] | [INFO] [stdout] 365 | Value::Int32(val) => 32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:366:27 [INFO] [stdout] | [INFO] [stdout] 366 | Value::Uint64(val) => 64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:367:26 [INFO] [stdout] | [INFO] [stdout] 367 | Value::Int64(val) => 64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:368:26 [INFO] [stdout] | [INFO] [stdout] 368 | Value::Float(val) => 32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types.rs:369:27 [INFO] [stdout] | [INFO] [stdout] 369 | Value::Double(val) => 64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bit_buffer.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | let mut ptr = mem::transmute::<&u64, &f32>(&value); [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/bit_buffer.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | let mut ptr = mem::transmute::<&u64, &f64>(&value); [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/main.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let mut output_file = [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/main.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | let mut output_file = [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/types.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl FieldType { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 67 | pub fn u8(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn u16(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn u32(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn u64(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn i8(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn i16(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn i32(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn i64(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn float(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn double(endianness: Endianness) -> FieldType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/types.rs:411:12 [INFO] [stdout] | [INFO] [stdout] 406 | impl Field { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn u8(val: u8, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn u16(val: u16, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn u32(val: u32, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | pub fn u64(val: u64, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn i8(val: i8, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 431 | pub fn i16(val: i16, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn i32(val: i32, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | pub fn i64(val: i64, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | pub fn float(val: f32, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | pub fn double(val: f64, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_field` is never used [INFO] [stdout] --> src/encode.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn to_field(typ: FieldType, value_str: &str, description: String) -> Field { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/template.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Template { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 44 | pub fn new(typ: FieldType, descr: String) -> Template { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/types.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Eq, PartialEq, Debug, Copy, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Signedness` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/types.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Eq, PartialEq, Debug, Copy, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_FieldType` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/types.rs:274:45 [INFO] [stdout] | [INFO] [stdout] 274 | #[derive(PartialEq, Eq, Debug, Copy, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_BitSize` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/types.rs:289:29 [INFO] [stdout] | [INFO] [stdout] 289 | _ => panic!("{} chars not supports for BitSize"), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 289 | _ => panic!("{} chars not supports for BitSize", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 289 | _ => panic!("{}", "{} chars not supports for BitSize"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/types.rs:326:41 [INFO] [stdout] | [INFO] [stdout] 326 | #[derive(PartialEq, Debug, Copy, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Value` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/types.rs:375:45 [INFO] [stdout] | [INFO] [stdout] 375 | #[derive(Eq, PartialEq, Debug, Copy, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Endianness` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/template.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Eq, PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Template` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/template.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Eq, PartialEq, Debug, Clone, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_TemplateError` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/template.rs:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Eq, PartialEq, Debug, Clone, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_TemplateError` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/decode.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let field = Field::float(3.14159, endianness, descr.clone()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/decode.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let field = Field::float(3.14159, endianness, descr.clone()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/decode.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let field = Field::double(3.141592541, endianness, descr.clone()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/decode.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let field = Field::double(3.1415926535, endianness, descr.clone()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inlay` (bin "inlay") due to 9 previous errors; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let mut output_file = [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/main.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | let mut output_file = [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `i8`, `i16`, `i32`, and `i64` are never used [INFO] [stdout] --> src/types.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 406 | impl Field { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn i8(val: i8, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 431 | pub fn i16(val: i16, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn i32(val: i32, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | pub fn i64(val: i64, endianness: Endianness, descr: String) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_field` is never used [INFO] [stdout] --> src/encode.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn to_field(typ: FieldType, value_str: &str, description: String) -> Field { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/types.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Eq, PartialEq, Debug, Copy, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Signedness` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/types.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Eq, PartialEq, Debug, Copy, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_FieldType` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/types.rs:274:45 [INFO] [stdout] | [INFO] [stdout] 274 | #[derive(PartialEq, Eq, Debug, Copy, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_BitSize` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/types.rs:289:29 [INFO] [stdout] | [INFO] [stdout] 289 | _ => panic!("{} chars not supports for BitSize"), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 289 | _ => panic!("{} chars not supports for BitSize", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 289 | _ => panic!("{}", "{} chars not supports for BitSize"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/types.rs:326:41 [INFO] [stdout] | [INFO] [stdout] 326 | #[derive(PartialEq, Debug, Copy, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Value` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/types.rs:375:45 [INFO] [stdout] | [INFO] [stdout] 375 | #[derive(Eq, PartialEq, Debug, Copy, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Endianness` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/template.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Eq, PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Template` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/template.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Eq, PartialEq, Debug, Clone, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_TemplateError` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/template.rs:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Eq, PartialEq, Debug, Clone, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_TemplateError` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inlay` (bin "inlay" test) due to 9 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6fc4756461cd5e2d401c36539e5d602960de4c99c9652d7d72980316fd915aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc4756461cd5e2d401c36539e5d602960de4c99c9652d7d72980316fd915aab", kill_on_drop: false }` [INFO] [stdout] 6fc4756461cd5e2d401c36539e5d602960de4c99c9652d7d72980316fd915aab