[INFO] cloning repository https://github.com/pben56681-png/israell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pben56681-png/israell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpben56681-png%2Fisraell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpben56681-png%2Fisraell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b9912b93f3dd230bd6e90218dfc6a4a41db1985 [INFO] testing pben56681-png/israell against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpben56681-png%2Fisraell" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pben56681-png/israell [INFO] finished tweaking git repo https://github.com/pben56681-png/israell [INFO] tweaked toml for git repo https://github.com/pben56681-png/israell written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pben56681-png/israell on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pben56681-png/israell 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e46cbad65bda9dbc8b0a9bce8b8bb6821ae9edbfe621f96558d9c077e692b88 [INFO] running `Command { std: "docker" "start" "-a" "7e46cbad65bda9dbc8b0a9bce8b8bb6821ae9edbfe621f96558d9c077e692b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e46cbad65bda9dbc8b0a9bce8b8bb6821ae9edbfe621f96558d9c077e692b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e46cbad65bda9dbc8b0a9bce8b8bb6821ae9edbfe621f96558d9c077e692b88", kill_on_drop: false }` [INFO] [stdout] 7e46cbad65bda9dbc8b0a9bce8b8bb6821ae9edbfe621f96558d9c077e692b88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a30cf1ce1568fe58b2b81ebed6dc85ee24aef61c030700570da10eed6227782 [INFO] running `Command { std: "docker" "start" "-a" "2a30cf1ce1568fe58b2b81ebed6dc85ee24aef61c030700570da10eed6227782", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.108 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling const-hex v1.17.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling bumpalo v3.19.1 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.108 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.108 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling scrypt v0.10.0 [INFO] [stderr] Compiling hashers v1.0.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling futures-locks v0.7.1 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.108 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling uuid v1.20.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling rust_decimal_macros v1.40.0 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling js-sys v0.3.85 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling coins-core v0.8.7 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling enr v0.10.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling coins-bip32 v0.8.7 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling coins-bip39 v0.8.7 [INFO] [stderr] Compiling eth-keystore v0.5.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling open-fastrlp v0.1.4 [INFO] [stderr] Compiling ethabi v18.0.0 [INFO] [stderr] Compiling ethers-core v2.0.14 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling ethers-contract-abigen v2.0.14 [INFO] [stderr] Compiling ethers-signers v2.0.14 [INFO] [stderr] Compiling ethers-addressbook v2.0.14 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ethers-contract-derive v2.0.14 [INFO] [stderr] Compiling ethers-providers v2.0.14 [INFO] [stderr] Compiling ethers-etherscan v2.0.14 [INFO] [stderr] Compiling ethers-contract v2.0.14 [INFO] [stderr] Compiling ethers-middleware v2.0.14 [INFO] [stderr] Compiling ethers v2.0.14 [INFO] [stderr] Compiling polymarket-arb-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Token` and `WsLevel` [INFO] [stdout] --> src/market.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::{Market, Token, OrderBook, Level, WsMessage, WsSubscribeMsg, WsLevel, MarketResponse}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H256` [INFO] [stdout] --> src/execution.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use ethers::core::types::{H256, Address, U256}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethers::contract::Eip712` [INFO] [stdout] --> src/execution.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use ethers::contract::Eip712; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `api_secret` and `poll_interval_ms` are never read [INFO] [stdout] --> src/config.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | pub api_key: String, [INFO] [stdout] 10 | pub api_secret: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub poll_interval_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TradeEvent` is never constructed [INFO] [stdout] --> src/types.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct TradeEvent { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash` is never read [INFO] [stdout] --> src/types.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct WsBookUpdate { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 145 | pub hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WsBookUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_safe_mode` is never used [INFO] [stdout] --> src/risk.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RiskManager { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn is_safe_mode(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenId` should have a snake case name [INFO] [stdout] --> src/types.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub tokenId: U256, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `token_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `makerAmount` should have a snake case name [INFO] [stdout] --> src/types.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub makerAmount: U256, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `maker_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `takerAmount` should have a snake case name [INFO] [stdout] --> src/types.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub takerAmount: U256, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `taker_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `feeRateBps` should have a snake case name [INFO] [stdout] --> src/types.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub feeRateBps: U256, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `fee_rate_bps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `signatureType` should have a snake case name [INFO] [stdout] --> src/types.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub signatureType: u8, // 0 for EOA, 1 for Poly Proxy, 2 for Kernel [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `signature_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "2a30cf1ce1568fe58b2b81ebed6dc85ee24aef61c030700570da10eed6227782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a30cf1ce1568fe58b2b81ebed6dc85ee24aef61c030700570da10eed6227782", kill_on_drop: false }` [INFO] [stdout] 2a30cf1ce1568fe58b2b81ebed6dc85ee24aef61c030700570da10eed6227782 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46674b5f681b66cb9ce2334133855cf95fcb3a317634ed8db69b63cd01fad09b [INFO] running `Command { std: "docker" "start" "-a" "46674b5f681b66cb9ce2334133855cf95fcb3a317634ed8db69b63cd01fad09b", kill_on_drop: false }` [INFO] [stderr] Compiling polymarket-arb-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Token` and `WsLevel` [INFO] [stdout] --> src/market.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::{Market, Token, OrderBook, Level, WsMessage, WsSubscribeMsg, WsLevel, MarketResponse}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H256` [INFO] [stdout] --> src/execution.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use ethers::core::types::{H256, Address, U256}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethers::contract::Eip712` [INFO] [stdout] --> src/execution.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use ethers::contract::Eip712; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `api_secret` and `poll_interval_ms` are never read [INFO] [stdout] --> src/config.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | pub api_key: String, [INFO] [stdout] 10 | pub api_secret: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub poll_interval_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TradeEvent` is never constructed [INFO] [stdout] --> src/types.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct TradeEvent { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash` is never read [INFO] [stdout] --> src/types.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct WsBookUpdate { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 145 | pub hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WsBookUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_safe_mode` is never used [INFO] [stdout] --> src/risk.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RiskManager { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn is_safe_mode(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenId` should have a snake case name [INFO] [stdout] --> src/types.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub tokenId: U256, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `token_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `makerAmount` should have a snake case name [INFO] [stdout] --> src/types.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub makerAmount: U256, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `maker_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `takerAmount` should have a snake case name [INFO] [stdout] --> src/types.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub takerAmount: U256, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `taker_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `feeRateBps` should have a snake case name [INFO] [stdout] --> src/types.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub feeRateBps: U256, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `fee_rate_bps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `signatureType` should have a snake case name [INFO] [stdout] --> src/types.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub signatureType: u8, // 0 for EOA, 1 for Poly Proxy, 2 for Kernel [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `signature_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.60s [INFO] running `Command { std: "docker" "inspect" "46674b5f681b66cb9ce2334133855cf95fcb3a317634ed8db69b63cd01fad09b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46674b5f681b66cb9ce2334133855cf95fcb3a317634ed8db69b63cd01fad09b", kill_on_drop: false }` [INFO] [stdout] 46674b5f681b66cb9ce2334133855cf95fcb3a317634ed8db69b63cd01fad09b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 124594ad4cab9d959fbdc1c7202b10f857b43fbdce8af84853ba5217fac194ca [INFO] running `Command { std: "docker" "start" "-a" "124594ad4cab9d959fbdc1c7202b10f857b43fbdce8af84853ba5217fac194ca", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Token` and `WsLevel` [INFO] [stderr] --> src/market.rs:1:28 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::types::{Market, Token, OrderBook, Level, WsMessage, WsSubscribeMsg, WsLevel, MarketResponse}; [INFO] [stderr] | ^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `H256` [INFO] [stderr] --> src/execution.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | use ethers::core::types::{H256, Address, U256}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ethers::contract::Eip712` [INFO] [stderr] --> src/execution.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use ethers::contract::Eip712; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `api_secret` and `poll_interval_ms` are never read [INFO] [stderr] --> src/config.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Config { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 9 | pub api_key: String, [INFO] [stderr] 10 | pub api_secret: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | pub poll_interval_ms: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `TradeEvent` is never constructed [INFO] [stderr] --> src/types.rs:101:12 [INFO] [stderr] | [INFO] [stderr] 101 | pub struct TradeEvent { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `hash` is never read [INFO] [stderr] --> src/types.rs:145:9 [INFO] [stderr] | [INFO] [stderr] 141 | pub struct WsBookUpdate { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 145 | pub hash: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WsBookUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `is_safe_mode` is never used [INFO] [stderr] --> src/risk.rs:78:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl RiskManager { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 78 | pub fn is_safe_mode(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `tokenId` should have a snake case name [INFO] [stderr] --> src/types.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | pub tokenId: U256, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `token_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `makerAmount` should have a snake case name [INFO] [stderr] --> src/types.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | pub makerAmount: U256, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `maker_amount` [INFO] [stderr] [INFO] [stderr] warning: structure field `takerAmount` should have a snake case name [INFO] [stderr] --> src/types.rs:92:9 [INFO] [stderr] | [INFO] [stderr] 92 | pub takerAmount: U256, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `taker_amount` [INFO] [stderr] [INFO] [stderr] warning: structure field `feeRateBps` should have a snake case name [INFO] [stderr] --> src/types.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | pub feeRateBps: U256, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `fee_rate_bps` [INFO] [stderr] [INFO] [stderr] warning: structure field `signatureType` should have a snake case name [INFO] [stderr] --> src/types.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | pub signatureType: u8, // 0 for EOA, 1 for Poly Proxy, 2 for Kernel [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `signature_type` [INFO] [stderr] [INFO] [stderr] warning: `polymarket-arb-bot` (bin "polymarket-arb-bot" test) generated 12 warnings (run `cargo fix --bin "polymarket-arb-bot" -p polymarket-arb-bot --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/polymarket_arb_bot-1551505353fe336c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "124594ad4cab9d959fbdc1c7202b10f857b43fbdce8af84853ba5217fac194ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "124594ad4cab9d959fbdc1c7202b10f857b43fbdce8af84853ba5217fac194ca", kill_on_drop: false }` [INFO] [stdout] 124594ad4cab9d959fbdc1c7202b10f857b43fbdce8af84853ba5217fac194ca