[INFO] fetching crate iso8583_rs 0.1.10... [INFO] checking iso8583_rs-0.1.10 against master#f1ce0e6a00593493a12e0e3662119786c761f375 for pr-92413 [INFO] extracting crate iso8583_rs 0.1.10 into /workspace/builds/worker-42/source [INFO] validating manifest of crates.io crate iso8583_rs 0.1.10 on toolchain f1ce0e6a00593493a12e0e3662119786c761f375 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-42/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be740a8ddca280e7761f487b39a2233ae64a4b42ab6cd70aff7c3f878ca62d3b [INFO] running `Command { std: "docker" "start" "-a" "be740a8ddca280e7761f487b39a2233ae64a4b42ab6cd70aff7c3f878ca62d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be740a8ddca280e7761f487b39a2233ae64a4b42ab6cd70aff7c3f878ca62d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be740a8ddca280e7761f487b39a2233ae64a4b42ab6cd70aff7c3f878ca62d3b", kill_on_drop: false }` [INFO] [stdout] be740a8ddca280e7761f487b39a2233ae64a4b42ab6cd70aff7c3f878ca62d3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e64f0a0ec030e548a0b50390e299da3ce71e6ba3b1aff653e1b71e0ec5f3d720 [INFO] running `Command { std: "docker" "start" "-a" "e64f0a0ec030e548a0b50390e299da3ce71e6ba3b1aff653e1b71e0ec5f3d720", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking encoding8 v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling hex-literal-impl v0.2.2 [INFO] [stderr] Checking rawslice v0.1.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking odds v0.4.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking hex-literal v0.2.1 [INFO] [stderr] Checking hexdump v0.1.1 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking block-cipher v0.7.1 [INFO] [stderr] Checking des v0.4.0 [INFO] [stderr] Checking block-modes v0.5.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking exponential-decay-histogram v0.1.9 [INFO] [stderr] Checking simplelog v0.8.0 [INFO] [stderr] Checking serde v1.0.133 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking serde_yaml v0.8.23 [INFO] [stderr] Checking witchcraft-metrics v0.1.1 [INFO] [stderr] Checking 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)]` on by default [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: `#[warn(non_fmt_panics)]` on by default [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/nightly/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: 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)]` 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] [stdout] warning: 2 warnings emitted [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: `#[warn(non_fmt_panics)]` on by default [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/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [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: 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/nightly/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: 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/nightly/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: 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/nightly/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: 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/nightly/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: 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/nightly/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: 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/nightly/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: 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: 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/nightly/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: 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/nightly/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: 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/nightly/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: 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/nightly/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: 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: 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/nightly/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: 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/nightly/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: 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: 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/nightly/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: 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/nightly/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: 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: 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/nightly/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: 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/nightly/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: 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/nightly/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: 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/nightly/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: 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/nightly/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: 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: 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/nightly/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 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)]` 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] [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)]` on by default [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: 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: 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: 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] [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.94s [INFO] running `Command { std: "docker" "inspect" "e64f0a0ec030e548a0b50390e299da3ce71e6ba3b1aff653e1b71e0ec5f3d720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e64f0a0ec030e548a0b50390e299da3ce71e6ba3b1aff653e1b71e0ec5f3d720", kill_on_drop: false }` [INFO] [stdout] e64f0a0ec030e548a0b50390e299da3ce71e6ba3b1aff653e1b71e0ec5f3d720