[INFO] cloning repository https://github.com/goblin-trade/goblin-contracts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/goblin-trade/goblin-contracts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoblin-trade%2Fgoblin-contracts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoblin-trade%2Fgoblin-contracts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f391c8f9de380849bf71a457a8b83cd171f3178 [INFO] checking goblin-trade/goblin-contracts against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoblin-trade%2Fgoblin-contracts" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/goblin-trade/goblin-contracts on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/goblin-trade/goblin-contracts [INFO] finished tweaking git repo https://github.com/goblin-trade/goblin-contracts [INFO] tweaked toml for git repo https://github.com/goblin-trade/goblin-contracts written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/goblin-trade/goblin-contracts 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stylus-sdk v0.5.0 [INFO] [stderr] Downloaded stylus-proc v0.5.0 [INFO] [stderr] Downloaded mini-alloc v0.4.2 [INFO] [stderr] Downloaded alloy-rlp v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 544eb59c47dba2215fd2a008e02ece1ca166d93aa93cc176bce0e114c1719ec0 [INFO] running `Command { std: "docker" "start" "-a" "544eb59c47dba2215fd2a008e02ece1ca166d93aa93cc176bce0e114c1719ec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "544eb59c47dba2215fd2a008e02ece1ca166d93aa93cc176bce0e114c1719ec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "544eb59c47dba2215fd2a008e02ece1ca166d93aa93cc176bce0e114c1719ec0", kill_on_drop: false }` [INFO] [stdout] 544eb59c47dba2215fd2a008e02ece1ca166d93aa93cc176bce0e114c1719ec0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93f1b508dd78965101ae54725a27ddc62e88412d553199f423d981cfc80efd76 [INFO] running `Command { std: "docker" "start" "-a" "93f1b508dd78965101ae54725a27ddc62e88412d553199f423d981cfc80efd76", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking const-hex v1.12.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling ruint v1.12.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling syn-solidity v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking keccak-const v0.2.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking mini-alloc v0.4.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking send_wrapper v0.4.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking scrypt v0.10.0 [INFO] [stderr] Checking hashers v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling alloy-sol-macro v0.3.1 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking futures-locks v0.7.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking coins-core v0.8.7 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking coins-bip32 v0.8.7 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking alloy-primitives v0.3.3 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking enr v0.10.0 [INFO] [stderr] Checking coins-bip39 v0.8.7 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking eth-keystore v0.5.0 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Checking alloy-sol-types v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling scale-info-derive v2.11.3 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking parity-scale-codec v3.6.12 [INFO] [stderr] Compiling stylus-proc v0.5.0 [INFO] [stderr] Checking scale-info v2.11.3 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking stylus-sdk v0.5.0 [INFO] [stderr] Checking open-fastrlp v0.1.4 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Checking goblin-factory v0.1.0 (/opt/rustwide/workdir/crates/goblin-factory) [INFO] [stderr] Checking goblin-market v0.1.0 (/opt/rustwide/workdir/crates/goblin-market) [INFO] [stdout] warning: unused import: `msg` [INFO] [stdout] --> crates/goblin-factory/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | msg, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `market_state` [INFO] [stdout] --> crates/goblin-market/src/program/processor/reduce_multiple_orders.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | market_state, MarketState, MatchingEngine, MatchingEngineResponse, OrderId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::marker::PhantomData` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stylus_sdk::console` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use stylus_sdk::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GoblinError`, `GoblinResult`, and `InvalidFeeCollector` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::program::{GoblinError, GoblinResult, InvalidFeeCollector}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::require` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::require; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitmapGroup`, `IndexList`, `OrderId`, `Side`, `SlotRestingOrder`, `SlotStorage`, and `quantities::Ticks` [INFO] [stdout] --> crates/goblin-market/src/state/iterable_tick_map/iterable_tick_map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | quantities::Ticks, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | state::{BitmapGroup, IndexList, OrderId, Side, SlotRestingOrder, SlotStorage}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::TickIndices` [INFO] [stdout] --> crates/goblin-market/src/state/iterable_tick_map/iterable_tick_map.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::TickIndices; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OuterIndex` and `slot_storage` [INFO] [stdout] --> crates/goblin-market/src/state/iterable_tick_map/order_iterator.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | slot_storage, BitmapGroup, InnerIndex, ListKey, ListSlot, OrderId, OuterIndex, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `B256` and `abi::AbiType` [INFO] [stdout] --> crates/goblin-market/src/state/iterable_tick_map/resting_order.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | abi::AbiType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | alloy_primitives::{address, Address, B256}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stylus_sdk::alloy_primitives::Address` [INFO] [stdout] --> crates/goblin-market/src/state/markets/market_traits.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use stylus_sdk::alloy_primitives::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> crates/goblin-factory/src/lib.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let res = CREATE3::::deploy(salt, contract_bytes, endowment)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BaseLots`, `BitmapGroup`, `MatchingEngineResponse`, `MutableBitmap`, `OrderId`, `Side`, `SlotRestingOrder`, `SlotStorage`, `TraderId`, and `TraderState` [INFO] [stdout] --> crates/goblin-market/src/state/markets/market_traits.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | quantities::{BaseLots, QuoteLots}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | state::{ [INFO] [stdout] 6 | BitmapGroup, MatchingEngineResponse, MutableBitmap, OrderId, Side, SlotRestingOrder, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | SlotStorage, TraderId, TraderState, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_address` [INFO] [stdout] --> crates/goblin-factory/src/lib.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let expected_address = get_create2_address(contract::address(), salt, contract_bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> crates/goblin-factory/src/lib.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let res = unsafe { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexList`, `IteratedRestingOrder`, `OrderIterator`, `matching_engine_response`, `order_crosses`, `process_resting_orders`, and `slot_storage` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | matching_engine_response, order_crosses, process_resting_orders, slot_storage, BitmapGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 24 | IndexList, InflightOrder, InnerIndex, IteratedRestingOrder, LambdaResult, ListKey, ListSlot, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | MarketState, MatchingEngineResponse, OrderId, OrderIterator, OrderPacket, OrderPacketMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::btree_map::Range` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use alloc::{collections::btree_map::Range, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `market_state` [INFO] [stdout] --> crates/goblin-market/src/program/processor/reduce_multiple_orders.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | market_state, MarketState, MatchingEngine, MatchingEngineResponse, OrderId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::marker::PhantomData` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stylus_sdk::console` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use stylus_sdk::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GoblinError`, `GoblinResult`, and `InvalidFeeCollector` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::program::{GoblinError, GoblinResult, InvalidFeeCollector}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::require` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::require; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitmapGroup`, `IndexList`, `OrderId`, `Side`, `SlotRestingOrder`, `SlotStorage`, and `quantities::Ticks` [INFO] [stdout] --> crates/goblin-market/src/state/iterable_tick_map/iterable_tick_map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | quantities::Ticks, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | state::{BitmapGroup, IndexList, OrderId, Side, SlotRestingOrder, SlotStorage}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::TickIndices` [INFO] [stdout] --> crates/goblin-market/src/state/iterable_tick_map/iterable_tick_map.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::TickIndices; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OuterIndex` and `slot_storage` [INFO] [stdout] --> crates/goblin-market/src/state/iterable_tick_map/order_iterator.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | slot_storage, BitmapGroup, InnerIndex, ListKey, ListSlot, OrderId, OuterIndex, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `B256` and `abi::AbiType` [INFO] [stdout] --> crates/goblin-market/src/state/iterable_tick_map/resting_order.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | abi::AbiType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | alloy_primitives::{address, Address, B256}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stylus_sdk::alloy_primitives::Address` [INFO] [stdout] --> crates/goblin-market/src/state/markets/market_traits.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use stylus_sdk::alloy_primitives::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BaseLots`, `BitmapGroup`, `MatchingEngineResponse`, `MutableBitmap`, `OrderId`, `Side`, `SlotRestingOrder`, `SlotStorage`, `TraderId`, and `TraderState` [INFO] [stdout] --> crates/goblin-market/src/state/markets/market_traits.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | quantities::{BaseLots, QuoteLots}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | state::{ [INFO] [stdout] 6 | BitmapGroup, MatchingEngineResponse, MutableBitmap, OrderId, Side, SlotRestingOrder, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | SlotStorage, TraderId, TraderState, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexList`, `IteratedRestingOrder`, `OrderIterator`, `matching_engine_response`, `order_crosses`, `process_resting_orders`, and `slot_storage` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | matching_engine_response, order_crosses, process_resting_orders, slot_storage, BitmapGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 24 | IndexList, InflightOrder, InnerIndex, IteratedRestingOrder, LambdaResult, ListKey, ListSlot, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | MarketState, MatchingEngineResponse, OrderId, OrderIterator, OrderPacket, OrderPacketMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::btree_map::Range` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use alloc::{collections::btree_map::Range, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stdout] warning: unused import: `RestingOrder` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | OuterIndex, RestingOrder, RestingOrderIndex, Side, SlotActions, SlotRestingOrder, SlotStorage, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matching_engine` [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut matching_engine = MatchingEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matching_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | context: &mut GoblinMarket, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | to: Address, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `failed_multiple_limit_order_behavior` [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | failed_multiple_limit_order_behavior: FailedMultipleLimitOrderBehavior, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_failed_multiple_limit_order_behavior` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bids` [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | bids: Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asks` [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | asks: Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_asks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_order_id` [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | client_order_id: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `use_free_funds` [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | use_free_funds: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_free_funds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let mut matching_engine = MatchingEngine { [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] [stderr] Checking ethers-core v2.0.14 [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 435 | allow_multiply!(BaseUnits, BaseLotsPerBaseUnit, BaseLots); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 435 | allow_multiply!(BaseUnits, BaseLotsPerBaseUnit, BaseLots); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 436 | allow_multiply!(QuoteUnits, QuoteLotsPerQuoteUnit, QuoteLots); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 436 | allow_multiply!(QuoteUnits, QuoteLotsPerQuoteUnit, QuoteLots); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 438 | allow_multiply!(QuoteLots, QuoteAtomsPerQuoteLot, QuoteAtoms); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 438 | allow_multiply!(QuoteLots, QuoteAtomsPerQuoteLot, QuoteAtoms); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 439 | allow_multiply!(BaseLots, BaseAtomsPerBaseLot, BaseAtoms); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 439 | allow_multiply!(BaseLots, BaseAtomsPerBaseLot, BaseAtoms); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 442 | / allow_multiply!( [INFO] [stdout] 443 | | BaseAtomsPerBaseLot, [INFO] [stdout] 444 | | BaseLotsPerBaseUnit, [INFO] [stdout] 445 | | BaseAtomsPerBaseUnit [INFO] [stdout] 446 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 442 | / allow_multiply!( [INFO] [stdout] 443 | | BaseAtomsPerBaseLot, [INFO] [stdout] 444 | | BaseLotsPerBaseUnit, [INFO] [stdout] 445 | | BaseAtomsPerBaseUnit [INFO] [stdout] 446 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 447 | / allow_multiply!( [INFO] [stdout] 448 | | QuoteAtomsPerQuoteLot, [INFO] [stdout] 449 | | QuoteLotsPerQuoteUnit, [INFO] [stdout] 450 | | QuoteAtomsPerQuoteUnit [INFO] [stdout] 451 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 447 | / allow_multiply!( [INFO] [stdout] 448 | | QuoteAtomsPerQuoteLot, [INFO] [stdout] 449 | | QuoteLotsPerQuoteUnit, [INFO] [stdout] 450 | | QuoteAtomsPerQuoteUnit [INFO] [stdout] 451 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 454 | / allow_multiply!( [INFO] [stdout] 455 | | QuoteLotsPerBaseUnitPerTick, [INFO] [stdout] 456 | | QuoteAtomsPerQuoteLot, [INFO] [stdout] 457 | | QuoteAtomsPerBaseUnitPerTick [INFO] [stdout] 458 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 454 | / allow_multiply!( [INFO] [stdout] 455 | | QuoteLotsPerBaseUnitPerTick, [INFO] [stdout] 456 | | QuoteAtomsPerQuoteLot, [INFO] [stdout] 457 | | QuoteAtomsPerBaseUnitPerTick [INFO] [stdout] 458 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 461 | allow_multiply!(QuoteLotsPerBaseUnitPerTick, Ticks, QuoteLotsPerBaseUnit); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 461 | allow_multiply!(QuoteLotsPerBaseUnitPerTick, Ticks, QuoteLotsPerBaseUnit); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 464 | allow_multiply!(QuoteLots, BaseLotsPerBaseUnit, AdjustedQuoteLots); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 464 | allow_multiply!(QuoteLots, BaseLotsPerBaseUnit, AdjustedQuoteLots); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 467 | allow_multiply!(QuoteLotsPerBaseUnit, BaseLots, AdjustedQuoteLots); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 467 | allow_multiply!(QuoteLotsPerBaseUnit, BaseLots, AdjustedQuoteLots); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `market` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | let mut market = MarketState::read_from_slot(self.slot_storage); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_market` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quote_lots_to_deposit` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | let mut quote_lots_to_deposit = QuoteLots::ZERO; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quote_lots_to_deposit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_lots_to_deposit` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | let mut base_lots_to_deposit = BaseLots::ZERO; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_lots_to_deposit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matching_engine_response` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | let matching_engine_response = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matching_engine_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | to: Address, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | let mut market = MarketState::read_from_slot(self.slot_storage); [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] --> crates/goblin-market/src/state/matching_engine.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let mut trader_state = TraderState::read_from_slot(self.slot_storage, trader); [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] --> crates/goblin-market/src/state/matching_engine.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | let mut quote_lots_to_deposit = QuoteLots::ZERO; [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] --> crates/goblin-market/src/state/matching_engine.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | let mut base_lots_to_deposit = BaseLots::ZERO; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index_list` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | let mut index_list = market_state.get_index_list(side); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resting_order` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:392:14 [INFO] [stdout] | [INFO] [stdout] 392 | let (resting_order, mut matching_engine_response) = if let OrderPacket::PostOnly { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resting_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matching_engine_response` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:392:33 [INFO] [stdout] | [INFO] [stdout] 392 | let (resting_order, mut matching_engine_response) = if let OrderPacket::PostOnly { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matching_engine_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inflight_order` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:465:21 [INFO] [stdout] | [INFO] [stdout] 465 | let mut inflight_order = InflightOrder::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inflight_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trader_state` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | trader_state: &mut TraderState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trader_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | to: Address, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | let mut index_list = market_state.get_index_list(side); [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] --> crates/goblin-market/src/state/matching_engine.rs:392:29 [INFO] [stdout] | [INFO] [stdout] 392 | let (resting_order, mut matching_engine_response) = if let OrderPacket::PostOnly { [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] --> crates/goblin-market/src/state/matching_engine.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | let mut inflight_order = InflightOrder::new( [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle_match` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | let handle_match = |order_id: OrderId, resting_order: &mut SlotRestingOrder| { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_match` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle_cross` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:720:13 [INFO] [stdout] | [INFO] [stdout] 720 | let handle_cross = |order_id: OrderId, resting_order: &mut SlotRestingOrder| { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_cross` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RestingOrder` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | OuterIndex, RestingOrder, RestingOrderIndex, Side, SlotActions, SlotRestingOrder, SlotStorage, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matching_engine` [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut matching_engine = MatchingEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matching_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | context: &mut GoblinMarket, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | to: Address, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `failed_multiple_limit_order_behavior` [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | failed_multiple_limit_order_behavior: FailedMultipleLimitOrderBehavior, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_failed_multiple_limit_order_behavior` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bids` [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | bids: Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asks` [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | asks: Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_asks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_order_id` [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | client_order_id: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `use_free_funds` [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | use_free_funds: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_free_funds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/goblin-market/src/program/processor/new_order.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let mut matching_engine = MatchingEngine { [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: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 435 | allow_multiply!(BaseUnits, BaseLotsPerBaseUnit, BaseLots); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 435 | allow_multiply!(BaseUnits, BaseLotsPerBaseUnit, BaseLots); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 436 | allow_multiply!(QuoteUnits, QuoteLotsPerQuoteUnit, QuoteLots); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 436 | allow_multiply!(QuoteUnits, QuoteLotsPerQuoteUnit, QuoteLots); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 438 | allow_multiply!(QuoteLots, QuoteAtomsPerQuoteLot, QuoteAtoms); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 438 | allow_multiply!(QuoteLots, QuoteAtomsPerQuoteLot, QuoteAtoms); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 439 | allow_multiply!(BaseLots, BaseAtomsPerBaseLot, BaseAtoms); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 439 | allow_multiply!(BaseLots, BaseAtomsPerBaseLot, BaseAtoms); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 442 | / allow_multiply!( [INFO] [stdout] 443 | | BaseAtomsPerBaseLot, [INFO] [stdout] 444 | | BaseLotsPerBaseUnit, [INFO] [stdout] 445 | | BaseAtomsPerBaseUnit [INFO] [stdout] 446 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 442 | / allow_multiply!( [INFO] [stdout] 443 | | BaseAtomsPerBaseLot, [INFO] [stdout] 444 | | BaseLotsPerBaseUnit, [INFO] [stdout] 445 | | BaseAtomsPerBaseUnit [INFO] [stdout] 446 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 447 | / allow_multiply!( [INFO] [stdout] 448 | | QuoteAtomsPerQuoteLot, [INFO] [stdout] 449 | | QuoteLotsPerQuoteUnit, [INFO] [stdout] 450 | | QuoteAtomsPerQuoteUnit [INFO] [stdout] 451 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 447 | / allow_multiply!( [INFO] [stdout] 448 | | QuoteAtomsPerQuoteLot, [INFO] [stdout] 449 | | QuoteLotsPerQuoteUnit, [INFO] [stdout] 450 | | QuoteAtomsPerQuoteUnit [INFO] [stdout] 451 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 454 | / allow_multiply!( [INFO] [stdout] 455 | | QuoteLotsPerBaseUnitPerTick, [INFO] [stdout] 456 | | QuoteAtomsPerQuoteLot, [INFO] [stdout] 457 | | QuoteAtomsPerBaseUnitPerTick [INFO] [stdout] 458 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 454 | / allow_multiply!( [INFO] [stdout] 455 | | QuoteLotsPerBaseUnitPerTick, [INFO] [stdout] 456 | | QuoteAtomsPerQuoteLot, [INFO] [stdout] 457 | | QuoteAtomsPerBaseUnitPerTick [INFO] [stdout] 458 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 461 | allow_multiply!(QuoteLotsPerBaseUnitPerTick, Ticks, QuoteLotsPerBaseUnit); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 461 | allow_multiply!(QuoteLotsPerBaseUnitPerTick, Ticks, QuoteLotsPerBaseUnit); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 464 | allow_multiply!(QuoteLots, BaseLotsPerBaseUnit, AdjustedQuoteLots); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 464 | allow_multiply!(QuoteLots, BaseLotsPerBaseUnit, AdjustedQuoteLots); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 467 | allow_multiply!(QuoteLotsPerBaseUnit, BaseLots, AdjustedQuoteLots); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let caller = core::panic::Location::caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] ... [INFO] [stdout] 467 | allow_multiply!(QuoteLotsPerBaseUnit, BaseLots, AdjustedQuoteLots); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `allow_multiply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoded_lots` [INFO] [stdout] --> crates/goblin-market/src/quantities.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | let decoded_lots = raw_atoms.to_lots(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoded_lots` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `market` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | let mut market = MarketState::read_from_slot(self.slot_storage); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_market` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quote_lots_to_deposit` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | let mut quote_lots_to_deposit = QuoteLots::ZERO; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quote_lots_to_deposit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_lots_to_deposit` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | let mut base_lots_to_deposit = BaseLots::ZERO; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_lots_to_deposit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matching_engine_response` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | let matching_engine_response = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matching_engine_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | to: Address, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | let mut market = MarketState::read_from_slot(self.slot_storage); [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] --> crates/goblin-market/src/state/matching_engine.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let mut trader_state = TraderState::read_from_slot(self.slot_storage, trader); [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] --> crates/goblin-market/src/state/matching_engine.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | let mut quote_lots_to_deposit = QuoteLots::ZERO; [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] --> crates/goblin-market/src/state/matching_engine.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | let mut base_lots_to_deposit = BaseLots::ZERO; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index_list` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | let mut index_list = market_state.get_index_list(side); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resting_order` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:392:14 [INFO] [stdout] | [INFO] [stdout] 392 | let (resting_order, mut matching_engine_response) = if let OrderPacket::PostOnly { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resting_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matching_engine_response` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:392:33 [INFO] [stdout] | [INFO] [stdout] 392 | let (resting_order, mut matching_engine_response) = if let OrderPacket::PostOnly { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matching_engine_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inflight_order` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:465:21 [INFO] [stdout] | [INFO] [stdout] 465 | let mut inflight_order = InflightOrder::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inflight_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trader_state` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | trader_state: &mut TraderState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trader_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | to: Address, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | let mut index_list = market_state.get_index_list(side); [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] --> crates/goblin-market/src/state/matching_engine.rs:392:29 [INFO] [stdout] | [INFO] [stdout] 392 | let (resting_order, mut matching_engine_response) = if let OrderPacket::PostOnly { [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] --> crates/goblin-market/src/state/matching_engine.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | let mut inflight_order = InflightOrder::new( [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle_match` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | let handle_match = |order_id: OrderId, resting_order: &mut SlotRestingOrder| { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_match` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle_cross` [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:720:13 [INFO] [stdout] | [INFO] [stdout] 720 | let handle_cross = |order_id: OrderId, resting_order: &mut SlotRestingOrder| { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_cross` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `track_block` and `last_valid_block_or_unix_timestamp_in_seconds` are never read [INFO] [stdout] --> crates/goblin-market/src/state/inflight_order.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct InflightOrder { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | track_block: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | last_valid_block_or_unix_timestamp_in_seconds: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InflightOrder` has a derived impl for the trait `Clone`, 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: associated function `new` is never used [INFO] [stdout] --> crates/goblin-market/src/state/inflight_order.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl InflightOrder { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 45 | #[allow(clippy::too_many_arguments)] [INFO] [stdout] 46 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `place_order_inner`, `match_order`, `check_for_cross_v2`, and `check_for_cross` are never used [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl MatchingEngine<'_> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 336 | fn place_order_inner( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | fn match_order( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 700 | fn check_for_cross_v2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 780 | fn check_for_cross( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_fee` is never used [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:976:4 [INFO] [stdout] | [INFO] [stdout] 976 | fn compute_fee(size_in_adjusted_quote_lots: AdjustedQuoteLots) -> AdjustedQuoteLots { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lock_quote_lots`, `lock_base_lots`, `use_free_quote_lots`, and `use_free_base_lots` are never used [INFO] [stdout] --> crates/goblin-market/src/state/trader_state.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl TraderState { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub(crate) fn lock_quote_lots(&mut self, quote_lots: QuoteLots) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub(crate) fn lock_base_lots(&mut self, base_lots: BaseLots) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) fn use_free_quote_lots(&mut self, quote_lots: QuoteLots) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub(crate) fn use_free_base_lots(&mut self, base_lots: BaseLots) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/goblin-market/src/state/iterable_tick_map/order_iterator.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | resting_order.write_to_slot(self.slot_storage, order_id); [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] 84 | let _ = resting_order.write_to_slot(self.slot_storage, order_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 69 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `track_block` and `last_valid_block_or_unix_timestamp_in_seconds` are never read [INFO] [stdout] --> crates/goblin-market/src/state/inflight_order.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct InflightOrder { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | track_block: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | last_valid_block_or_unix_timestamp_in_seconds: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InflightOrder` has a derived impl for the trait `Clone`, 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: associated function `new` is never used [INFO] [stdout] --> crates/goblin-market/src/state/inflight_order.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl InflightOrder { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 45 | #[allow(clippy::too_many_arguments)] [INFO] [stdout] 46 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `place_order_inner`, `match_order`, `check_for_cross_v2`, and `check_for_cross` are never used [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl MatchingEngine<'_> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 336 | fn place_order_inner( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | fn match_order( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 700 | fn check_for_cross_v2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 780 | fn check_for_cross( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_fee` is never used [INFO] [stdout] --> crates/goblin-market/src/state/matching_engine.rs:976:4 [INFO] [stdout] | [INFO] [stdout] 976 | fn compute_fee(size_in_adjusted_quote_lots: AdjustedQuoteLots) -> AdjustedQuoteLots { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lock_quote_lots`, `lock_base_lots`, `use_free_quote_lots`, and `use_free_base_lots` are never used [INFO] [stdout] --> crates/goblin-market/src/state/trader_state.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl TraderState { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub(crate) fn lock_quote_lots(&mut self, quote_lots: QuoteLots) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub(crate) fn lock_base_lots(&mut self, base_lots: BaseLots) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) fn use_free_quote_lots(&mut self, quote_lots: QuoteLots) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub(crate) fn use_free_base_lots(&mut self, base_lots: BaseLots) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/goblin-market/src/state/iterable_tick_map/order_iterator.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | resting_order.write_to_slot(self.slot_storage, order_id); [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] 84 | let _ = resting_order.write_to_slot(self.slot_storage, order_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 70 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking ethers-contract-abigen v2.0.14 [INFO] [stderr] Checking ethers-providers v2.0.14 [INFO] [stderr] Checking ethers-etherscan v2.0.14 [INFO] [stderr] Checking ethers-signers v2.0.14 [INFO] [stderr] Checking ethers-addressbook v2.0.14 [INFO] [stderr] Compiling ethers-contract-derive v2.0.14 [INFO] [stderr] Checking ethers-contract v2.0.14 [INFO] [stderr] Checking ethers-middleware v2.0.14 [INFO] [stderr] Checking ethers v2.0.14 [INFO] [stdout] warning: unused import: `msg` [INFO] [stdout] --> crates/goblin-factory/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | msg, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Eip1559TransactionRequest` and `prelude::abigen` [INFO] [stdout] --> crates/goblin-factory/examples/activate.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | prelude::abigen, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | types::{Address, Eip1559TransactionRequest, TransactionRequest, H160}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eyre::eyre` [INFO] [stdout] --> crates/goblin-factory/examples/activate.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use eyre::eyre; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stylus_sdk::tx` [INFO] [stdout] --> crates/goblin-factory/examples/activate.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use stylus_sdk::tx; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_secret_from_file` is never used [INFO] [stdout] --> crates/goblin-factory/examples/activate.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn read_secret_from_file(fpath: &str) -> eyre::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> crates/goblin-factory/src/lib.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let res = CREATE3::::deploy(salt, contract_bytes, endowment)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_address` [INFO] [stdout] --> crates/goblin-factory/src/lib.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let expected_address = get_create2_address(contract::address(), salt, contract_bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> crates/goblin-factory/src/lib.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let res = unsafe { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.09s [INFO] running `Command { std: "docker" "inspect" "93f1b508dd78965101ae54725a27ddc62e88412d553199f423d981cfc80efd76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93f1b508dd78965101ae54725a27ddc62e88412d553199f423d981cfc80efd76", kill_on_drop: false }` [INFO] [stdout] 93f1b508dd78965101ae54725a27ddc62e88412d553199f423d981cfc80efd76 [INFO] checking goblin-trade/goblin-contracts against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoblin-trade%2Fgoblin-contracts" "/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/goblin-trade/goblin-contracts on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/goblin-trade/goblin-contracts [INFO] finished tweaking git repo https://github.com/goblin-trade/goblin-contracts [INFO] tweaked toml for git repo https://github.com/goblin-trade/goblin-contracts written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/goblin-trade/goblin-contracts 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d68b04131c3c7d59a77fa13a6669a6d4b129ab85c7cb9ce361496ca5e1def90 [INFO] running `Command { std: "docker" "start" "-a" "8d68b04131c3c7d59a77fa13a6669a6d4b129ab85c7cb9ce361496ca5e1def90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d68b04131c3c7d59a77fa13a6669a6d4b129ab85c7cb9ce361496ca5e1def90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d68b04131c3c7d59a77fa13a6669a6d4b129ab85c7cb9ce361496ca5e1def90", kill_on_drop: false }` [INFO] [stdout] 8d68b04131c3c7d59a77fa13a6669a6d4b129ab85c7cb9ce361496ca5e1def90 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 503da146570fa005ca5ee5be6c3c5d7f7d3c186b4ffe5059dfe3d1cf5b3781c2 [INFO] running `Command { std: "docker" "start" "-a" "503da146570fa005ca5ee5be6c3c5d7f7d3c186b4ffe5059dfe3d1cf5b3781c2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking const-hex v1.12.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling ruint v1.12.3 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling syn-solidity v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 841 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 842 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 843 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 844 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 845 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 846 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "503da146570fa005ca5ee5be6c3c5d7f7d3c186b4ffe5059dfe3d1cf5b3781c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "503da146570fa005ca5ee5be6c3c5d7f7d3c186b4ffe5059dfe3d1cf5b3781c2", kill_on_drop: false }` [INFO] [stdout] 503da146570fa005ca5ee5be6c3c5d7f7d3c186b4ffe5059dfe3d1cf5b3781c2