[INFO] cloning repository https://github.com/pbeets/rithmic-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pbeets/rithmic-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpbeets%2Frithmic-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpbeets%2Frithmic-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c0dd7da1f116360ee5c905d0999d7816183ea5c [INFO] testing pbeets/rithmic-rs/5c0dd7da1f116360ee5c905d0999d7816183ea5c against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpbeets%2Frithmic-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pbeets/rithmic-rs [INFO] finished tweaking git repo https://github.com/pbeets/rithmic-rs [INFO] tweaked toml for git repo https://github.com/pbeets/rithmic-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pbeets/rithmic-rs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 129 packages to latest Rust 1.91.0-nightly compatible versions [INFO] [stderr] Adding prost v0.13.5 (available: v0.14.1) [INFO] [stderr] Adding prost-build v0.13.5 (available: v0.14.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost v0.13.5 [INFO] [stderr] Downloaded tempfile v3.22.0 [INFO] [stderr] Downloaded multimap v0.10.1 [INFO] [stderr] Downloaded prost-derive v0.13.5 [INFO] [stderr] Downloaded prost-types v0.13.5 [INFO] [stderr] Downloaded prost-build v0.13.5 [INFO] [stderr] Downloaded petgraph v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bd6271ef2c2b4ffaf0a8e1d7db8cd8e6d04be0adc6011c85086a0a9e13337c8 [INFO] running `Command { std: "docker" "start" "-a" "0bd6271ef2c2b4ffaf0a8e1d7db8cd8e6d04be0adc6011c85086a0a9e13337c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bd6271ef2c2b4ffaf0a8e1d7db8cd8e6d04be0adc6011c85086a0a9e13337c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bd6271ef2c2b4ffaf0a8e1d7db8cd8e6d04be0adc6011c85086a0a9e13337c8", kill_on_drop: false }` [INFO] [stdout] 0bd6271ef2c2b4ffaf0a8e1d7db8cd8e6d04be0adc6011c85086a0a9e13337c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4cecf71fc9fa1211187957419cdfe2b15d9ebe883b94780c32caedcc570239b [INFO] running `Command { std: "docker" "start" "-a" "b4cecf71fc9fa1211187957419cdfe2b15d9ebe883b94780c32caedcc570239b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling rithmic-rs v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tungstenite v0.27.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.27.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.72s [INFO] running `Command { std: "docker" "inspect" "b4cecf71fc9fa1211187957419cdfe2b15d9ebe883b94780c32caedcc570239b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4cecf71fc9fa1211187957419cdfe2b15d9ebe883b94780c32caedcc570239b", kill_on_drop: false }` [INFO] [stdout] b4cecf71fc9fa1211187957419cdfe2b15d9ebe883b94780c32caedcc570239b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 718887f19cef32f0e3c28c58b95acec844438a8d2487fa883a16c4d38a111611 [INFO] running `Command { std: "docker" "start" "-a" "718887f19cef32f0e3c28c58b95acec844438a8d2487fa883a16c4d38a111611", kill_on_drop: false }` [INFO] [stderr] Compiling rithmic-rs v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.54s [INFO] running `Command { std: "docker" "inspect" "718887f19cef32f0e3c28c58b95acec844438a8d2487fa883a16c4d38a111611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "718887f19cef32f0e3c28c58b95acec844438a8d2487fa883a16c4d38a111611", kill_on_drop: false }` [INFO] [stdout] 718887f19cef32f0e3c28c58b95acec844438a8d2487fa883a16c4d38a111611 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c6e831665b30830da06b66f3a946420ed45127e55dc6354ebe421a3a4c3032f0 [INFO] running `Command { std: "docker" "start" "-a" "c6e831665b30830da06b66f3a946420ed45127e55dc6354ebe421a3a4c3032f0", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rithmic_rs-14be8b0e0bd58c35) [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 rithmic_rs [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/plants/order_plant.rs - plants::order_plant::RithmicOrderPlant (line 98) - compile ... FAILED [INFO] [stdout] test src/plants/history_plant.rs - plants::history_plant::RithmicHistoryPlant (line 75) - compile ... FAILED [INFO] [stdout] test src/plants/pnl_plant.rs - plants::pnl_plant::RithmicPnlPlant (line 64) - compile ... FAILED [INFO] [stdout] test src/plants/ticker_plant.rs - plants::ticker_plant::RithmicTickerPlant (line 82) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/plants/order_plant.rs - plants::order_plant::RithmicOrderPlant (line 98) stdout ---- [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/plants/order_plant.rs:166:2 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() -> Result<(), Box> { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 54 | match handle.subscription_receiver.recv().await { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 57 | RithmicMessage::RithmicOrderNotification(u) => {} [INFO] [stdout] | -- block is empty, you might have not meant to close it [INFO] [stdout] ... [INFO] [stdout] 62 | } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] ... [INFO] [stdout] 68 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/plants/history_plant.rs - plants::history_plant::RithmicHistoryPlant (line 75) stdout ---- [INFO] [stdout] error[E0599]: no method named `get_handle` found for struct `RithmicHistoryPlant` in the current scope [INFO] [stdout] --> src/plants/history_plant.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 21 | let handle = history_plant.get_handle(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `RithmicHistoryPlant` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ws.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_handle(&self) -> Self::Handle; [INFO] [stdout] | ---------- the method is available for `RithmicHistoryPlant` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `RithmicStream` which provides `get_handle` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::rithmic_rs::ws::RithmicStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/plants/pnl_plant.rs - plants::pnl_plant::RithmicPnlPlant (line 64) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RithmicMessage` [INFO] [stdout] --> src/plants/pnl_plant.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 38 | RithmicMessage::AccountPnLPositionUpdate(u) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `RithmicMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use rithmic_rs::rti::messages::RithmicMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RithmicMessage` [INFO] [stdout] --> src/plants/pnl_plant.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 39 | RithmicMessage::InstrumentPnLPositionUpdate => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `RithmicMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use rithmic_rs::rti::messages::RithmicMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_handle` found for struct `RithmicPnlPlant` in the current scope [INFO] [stdout] --> src/plants/pnl_plant.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 21 | let handle = pnl_plant.get_handle(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `RithmicPnlPlant` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ws.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_handle(&self) -> Self::Handle; [INFO] [stdout] | ---------- the method is available for `RithmicPnlPlant` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `RithmicStream` which provides `get_handle` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::rithmic_rs::ws::RithmicStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/plants/ticker_plant.rs - plants::ticker_plant::RithmicTickerPlant (line 82) stdout ---- [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/plants/ticker_plant.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 38 | }, [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RithmicConnectionSystem` [INFO] [stdout] --> src/plants/ticker_plant.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 12 | env: RithmicConnectionSystem::Demo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RithmicConnectionSystem` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use rithmic_rs::connection_info::RithmicConnectionSystem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RithmicMessage` [INFO] [stdout] --> src/plants/ticker_plant.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 35 | RithmicMessage::LastTrade(u) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `RithmicMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use rithmic_rs::rti::messages::RithmicMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RithmicMessage` [INFO] [stdout] --> src/plants/ticker_plant.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 36 | RithmicMessage::BestBidOffer(u) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `RithmicMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use rithmic_rs::rti::messages::RithmicMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_handle` found for struct `RithmicTickerPlant` in the current scope [INFO] [stdout] --> src/plants/ticker_plant.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 21 | let handle = ticker_plant.get_handle(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `RithmicTickerPlant` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ws.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_handle(&self) -> Self::Handle; [INFO] [stdout] | ---------- the method is available for `RithmicTickerPlant` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `RithmicStream` which provides `get_handle` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::rithmic_rs::ws::RithmicStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/plants/history_plant.rs - plants::history_plant::RithmicHistoryPlant (line 75) [INFO] [stdout] src/plants/order_plant.rs - plants::order_plant::RithmicOrderPlant (line 98) [INFO] [stdout] src/plants/pnl_plant.rs - plants::pnl_plant::RithmicPnlPlant (line 64) [INFO] [stdout] src/plants/ticker_plant.rs - plants::ticker_plant::RithmicTickerPlant (line 82) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.26s; merged doctests compilation took 0.15s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c6e831665b30830da06b66f3a946420ed45127e55dc6354ebe421a3a4c3032f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e831665b30830da06b66f3a946420ed45127e55dc6354ebe421a3a4c3032f0", kill_on_drop: false }` [INFO] [stdout] c6e831665b30830da06b66f3a946420ed45127e55dc6354ebe421a3a4c3032f0