[INFO] fetching crate iso8583_rs 0.1.10...
[INFO] testing iso8583_rs-0.1.10 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate iso8583_rs 0.1.10 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate iso8583_rs 0.1.10
[INFO] finished tweaking crates.io crate iso8583_rs 0.1.10
[INFO] tweaked toml for crates.io crate iso8583_rs 0.1.10 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate iso8583_rs 0.1.10 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 99 packages to latest compatible versions
[INFO] [stderr]       Adding block-modes v0.5.0 (available: v0.9.1)
[INFO] [stderr]       Adding des v0.4.0 (available: v0.8.1)
[INFO] [stderr]       Adding generic-array v0.14.9 (available: v1.3.5)
[INFO] [stderr]       Adding hex-literal v0.2.2 (available: v1.1.0)
[INFO] [stderr]       Adding rand v0.7.3 (available: v0.9.2)
[INFO] [stderr]       Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated)
[INFO] [stderr]       Adding simplelog v0.8.0 (available: v0.12.2)
[INFO] [stderr]       Adding termcolor v1.1.3 (available: v1.4.1)
[INFO] [stderr]       Adding witchcraft-metrics v0.1.1 (available: v1.0.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unchecked-index v0.2.2
[INFO] [stderr]   Downloaded ordered-float v1.1.1
[INFO] [stderr]   Downloaded serde-value v0.6.0
[INFO] [stderr]   Downloaded witchcraft-metrics v0.1.1
[INFO] [stderr]   Downloaded parking_lot_core v0.7.3
[INFO] [stderr]   Downloaded block-modes v0.5.0
[INFO] [stderr]   Downloaded block-cipher v0.7.1
[INFO] [stderr]   Downloaded encoding8 v0.3.2
[INFO] [stderr]   Downloaded des v0.4.0
[INFO] [stderr]   Downloaded hex-literal-impl v0.2.3
[INFO] [stderr]   Downloaded hexdump v0.1.2
[INFO] [stderr]   Downloaded odds v0.4.0
[INFO] [stderr]   Downloaded simplelog v0.8.0
[INFO] [stderr]   Downloaded exponential-decay-histogram v0.1.14
[INFO] [stderr]   Downloaded parking_lot v0.10.2
[INFO] [stderr]   Downloaded hex-literal v0.2.2
[INFO] [stderr]   Downloaded rawslice v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c4d93ed38e355ded06fea3bbb7be492831aab546874c3f6b02f836e45b4608c5
[INFO] running `Command { std: "docker" "start" "-a" "c4d93ed38e355ded06fea3bbb7be492831aab546874c3f6b02f836e45b4608c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c4d93ed38e355ded06fea3bbb7be492831aab546874c3f6b02f836e45b4608c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4d93ed38e355ded06fea3bbb7be492831aab546874c3f6b02f836e45b4608c5", kill_on_drop: false }`
[INFO] [stdout] c4d93ed38e355ded06fea3bbb7be492831aab546874c3f6b02f836e45b4608c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 40978f91ec595eb45135d3a9660cee89c987eb898fe01dce0f106b826afccd80
[INFO] running `Command { std: "docker" "start" "-a" "40978f91ec595eb45135d3a9660cee89c987eb898fe01dce0f106b826afccd80", kill_on_drop: false }`
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling ordered-float v1.1.1
[INFO] [stderr]    Compiling ordered-float v5.1.0
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling rawslice v0.1.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling unchecked-index v0.2.2
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling encoding8 v0.3.2
[INFO] [stderr]    Compiling odds v0.4.0
[INFO] [stderr]    Compiling parking_lot_core v0.7.3
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling hexdump v0.1.2
[INFO] [stderr]    Compiling exponential-decay-histogram v0.1.14
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling hex-literal-impl v0.2.3
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling block-cipher v0.7.1
[INFO] [stderr]    Compiling hex-literal v0.2.2
[INFO] [stderr]    Compiling des v0.4.0
[INFO] [stderr]    Compiling block-modes v0.5.0
[INFO] [stderr]    Compiling simplelog v0.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde-value v0.6.0
[INFO] [stderr]    Compiling serde_yaml v0.8.26
[INFO] [stderr]    Compiling witchcraft-metrics v0.1.1
[INFO] [stderr]    Compiling iso8583_rs v0.1.10 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use generic_array::{GenericArray};
[INFO] [stdout]    |                     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:25:43
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let block_cipher = des::TdesEde2::new(GenericArray::from_slice(key.as_slice()));
[INFO] [stdout]    |                                           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:28:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |     block_cipher.encrypt_block(GenericArray::from_mut_slice(&mut cp_data));
[INFO] [stdout]    |                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:33:43
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let block_cipher = des::TdesEde2::new(GenericArray::from_slice(key.as_slice()));
[INFO] [stdout]    |                                           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:36:32
[INFO] [stdout]    |
[INFO] [stdout] 36 |     block_cipher.decrypt_block(GenericArray::from_mut_slice(&mut cp_data));
[INFO] [stdout]    |                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:25:57
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let block_cipher = des::TdesEde2::new(GenericArray::from_slice(key.as_slice()));
[INFO] [stdout]    |                                                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::from_mut_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:28:46
[INFO] [stdout]    |
[INFO] [stdout] 28 |     block_cipher.encrypt_block(GenericArray::from_mut_slice(&mut cp_data));
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:33:57
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let block_cipher = des::TdesEde2::new(GenericArray::from_slice(key.as_slice()));
[INFO] [stdout]    |                                                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::from_mut_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:36:46
[INFO] [stdout]    |
[INFO] [stdout] 36 |     block_cipher.decrypt_block(GenericArray::from_mut_slice(&mut cp_data));
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/crypto/pin.rs:102:81
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let actual_pin = b1.get(2 as usize..(2 + pin_len) as usize).unwrap().clone();
[INFO] [stdout]     |                                                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/crypto/pin.rs:115:88
[INFO] [stdout]     |
[INFO] [stdout] 115 |             let actual_pin = b1.get(2 as usize..(2 + (pin_len - 16)) as usize).unwrap().clone();
[INFO] [stdout]     |                                                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/crypto/pin.rs:127:88
[INFO] [stdout]     |
[INFO] [stdout] 127 |             let actual_pin = b1.get(2 as usize..(2 + (pin_len - 32)) as usize).unwrap().clone();
[INFO] [stdout]     |                                                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/crypto/pin.rs:142:88
[INFO] [stdout]     |
[INFO] [stdout] 142 |             let actual_pin = b1.get(2 as usize..(2 + (pin_len - 48)) as usize).unwrap().clone();
[INFO] [stdout]     |                                                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/iso8583/iso_spec.rs:35:22
[INFO] [stdout]    |
[INFO] [stdout] 35 |      Err(e)=> panic!(e.msg)
[INFO] [stdout]    |                      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 35 |      Err(e)=> panic!("{}", e.msg)
[INFO] [stdout]    |                      +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/iso8583/iso_spec.rs:136:69
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn get_msg_segment(&'static self, data: &Vec<u8>) -> Result<&MessageSegment, IsoError> {
[INFO] [stdout]     |                             ------- the lifetime is named here      ^^^^^^^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'static`
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn get_msg_segment(&'static self, data: &Vec<u8>) -> Result<&'static MessageSegment, IsoError> {
[INFO] [stdout]     |                                                                      +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/iso8583/yaml_de.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 | /                     &ychildren.iter().for_each(|f| {
[INFO] [stdout] 50 | |                         children.push(Into::<Box<dyn Field>>::into(f));
[INFO] [stdout] 51 | |                     });
[INFO] [stdout]    | |______________________^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 49 |                     let _ = &ychildren.iter().for_each(|f| {
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.45s
[INFO] running `Command { std: "docker" "inspect" "40978f91ec595eb45135d3a9660cee89c987eb898fe01dce0f106b826afccd80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40978f91ec595eb45135d3a9660cee89c987eb898fe01dce0f106b826afccd80", kill_on_drop: false }`
[INFO] [stdout] 40978f91ec595eb45135d3a9660cee89c987eb898fe01dce0f106b826afccd80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3442817f699025b11f0607946851be925135ed9b73748ae108a415f9a910a10a
[INFO] running `Command { std: "docker" "start" "-a" "3442817f699025b11f0607946851be925135ed9b73748ae108a415f9a910a10a", kill_on_drop: false }`
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use generic_array::{GenericArray};
[INFO] [stdout]    |                     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:25:43
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let block_cipher = des::TdesEde2::new(GenericArray::from_slice(key.as_slice()));
[INFO] [stdout]    |                                           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:28:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |     block_cipher.encrypt_block(GenericArray::from_mut_slice(&mut cp_data));
[INFO] [stdout]    |                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:33:43
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let block_cipher = des::TdesEde2::new(GenericArray::from_slice(key.as_slice()));
[INFO] [stdout]    |                                           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:36:32
[INFO] [stdout]    |
[INFO] [stdout] 36 |     block_cipher.decrypt_block(GenericArray::from_mut_slice(&mut cp_data));
[INFO] [stdout]    |                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:25:57
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let block_cipher = des::TdesEde2::new(GenericArray::from_slice(key.as_slice()));
[INFO] [stdout]    |                                                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::from_mut_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:28:46
[INFO] [stdout]    |
[INFO] [stdout] 28 |     block_cipher.encrypt_block(GenericArray::from_mut_slice(&mut cp_data));
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:33:57
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let block_cipher = des::TdesEde2::new(GenericArray::from_slice(key.as_slice()));
[INFO] [stdout]    |                                                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::from_mut_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:36:46
[INFO] [stdout]    |
[INFO] [stdout] 36 |     block_cipher.decrypt_block(GenericArray::from_mut_slice(&mut cp_data));
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/crypto/pin.rs:102:81
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let actual_pin = b1.get(2 as usize..(2 + pin_len) as usize).unwrap().clone();
[INFO] [stdout]     |                                                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/crypto/pin.rs:115:88
[INFO] [stdout]     |
[INFO] [stdout] 115 |             let actual_pin = b1.get(2 as usize..(2 + (pin_len - 16)) as usize).unwrap().clone();
[INFO] [stdout]     |                                                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/crypto/pin.rs:127:88
[INFO] [stdout]     |
[INFO] [stdout] 127 |             let actual_pin = b1.get(2 as usize..(2 + (pin_len - 32)) as usize).unwrap().clone();
[INFO] [stdout]     |                                                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/crypto/pin.rs:142:88
[INFO] [stdout]     |
[INFO] [stdout] 142 |             let actual_pin = b1.get(2 as usize..(2 + (pin_len - 48)) as usize).unwrap().clone();
[INFO] [stdout]     |                                                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/iso8583/iso_spec.rs:35:22
[INFO] [stdout]    |
[INFO] [stdout] 35 |      Err(e)=> panic!(e.msg)
[INFO] [stdout]    |                      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 35 |      Err(e)=> panic!("{}", e.msg)
[INFO] [stdout]    |                      +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/iso8583/iso_spec.rs:136:69
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn get_msg_segment(&'static self, data: &Vec<u8>) -> Result<&MessageSegment, IsoError> {
[INFO] [stdout]     |                             ------- the lifetime is named here      ^^^^^^^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'static`
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn get_msg_segment(&'static self, data: &Vec<u8>) -> Result<&'static MessageSegment, IsoError> {
[INFO] [stdout]     |                                                                      +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/iso8583/yaml_de.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 | /                     &ychildren.iter().for_each(|f| {
[INFO] [stdout] 50 | |                         children.push(Into::<Box<dyn Field>>::into(f));
[INFO] [stdout] 51 | |                     });
[INFO] [stdout]    | |______________________^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 49 |                     let _ = &ychildren.iter().for_each(|f| {
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling iso8583_rs v0.1.10 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `log`
[INFO] [stdout]   --> src/iso8583/test.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     use log;
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use generic_array::{GenericArray};
[INFO] [stdout]    |                     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:25:43
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let block_cipher = des::TdesEde2::new(GenericArray::from_slice(key.as_slice()));
[INFO] [stdout]    |                                           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:28:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |     block_cipher.encrypt_block(GenericArray::from_mut_slice(&mut cp_data));
[INFO] [stdout]    |                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:33:43
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let block_cipher = des::TdesEde2::new(GenericArray::from_slice(key.as_slice()));
[INFO] [stdout]    |                                           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:36:32
[INFO] [stdout]    |
[INFO] [stdout] 36 |     block_cipher.decrypt_block(GenericArray::from_mut_slice(&mut cp_data));
[INFO] [stdout]    |                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:25:57
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let block_cipher = des::TdesEde2::new(GenericArray::from_slice(key.as_slice()));
[INFO] [stdout]    |                                                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::from_mut_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:28:46
[INFO] [stdout]    |
[INFO] [stdout] 28 |     block_cipher.encrypt_block(GenericArray::from_mut_slice(&mut cp_data));
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:33:57
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let block_cipher = des::TdesEde2::new(GenericArray::from_slice(key.as_slice()));
[INFO] [stdout]    |                                                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::from_mut_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/crypto/mod.rs:36:46
[INFO] [stdout]    |
[INFO] [stdout] 36 |     block_cipher.decrypt_block(GenericArray::from_mut_slice(&mut cp_data));
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/mac.rs:142:32
[INFO] [stdout]     |
[INFO] [stdout] 142 |                 assert!(false, e.msg)
[INFO] [stdout]     |                                ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 142 |                 assert!(false, "{}", e.msg)
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/mac.rs:157:32
[INFO] [stdout]     |
[INFO] [stdout] 157 |                 assert!(false, e.msg)
[INFO] [stdout]     |                                ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 157 |                 assert!(false, "{}", e.msg)
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/mac.rs:173:32
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 assert!(false, e.msg)
[INFO] [stdout]     |                                ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 assert!(false, "{}", e.msg)
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/mac.rs:188:32
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 assert!(false, e.msg)
[INFO] [stdout]     |                                ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 assert!(false, "{}", e.msg)
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/mac.rs:204:32
[INFO] [stdout]     |
[INFO] [stdout] 204 |                 assert!(false, e.msg)
[INFO] [stdout]     |                                ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 204 |                 assert!(false, "{}", e.msg)
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/mac.rs:219:32
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 assert!(false, e.msg)
[INFO] [stdout]     |                                ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 assert!(false, "{}", e.msg)
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/mac.rs:234:32
[INFO] [stdout]     |
[INFO] [stdout] 234 |                 assert!(false, e.msg)
[INFO] [stdout]     |                                ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 234 |                 assert!(false, "{}", e.msg)
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/crypto/pin.rs:102:81
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let actual_pin = b1.get(2 as usize..(2 + pin_len) as usize).unwrap().clone();
[INFO] [stdout]     |                                                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/crypto/pin.rs:115:88
[INFO] [stdout]     |
[INFO] [stdout] 115 |             let actual_pin = b1.get(2 as usize..(2 + (pin_len - 16)) as usize).unwrap().clone();
[INFO] [stdout]     |                                                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/crypto/pin.rs:127:88
[INFO] [stdout]     |
[INFO] [stdout] 127 |             let actual_pin = b1.get(2 as usize..(2 + (pin_len - 32)) as usize).unwrap().clone();
[INFO] [stdout]     |                                                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/crypto/pin.rs:142:88
[INFO] [stdout]     |
[INFO] [stdout] 142 |             let actual_pin = b1.get(2 as usize..(2 + (pin_len - 48)) as usize).unwrap().clone();
[INFO] [stdout]     |                                                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `KEY` should have a snake case name
[INFO] [stdout]    --> src/crypto/pin.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let KEY: &Vec<u8> = &hex::decode(&KEY_STR).unwrap();
[INFO] [stdout]     |             ^^^ help: convert the identifier to snake case: `key`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/pin.rs:204:40
[INFO] [stdout]     |
[INFO] [stdout] 204 |                         assert!(false, e.msg.to_string());
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 204 |                         assert!(false, "{}", e.msg.to_string());
[INFO] [stdout]     |                                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/pin.rs:209:32
[INFO] [stdout]     |
[INFO] [stdout] 209 |                 assert!(false, e.msg.to_string());
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 209 |                 assert!(false, "{}", e.msg.to_string());
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/pin.rs:220:40
[INFO] [stdout]     |
[INFO] [stdout] 220 |                         assert!(false, e.msg.to_string());
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 220 |                         assert!(false, "{}", e.msg.to_string());
[INFO] [stdout]     |                                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/pin.rs:225:32
[INFO] [stdout]     |
[INFO] [stdout] 225 |                 assert!(false, e.msg.to_string());
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 225 |                 assert!(false, "{}", e.msg.to_string());
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `KEY` should have a snake case name
[INFO] [stdout]    --> src/crypto/pin.rs:232:13
[INFO] [stdout]     |
[INFO] [stdout] 232 |         let KEY: &Vec<u8> = &hex::decode(&KEY_STR).unwrap();
[INFO] [stdout]     |             ^^^ help: convert the identifier to snake case: `key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/pin.rs:240:40
[INFO] [stdout]     |
[INFO] [stdout] 240 |                         assert!(false, e.msg.to_string());
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 240 |                         assert!(false, "{}", e.msg.to_string());
[INFO] [stdout]     |                                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/pin.rs:245:32
[INFO] [stdout]     |
[INFO] [stdout] 245 |                 assert!(false, e.msg.to_string());
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 245 |                 assert!(false, "{}", e.msg.to_string());
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `KEY` should have a snake case name
[INFO] [stdout]    --> src/crypto/pin.rs:252:13
[INFO] [stdout]     |
[INFO] [stdout] 252 |         let KEY: &Vec<u8> = &hex::decode(KEY_STR).unwrap();
[INFO] [stdout]     |             ^^^ help: convert the identifier to snake case: `key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/pin.rs:263:40
[INFO] [stdout]     |
[INFO] [stdout] 263 |                         assert!(false, e.msg.to_string());
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 263 |                         assert!(false, "{}", e.msg.to_string());
[INFO] [stdout]     |                                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/pin.rs:268:32
[INFO] [stdout]     |
[INFO] [stdout] 268 |                 assert!(false, e.msg.to_string());
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 268 |                 assert!(false, "{}", e.msg.to_string());
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `KEY` should have a snake case name
[INFO] [stdout]    --> src/crypto/pin.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |         let KEY: &Vec<u8> = &hex::decode(KEY_STR).unwrap();
[INFO] [stdout]     |             ^^^ help: convert the identifier to snake case: `key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/pin.rs:283:40
[INFO] [stdout]     |
[INFO] [stdout] 283 |                         assert!(false, e.msg.to_string());
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 283 |                         assert!(false, "{}", e.msg.to_string());
[INFO] [stdout]     |                                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/pin.rs:288:32
[INFO] [stdout]     |
[INFO] [stdout] 288 |                 assert!(false, e.msg.to_string());
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 288 |                 assert!(false, "{}", e.msg.to_string());
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/pin.rs:299:40
[INFO] [stdout]     |
[INFO] [stdout] 299 |                         assert!(false, e.msg.to_string());
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 299 |                         assert!(false, "{}", e.msg.to_string());
[INFO] [stdout]     |                                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/crypto/pin.rs:304:32
[INFO] [stdout]     |
[INFO] [stdout] 304 |                 assert!(false, e.msg.to_string());
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 304 |                 assert!(false, "{}", e.msg.to_string());
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/iso8583/iso_spec.rs:35:22
[INFO] [stdout]    |
[INFO] [stdout] 35 |      Err(e)=> panic!(e.msg)
[INFO] [stdout]    |                      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 35 |      Err(e)=> panic!("{}", e.msg)
[INFO] [stdout]    |                      +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/iso8583/iso_spec.rs:136:69
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn get_msg_segment(&'static self, data: &Vec<u8>) -> Result<&MessageSegment, IsoError> {
[INFO] [stdout]     |                             ------- the lifetime is named here      ^^^^^^^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'static`
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn get_msg_segment(&'static self, data: &Vec<u8>) -> Result<&'static MessageSegment, IsoError> {
[INFO] [stdout]     |                                                                      +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/iso8583/test.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         iso_msg.set_mac(&cfg);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let _ = iso_msg.set_mac(&cfg);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/iso8583/yaml_de.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 | /                     &ychildren.iter().for_each(|f| {
[INFO] [stdout] 50 | |                         children.push(Into::<Box<dyn Field>>::into(f));
[INFO] [stdout] 51 | |                     });
[INFO] [stdout]    | |______________________^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 49 |                     let _ = &ychildren.iter().for_each(|f| {
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/iso8583/yaml_de.rs:148:38
[INFO] [stdout]     |
[INFO] [stdout] 148 |             Err(e) => assert!(false, e)
[INFO] [stdout]     |                                      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `IsoError`
[INFO] [stdout]     |
[INFO] [stdout] 148 |             Err(e) => assert!(false, "{:?}", e)
[INFO] [stdout]     |                                      +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/iso8583/mli.rs:194:9
[INFO] [stdout]     |
[INFO] [stdout] 194 |         data.write_u16::<byteorder::BigEndian>(msg.len() as u16);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let _ = data.write_u16::<byteorder::BigEndian>(msg.len() as u16);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/iso8583/mli.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         data.write_u16::<byteorder::BigEndian>((msg.len() + 2) as u16);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let _ = data.write_u16::<byteorder::BigEndian>((msg.len() + 2) as u16);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/iso8583/mli.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |         data.write_u32::<byteorder::BigEndian>(msg.len() as u32);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let _ = data.write_u32::<byteorder::BigEndian>(msg.len() as u32);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/iso8583/mli.rs:239:9
[INFO] [stdout]     |
[INFO] [stdout] 239 |         data.write_u32::<byteorder::BigEndian>((msg.len() + 4) as u32);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let _ = data.write_u32::<byteorder::BigEndian>((msg.len() + 4) as u32);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.30s
[INFO] running `Command { std: "docker" "inspect" "3442817f699025b11f0607946851be925135ed9b73748ae108a415f9a910a10a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3442817f699025b11f0607946851be925135ed9b73748ae108a415f9a910a10a", kill_on_drop: false }`
[INFO] [stdout] 3442817f699025b11f0607946851be925135ed9b73748ae108a415f9a910a10a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1cefc2f1900004576ab9c7c340b321e7cf9c573422b0b65f90a2d5de620fe011
[INFO] running `Command { std: "docker" "start" "-a" "1cefc2f1900004576ab9c7c340b321e7cf9c573422b0b65f90a2d5de620fe011", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stderr]   --> src/crypto/mod.rs:10:21
[INFO] [stderr]    |
[INFO] [stderr] 10 | use generic_array::{GenericArray};
[INFO] [stderr]    |                     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stderr]   --> src/crypto/mod.rs:25:43
[INFO] [stderr]    |
[INFO] [stderr] 25 |     let block_cipher = des::TdesEde2::new(GenericArray::from_slice(key.as_slice()));
[INFO] [stderr]    |                                           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stderr]   --> src/crypto/mod.rs:28:32
[INFO] [stderr]    |
[INFO] [stderr] 28 |     block_cipher.encrypt_block(GenericArray::from_mut_slice(&mut cp_data));
[INFO] [stderr]    |                                ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stderr]   --> src/crypto/mod.rs:33:43
[INFO] [stderr]    |
[INFO] [stderr] 33 |     let block_cipher = des::TdesEde2::new(GenericArray::from_slice(key.as_slice()));
[INFO] [stderr]    |                                           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stderr]   --> src/crypto/mod.rs:36:32
[INFO] [stderr]    |
[INFO] [stderr] 36 |     block_cipher.decrypt_block(GenericArray::from_mut_slice(&mut cp_data));
[INFO] [stderr]    |                                ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::from_slice`: please upgrade to generic-array 1.x
[INFO] [stderr]   --> src/crypto/mod.rs:25:57
[INFO] [stderr]    |
[INFO] [stderr] 25 |     let block_cipher = des::TdesEde2::new(GenericArray::from_slice(key.as_slice()));
[INFO] [stderr]    |                                                         ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::from_mut_slice`: please upgrade to generic-array 1.x
[INFO] [stderr]   --> src/crypto/mod.rs:28:46
[INFO] [stderr]    |
[INFO] [stderr] 28 |     block_cipher.encrypt_block(GenericArray::from_mut_slice(&mut cp_data));
[INFO] [stderr]    |                                              ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::from_slice`: please upgrade to generic-array 1.x
[INFO] [stderr]   --> src/crypto/mod.rs:33:57
[INFO] [stderr]    |
[INFO] [stderr] 33 |     let block_cipher = des::TdesEde2::new(GenericArray::from_slice(key.as_slice()));
[INFO] [stderr]    |                                                         ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::from_mut_slice`: please upgrade to generic-array 1.x
[INFO] [stderr]   --> src/crypto/mod.rs:36:46
[INFO] [stderr]    |
[INFO] [stderr] 36 |     block_cipher.decrypt_block(GenericArray::from_mut_slice(&mut cp_data));
[INFO] [stderr]    |                                              ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/crypto/pin.rs:102:81
[INFO] [stderr]     |
[INFO] [stderr] 102 |             let actual_pin = b1.get(2 as usize..(2 + pin_len) as usize).unwrap().clone();
[INFO] [stderr]     |                                                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/crypto/pin.rs:115:88
[INFO] [stderr]     |
[INFO] [stderr] 115 |             let actual_pin = b1.get(2 as usize..(2 + (pin_len - 16)) as usize).unwrap().clone();
[INFO] [stderr]     |                                                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/crypto/pin.rs:127:88
[INFO] [stderr]     |
[INFO] [stderr] 127 |             let actual_pin = b1.get(2 as usize..(2 + (pin_len - 32)) as usize).unwrap().clone();
[INFO] [stderr]     |                                                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/crypto/pin.rs:142:88
[INFO] [stderr]     |
[INFO] [stderr] 142 |             let actual_pin = b1.get(2 as usize..(2 + (pin_len - 48)) as usize).unwrap().clone();
[INFO] [stderr]     |                                                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/iso8583/iso_spec.rs:35:22
[INFO] [stderr]    |
[INFO] [stderr] 35 |      Err(e)=> panic!(e.msg)
[INFO] [stderr]    |                      ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]    |
[INFO] [stderr] 35 |      Err(e)=> panic!("{}", e.msg)
[INFO] [stderr]    |                      +++++
[INFO] [stderr] 
[INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stderr]    --> src/iso8583/iso_spec.rs:136:69
[INFO] [stderr]     |
[INFO] [stderr] 136 |     pub fn get_msg_segment(&'static self, data: &Vec<u8>) -> Result<&MessageSegment, IsoError> {
[INFO] [stderr]     |                             ------- the lifetime is named here      ^^^^^^^^^^^^^^^ the same lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: consistently use `'static`
[INFO] [stderr]     |
[INFO] [stderr] 136 |     pub fn get_msg_segment(&'static self, data: &Vec<u8>) -> Result<&'static MessageSegment, IsoError> {
[INFO] [stderr]     |                                                                      +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]   --> src/iso8583/yaml_de.rs:49:21
[INFO] [stderr]    |
[INFO] [stderr] 49 | /                     &ychildren.iter().for_each(|f| {
[INFO] [stderr] 50 | |                         children.push(Into::<Box<dyn Field>>::into(f));
[INFO] [stderr] 51 | |                     });
[INFO] [stderr]    | |______________________^ the borrow produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 49 |                     let _ = &ychildren.iter().for_each(|f| {
[INFO] [stderr]    |                     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `log`
[INFO] [stderr]   --> src/iso8583/test.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 11 |     use log;
[INFO] [stderr]    |         ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/mac.rs:142:32
[INFO] [stderr]     |
[INFO] [stderr] 142 |                 assert!(false, e.msg)
[INFO] [stderr]     |                                ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 142 |                 assert!(false, "{}", e.msg)
[INFO] [stderr]     |                                +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/mac.rs:157:32
[INFO] [stderr]     |
[INFO] [stderr] 157 |                 assert!(false, e.msg)
[INFO] [stderr]     |                                ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 157 |                 assert!(false, "{}", e.msg)
[INFO] [stderr]     |                                +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/mac.rs:173:32
[INFO] [stderr]     |
[INFO] [stderr] 173 |                 assert!(false, e.msg)
[INFO] [stderr]     |                                ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 173 |                 assert!(false, "{}", e.msg)
[INFO] [stderr]     |                                +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/mac.rs:188:32
[INFO] [stderr]     |
[INFO] [stderr] 188 |                 assert!(false, e.msg)
[INFO] [stderr]     |                                ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 188 |                 assert!(false, "{}", e.msg)
[INFO] [stderr]     |                                +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/mac.rs:204:32
[INFO] [stderr]     |
[INFO] [stderr] 204 |                 assert!(false, e.msg)
[INFO] [stderr]     |                                ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 204 |                 assert!(false, "{}", e.msg)
[INFO] [stderr]     |                                +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/mac.rs:219:32
[INFO] [stderr]     |
[INFO] [stderr] 219 |                 assert!(false, e.msg)
[INFO] [stderr]     |                                ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 219 |                 assert!(false, "{}", e.msg)
[INFO] [stderr]     |                                +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/mac.rs:234:32
[INFO] [stderr]     |
[INFO] [stderr] 234 |                 assert!(false, e.msg)
[INFO] [stderr]     |                                ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 234 |                 assert!(false, "{}", e.msg)
[INFO] [stderr]     |                                +++++
[INFO] [stderr] 
[INFO] [stderr] warning: variable `KEY` should have a snake case name
[INFO] [stderr]    --> src/crypto/pin.rs:195:13
[INFO] [stderr]     |
[INFO] [stderr] 195 |         let KEY: &Vec<u8> = &hex::decode(&KEY_STR).unwrap();
[INFO] [stderr]     |             ^^^ help: convert the identifier to snake case: `key`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/pin.rs:204:40
[INFO] [stderr]     |
[INFO] [stderr] 204 |                         assert!(false, e.msg.to_string());
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 204 |                         assert!(false, "{}", e.msg.to_string());
[INFO] [stderr]     |                                        +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/pin.rs:209:32
[INFO] [stderr]     |
[INFO] [stderr] 209 |                 assert!(false, e.msg.to_string());
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 209 |                 assert!(false, "{}", e.msg.to_string());
[INFO] [stderr]     |                                +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/pin.rs:220:40
[INFO] [stderr]     |
[INFO] [stderr] 220 |                         assert!(false, e.msg.to_string());
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 220 |                         assert!(false, "{}", e.msg.to_string());
[INFO] [stderr]     |                                        +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/pin.rs:225:32
[INFO] [stderr]     |
[INFO] [stderr] 225 |                 assert!(false, e.msg.to_string());
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 225 |                 assert!(false, "{}", e.msg.to_string());
[INFO] [stderr]     |                                +++++
[INFO] [stderr] 
[INFO] [stderr] warning: variable `KEY` should have a snake case name
[INFO] [stderr]    --> src/crypto/pin.rs:232:13
[INFO] [stderr]     |
[INFO] [stderr] 232 |         let KEY: &Vec<u8> = &hex::decode(&KEY_STR).unwrap();
[INFO] [stderr]     |             ^^^ help: convert the identifier to snake case: `key`
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/pin.rs:240:40
[INFO] [stderr]     |
[INFO] [stderr] 240 |                         assert!(false, e.msg.to_string());
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 240 |                         assert!(false, "{}", e.msg.to_string());
[INFO] [stderr]     |                                        +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/pin.rs:245:32
[INFO] [stderr]     |
[INFO] [stderr] 245 |                 assert!(false, e.msg.to_string());
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 245 |                 assert!(false, "{}", e.msg.to_string());
[INFO] [stderr]     |                                +++++
[INFO] [stderr] 
[INFO] [stderr] warning: variable `KEY` should have a snake case name
[INFO] [stderr]    --> src/crypto/pin.rs:252:13
[INFO] [stderr]     |
[INFO] [stderr] 252 |         let KEY: &Vec<u8> = &hex::decode(KEY_STR).unwrap();
[INFO] [stderr]     |             ^^^ help: convert the identifier to snake case: `key`
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/pin.rs:263:40
[INFO] [stderr]     |
[INFO] [stderr] 263 |                         assert!(false, e.msg.to_string());
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 263 |                         assert!(false, "{}", e.msg.to_string());
[INFO] [stderr]     |                                        +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/pin.rs:268:32
[INFO] [stderr]     |
[INFO] [stderr] 268 |                 assert!(false, e.msg.to_string());
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 268 |                 assert!(false, "{}", e.msg.to_string());
[INFO] [stderr]     |                                +++++
[INFO] [stderr] 
[INFO] [stderr] warning: variable `KEY` should have a snake case name
[INFO] [stderr]    --> src/crypto/pin.rs:275:13
[INFO] [stderr]     |
[INFO] [stderr] 275 |         let KEY: &Vec<u8> = &hex::decode(KEY_STR).unwrap();
[INFO] [stderr]     |             ^^^ help: convert the identifier to snake case: `key`
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/pin.rs:283:40
[INFO] [stderr]     |
[INFO] [stderr] 283 |                         assert!(false, e.msg.to_string());
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 283 |                         assert!(false, "{}", e.msg.to_string());
[INFO] [stderr]     |                                        +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/pin.rs:288:32
[INFO] [stderr]     |
[INFO] [stderr] 288 |                 assert!(false, e.msg.to_string());
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 288 |                 assert!(false, "{}", e.msg.to_string());
[INFO] [stderr]     |                                +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/pin.rs:299:40
[INFO] [stderr]     |
[INFO] [stderr] 299 |                         assert!(false, e.msg.to_string());
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 299 |                         assert!(false, "{}", e.msg.to_string());
[INFO] [stderr]     |                                        +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/crypto/pin.rs:304:32
[INFO] [stderr]     |
[INFO] [stderr] 304 |                 assert!(false, e.msg.to_string());
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 304 |                 assert!(false, "{}", e.msg.to_string());
[INFO] [stderr]     |                                +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/iso8583/iso_spec.rs:35:22
[INFO] [stderr]    |
[INFO] [stderr] 35 |      Err(e)=> panic!(e.msg)
[INFO] [stderr]    |                      ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]    |
[INFO] [stderr] 35 |      Err(e)=> panic!("{}", e.msg)
[INFO] [stderr]    |                      +++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/iso8583/test.rs:63:9
[INFO] [stderr]    |
[INFO] [stderr] 63 |         iso_msg.set_mac(&cfg);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 63 |         let _ = iso_msg.set_mac(&cfg);
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]   --> src/iso8583/yaml_de.rs:49:21
[INFO] [stderr]    |
[INFO] [stderr] 49 | /                     &ychildren.iter().for_each(|f| {
[INFO] [stderr] 50 | |                         children.push(Into::<Box<dyn Field>>::into(f));
[INFO] [stderr] 51 | |                     });
[INFO] [stderr]    | |______________________^ the borrow produces a value
[INFO] [stderr]    |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 49 |                     let _ = &ychildren.iter().for_each(|f| {
[INFO] [stderr]    |                     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/iso8583/yaml_de.rs:148:38
[INFO] [stderr]     |
[INFO] [stderr] 148 |             Err(e) => assert!(false, e)
[INFO] [stderr]     |                                      ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{:?}" format string to use the `Debug` implementation of `IsoError`
[INFO] [stderr]     |
[INFO] [stderr] 148 |             Err(e) => assert!(false, "{:?}", e)
[INFO] [stderr]     |                                      +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/iso8583/mli.rs:194:9
[INFO] [stderr]     |
[INFO] [stderr] 194 |         data.write_u16::<byteorder::BigEndian>(msg.len() as u16);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 194 |         let _ = data.write_u16::<byteorder::BigEndian>(msg.len() as u16);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/iso8583/mli.rs:207:9
[INFO] [stderr]     |
[INFO] [stderr] 207 |         data.write_u16::<byteorder::BigEndian>((msg.len() + 2) as u16);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 207 |         let _ = data.write_u16::<byteorder::BigEndian>((msg.len() + 2) as u16);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/iso8583/mli.rs:223:9
[INFO] [stderr]     |
[INFO] [stderr] 223 |         data.write_u32::<byteorder::BigEndian>(msg.len() as u32);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 223 |         let _ = data.write_u32::<byteorder::BigEndian>(msg.len() as u32);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/iso8583/mli.rs:239:9
[INFO] [stderr]     |
[INFO] [stderr] 239 |         data.write_u32::<byteorder::BigEndian>((msg.len() + 4) as u32);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 239 |         let _ = data.write_u32::<byteorder::BigEndian>((msg.len() + 4) as u32);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `iso8583_rs` (lib) generated 16 warnings (run `cargo fix --lib -p iso8583_rs` to apply 6 suggestions)
[INFO] [stderr] warning: `iso8583_rs` (lib test) generated 46 warnings (14 duplicates) (run `cargo fix --lib -p iso8583_rs --tests` to apply 22 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/iso8583_rs-f7ca449ee612d344)
[INFO] [stdout] 
[INFO] [stdout] running 25 tests
[INFO] [stdout] test crypto::mac::tests::test_padding2_exact ... ok
[INFO] [stdout] test crypto::mac::tests::test_padding2_shortof8 ... ok
[INFO] [stdout] test crypto::mac::tests::test_gen_mac_retail1_nopads ... ok
[INFO] [stdout] test crypto::mac::tests::test_gen_mac_cbc_2_paddingtype2 ... ok
[INFO] [stdout] test crypto::mac::tests::test_padding1_shortof8 ... ok
[INFO] [stdout] test crypto::mac::tests::test_gen_mac_cbc_3 ... ok
[INFO] [stdout] test crypto::mac::tests::test_gen_mac_retail2_padtype1 ... ok
[INFO] [stdout] test crypto::mac::tests::test_gen_mac_cbc_2 ... ok
[INFO] [stdout] test crypto::mac::tests::test_gen_mac_retail_padtype2 ... ok
[INFO] [stdout] test crypto::pin::tests::test_iso1 ... ok
[INFO] [stdout] test crypto::mac::tests::test_gen_mac_cbc_nopads ... ok
[INFO] [stdout] test crypto::mac::tests::test_padding1_typical_short ... ok
[INFO] [stdout] test crypto::pin::tests::test_iso0 ... ok
[INFO] [stdout] test crypto::mac::tests::test_padding2_typical_short ... ok
[INFO] [stdout] test iso8583::bitmap::tests::test_bmp ... ok
[INFO] [stdout] test crypto::pin::tests::test_iso2 ... ok
[INFO] [stdout] test iso8583::mli::tests::test_2i ... ok
[INFO] [stdout] test crypto::pin::tests::test_iso3 ... ok
[INFO] [stdout] test iso8583::test::tests::test_send_recv_iso_1100 ... ignored
[INFO] [stdout] test iso8583::mli::tests::test_2e ... ok
[INFO] [stdout] test iso8583::mli::tests::test_4e ... ok
[INFO] [stdout] test iso8583::mli::tests::test_4i ... ok
[INFO] [stdout] test crypto::mac::tests::test_padding1_exact ... ok
[INFO] [stdout] test iso8583::yaml_de::tests::test_deserialize_yaml_spec ... ok
[INFO] [stdout] test iso8583::test::tests::test_send_recv_iso_1420 has been running for over 60 seconds
[ERROR] error running command: no output for 300 seconds
[INFO] running `Command { std: "docker" "inspect" "1cefc2f1900004576ab9c7c340b321e7cf9c573422b0b65f90a2d5de620fe011", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cefc2f1900004576ab9c7c340b321e7cf9c573422b0b65f90a2d5de620fe011", kill_on_drop: false }`
[INFO] [stdout] 1cefc2f1900004576ab9c7c340b321e7cf9c573422b0b65f90a2d5de620fe011
