[INFO] fetching crate elrond-wasm-debug 0.11.0... [INFO] checking elrond-wasm-debug-0.11.0 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] extracting crate elrond-wasm-debug 0.11.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate elrond-wasm-debug 0.11.0 on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate elrond-wasm-debug 0.11.0 [INFO] finished tweaking crates.io crate elrond-wasm-debug 0.11.0 [INFO] tweaked toml for crates.io crate elrond-wasm-debug 0.11.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd8125bf76598c465c0844c37854897792e20241dbcd994d1b562f39b5c15837 [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" "bd8125bf76598c465c0844c37854897792e20241dbcd994d1b562f39b5c15837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd8125bf76598c465c0844c37854897792e20241dbcd994d1b562f39b5c15837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd8125bf76598c465c0844c37854897792e20241dbcd994d1b562f39b5c15837", kill_on_drop: false }` [INFO] [stdout] bd8125bf76598c465c0844c37854897792e20241dbcd994d1b562f39b5c15837 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1af7b1d1dc4d832078e10b88b29fabc2ea42c677282e75dcace2a6316403d216 [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" "1af7b1d1dc4d832078e10b88b29fabc2ea42c677282e75dcace2a6316403d216", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.1 [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 serde_derive v1.0.123 [INFO] [stderr] Compiling elrond-codec-derive v0.5.0 [INFO] [stderr] Checking elrond-codec v0.5.0 [INFO] [stderr] Checking serde v1.0.123 [INFO] [stderr] Checking elrond-wasm v0.11.0 [INFO] [stderr] Checking serde_json v1.0.62 [INFO] [stderr] Checking mandos v0.5.0 [INFO] [stderr] Checking elrond-wasm-debug v0.11.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:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 79 | | status: 10, [INFO] [stdout] 80 | | message: b"insufficient funds".to_vec(), [INFO] [stdout] 81 | | }); [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] 78 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 78 | 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:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 101 | panic!("{}", tx_output) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 101 | 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:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | panic!(TxPanic { [INFO] [stdout] | ____________________^ [INFO] [stdout] 79 | | status: 10, [INFO] [stdout] 80 | | message: b"insufficient funds".to_vec(), [INFO] [stdout] 81 | | }); [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] 78 | panic!("{}", TxPanic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 78 | 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:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 101 | panic!("{}", tx_output) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 101 | 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 48.09s [INFO] running `Command { std: "docker" "inspect" "1af7b1d1dc4d832078e10b88b29fabc2ea42c677282e75dcace2a6316403d216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1af7b1d1dc4d832078e10b88b29fabc2ea42c677282e75dcace2a6316403d216", kill_on_drop: false }` [INFO] [stdout] 1af7b1d1dc4d832078e10b88b29fabc2ea42c677282e75dcace2a6316403d216