[INFO] cloning repository https://github.com/leosysd/polymarket_copy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leosysd/polymarket_copy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleosysd%2Fpolymarket_copy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleosysd%2Fpolymarket_copy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e96a70a951354b8d4ece3987100d352970a20f2c [INFO] testing leosysd/polymarket_copy against 1.98.0-beta.1 for beta-1.98-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleosysd%2Fpolymarket_copy" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/leosysd/polymarket_copy [INFO] finished tweaking git repo https://github.com/leosysd/polymarket_copy [INFO] tweaked toml for git repo https://github.com/leosysd/polymarket_copy written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leosysd/polymarket_copy on toolchain 1.98.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/leosysd/polymarket_copy 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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 34f8be75583170e7bf7c85b86438828dbab3cf8dec8046ad8480a11ecc28cce9 [INFO] running `Command { std: "docker" "start" "34f8be75583170e7bf7c85b86438828dbab3cf8dec8046ad8480a11ecc28cce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34f8be75583170e7bf7c85b86438828dbab3cf8dec8046ad8480a11ecc28cce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "34f8be75583170e7bf7c85b86438828dbab3cf8dec8046ad8480a11ecc28cce9" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34f8be75583170e7bf7c85b86438828dbab3cf8dec8046ad8480a11ecc28cce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "34f8be75583170e7bf7c85b86438828dbab3cf8dec8046ad8480a11ecc28cce9" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling keccak v0.2.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.15 [INFO] [stderr] Compiling rustc-hash v2.1.2 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling winnow v1.0.3 [INFO] [stderr] Compiling memchr v2.8.1 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling macro-string v0.2.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling syn-solidity v1.6.0 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling aws-lc-rs v1.17.0 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling hybrid-array v0.4.12 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling crc-catalog v2.5.0 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling block-buffer v0.12.0 [INFO] [stderr] Compiling crypto-common v0.2.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ruint v1.18.0 [INFO] [stderr] Compiling const-hex v1.19.1 [INFO] [stderr] Compiling aws-lc-sys v0.41.0 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling log v0.4.30 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling alloy-sol-type-parser v1.6.0 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling futures-utils-wasm v0.1.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling digest v0.11.3 [INFO] [stderr] Compiling data-encoding v2.11.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling rand_core v0.10.1 [INFO] [stderr] Compiling bimap v0.6.3 [INFO] [stderr] Compiling sha3 v0.11.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.13 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling num_enum_derive v0.7.6 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rand v0.9.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling pin-project v1.1.13 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling num_enum v0.7.6 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling dashmap v6.2.1 [INFO] [stderr] Compiling lru v0.16.4 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling alloy-primitives v1.6.0 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling alloy-rlp v0.3.15 [INFO] [stderr] Compiling http v1.4.1 [INFO] [stderr] Compiling tokio v1.52.3 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rust_decimal v1.42.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling alloy-json-abi v1.6.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling serde_with_macros v3.20.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling alloy-tx-macros v1.8.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling nybbles v0.4.8 [INFO] [stderr] Compiling bon-macros v3.9.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling rand v0.10.1 [INFO] [stderr] Compiling serde_with v3.20.0 [INFO] [stderr] Compiling alloy-sol-macro-input v1.6.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling serde_html_form v0.4.0 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.6.0 [INFO] [stderr] Compiling alloy-eip7928 v0.3.7 [INFO] [stderr] Compiling alloy-eip7702 v0.6.3 [INFO] [stderr] Compiling alloy-eip2930 v0.2.3 [INFO] [stderr] Compiling alloy-serde v1.8.3 [INFO] [stderr] Compiling alloy-eip2124 v0.2.0 [INFO] [stderr] Compiling alloy-trie v0.9.5 [INFO] [stderr] Compiling alloy-signer v1.8.3 [INFO] [stderr] Compiling alloy-chains v0.2.34 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling uuid v1.23.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling strum_macros v0.28.0 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling rust_decimal_macros v1.40.0 [INFO] [stderr] Compiling shell-words v1.1.1 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling alloy-eips v1.8.3 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Compiling alloy-sol-macro v1.6.0 [INFO] [stderr] Compiling alloy-consensus v1.8.3 [INFO] [stderr] Compiling tower-http v0.6.11 [INFO] [stderr] Compiling h2 v0.4.14 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling bon v3.9.1 [INFO] [stderr] Compiling alloy-sol-types v1.6.0 [INFO] [stderr] Compiling alloy-network-primitives v1.8.3 [INFO] [stderr] Compiling alloy-consensus-any v1.8.3 [INFO] [stderr] Compiling alloy-json-rpc v1.8.3 [INFO] [stderr] Compiling alloy-rpc-types-eth v1.8.3 [INFO] [stderr] Compiling alloy-dyn-abi v1.6.0 [INFO] [stderr] Compiling alloy-transport v1.8.3 [INFO] [stderr] Compiling hyper v1.10.1 [INFO] [stderr] Compiling alloy-core v1.6.0 [INFO] [stderr] Compiling alloy-pubsub v1.8.3 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling alloy-rpc-types-any v1.8.3 [INFO] [stderr] Compiling alloy-rpc-types v1.8.3 [INFO] [stderr] Compiling alloy-network v1.8.3 [INFO] [stderr] Compiling alloy-signer-local v1.8.3 [INFO] [stderr] Compiling rustls-webpki v0.103.13 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling rustls-platform-verifier v0.7.0 [INFO] [stderr] Compiling hyper-rustls v0.27.9 [INFO] [stderr] Compiling reqwest v0.13.4 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling alloy-transport-ws v1.8.3 [INFO] [stderr] Compiling alloy-transport-http v1.8.3 [INFO] [stderr] Compiling alloy-rpc-client v1.8.3 [INFO] [stderr] Compiling alloy-provider v1.8.3 [INFO] [stderr] Compiling alloy-contract v1.8.3 [INFO] [stderr] Compiling alloy v1.8.3 [INFO] [stderr] Compiling polymarket_client_sdk_v2 v0.6.0-canary.1 [INFO] [stderr] Compiling polymarket_copy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `api_key`, `api_secret`, and `api_passphrase` are never read [INFO] [stdout] --> src/config.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Secrets { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 161 | pub api_key: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 162 | pub api_secret: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 163 | pub api_passphrase: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Secrets` has derived impls for the traits `Clone` and `Debug`, 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: method `needs_api_creds` is never used [INFO] [stdout] --> src/config.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn needs_api_creds(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "34f8be75583170e7bf7c85b86438828dbab3cf8dec8046ad8480a11ecc28cce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "34f8be75583170e7bf7c85b86438828dbab3cf8dec8046ad8480a11ecc28cce9" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling polymarket_copy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `api_key`, `api_secret`, and `api_passphrase` are never read [INFO] [stdout] --> src/config.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Secrets { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 161 | pub api_key: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 162 | pub api_secret: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 163 | pub api_passphrase: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Secrets` has derived impls for the traits `Clone` and `Debug`, 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: method `needs_api_creds` is never used [INFO] [stdout] --> src/config.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn needs_api_creds(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "34f8be75583170e7bf7c85b86438828dbab3cf8dec8046ad8480a11ecc28cce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "34f8be75583170e7bf7c85b86438828dbab3cf8dec8046ad8480a11ecc28cce9" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: fields `api_key`, `api_secret`, and `api_passphrase` are never read [INFO] [stderr] --> src/config.rs:161:9 [INFO] [stderr] | [INFO] [stderr] 157 | pub struct Secrets { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 161 | pub api_key: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 162 | pub api_secret: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 163 | pub api_passphrase: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Secrets` has derived impls for the traits `Clone` and `Debug`, 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: method `needs_api_creds` is never used [INFO] [stderr] --> src/config.rs:254:12 [INFO] [stderr] | [INFO] [stderr] 178 | impl Config { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 254 | pub fn needs_api_creds(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `polymarket_copy` (bin "pmcopy" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pmcopy-652ae603e13c92b8) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test sizing::tests::buy_copies_target_shares_with_price_cap ... ok [INFO] [stdout] test sizing::tests::maker_prices_quantize_to_cents_passively ... ok [INFO] [stdout] test sizing::tests::maker_uses_passive_limit_offset ... ok [INFO] [stdout] test sizing::tests::max_order_usdc_caps_worst_case_buy_notional ... ok [INFO] [stdout] test sizing::tests::sell_uses_price_floor ... ok [INFO] [stdout] test sizing::tests::max_order_usdc_caps_after_share_rounding ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "34f8be75583170e7bf7c85b86438828dbab3cf8dec8046ad8480a11ecc28cce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f8be75583170e7bf7c85b86438828dbab3cf8dec8046ad8480a11ecc28cce9", kill_on_drop: false }` [INFO] [stdout] 34f8be75583170e7bf7c85b86438828dbab3cf8dec8046ad8480a11ecc28cce9