[INFO] fetching crate lighter-rust 0.2.0... [INFO] testing lighter-rust-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate lighter-rust 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate lighter-rust 0.2.0 [INFO] finished tweaking crates.io crate lighter-rust 0.2.0 [INFO] tweaked toml for crates.io crate lighter-rust 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lighter-rust 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lighter-rust 0.2.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf15f6c1c6960e85591dae7d932f8ef7505d0052b5ce31bd0f84fdfc023a15a1 [INFO] running `Command { std: "docker" "start" "-a" "cf15f6c1c6960e85591dae7d932f8ef7505d0052b5ce31bd0f84fdfc023a15a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf15f6c1c6960e85591dae7d932f8ef7505d0052b5ce31bd0f84fdfc023a15a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf15f6c1c6960e85591dae7d932f8ef7505d0052b5ce31bd0f84fdfc023a15a1", kill_on_drop: false }` [INFO] [stdout] cf15f6c1c6960e85591dae7d932f8ef7505d0052b5ce31bd0f84fdfc023a15a1 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4cbb899875183006772dad6b7967664ef8a3dfbe493a6319bac86aa3d3bd569 [INFO] running `Command { std: "docker" "start" "-a" "e4cbb899875183006772dad6b7967664ef8a3dfbe493a6319bac86aa3d3bd569", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling syn v2.0.109 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling const-hex v1.17.0 [INFO] [stderr] Compiling ruint v1.17.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling syn-solidity v1.4.1 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.12 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling alloy-rlp v0.3.12 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling alloy-sol-type-parser v1.4.1 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling alloy-primitives v1.4.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling alloy-json-abi v1.4.1 [INFO] [stderr] Compiling nybbles v0.4.6 [INFO] [stderr] Compiling alloy-serde v1.1.0 [INFO] [stderr] Compiling alloy-eip2930 v0.2.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling alloy-eip7702 v0.6.3 [INFO] [stderr] Compiling alloy-eip2124 v0.2.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling alloy-trie v0.9.1 [INFO] [stderr] Compiling alloy-sol-macro-input v1.4.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.4.1 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.15.1 [INFO] [stderr] Compiling alloy-tx-macros v1.1.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_with v3.15.1 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling futures-utils-wasm v0.1.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling alloy-eips v1.1.0 [INFO] [stderr] Compiling alloy-sol-macro v1.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling alloy-sol-types v1.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling alloy-signer v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling alloy-consensus v1.1.0 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling alloy-json-rpc v1.1.0 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling alloy-transport v1.1.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling alloy-consensus-any v1.1.0 [INFO] [stderr] Compiling alloy-network-primitives v1.1.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling alloy-chains v0.2.17 [INFO] [stderr] Compiling alloy-rpc-types-eth v1.1.0 [INFO] [stderr] Compiling lru v0.13.0 [INFO] [stderr] Compiling alloy-dyn-abi v1.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling alloy-core v1.4.1 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling retry-policies v0.4.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling alloy-rpc-types-any v1.1.0 [INFO] [stderr] Compiling alloy-network v1.1.0 [INFO] [stderr] Compiling alloy-rpc-types v1.1.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling alloy-transport-http v1.1.0 [INFO] [stderr] Compiling reqwest-middleware v0.4.2 [INFO] [stderr] Compiling alloy-rpc-client v1.1.0 [INFO] [stderr] Compiling alloy-signer-local v1.1.0 [INFO] [stderr] Compiling reqwest-retry v0.7.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling alloy-provider v1.1.0 [INFO] [stderr] Compiling alloy-contract v1.1.0 [INFO] [stderr] Compiling alloy v1.1.0 [INFO] [stderr] Compiling lighter-rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `OUT_DIR` not defined at compile time [INFO] [stdout] --> src/signer/ffi.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | include!(concat!(env!("OUT_DIR"), "/bindings.rs")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Cargo sets build script variables at run time. Use `std::env::var("OUT_DIR")` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CreateOrderTxReq` in module `ffisigner` [INFO] [stdout] --> src/signer/data.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | pub orders: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignChangePubKey` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe { ffisigner::SignChangePubKey(c_pubkey.as_ptr() as *mut i8, nonce) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignCreateOrder` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | ffisigner::SignCreateOrder( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignCreateGroupedOrders` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | ffisigner::SignCreateGroupedOrders( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::signer::TxData::SignCreateGroupedOrders; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignCreateGroupedOrders`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 88 - ffisigner::SignCreateGroupedOrders( [INFO] [stdout] 88 + SignCreateGroupedOrders( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignCancelOrder` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | ffisigner::SignCancelOrder(data.market_index, data.order_index, nonce) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::signer::TxData::SignCancelOrder; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignCancelOrder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 97 - ffisigner::SignCancelOrder(data.market_index, data.order_index, nonce) [INFO] [stdout] 97 + SignCancelOrder(data.market_index, data.order_index, nonce) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignWithdraw` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | ffisigner::SignWithdraw(data.usdc_amount, nonce) [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::signer::TxData::SignWithdraw; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignWithdraw`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 100 - ffisigner::SignWithdraw(data.usdc_amount, nonce) [INFO] [stdout] 100 + SignWithdraw(data.usdc_amount, nonce) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignCreateSubAccount` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:102:65 [INFO] [stdout] | [INFO] [stdout] 102 | TxData::SignCreateSubaccount => unsafe { ffisigner::SignCreateSubAccount(nonce) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignCancelAllOrders` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | ffisigner::SignCancelAllOrders(data.time_in_force as c_int, data.time, nonce) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::signer::TxData::SignCancelAllOrders; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignCancelAllOrders`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 104 - ffisigner::SignCancelAllOrders(data.time_in_force as c_int, data.time, nonce) [INFO] [stdout] 104 + SignCancelAllOrders(data.time_in_force as c_int, data.time, nonce) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignModifyOrder` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | ffisigner::SignModifyOrder( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::signer::TxData::SignModifyOrder; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignModifyOrder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 107 - ffisigner::SignModifyOrder( [INFO] [stdout] 107 + SignModifyOrder( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignTransfer` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | ffisigner::SignTransfer( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::signer::TxData::SignTransfer; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignTransfer`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 121 - ffisigner::SignTransfer( [INFO] [stdout] 121 + SignTransfer( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignCreatePublicPool` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | ffisigner::SignCreatePublicPool( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::signer::TxData::SignCreatePublicPool; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignCreatePublicPool`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 130 - ffisigner::SignCreatePublicPool( [INFO] [stdout] 130 + SignCreatePublicPool( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignUpdatePublicPool` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | ffisigner::SignUpdatePublicPool( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::signer::TxData::SignUpdatePublicPool; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignUpdatePublicPool`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 138 - ffisigner::SignUpdatePublicPool( [INFO] [stdout] 138 + SignUpdatePublicPool( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignMintShares` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:147:28 [INFO] [stdout] | [INFO] [stdout] 147 | ffisigner::SignMintShares(data.public_pool_index, data.share_amount, nonce) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::signer::TxData::SignMintShares; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignMintShares`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 147 - ffisigner::SignMintShares(data.public_pool_index, data.share_amount, nonce) [INFO] [stdout] 147 + SignMintShares(data.public_pool_index, data.share_amount, nonce) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignBurnShares` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | ffisigner::SignBurnShares(data.public_pool_index, data.share_amount, nonce) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::signer::TxData::SignBurnShares; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignBurnShares`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 150 - ffisigner::SignBurnShares(data.public_pool_index, data.share_amount, nonce) [INFO] [stdout] 150 + SignBurnShares(data.public_pool_index, data.share_amount, nonce) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignUpdateLeverage` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:153:28 [INFO] [stdout] | [INFO] [stdout] 153 | ffisigner::SignUpdateLeverage( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::signer::TxData::SignUpdateLeverage; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignUpdateLeverage`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 153 - ffisigner::SignUpdateLeverage( [INFO] [stdout] 153 + SignUpdateLeverage( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignUpdateMargin` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | ffisigner::SignUpdateMargin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::signer::TxData::SignUpdateMargin; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignUpdateMargin`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 161 - ffisigner::SignUpdateMargin( [INFO] [stdout] 161 + SignUpdateMargin( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateAuthToken` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:203:37 [INFO] [stdout] | [INFO] [stdout] 203 | let result = ffisigner::CreateAuthToken(deadline); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateClient` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:220:34 [INFO] [stdout] | [INFO] [stdout] 220 | let res = ffisigner::CreateClient( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ffisigner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StrOrErr` in module `ffisigner` [INFO] [stdout] --> src/signer/ffi.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | fn parse_result(&self, result: ffisigner::StrOrErr) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in `ffisigner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PublicPools` [INFO] [stdout] --> src/api/account.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | LiquidationInfos, PositionFundings, PublicPools, RespChangeAccountTier, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lighter-rust` (lib) due to 20 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e4cbb899875183006772dad6b7967664ef8a3dfbe493a6319bac86aa3d3bd569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4cbb899875183006772dad6b7967664ef8a3dfbe493a6319bac86aa3d3bd569", kill_on_drop: false }` [INFO] [stdout] e4cbb899875183006772dad6b7967664ef8a3dfbe493a6319bac86aa3d3bd569