[INFO] fetching crate elrond-wasm-debug 0.12.0... [INFO] checking elrond-wasm-debug-0.12.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate elrond-wasm-debug 0.12.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate elrond-wasm-debug 0.12.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate elrond-wasm-debug 0.12.0 [INFO] finished tweaking crates.io crate elrond-wasm-debug 0.12.0 [INFO] tweaked toml for crates.io crate elrond-wasm-debug 0.12.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5373718de659dd446d0d901ccf8283482b4ad1cb3fe96f98c20b9e4f76adeac9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5373718de659dd446d0d901ccf8283482b4ad1cb3fe96f98c20b9e4f76adeac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5373718de659dd446d0d901ccf8283482b4ad1cb3fe96f98c20b9e4f76adeac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5373718de659dd446d0d901ccf8283482b4ad1cb3fe96f98c20b9e4f76adeac9", kill_on_drop: false }` [INFO] [stdout] 5373718de659dd446d0d901ccf8283482b4ad1cb3fe96f98c20b9e4f76adeac9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 176ba870120ba43ec33c66e6f296029c2ec4d08d50d053fd3c73e3d3f6e2c5b9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "176ba870120ba43ec33c66e6f296029c2ec4d08d50d053fd3c73e3d3f6e2c5b9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Compiling elrond-codec-derive v0.5.0 [INFO] [stderr] Checking elrond-codec v0.5.0 [INFO] [stderr] Checking elrond-wasm v0.12.0 [INFO] [stderr] Checking mandos v0.5.0 [INFO] [stderr] Checking elrond-wasm-debug v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/big_uint_api_mock.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | panic!(b"Cannot subtract because result would be negative") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 94 | panic!("{}", b"Cannot subtract because result would be negative") [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 94 | std::panic::panic_any(b"Cannot subtract because result would be negative") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/call_value_api_mock.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 11 | | status: 10, [INFO] [stdout] 12 | | message: err_msg::NON_PAYABLE_FUNC_EGLD.to_vec(), [INFO] [stdout] 13 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 10 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 10 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/call_value_api_mock.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 17 | | status: 10, [INFO] [stdout] 18 | | message: err_msg::NON_PAYABLE_FUNC_ESDT.to_vec(), [INFO] [stdout] 19 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 16 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 16 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/endpoint_arg_api_mock.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 51 | | status: 10, [INFO] [stdout] 52 | | message: b"argument out of range".to_vec(), [INFO] [stdout] 53 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 50 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 50 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/endpoint_arg_api_mock.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 64 | | status: 10, [INFO] [stdout] 65 | | message: b"argument out of range".to_vec(), [INFO] [stdout] 66 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 63 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 63 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/error_api_mock.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | panic!(TxPanic { [INFO] [stdout] | ________________^ [INFO] [stdout] 7 | | status: 4, [INFO] [stdout] 8 | | message: message.to_vec() [INFO] [stdout] 9 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 6 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 6 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/send_api_mock.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 56 | | status: 10, [INFO] [stdout] 57 | | message: b"failed transfer (insufficient funds)".to_vec(), [INFO] [stdout] 58 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 55 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 55 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/send_api_mock.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 91 | | status: 10, [INFO] [stdout] 92 | | message: b"insufficient funds".to_vec(), [INFO] [stdout] 93 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 90 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 90 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/send_api_mock.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | panic!(tx_output) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 113 | panic!("{}", tx_output) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 113 | std::panic::panic_any(tx_output) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/storage_api_mock.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 32 | | status: 10, [INFO] [stdout] 33 | | message: b"storage value out of range".to_vec(), [INFO] [stdout] 34 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 31 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 31 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/storage_api_mock.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 45 | | status: 10, [INFO] [stdout] 46 | | message: b"storage value out of range".to_vec(), [INFO] [stdout] 47 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 44 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 44 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/storage_api_mock.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 57 | | status: 10, [INFO] [stdout] 58 | | message: b"cannot write to storage under Elrond reserved key".to_vec(), [INFO] [stdout] 59 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 56 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 56 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/big_uint_api_mock.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | panic!(b"Cannot subtract because result would be negative") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 94 | panic!("{}", b"Cannot subtract because result would be negative") [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 94 | std::panic::panic_any(b"Cannot subtract because result would be negative") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/call_value_api_mock.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 11 | | status: 10, [INFO] [stdout] 12 | | message: err_msg::NON_PAYABLE_FUNC_EGLD.to_vec(), [INFO] [stdout] 13 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 10 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 10 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/call_value_api_mock.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 17 | | status: 10, [INFO] [stdout] 18 | | message: err_msg::NON_PAYABLE_FUNC_ESDT.to_vec(), [INFO] [stdout] 19 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 16 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 16 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/endpoint_arg_api_mock.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 51 | | status: 10, [INFO] [stdout] 52 | | message: b"argument out of range".to_vec(), [INFO] [stdout] 53 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 50 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 50 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/endpoint_arg_api_mock.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 64 | | status: 10, [INFO] [stdout] 65 | | message: b"argument out of range".to_vec(), [INFO] [stdout] 66 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 63 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 63 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/error_api_mock.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | panic!(TxPanic { [INFO] [stdout] | ________________^ [INFO] [stdout] 7 | | status: 4, [INFO] [stdout] 8 | | message: message.to_vec() [INFO] [stdout] 9 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 6 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 6 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/send_api_mock.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 56 | | status: 10, [INFO] [stdout] 57 | | message: b"failed transfer (insufficient funds)".to_vec(), [INFO] [stdout] 58 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 55 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 55 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/send_api_mock.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 91 | | status: 10, [INFO] [stdout] 92 | | message: b"insufficient funds".to_vec(), [INFO] [stdout] 93 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 90 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 90 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/send_api_mock.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | panic!(tx_output) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 113 | panic!("{}", tx_output) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 113 | std::panic::panic_any(tx_output) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/storage_api_mock.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 32 | | status: 10, [INFO] [stdout] 33 | | message: b"storage value out of range".to_vec(), [INFO] [stdout] 34 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 31 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 31 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/storage_api_mock.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 45 | | status: 10, [INFO] [stdout] 46 | | message: b"storage value out of range".to_vec(), [INFO] [stdout] 47 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 44 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 44 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/api/storage_api_mock.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 57 | | status: 10, [INFO] [stdout] 58 | | message: b"cannot write to storage under Elrond reserved key".to_vec(), [INFO] [stdout] 59 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 56 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 56 | std::panic::panic_any(TxPanic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.75s [INFO] running `Command { std: "docker" "inspect" "176ba870120ba43ec33c66e6f296029c2ec4d08d50d053fd3c73e3d3f6e2c5b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "176ba870120ba43ec33c66e6f296029c2ec4d08d50d053fd3c73e3d3f6e2c5b9", kill_on_drop: false }` [INFO] [stdout] 176ba870120ba43ec33c66e6f296029c2ec4d08d50d053fd3c73e3d3f6e2c5b9