[INFO] cloning repository https://github.com/zarbchain/tanour [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zarbchain/tanour" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzarbchain%2Ftanour", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzarbchain%2Ftanour'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 353f0d834c22c1bf178e1701fbc4b9857df4c312 [INFO] checking zarbchain/tanour against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzarbchain%2Ftanour" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zarbchain/tanour on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zarbchain/tanour [INFO] finished tweaking git repo https://github.com/zarbchain/tanour [INFO] tweaked toml for git repo https://github.com/zarbchain/tanour written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/zarbchain/tanour already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2afab18b7cf66ee917b72f8fe6438e2072d82043e7d8a5949a868639c3d13918 [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" "2afab18b7cf66ee917b72f8fe6438e2072d82043e7d8a5949a868639c3d13918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2afab18b7cf66ee917b72f8fe6438e2072d82043e7d8a5949a868639c3d13918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2afab18b7cf66ee917b72f8fe6438e2072d82043e7d8a5949a868639c3d13918", kill_on_drop: false }` [INFO] [stdout] 2afab18b7cf66ee917b72f8fe6438e2072d82043e7d8a5949a868639c3d13918 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f629521f87e039ec982dc9af3c1e3f7ca16cb8beebffa6f187315f6ee7b379cb [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" "f629521f87e039ec982dc9af3c1e3f7ca16cb8beebffa6f187315f6ee7b379cb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking memory_units v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking tiny-keccak v2.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Checking pwasm-utils v0.16.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Checking wasmi v0.7.0 [INFO] [stderr] Checking parity-scale-codec v1.3.5 [INFO] [stderr] Compiling snafu-derive v0.6.9 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking primitive-types v0.7.2 [INFO] [stderr] Checking snafu v0.6.9 [INFO] [stderr] Checking keccak-hash v0.5.1 [INFO] [stderr] Checking tanour v0.1.0 (/opt/rustwide/workdir/tanour) [INFO] [stdout] warning: unused imports: `Address`, `Hash32` [INFO] [stdout] --> tanour/src/error.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::{Address, Hash32}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> tanour/src/runtime.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::types::{Address, Bytes, Hash32}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasmi::LittleEndianConvert` [INFO] [stdout] --> tanour/src/runtime.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use wasmi::LittleEndianConvert; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Address`, `Hash32` [INFO] [stdout] --> tanour/src/error.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::{Address, Hash32}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> tanour/src/runtime.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::types::{Address, Bytes, Hash32}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasmi::LittleEndianConvert` [INFO] [stdout] --> tanour/src/runtime.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use wasmi::LittleEndianConvert; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invoke_result` [INFO] [stdout] --> tanour/src/execute.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let invoke_result = instance.invoke_export("call", &[], &mut runtime)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invoke_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schedule` [INFO] [stdout] --> tanour/src/functions.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn with_limit(max_memory: u32, schedule: &WasmCosts) -> ImportResolver { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> tanour/src/runtime.rs:137:42 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn seal_clear_storage(&mut self, args: RuntimeArgs) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> tanour/src/runtime.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 209 | fn seal_gas(&mut self, args: RuntimeArgs) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> tanour/src/runtime.rs:224:44 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn seal_hash_blake2_256(&mut self, args: RuntimeArgs) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invoke_result` [INFO] [stdout] --> tanour/src/execute.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let invoke_result = instance.invoke_export("call", &[], &mut runtime)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invoke_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schedule` [INFO] [stdout] --> tanour/src/functions.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn with_limit(max_memory: u32, schedule: &WasmCosts) -> ImportResolver { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> tanour/src/runtime.rs:137:42 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn seal_clear_storage(&mut self, args: RuntimeArgs) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> tanour/src/runtime.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 209 | fn seal_gas(&mut self, args: RuntimeArgs) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> tanour/src/runtime.rs:224:44 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn seal_hash_blake2_256(&mut self, args: RuntimeArgs) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CalleeTrapped` [INFO] [stdout] --> tanour/src/runtime.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | CalleeTrapped = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CalleeReverted` [INFO] [stdout] --> tanour/src/runtime.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | CalleeReverted = 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BelowSubsistenceThreshold` [INFO] [stdout] --> tanour/src/runtime.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | BelowSubsistenceThreshold = 4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TransferFailed` [INFO] [stdout] --> tanour/src/runtime.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | TransferFailed = 5, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NewContractNotFunded` [INFO] [stdout] --> tanour/src/runtime.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | NewContractNotFunded = 6, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CodeNotFound` [INFO] [stdout] --> tanour/src/runtime.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | CodeNotFound = 7, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotCallable` [INFO] [stdout] --> tanour/src/runtime.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | NotCallable = 8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `logs` [INFO] [stdout] --> tanour/src/runtime.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | logs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `return_u64_ptr` [INFO] [stdout] --> tanour/src/runtime.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | fn return_u64_ptr(&mut self, ptr: u32, val: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nonce` [INFO] [stdout] --> tanour/src/state.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn nonce(&mut self, address: Address) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `balance` [INFO] [stdout] --> tanour/src/state.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn balance(&mut self, address: Address) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exists` [INFO] [stdout] --> tanour/src/state.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn exists(&self, address: Address) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block_number` [INFO] [stdout] --> tanour/src/state.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn block_number(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `account` [INFO] [stdout] --> tanour/src/state.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn account(&mut self, address: Address) -> Result<&Account, Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CalleeTrapped` [INFO] [stdout] --> tanour/src/runtime.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | CalleeTrapped = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CalleeReverted` [INFO] [stdout] --> tanour/src/runtime.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | CalleeReverted = 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BelowSubsistenceThreshold` [INFO] [stdout] --> tanour/src/runtime.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | BelowSubsistenceThreshold = 4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TransferFailed` [INFO] [stdout] --> tanour/src/runtime.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | TransferFailed = 5, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NewContractNotFunded` [INFO] [stdout] --> tanour/src/runtime.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | NewContractNotFunded = 6, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CodeNotFound` [INFO] [stdout] --> tanour/src/runtime.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | CodeNotFound = 7, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotCallable` [INFO] [stdout] --> tanour/src/runtime.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | NotCallable = 8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `logs` [INFO] [stdout] --> tanour/src/runtime.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | logs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `return_u64_ptr` [INFO] [stdout] --> tanour/src/runtime.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | fn return_u64_ptr(&mut self, ptr: u32, val: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nonce` [INFO] [stdout] --> tanour/src/state.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn nonce(&mut self, address: Address) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `balance` [INFO] [stdout] --> tanour/src/state.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn balance(&mut self, address: Address) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exists` [INFO] [stdout] --> tanour/src/state.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn exists(&self, address: Address) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block_number` [INFO] [stdout] --> tanour/src/state.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn block_number(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `account` [INFO] [stdout] --> tanour/src/state.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn account(&mut self, address: Address) -> Result<&Account, Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tanour/tests/common.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | Err(err) => panic!(err.to_string()), [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] 17 | Err(err) => panic!("{}", err.to_string()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 17 | Err(err) => std::panic::panic_any(err.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tanour/tests/common.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | panic!(err.to_string()); [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] 21 | panic!("{}", err.to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 21 | std::panic::panic_any(err.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bob` [INFO] [stdout] --> tanour/tests/flipper.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let bob = common::address_from_hex("deafdad000000000000000000000000000000000"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bob` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contract` [INFO] [stdout] --> tanour/tests/flipper.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let contract = ret1.unwrap().contract; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_file` [INFO] [stdout] --> tanour/tests/common.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read_file(file_path: &str) -> Bytes { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tanour/tests/common.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | Err(err) => panic!(err.to_string()), [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] 17 | Err(err) => panic!("{}", err.to_string()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 17 | Err(err) => std::panic::panic_any(err.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tanour/tests/common.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | panic!(err.to_string()); [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] 21 | panic!("{}", err.to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 21 | std::panic::panic_any(err.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.08s [INFO] running `Command { std: "docker" "inspect" "f629521f87e039ec982dc9af3c1e3f7ca16cb8beebffa6f187315f6ee7b379cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f629521f87e039ec982dc9af3c1e3f7ca16cb8beebffa6f187315f6ee7b379cb", kill_on_drop: false }` [INFO] [stdout] f629521f87e039ec982dc9af3c1e3f7ca16cb8beebffa6f187315f6ee7b379cb