[INFO] cloning repository https://github.com/narbonnais/WASM-Smart-Contract-Engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/narbonnais/WASM-Smart-Contract-Engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnarbonnais%2FWASM-Smart-Contract-Engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnarbonnais%2FWASM-Smart-Contract-Engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78c422e1239de486c5e9b821b7cc1f0b05337a32 [INFO] checking narbonnais/WASM-Smart-Contract-Engine against try#1f308f12738d8cc40bb23bf0c8114b37c164bb49 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnarbonnais%2FWASM-Smart-Contract-Engine" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/narbonnais/WASM-Smart-Contract-Engine on toolchain 1f308f12738d8cc40bb23bf0c8114b37c164bb49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/narbonnais/WASM-Smart-Contract-Engine [INFO] finished tweaking git repo https://github.com/narbonnais/WASM-Smart-Contract-Engine [INFO] tweaked toml for git repo https://github.com/narbonnais/WASM-Smart-Contract-Engine written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/narbonnais/WASM-Smart-Contract-Engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 975b2fca9856560639ba5c6719a1c49513c2ebaeaf9816ae73d09a07fa2ad4f2 [INFO] running `Command { std: "docker" "start" "-a" "975b2fca9856560639ba5c6719a1c49513c2ebaeaf9816ae73d09a07fa2ad4f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "975b2fca9856560639ba5c6719a1c49513c2ebaeaf9816ae73d09a07fa2ad4f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "975b2fca9856560639ba5c6719a1c49513c2ebaeaf9816ae73d09a07fa2ad4f2", kill_on_drop: false }` [INFO] [stdout] 975b2fca9856560639ba5c6719a1c49513c2ebaeaf9816ae73d09a07fa2ad4f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1557a52d94c3c20abb4ab3ad66643317386162d8cee9c096dd99b4a8bdc0754f [INFO] running `Command { std: "docker" "start" "-a" "1557a52d94c3c20abb4ab3ad66643317386162d8cee9c096dd99b4a8bdc0754f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling cranelift-isle v0.110.2 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Compiling cranelift-codegen-shared v0.110.3 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cranelift-codegen-meta v0.110.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling corosensei v0.2.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Checking cranelift-bitset v0.110.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Checking bumpalo v3.17.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking cranelift-entity v0.110.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking more-asserts v0.2.2 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Compiling zip v2.6.1 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling wasm-encoder v0.228.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking cranelift-control v0.110.3 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling xattr v1.5.0 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Checking region v3.0.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking regalloc2 v0.9.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking cranelift-bforest v0.110.2 [INFO] [stderr] Compiling cranelift-codegen v0.110.2 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Checking memmap2 v0.6.2 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Checking leb128fmt v0.1.0 [INFO] [stderr] Checking wasmparser v0.216.1 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Checking shared-buffer v0.1.4 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Compiling xz v0.1.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling wasmer-compiler-cranelift v5.0.4 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking self_cell v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking wast v228.0.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling bytecheck_derive v0.6.12 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking enum-iterator v0.7.0 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking clap_builder v4.5.36 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling bytecheck_derive v0.8.1 [INFO] [stderr] Compiling munge_macro v0.4.3 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling enumset_derive v0.10.0 [INFO] [stderr] Checking ptr_meta v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Checking rancor v0.1.0 [INFO] [stderr] Compiling rkyv_derive v0.8.10 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking munge v0.4.3 [INFO] [stderr] Checking bytecheck v0.8.1 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking rend v0.5.2 [INFO] [stderr] Checking enumset v1.1.5 [INFO] [stderr] Compiling wasmer-derive v5.0.4 [INFO] [stderr] Checking clap v4.5.36 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Checking ruzstd v0.5.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Checking wat v1.228.0 [INFO] [stderr] Checking rkyv v0.8.10 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Checking contracts-std v0.1.0 (/opt/rustwide/workdir/contracts-std) [INFO] [stderr] Checking token-contract v0.1.0 (/opt/rustwide/workdir/token-contract) [INFO] [stderr] Checking counter-contract v0.1.0 (/opt/rustwide/workdir/counter-contract) [INFO] [stdout] warning: unused imports: `get` and `set` [INFO] [stdout] --> counter-contract/src/lib.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use contracts_std::{get, log, set, write_response, StorageError}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get` and `set` [INFO] [stdout] --> counter-contract/src/lib.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use contracts_std::{get, log, set, write_response, StorageError}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Checking wasmer-types v5.0.4 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Checking wasmer-vm v5.0.4 [INFO] [stderr] Compiling wasmer v5.0.4 [INFO] [stderr] Checking wasmer-compiler v5.0.4 [INFO] [stderr] Checking cranelift-frontend v0.110.2 [INFO] [stderr] Checking wasmer-middlewares v5.0.4 [INFO] [stderr] Checking engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stdout] warning: unused import: `address_to_hash` [INFO] [stdout] --> engine/src/api.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{address_to_hash, code_to_hash, derive_contract_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryAccessError` [INFO] [stdout] --> engine/src/wasm/imports/utils.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer::{FunctionEnvMut, MemoryAccessError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Store` [INFO] [stdout] --> engine/src/wasm/execution.rs:11:64 [INFO] [stdout] | [INFO] [stdout] 11 | use wasmer::{imports, Function, FunctionEnv, Instance, Module, Store, Value as WasmValue}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> engine/src/tests.rs:161:22 [INFO] [stdout] | [INFO] [stdout] 161 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token_messages::*` [INFO] [stdout] --> engine/src/tests.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | use token_messages::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `counter_messages::*` [INFO] [stdout] --> engine/src/tests.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | use counter_messages::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `address_to_hash` [INFO] [stdout] --> engine/src/api.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{address_to_hash, code_to_hash, derive_contract_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryAccessError` [INFO] [stdout] --> engine/src/wasm/imports/utils.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer::{FunctionEnvMut, MemoryAccessError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Store` [INFO] [stdout] --> engine/src/wasm/execution.rs:11:64 [INFO] [stdout] | [INFO] [stdout] 11 | use wasmer::{imports, Function, FunctionEnv, Instance, Module, Store, Value as WasmValue}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::*` [INFO] [stdout] --> engine/src/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::api::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> engine/src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::*` [INFO] [stdout] --> engine/src/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::storage::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> engine/src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::*` [INFO] [stdout] --> engine/src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> engine/src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize` and `Ordering` [INFO] [stdout] --> engine/src/tests.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> engine/src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> engine/src/wasm/imports/mod.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn debug_log(mut env: FunctionEnvMut, ptr: u32, len: u32) -> u32 { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> engine/src/wasm/imports/mod.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn debug_log(mut env: FunctionEnvMut, ptr: u32, len: u32) -> u32 { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> engine/src/wasm/imports/mod.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get_caller(mut env: FunctionEnvMut, ptr: u32, len: u32) -> u32 { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_query` [INFO] [stdout] --> engine/src/wasm/execution.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | is_query: bool, // Flag to potentially restrict imports later [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> engine/src/wasm/imports/mod.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get_caller(mut env: FunctionEnvMut, ptr: u32, len: u32) -> u32 { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_query` [INFO] [stdout] --> engine/src/wasm/execution.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | is_query: bool, // Flag to potentially restrict imports later [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> engine/src/wasm/execution.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut env = Env { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> engine/src/wasm/execution.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut env = Env { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidInput` and `InvalidCodeId` are never constructed [INFO] [stdout] --> engine/src/errors.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | InvalidInput(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | InvalidCodeId, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_response` is never used [INFO] [stdout] --> engine/src/tests.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | fn parse_response(response: Value) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deploy` is never used [INFO] [stdout] --> engine/src/api.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn deploy(storage: &Storage, code: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instantiate` is never used [INFO] [stdout] --> engine/src/api.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn instantiate( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> engine/src/api.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query` is never used [INFO] [stdout] --> engine/src/api.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn query( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> engine/src/errors.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | CodeNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | #[error("Contract state not found for key: {0}")] [INFO] [stdout] 24 | StateNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | #[error("Wasm memory not initialized in environment")] [INFO] [stdout] 26 | MemoryNotInitialized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | #[error("Contract address not set in environment")] [INFO] [stdout] 28 | ContractAddressNotSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | #[error("Caller not set in environment")] [INFO] [stdout] 30 | CallerNotSet, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | #[error("Wasm function execution failed: {0}")] [INFO] [stdout] 32 | ExecutionFailed(String), // Keep generic message for now [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | #[error("Wasm buffer too small: needed {needed}, got {got}")] [INFO] [stdout] 34 | BufferTooSmall { needed: usize, got: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | #[error("Wasm function '{0}' not found")] [INFO] [stdout] 36 | FunctionNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | #[error("Invalid input: {0}")] [INFO] [stdout] 38 | InvalidInput(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | ContractNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | #[error("Invalid code ID")] [INFO] [stdout] 44 | InvalidCodeId, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Storage` is never constructed [INFO] [stdout] --> engine/src/storage.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Storage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Storage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> engine/src/storage.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 19 | impl Storage { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 20 | const CODE_PREFIX: &'static [u8] = b"code:"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | const CONTRACT_PREFIX: &'static [u8] = b"contract:"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | const CONTRACT_INFO_PREFIX: &'static [u8] = b"contract_info:"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | fn code_key(code_id: impl AsRef<[u8]>) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn contract_info_key(contract_address: impl AsRef<[u8]>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn contract_key(contract_address: impl AsRef<[u8]>, key: impl AsRef<[u8]>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn new(db_path: impl AsRef) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn get_raw(&self, key: &[u8]) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn set_raw(&self, key: &[u8], value: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn delete_raw(&self, key: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn store_bytecode(&self, code_id: impl AsRef<[u8]>, value: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_bytecode(&self, code_id: impl AsRef<[u8]>) -> Result>, Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_contract_state( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn get_contract_state( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn delete_contract_state( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn get_contract_state_len( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn store_contract_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn get_contract_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_bytes` is never used [INFO] [stdout] --> engine/src/utils.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn hash_bytes(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `code_to_hash` is never used [INFO] [stdout] --> engine/src/utils.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn code_to_hash(code: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `address_to_hash` is never used [INFO] [stdout] --> engine/src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn address_to_hash(address: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `derive_contract_address` is never used [INFO] [stdout] --> engine/src/utils.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn derive_contract_address(code_hash: &str, sender_hash: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Env` is never constructed [INFO] [stdout] --> engine/src/wasm/env.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Env { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Env` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_log` is never used [INFO] [stdout] --> engine/src/wasm/imports/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn debug_log(mut env: FunctionEnvMut, ptr: u32, len: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `storage_set` is never used [INFO] [stdout] --> engine/src/wasm/imports/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn storage_set( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `storage_remove` is never used [INFO] [stdout] --> engine/src/wasm/imports/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn storage_remove(mut env: FunctionEnvMut, key_ptr: u32, key_len: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `storage_read_len` is never used [INFO] [stdout] --> engine/src/wasm/imports/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn storage_read_len(mut env: FunctionEnvMut, key_ptr: u32, key_len: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `storage_read` is never used [INFO] [stdout] --> engine/src/wasm/imports/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn storage_read( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_caller` is never used [INFO] [stdout] --> engine/src/wasm/imports/mod.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get_caller(mut env: FunctionEnvMut, ptr: u32, len: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_memory` is never used [INFO] [stdout] --> engine/src/wasm/imports/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_memory( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_memory` is never used [INFO] [stdout] --> engine/src/wasm/imports/utils.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn write_memory( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_contract_env` is never used [INFO] [stdout] --> engine/src/wasm/imports/utils.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_contract_env<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_import_result` is never used [INFO] [stdout] --> engine/src/wasm/imports/utils.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn handle_import_result(result: Result, success_value: T) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_import_result_with_len` is never used [INFO] [stdout] --> engine/src/wasm/imports/utils.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn handle_import_result_with_len(result: Result, Error>) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_wasm` is never used [INFO] [stdout] --> engine/src/wasm/execution.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn run_wasm( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_json_to_wasm` is never used [INFO] [stdout] --> engine/src/wasm/utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn write_json_to_wasm( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_json_from_wasm` is never used [INFO] [stdout] --> engine/src/wasm/utils.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn read_json_from_wasm( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ReadNullTerminated` is never used [INFO] [stdout] --> engine/src/wasm/utils.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | trait ReadNullTerminated { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cost_function` is never used [INFO] [stdout] --> engine/src/metering.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn cost_function(operator: &Operator) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 02s [INFO] running `Command { std: "docker" "inspect" "1557a52d94c3c20abb4ab3ad66643317386162d8cee9c096dd99b4a8bdc0754f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1557a52d94c3c20abb4ab3ad66643317386162d8cee9c096dd99b4a8bdc0754f", kill_on_drop: false }` [INFO] [stdout] 1557a52d94c3c20abb4ab3ad66643317386162d8cee9c096dd99b4a8bdc0754f