[INFO] cloning repository https://github.com/Bvvvp009/lighter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bvvvp009/lighter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBvvvp009%2Flighter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBvvvp009%2Flighter-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9cf31a47f6055a227193c6a8458addd56488785 [INFO] testing Bvvvp009/lighter-rust against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBvvvp009%2Flighter-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Bvvvp009/lighter-rust [INFO] finished tweaking git repo https://github.com/Bvvvp009/lighter-rust [INFO] tweaked toml for git repo https://github.com/Bvvvp009/lighter-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Bvvvp009/lighter-rust on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 251 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding criterion v0.5.1 (available: v0.8.2) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding rand v0.8.5 (available: v0.10.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [INFO] [stderr] Adding tokio-tungstenite v0.21.0 (available: v0.29.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f24e294e88cd50b6269bfa1befc6399dcd9bb1e4714d56c98542252d821de1a1 [INFO] running `Command { std: "docker" "start" "-a" "f24e294e88cd50b6269bfa1befc6399dcd9bb1e4714d56c98542252d821de1a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f24e294e88cd50b6269bfa1befc6399dcd9bb1e4714d56c98542252d821de1a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f24e294e88cd50b6269bfa1befc6399dcd9bb1e4714d56c98542252d821de1a1", kill_on_drop: false }` [INFO] [stdout] f24e294e88cd50b6269bfa1befc6399dcd9bb1e4714d56c98542252d821de1a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2ff86bde6fd18ed360f668bb9d6183bbef1ce7b5d5223148d36a2d1df03fa01 [INFO] running `Command { std: "docker" "start" "-a" "c2ff86bde6fd18ed360f668bb9d6183bbef1ce7b5d5223148d36a2d1df03fa01", kill_on_drop: false }` [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling poseidon-hash v0.1.3 (/opt/rustwide/workdir/poseidon-hash) [INFO] [stderr] Compiling jiff v0.2.23 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling env_filter v1.0.1 [INFO] [stderr] Compiling env_logger v0.11.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling goldilocks-crypto v0.1.1 (/opt/rustwide/workdir/crypto) [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling signer v0.1.0 (/opt/rustwide/workdir/signer) [INFO] [stderr] Compiling api-client v0.1.0 (/opt/rustwide/workdir/api-client) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.72s [INFO] running `Command { std: "docker" "inspect" "c2ff86bde6fd18ed360f668bb9d6183bbef1ce7b5d5223148d36a2d1df03fa01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2ff86bde6fd18ed360f668bb9d6183bbef1ce7b5d5223148d36a2d1df03fa01", kill_on_drop: false }` [INFO] [stdout] c2ff86bde6fd18ed360f668bb9d6183bbef1ce7b5d5223148d36a2d1df03fa01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd7a1b0107f15d556cf4c6ab8a25c975b9824d236d19c9be38bb6ac1563838a8 [INFO] running `Command { std: "docker" "start" "-a" "bd7a1b0107f15d556cf4c6ab8a25c975b9824d236d19c9be38bb6ac1563838a8", kill_on_drop: false }` [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/examples/create_auth_token [INFO] [stderr] | [INFO] [stderr] = note: the example target `create_auth_token` in package `signer v0.1.0 (/opt/rustwide/workdir/signer)` has the same output filename as the example target `create_auth_token` in package `api-client v0.1.0 (/opt/rustwide/workdir/api-client)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/examples/create_auth_token.dwp [INFO] [stderr] | [INFO] [stderr] = note: the example target `create_auth_token` in package `signer v0.1.0 (/opt/rustwide/workdir/signer)` has the same output filename as the example target `create_auth_token` in package `api-client v0.1.0 (/opt/rustwide/workdir/api-client)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling zerocopy-derive v0.8.47 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling poseidon-hash v0.1.3 (/opt/rustwide/workdir/poseidon-hash) [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling goldilocks-crypto v0.1.1 (/opt/rustwide/workdir/crypto) [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling signer v0.1.0 (/opt/rustwide/workdir/signer) [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling api-client v0.1.0 (/opt/rustwide/workdir/api-client) [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> api-client/examples/send_tx_batch.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{SystemTime, UNIX_EPOCH}; [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 variable: `deadline` [INFO] [stdout] --> api-client/examples/create_modify_cancel_flow.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let deadline = SystemTime::now() [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deadline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deadline` [INFO] [stdout] --> api-client/examples/modify_order.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let deadline = SystemTime::now() [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deadline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deadline` [INFO] [stdout] --> api-client/examples/modify_order.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let deadline = SystemTime::now() [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deadline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> api-client/examples/spot/sell.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{SystemTime, UNIX_EPOCH}; [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: `api_client::LighterClient` [INFO] [stdout] --> api-client/examples/setup_api_key.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use api_client::LighterClient; [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 variable: `api_key` [INFO] [stdout] --> api-client/examples/setup_api_key.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let api_key = env::var("API_PRIVATE_KEY")?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> api-client/examples/spot/buy.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{SystemTime, UNIX_EPOCH}; [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: `std::env` [INFO] [stdout] --> api-client/examples/grouped_order_sl_tp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env; [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 variable: `deadline` [INFO] [stdout] --> api-client/examples/grouped_order_sl_tp.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let deadline = SystemTime::now() [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deadline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 38.76s [INFO] running `Command { std: "docker" "inspect" "bd7a1b0107f15d556cf4c6ab8a25c975b9824d236d19c9be38bb6ac1563838a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd7a1b0107f15d556cf4c6ab8a25c975b9824d236d19c9be38bb6ac1563838a8", kill_on_drop: false }` [INFO] [stdout] bd7a1b0107f15d556cf4c6ab8a25c975b9824d236d19c9be38bb6ac1563838a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 88470cba31f4c50236a390dd3a5e3b980f22fb236b51e4acf9d4e383e9201223 [INFO] running `Command { std: "docker" "start" "-a" "88470cba31f4c50236a390dd3a5e3b980f22fb236b51e4acf9d4e383e9201223", kill_on_drop: false }` [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/examples/create_auth_token [INFO] [stderr] | [INFO] [stderr] = note: the example target `create_auth_token` in package `signer v0.1.0 (/opt/rustwide/workdir/signer)` has the same output filename as the example target `create_auth_token` in package `api-client v0.1.0 (/opt/rustwide/workdir/api-client)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/examples/create_auth_token.dwp [INFO] [stderr] | [INFO] [stderr] = note: the example target `create_auth_token` in package `signer v0.1.0 (/opt/rustwide/workdir/signer)` has the same output filename as the example target `create_auth_token` in package `api-client v0.1.0 (/opt/rustwide/workdir/api-client)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stdout] [INFO] [stderr] warning: unused variable: `deadline` [INFO] [stdout] running 1 test [INFO] [stderr] --> api-client/examples/modify_order.rs:26:9 [INFO] [stdout] test websocket::tests::test_websocket_client_creation ... ok [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 26 | let deadline = SystemTime::now() [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deadline` [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] running 1 test [INFO] [stderr] [INFO] [stderr] warning: unused variable: `deadline` [INFO] [stderr] --> api-client/examples/modify_order.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | let deadline = SystemTime::now() [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deadline` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `deadline` [INFO] [stderr] --> api-client/examples/create_modify_cancel_flow.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | let deadline = SystemTime::now() [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deadline` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> api-client/examples/grouped_order_sl_tp.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `deadline` [INFO] [stderr] --> api-client/examples/grouped_order_sl_tp.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let deadline = SystemTime::now() [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deadline` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `api-client` (example "modify_order") generated 2 warnings (run `cargo fix --example "modify_order" -p api-client` to apply 2 suggestions) [INFO] [stderr] warning: `api-client` (example "create_modify_cancel_flow") generated 1 warning (run `cargo fix --example "create_modify_cancel_flow" -p api-client` to apply 1 suggestion) [INFO] [stderr] warning: `api-client` (example "grouped_order_sl_tp") generated 2 warnings (run `cargo fix --example "grouped_order_sl_tp" -p api-client` to apply 2 suggestions) [INFO] [stderr] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stderr] --> api-client/examples/send_tx_batch.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stderr] --> api-client/examples/spot/sell.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `api_client::LighterClient` [INFO] [stderr] --> api-client/examples/setup_api_key.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use api_client::LighterClient; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `api_key` [INFO] [stderr] --> api-client/examples/setup_api_key.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | let api_key = env::var("API_PRIVATE_KEY")?; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stderr] --> api-client/examples/spot/buy.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `api-client` (example "send_tx_batch") generated 1 warning (run `cargo fix --example "send_tx_batch" -p api-client` to apply 1 suggestion) [INFO] [stderr] warning: `api-client` (example "spot_sell") generated 1 warning (run `cargo fix --example "spot_sell" -p api-client` to apply 1 suggestion) [INFO] [stderr] warning: `api-client` (example "setup_api_key") generated 2 warnings (run `cargo fix --example "setup_api_key" -p api-client` to apply 2 suggestions) [INFO] [stderr] warning: `api-client` (example "spot_buy") generated 1 warning (run `cargo fix --example "spot_buy" -p api-client` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/api_client-881a724a2db7006f) [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/goldilocks_crypto-6b765b5b86cca43e) [INFO] [stdout] test batch_verify::tests::test_batch_verify_valid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running tests/schnorr_determinism_test.rs (/opt/rustwide/target/debug/deps/schnorr_determinism_test-41f9ea193efe49a7) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_schnorr_signature_components ... ok [INFO] [stdout] test test_schnorr_random_nonce_quality ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/poseidon_hash-4355e7275d1438d7) [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/signer-2b23a9fb53ff12bf) [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] [stderr] Doc-tests api_client [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] [stderr] Doc-tests goldilocks_crypto [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test crypto/src/scalar_field.rs - scalar_field::ScalarField::add (line 173) ... FAILED [INFO] [stdout] test crypto/src/schnorr.rs - schnorr::Point::mul (line 481) ... FAILED [INFO] [stdout] test crypto/src/schnorr.rs - schnorr::verify_signature (line 1070) ... FAILED [INFO] [stdout] test crypto/src/scalar_field.rs - scalar_field::ScalarField::sample_crypto (line 503) ... FAILED [INFO] [stdout] test crypto/src/scalar_field.rs - scalar_field::ScalarField::to_canonical (line 319) ... FAILED [INFO] [stdout] test crypto/src/scalar_field.rs - scalar_field::ScalarField::mul (line 257) ... FAILED [INFO] [stdout] test crypto/src/schnorr.rs - schnorr::Point::mul_add2 (line 366) ... FAILED [INFO] [stdout] test crypto/src/lib.rs - (line 34) ... ok [INFO] [stdout] test crypto/src/scalar_field.rs - scalar_field::ScalarField (line 12) ... FAILED [INFO] [stdout] test crypto/src/schnorr.rs - schnorr::validate_public_key (line 866) ... ok [INFO] [stdout] test crypto/src/schnorr.rs - schnorr::Point (line 249) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- crypto/src/scalar_field.rs - scalar_field::ScalarField::add (line 173) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crypto` [INFO] [stdout] --> crypto/src/scalar_field.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | use crypto::ScalarField; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `crypto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto`, use `cargo add crypto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- crypto/src/schnorr.rs - schnorr::Point::mul (line 481) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crypto` [INFO] [stdout] --> crypto/src/schnorr.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | use crypto::{Point, ScalarField}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `crypto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto`, use `cargo add crypto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- crypto/src/schnorr.rs - schnorr::verify_signature (line 1070) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crypto` [INFO] [stdout] --> crypto/src/schnorr.rs:1071:5 [INFO] [stdout] | [INFO] [stdout] 1071 | use crypto::{sign_with_nonce, verify_signature, ScalarField}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `crypto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto`, use `cargo add crypto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- crypto/src/scalar_field.rs - scalar_field::ScalarField::sample_crypto (line 503) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crypto` [INFO] [stdout] --> crypto/src/scalar_field.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | use crypto::ScalarField; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `crypto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto`, use `cargo add crypto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- crypto/src/scalar_field.rs - scalar_field::ScalarField::to_canonical (line 319) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crypto` [INFO] [stdout] --> crypto/src/scalar_field.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | use crypto::ScalarField; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `crypto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto`, use `cargo add crypto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- crypto/src/scalar_field.rs - scalar_field::ScalarField::mul (line 257) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crypto` [INFO] [stdout] --> crypto/src/scalar_field.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | use crypto::ScalarField; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `crypto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto`, use `cargo add crypto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- crypto/src/schnorr.rs - schnorr::Point::mul_add2 (line 366) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crypto` [INFO] [stdout] --> crypto/src/schnorr.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | use crypto::{Point, ScalarField}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `crypto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto`, use `cargo add crypto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `some_scalar` in this scope [INFO] [stdout] --> crypto/src/schnorr.rs:370:33 [INFO] [stdout] | [INFO] [stdout] 370 | let public_key = generator.mul(&some_scalar); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- crypto/src/scalar_field.rs - scalar_field::ScalarField (line 12) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crypto` [INFO] [stdout] --> crypto/src/scalar_field.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crypto::ScalarField; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `crypto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto`, use `cargo add crypto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- crypto/src/schnorr.rs - schnorr::Point (line 249) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crypto` [INFO] [stdout] --> crypto/src/schnorr.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | use crypto::{Point, ScalarField}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `crypto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto`, use `cargo add crypto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] crypto/src/scalar_field.rs - scalar_field::ScalarField (line 12) [INFO] [stdout] crypto/src/scalar_field.rs - scalar_field::ScalarField::add (line 173) [INFO] [stdout] crypto/src/scalar_field.rs - scalar_field::ScalarField::mul (line 257) [INFO] [stdout] crypto/src/scalar_field.rs - scalar_field::ScalarField::sample_crypto (line 503) [INFO] [stdout] crypto/src/scalar_field.rs - scalar_field::ScalarField::to_canonical (line 319) [INFO] [stdout] crypto/src/schnorr.rs - schnorr::Point (line 249) [INFO] [stdout] crypto/src/schnorr.rs - schnorr::Point::mul (line 481) [INFO] [stdout] crypto/src/schnorr.rs - schnorr::Point::mul_add2 (line 366) [INFO] [stdout] crypto/src/schnorr.rs - schnorr::verify_signature (line 1070) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `-p goldilocks-crypto --doc` [INFO] running `Command { std: "docker" "inspect" "88470cba31f4c50236a390dd3a5e3b980f22fb236b51e4acf9d4e383e9201223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88470cba31f4c50236a390dd3a5e3b980f22fb236b51e4acf9d4e383e9201223", kill_on_drop: false }` [INFO] [stdout] 88470cba31f4c50236a390dd3a5e3b980f22fb236b51e4acf9d4e383e9201223