[INFO] cloning repository https://github.com/giorgeabdala/abdala-chain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/giorgeabdala/abdala-chain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiorgeabdala%2Fabdala-chain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiorgeabdala%2Fabdala-chain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee85ec6e396cd2dc331da63e1858f67d96be4ff5 [INFO] testing giorgeabdala/abdala-chain against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiorgeabdala%2Fabdala-chain" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/giorgeabdala/abdala-chain on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/giorgeabdala/abdala-chain [INFO] finished tweaking git repo https://github.com/giorgeabdala/abdala-chain [INFO] tweaked toml for git repo https://github.com/giorgeabdala/abdala-chain written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/giorgeabdala/abdala-chain 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.1.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4be119087258a019e2cf99adc13168c6eb45140e8d19337fe7a5456c20967356 [INFO] running `Command { std: "docker" "start" "-a" "4be119087258a019e2cf99adc13168c6eb45140e8d19337fe7a5456c20967356", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4be119087258a019e2cf99adc13168c6eb45140e8d19337fe7a5456c20967356", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4be119087258a019e2cf99adc13168c6eb45140e8d19337fe7a5456c20967356", kill_on_drop: false }` [INFO] [stdout] 4be119087258a019e2cf99adc13168c6eb45140e8d19337fe7a5456c20967356 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c586bc744349948030e1b940f01c3021cc7edfe2984740ffc413a8616c5a59d2 [INFO] running `Command { std: "docker" "start" "-a" "c586bc744349948030e1b940f01c3021cc7edfe2984740ffc413a8616c5a59d2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cc v1.1.35 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling cranelift-isle v0.113.1 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.113.1 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling cranelift-codegen-meta v0.113.1 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling rustc-hash v2.0.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling cranelift-control v0.113.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling cranelift-codegen v0.113.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling wasmtime-versioned-export-macros v26.0.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling cranelift-bitset v0.113.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling cranelift-entity v0.113.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling postcard v1.0.10 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling cranelift-bforest v0.113.1 [INFO] [stderr] Compiling regalloc2 v0.10.2 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling wasmparser v0.218.0 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling hyper v1.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling wasm-encoder v0.218.0 [INFO] [stderr] Compiling wasm-encoder v0.220.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling wasmtime-cache v26.0.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling wasmprinter v0.218.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling wast v220.0.0 [INFO] [stderr] Compiling directories-next v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling wasmtime-environ v26.0.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling wasmtime v26.0.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wat v1.220.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling memfd v0.6.4 [INFO] [stderr] Compiling wasmtime-jit-icache-coherence v26.0.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling wasmtime-asm-macros v26.0.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling wasmtime-slab v26.0.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling sptr v0.3.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling sha256 v1.5.0 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling cranelift-frontend v0.113.1 [INFO] [stderr] Compiling cranelift-native v0.113.1 [INFO] [stderr] Compiling wasmtime-cranelift v26.0.1 [INFO] [stderr] Compiling abdala-chain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/runtime.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/runtime.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | match (self.transaction_pool.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 98 - match (self.transaction_pool.len()) { [INFO] [stdout] 98 + match self.transaction_pool.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsContextMut`, `Config`, and `OptLevel` [INFO] [stdout] --> src/wasm/call.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | AsContext, AsContextMut, Caller, Config, Engine, Func, Instance, Memory, MemoryType, Module, OptLevel, Store, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/runtime.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | let block = self.create_block(proof, previous_hash); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `max_length` is never read [INFO] [stdout] --> src/runtime.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | max_length = length; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `execute` [INFO] [stdout] --> src/runtime.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let execute = self.execute_transactions(transactions.clone()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_chain` is never used [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn run_chain() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_block` and `set_balance` are never used [INFO] [stdout] --> src/runtime.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_block(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn set_balance(&mut self, address: &str, amount: u64) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `decrement_nonce` are never used [INFO] [stdout] --> src/core_client/system.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Pallet { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn decrement_nonce(&mut self, address: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core_client/balance.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | self.add_balance(sender, amount); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = self.add_balance(sender, amount); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 19s [INFO] running `Command { std: "docker" "inspect" "c586bc744349948030e1b940f01c3021cc7edfe2984740ffc413a8616c5a59d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c586bc744349948030e1b940f01c3021cc7edfe2984740ffc413a8616c5a59d2", kill_on_drop: false }` [INFO] [stdout] c586bc744349948030e1b940f01c3021cc7edfe2984740ffc413a8616c5a59d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b68fd22d151ece7ecbe7cb2bdc4ac4ece9745a89db2b5f4515c19d26f22c58e4 [INFO] running `Command { std: "docker" "start" "-a" "b68fd22d151ece7ecbe7cb2bdc4ac4ece9745a89db2b5f4515c19d26f22c58e4", kill_on_drop: false }` [INFO] [stderr] Compiling abdala-chain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/runtime.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/runtime.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | match (self.transaction_pool.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 98 - match (self.transaction_pool.len()) { [INFO] [stdout] 98 + match self.transaction_pool.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `digest::typenum::assert_type` [INFO] [stdout] --> src/runtime.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | use digest::typenum::assert_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsContextMut`, `Config`, and `OptLevel` [INFO] [stdout] --> src/wasm/call.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | AsContext, AsContextMut, Caller, Config, Engine, Func, Instance, Memory, MemoryType, Module, OptLevel, Store, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/runtime.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | let block = self.create_block(proof, previous_hash); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `max_length` is never read [INFO] [stdout] --> src/runtime.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | max_length = length; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `execute` [INFO] [stdout] --> src/runtime.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let execute = self.execute_transactions(transactions.clone()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let mut chain = blockchain.chain.lock().unwrap(); [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: unused variable: `engine` [INFO] [stdout] --> src/wasm/call.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_type` [INFO] [stdout] --> src/wasm/call.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let memory_type = MemoryType::new(2, Some(16)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_chain` is never used [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn run_chain() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decrement_nonce` is never used [INFO] [stdout] --> src/core_client/system.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Pallet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn decrement_nonce(&mut self, address: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `std::future::Future` that must be used [INFO] [stdout] --> src/runtime.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | blockchain.add_transaction(transaction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/runtime.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | blockchain.balances.set_balance("Alice", 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 397 | let _ = blockchain.balances.set_balance("Alice", 100); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/runtime.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | blockchain.balances.set_balance("Bob", 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 398 | let _ = blockchain.balances.set_balance("Bob", 100); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/runtime.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | blockchain.balances.set_balance("Alice", 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 417 | let _ = blockchain.balances.set_balance("Alice", 100); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/runtime.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | blockchain.balances.set_balance("Bob", 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 418 | let _ = blockchain.balances.set_balance("Bob", 100); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/runtime.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 490 | blockchain.balances.set_balance("Alice", 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 490 | let _ = blockchain.balances.set_balance("Alice", 100); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/runtime.rs:491:9 [INFO] [stdout] | [INFO] [stdout] 491 | blockchain.balances.set_balance("Bob", 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 491 | let _ = blockchain.balances.set_balance("Bob", 100); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/runtime.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | blockchain.balances.set_balance("Alice", 200); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 514 | let _ = blockchain.balances.set_balance("Alice", 200); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core_client/balance.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | self.add_balance(sender, amount); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = self.add_balance(sender, amount); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core_client/balance.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | pallet.add_balance("Alice", 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 90 | let _ = pallet.add_balance("Alice", 100); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core_client/balance.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | pallet.add_balance("Alice", 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 98 | let _ = pallet.add_balance("Alice", 100); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core_client/balance.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | pallet.sub_balance("Alice", 50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = pallet.sub_balance("Alice", 50); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core_client/balance.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | pallet.add_balance("Alice", 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 107 | let _ = pallet.add_balance("Alice", 100); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core_client/balance.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | pallet.set_balance("Alice", 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = pallet.set_balance("Alice", 100); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core_client/balance.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | pallet.set_balance("Alice", 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 127 | let _ = pallet.set_balance("Alice", 100); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core_client/balance.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | pallet.set_balance("Alice", 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 136 | let _ = pallet.set_balance("Alice", 100); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.96s [INFO] running `Command { std: "docker" "inspect" "b68fd22d151ece7ecbe7cb2bdc4ac4ece9745a89db2b5f4515c19d26f22c58e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b68fd22d151ece7ecbe7cb2bdc4ac4ece9745a89db2b5f4515c19d26f22c58e4", kill_on_drop: false }` [INFO] [stdout] b68fd22d151ece7ecbe7cb2bdc4ac4ece9745a89db2b5f4515c19d26f22c58e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1047cd4a5aff7884d69313bc16409616a1e366b3569c467ef8a5f61184302006 [INFO] running `Command { std: "docker" "start" "-a" "1047cd4a5aff7884d69313bc16409616a1e366b3569c467ef8a5f61184302006", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stderr] --> src/runtime.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use serde::{Serialize, Deserialize}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stderr] --> src/runtime.rs:98:14 [INFO] [stderr] | [INFO] [stderr] 98 | match (self.transaction_pool.len()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 98 - match (self.transaction_pool.len()) { [INFO] [stderr] 98 + match self.transaction_pool.len() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `digest::typenum::assert_type` [INFO] [stderr] --> src/runtime.rs:304:9 [INFO] [stderr] | [INFO] [stderr] 304 | use digest::typenum::assert_type; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AsContextMut`, `Config`, and `OptLevel` [INFO] [stderr] --> src/wasm/call.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | AsContext, AsContextMut, Caller, Config, Engine, Func, Instance, Memory, MemoryType, Module, OptLevel, Store, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: denote infinite loops with `loop { ... }` [INFO] [stderr] --> src/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | while true { [INFO] [stderr] | ^^^^^^^^^^ help: use `loop` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(while_true)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block` [INFO] [stderr] --> src/runtime.rs:105:21 [INFO] [stderr] | [INFO] [stderr] 105 | let block = self.create_block(proof, previous_hash); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `max_length` is never read [INFO] [stderr] --> src/runtime.rs:259:17 [INFO] [stderr] | [INFO] [stderr] 259 | max_length = length; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `execute` [INFO] [stderr] --> src/runtime.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | let execute = self.execute_transactions(transactions.clone()); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execute` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/runtime.rs:338:13 [INFO] [stderr] | [INFO] [stderr] 338 | let mut chain = blockchain.chain.lock().unwrap(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `engine` [INFO] [stderr] --> src/wasm/call.rs:83:13 [INFO] [stderr] | [INFO] [stderr] 83 | let engine = Engine::default(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_type` [INFO] [stderr] --> src/wasm/call.rs:84:13 [INFO] [stderr] | [INFO] [stderr] 84 | let memory_type = MemoryType::new(2, Some(16)); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_type` [INFO] [stderr] [INFO] [stderr] warning: function `run_chain` is never used [INFO] [stderr] --> src/main.rs:14:4 [INFO] [stderr] | [INFO] [stderr] 14 | fn run_chain() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `decrement_nonce` is never used [INFO] [stderr] --> src/core_client/system.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl Pallet { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn decrement_nonce(&mut self, address: &str) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `std::future::Future` that must be used [INFO] [stderr] --> src/runtime.rs:336:9 [INFO] [stderr] | [INFO] [stderr] 336 | blockchain.add_transaction(transaction); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless you `.await` or poll them [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/runtime.rs:397:9 [INFO] [stderr] | [INFO] [stderr] 397 | blockchain.balances.set_balance("Alice", 100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 397 | let _ = blockchain.balances.set_balance("Alice", 100); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/runtime.rs:398:9 [INFO] [stderr] | [INFO] [stderr] 398 | blockchain.balances.set_balance("Bob", 100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 398 | let _ = blockchain.balances.set_balance("Bob", 100); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/runtime.rs:417:9 [INFO] [stderr] | [INFO] [stderr] 417 | blockchain.balances.set_balance("Alice", 100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 417 | let _ = blockchain.balances.set_balance("Alice", 100); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/runtime.rs:418:9 [INFO] [stderr] | [INFO] [stderr] 418 | blockchain.balances.set_balance("Bob", 100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 418 | let _ = blockchain.balances.set_balance("Bob", 100); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/runtime.rs:490:9 [INFO] [stderr] | [INFO] [stderr] 490 | blockchain.balances.set_balance("Alice", 100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 490 | let _ = blockchain.balances.set_balance("Alice", 100); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/runtime.rs:491:9 [INFO] [stderr] | [INFO] [stderr] 491 | blockchain.balances.set_balance("Bob", 100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 491 | let _ = blockchain.balances.set_balance("Bob", 100); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/runtime.rs:514:9 [INFO] [stderr] | [INFO] [stderr] 514 | blockchain.balances.set_balance("Alice", 200); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 514 | let _ = blockchain.balances.set_balance("Alice", 200); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/core_client/balance.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | self.add_balance(sender, amount); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 31 | let _ = self.add_balance(sender, amount); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/core_client/balance.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | pallet.add_balance("Alice", 100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 90 | let _ = pallet.add_balance("Alice", 100); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/core_client/balance.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | pallet.add_balance("Alice", 100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 98 | let _ = pallet.add_balance("Alice", 100); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/core_client/balance.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | pallet.sub_balance("Alice", 50); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 99 | let _ = pallet.sub_balance("Alice", 50); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/core_client/balance.rs:107:9 [INFO] [stderr] | [INFO] [stderr] 107 | pallet.add_balance("Alice", 100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 107 | let _ = pallet.add_balance("Alice", 100); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/core_client/balance.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 118 | pallet.set_balance("Alice", 100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 118 | let _ = pallet.set_balance("Alice", 100); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/core_client/balance.rs:127:9 [INFO] [stderr] | [INFO] [stderr] 127 | pallet.set_balance("Alice", 100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 127 | let _ = pallet.set_balance("Alice", 100); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/core_client/balance.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | pallet.set_balance("Alice", 100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 136 | let _ = pallet.set_balance("Alice", 100); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `abdala-chain` (bin "abdala-chain" test) generated 29 warnings (run `cargo fix --bin "abdala-chain" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/abdala_chain-229525f48b82d554) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test core_client::balance::tests::test_transfer_zero_amount ... ok [INFO] [stdout] test core_client::balance::tests::test_balance_new ... ok [INFO] [stdout] test core_client::balance::tests::test_balance_get ... ok [INFO] [stdout] test core_client::balance::tests::test_set_balance ... ok [INFO] [stdout] test core_client::system::test_increment_nonce ... ok [INFO] [stdout] test core_client::system::test_balance_new ... ok [INFO] [stdout] test domain::block::tests::test_block_hash ... ok [INFO] [stdout] test domain::transaction::tests::test_transaction_hash ... ok [INFO] [stdout] test domain::transaction::tests::test_transaction_new ... ok [INFO] [stdout] test core_client::balance::tests::test_transfer_insufficient_balance ... ok [INFO] [stdout] test core_client::balance::tests::test_balance_sub ... ok [INFO] [stdout] test runtime::tests::test_execute_transaction_fail ... ok [INFO] [stdout] test runtime::tests::test_balance ... ok [INFO] [stdout] test runtime::tests::test_get_all_nonce ... ok [INFO] [stdout] test runtime::tests::test_get_block ... ok [INFO] [stdout] test runtime::tests::test_blockchain_new ... ok [INFO] [stdout] test runtime::tests::test_get_chain ... ok [INFO] [stdout] test runtime::tests::test_get_nonce ... ok [INFO] [stdout] test runtime::tests::test_hash ... ok [INFO] [stdout] test runtime::tests::test_is_chain_valid ... ok [INFO] [stdout] test runtime::tests::test_get_previous_block ... ok [INFO] [stdout] test runtime::tests::test_set_balance ... ok [INFO] [stdout] test core_client::balance::tests::test_balance_add ... ok [INFO] [stdout] test core_client::balance::tests::test_transfer ... ok [INFO] [stdout] test runtime::tests::test_execute_transaction ... ok [INFO] [stdout] test wasm::call::tests::test_add ... ok [INFO] [stdout] test wasm::call::tests::test_state_new ... ok [INFO] [stdout] test runtime::tests::test_execute_transactions ... ok [INFO] [stdout] test runtime::tests::test_create_block ... ok [INFO] [stdout] test runtime::tests::test_proof_of_work ... ok [INFO] [stdout] test runtime::tests::test_add_transaction ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1047cd4a5aff7884d69313bc16409616a1e366b3569c467ef8a5f61184302006", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1047cd4a5aff7884d69313bc16409616a1e366b3569c467ef8a5f61184302006", kill_on_drop: false }` [INFO] [stdout] 1047cd4a5aff7884d69313bc16409616a1e366b3569c467ef8a5f61184302006