[INFO] fetching crate openalgo 1.0.5... [INFO] testing openalgo-1.0.5 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate openalgo 1.0.5 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate openalgo 1.0.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate openalgo 1.0.5 [INFO] tweaked toml for crates.io crate openalgo 1.0.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate openalgo 1.0.5 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate openalgo 1.0.5 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook-registry v1.4.7 [INFO] [stderr] Downloaded security-framework-sys v2.15.0 [INFO] [stderr] Downloaded itoa v1.0.16 [INFO] [stderr] Downloaded openssl-sys v0.9.111 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded schannel v0.1.28 [INFO] [stderr] Downloaded zmij v0.1.8 [INFO] [stderr] Downloaded ryu v1.0.21 [INFO] [stderr] Downloaded tokio-util v0.7.17 [INFO] [stderr] Downloaded serde_json v1.0.147 [INFO] [stderr] Downloaded openssl v0.10.75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5a765906347231bd17f9e4fce6d86577ac2cfc39133fe7c7ebf96b4b607b58a [INFO] running `Command { std: "docker" "start" "-a" "a5a765906347231bd17f9e4fce6d86577ac2cfc39133fe7c7ebf96b4b607b58a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5a765906347231bd17f9e4fce6d86577ac2cfc39133fe7c7ebf96b4b607b58a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5a765906347231bd17f9e4fce6d86577ac2cfc39133fe7c7ebf96b4b607b58a", kill_on_drop: false }` [INFO] [stdout] a5a765906347231bd17f9e4fce6d86577ac2cfc39133fe7c7ebf96b4b607b58a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2ed07482d469d41ba7b08e75db500904286abdb3722500c19b120ab62630c9a [INFO] running `Command { std: "docker" "start" "-a" "e2ed07482d469d41ba7b08e75db500904286abdb3722500c19b120ab62630c9a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling itoa v1.0.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling cc v1.2.50 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.147 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ryu v1.0.21 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling zmij v0.1.8 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.31 [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_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [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 openalgo v1.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.91s [INFO] running `Command { std: "docker" "inspect" "e2ed07482d469d41ba7b08e75db500904286abdb3722500c19b120ab62630c9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2ed07482d469d41ba7b08e75db500904286abdb3722500c19b120ab62630c9a", kill_on_drop: false }` [INFO] [stdout] e2ed07482d469d41ba7b08e75db500904286abdb3722500c19b120ab62630c9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a19d280b674b071358fb15fa93d49132b954e425e6ee9c5887f3457e9b882774 [INFO] running `Command { std: "docker" "start" "-a" "a19d280b674b071358fb15fa93d49132b954e425e6ee9c5887f3457e9b882774", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling env_logger v0.10.2 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror v1.0.69 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [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 openalgo v1.0.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `openalgo::WsData` [INFO] [stdout] --> examples/websocket.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | use openalgo::{OpenAlgo, WsInstrument, WsData}; [INFO] [stdout] | ^^^^^^ no `WsData` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] openalgo::websocket::WsData [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `openalgo` (example "websocket") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `OptionsLeg` [INFO] [stdout] --> examples/place_order.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use openalgo::{OpenAlgo, BasketOrderItem, OptionsLeg}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/place_order.rs:70:56 [INFO] [stdout] | [INFO] [stdout] 70 | BasketOrderItem::new("RELIANCE", "NSE", "BUY", "1", "MARKET", "MIS"), [INFO] [stdout] | -------------------- ^^^ expected `i32`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/types.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn new(symbol: &str, exchange: &str, action: &str, quantity: i32, pricetype: &str, product: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/place_order.rs:71:51 [INFO] [stdout] | [INFO] [stdout] 71 | BasketOrderItem::new("TCS", "NSE", "BUY", "1", "MARKET", "MIS"), [INFO] [stdout] | -------------------- ^^^ expected `i32`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/types.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn new(symbol: &str, exchange: &str, action: &str, quantity: i32, pricetype: &str, product: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/place_order.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let result = client.split_order( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | "100", [INFO] [stdout] | ----- expected `i32`, found `&str` [INFO] [stdout] 84 | "25", [INFO] [stdout] | ---- expected `i32`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 244 | pub async fn split_order( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `openalgo` (example "place_order") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a19d280b674b071358fb15fa93d49132b954e425e6ee9c5887f3457e9b882774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a19d280b674b071358fb15fa93d49132b954e425e6ee9c5887f3457e9b882774", kill_on_drop: false }` [INFO] [stdout] a19d280b674b071358fb15fa93d49132b954e425e6ee9c5887f3457e9b882774